npm-deprecated-check
Advanced tools
Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "npm-deprecated-check", | ||
"type": "module", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Check for deprecated packages", | ||
@@ -34,12 +34,2 @@ "author": "KID-joker <kid_joker@126.com>", | ||
"preferGlobal": true, | ||
"scripts": { | ||
"build": "pnpm build:releases && unbuild", | ||
"build:releases": "tsx ./scripts/node_releases.ts", | ||
"dev": "tsx ./src/cli.ts", | ||
"lint": "eslint .", | ||
"lint:fix": "eslint . --fix", | ||
"release": "pnpm build && bumpp && pnpm publish --no-git-checks", | ||
"test": "node --test", | ||
"typecheck": "tsc --noEmit" | ||
}, | ||
"dependencies": { | ||
@@ -62,3 +52,2 @@ "@pnpm/lockfile-file": "^7.0.6", | ||
"@types/yarnpkg__lockfile": "^1.1.9", | ||
"bumpp": "^9.8.1", | ||
"eslint": "^9.16.0", | ||
@@ -78,3 +67,12 @@ "lint-staged": "^15.2.10", | ||
] | ||
}, | ||
"scripts": { | ||
"build": "pnpm build:releases && unbuild", | ||
"build:releases": "tsx ./scripts/node_releases.ts", | ||
"dev": "tsx ./src/cli.ts", | ||
"lint": "eslint .", | ||
"lint:fix": "eslint . --fix", | ||
"test": "node --test", | ||
"typecheck": "tsc --noEmit" | ||
} | ||
} | ||
} |
@@ -39,11 +39,38 @@ <h1 align="center">🐦 npm-deprecated-check</h1> | ||
For `OpenAI` config: | ||
`OpenAI` config: | ||
```bash | ||
Options: | ||
--openaiKey <value> recommend alternative packages via ChatGPT | ||
--openaiModel <value> ChatGPT model (choices: "gpt-3.5-turbo", "gpt-4", "gpt-4-turbo", "gpt-4o-mini", "gpt-4o") | ||
--openaiBaseURL <value> override the default base URL for the API | ||
--openaiKey <value> recommend alternative packages via ChatGPT | ||
--openaiModel <value> ChatGPT model (choices: "gpt-3.5-turbo", "gpt-4", "gpt-4-turbo", "gpt-4o-mini", "gpt-4o") | ||
--openaiBaseURL <value> override the default base URL for the API | ||
``` | ||
For `current`: | ||
```bash | ||
Options: | ||
--registry <value> specify registry URL, default: https://registry.npmjs.org/ | ||
--ignore <value> ignore specific packages, example: request,tslint | ||
--failfast exit the program if it has been deprecated | ||
``` | ||
For `global`: | ||
```bash | ||
Options: | ||
-m, --manager <value> check specified package manager (choices: "npm", "yarn", "pnpm") | ||
--registry <value> specify registry URL, default: https://registry.npmjs.org/ | ||
--ignore <value> ignore specific packages, example: request,tslint | ||
--failfast exit the program if it has been deprecated | ||
``` | ||
For `package`: | ||
```bash | ||
-r, --range <value> check specified versions | ||
--registry <value> specify registry URL, default: https://registry.npmjs.org/ | ||
--failfast exit the program if it has been deprecated | ||
``` | ||
You can also save them to global configuration: | ||
@@ -50,0 +77,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
26895
11
654
94