Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add engine field verification with installed-check #581

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
236 changes: 236 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@
"watch": "npm run watch --workspace packages/knip",
"docs": "npm run dev --workspace packages/docs",
"format": "npm run format --workspaces --if-present",
"test": "npm run qa --workspaces --if-present"
"test": "npm run qa --workspaces --if-present && installed-check --no-include-workspace-root --ignore-dev"
},
"peerDependencies": {
"knip": "file:packages/knip"
},
"devDependencies": {
"installed-check": "^9.1.0"
}
}
3 changes: 3 additions & 0 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"url": "github:webpro/knip",
"directory": "packages/docs"
},
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
"scripts": {
"prebuild": "tsx scripts/generate-plugin-docs.ts",
"build": "astro check && astro build",
Expand Down
3 changes: 3 additions & 0 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"type": "module",
"main": "./index.js",
"types": "./index.d.ts",
"engines": {
"node": "^18.18.0 || >=20.0.0"
},
"dependencies": {
"@eslint/js": "^8.57.0",
"@typescript-eslint/eslint-plugin": "^7.5.0",
Expand Down
Loading