Skip to content
Open
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
34 changes: 34 additions & 0 deletions .knip/knip.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import type { KnipConfig } from 'knip';

const config: KnipConfig = {
rules: {
files: "off",
duplicates: "off",
classMembers: "off",
unlisted: "off",
binaries: "off",
unresolved: "off",
catalog: "off",
exports: "off",
types: "off",
enumMembers: "off",
},

ignoreDependencies: [
"@ui5/*",
"docdash",
"husky",
"local-web-server",
"@istanbuljs/esm-loader-hook",
"cssnano",
"data-with-position",
"js-yaml",
"open",
"pretty-hrtime",
"compression",
"cors",
"jsdoc"
]
};

export default config;
5 changes: 2 additions & 3 deletions internal/benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,17 @@
"ui5-cli-benchmark": "./cli.js"
},
"scripts": {
"test": "npm run lint && npm run coverage && npm run depcheck",
"test": "npm run lint && npm run coverage",
"unit": "node --test 'test/e2e/**/*.js'",
"unit-watch": "node --test --watch 'test/e2e/**/*.js'",
"coverage": "node --test --experimental-test-coverage 'test/e2e/**/*.js'",
"lint": "eslint .",
"depcheck": "depcheck"
"depcheck": ""
},
"dependencies": {
"js-yaml": "^4.1.1"
},
"devDependencies": {
"depcheck": "^1.4.7",
"eslint": "^9.39.1"
}
}
2 changes: 1 addition & 1 deletion internal/documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"start": "vitepress dev --open",
"lint": "eslint .",
"depcheck": "depcheck --ignores @ui5/documentation,vitepress,docdash,jsdoc,open-cli,handlebars,@types/node,@ui5/webcomponents,autoprefixer,cssnano,@theme/components",
"depcheck": "",
"dev": "vitepress dev",
"build:vitepress": "vitepress build",
"build:assets": "sh -c 'DEST_DIR=${1:-./dist}; cp -r ./docs/images \"$DEST_DIR/images\"' --",
Expand Down
5 changes: 2 additions & 3 deletions internal/shrinkwrap-extractor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"directory": "internal/shrinkwrap-extractor"
},
"scripts": {
"test": "npm run lint && npm run coverage && npm run depcheck",
"test": "npm run lint && npm run coverage",
"unit": "node --test test/lib/convertToShrinkwrap.js",
"unit-watch": "node --test --watch test/lib/convertToShrinkwrap.js",
"coverage": "node --test --experimental-test-coverage 'test/lib/convertToShrinkwrap.js'",
"lint": "eslint .",
"depcheck": "depcheck"
"depcheck": ""
},
"keywords": [
"npm",
Expand All @@ -44,7 +44,6 @@
"pacote": "^21.0.4"
},
"devDependencies": {
"depcheck": "^1.4.7",
"eslint": "^9.39.1"
}
}

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

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

Loading
Loading