Skip to content

Commit

Permalink
Merge pull request #3 from tjx666/tj/fix/dependencies-path
Browse files Browse the repository at this point in the history
"Fix dependenciesNodePaths config and upgrade dependencies"
  • Loading branch information
tjx666 authored Jun 30, 2024
2 parents 61a9798 + ec95d6d commit 1d76636
Show file tree
Hide file tree
Showing 6 changed files with 175 additions and 182 deletions.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,20 @@ You can click editor title icon toggle it:

![toggle package json dependencies codeLens](https://github.com/tjx666/package-manager-enhancer/blob/main/assets/screenshots/toggle-package-json-dependencies-codelens.png?raw=true)

You can custom the dependencies ast node path by:

```json
{
"package-manager-enhancer.packageJsonDependenciesCodeLens.dependenciesNodePaths": [
"dependencies",
"peerDependencies",
"devDependencies",
"resolutions",
"pnpm.overrides"
]
}
```

### npm script run in background

![npm script run in background](https://github.com/tjx666/package-manager-enhancer/blob/main/assets/screenshots/npm-script-run-background.png?raw=true)
Expand Down Expand Up @@ -84,6 +98,8 @@ you can custom the tooltip by settings:
}
```

this feature will reuse the setting `package-manager-enhancer.packageJsonDependenciesCodeLens.dependenciesNodePaths` to recognize dependencies.

### Find Npm Package

![Find Npm Package usage gif](https://github.com/tjx666/package-manager-enhancer/blob/main/assets/screenshots/find-npm-package.gif?raw=true)
Expand All @@ -99,7 +115,6 @@ you can custom the tooltip by settings:
- [ ] `pnpm why` visualization
- [ ] `.npmrc` autocomplete
- [ ] color bundle size
- [ ] search packages

## My extensions

Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"packageManager": "pnpm@9.3.0",
"packageManager": "pnpm@9.4.0",
"scripts": {
"vscode:prepublish": "pnpm esbuild:base --minify",
"preinstall": "npx only-allow pnpm",
Expand All @@ -301,13 +301,13 @@
"axios": "^1.7.2",
"detect-package-manager": "^3.0.2",
"escape-string-regexp": "^5.0.0",
"execa": "^9.2.0",
"execa": "^9.3.0",
"expiry-map": "^2.0.0",
"globby": "^14.0.1",
"hosted-git-info": "^7.0.2",
"jsonc-parser": "^3.2.1",
"jsonc-parser": "^3.3.1",
"lodash-es": "^4.17.21",
"lru-cache": "^10.2.2",
"lru-cache": "^10.3.0",
"micromatch": "^4.0.7",
"p-memoize": "^7.1.1",
"p-queue": "^8.0.1",
Expand All @@ -319,30 +319,30 @@
"@types/glob": "^8.1.0",
"@types/hosted-git-info": "^3.0.5",
"@types/lodash-es": "^4.17.12",
"@types/micromatch": "^4.0.7",
"@types/mocha": "^10.0.6",
"@types/node": "^20.14.2",
"@types/micromatch": "^4.0.9",
"@types/mocha": "^10.0.7",
"@types/node": "^20.14.9",
"@types/validate-npm-package-name": "^4.0.2",
"@types/vscode": "^1.86.0",
"@vscode/test-electron": "^2.4.0",
"@vscode/vsce": "^2.27.0",
"@vscode/vsce": "^2.29.0",
"@yutengjing/eslint-config-typescript": "^1.0.0",
"@yutengjing/prettier-config": "^1.3.0",
"@yutengjing/release": "^0.2.0",
"all-node-versions": "^13.0.0",
"esbuild": "^0.21.5",
"esbuild-visualizer": "^0.6.0",
"eslint": "^8.57.0",
"glob": "^10.4.1",
"glob": "^10.4.2",
"lint-staged": "^15.2.7",
"mocha": "^10.4.0",
"mocha": "^10.5.2",
"ovsx": "^0.9.1",
"prettier": "^3.3.2",
"rimraf": "^5.0.7",
"simple-git-hooks": "^2.11.1",
"stale-dep": "^0.7.0",
"tsx": "^4.15.3",
"type-fest": "^4.20.0",
"typescript": "^5.4.5"
"tsx": "^4.16.0",
"type-fest": "^4.20.1",
"typescript": "^5.5.2"
}
}
Loading

0 comments on commit 1d76636

Please sign in to comment.