Skip to content

Commit 676fb00

Browse files
committed
ci: Add knip and remove unused devDependencies
1 parent 7d66c12 commit 676fb00

3 files changed

Lines changed: 979 additions & 484 deletions

File tree

knip.config.js

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
const config = {
2+
/**
3+
* We only need dependency checking at the moment,
4+
* so all checks except for dependencies are turned off.
5+
*/
6+
rules: {
7+
files: "off",
8+
duplicates: "off",
9+
unlisted: "off",
10+
binaries: "off",
11+
unresolved: "off",
12+
catalog: "off",
13+
exports: "off",
14+
types: "off",
15+
enumMembers: "off",
16+
},
17+
18+
ignoreDependencies: [
19+
/**
20+
* Used inside the tutorial steps and required for UI5 CLI setup
21+
*/
22+
"ui5-middleware-livereload",
23+
"ui5-middleware-serveframework",
24+
"ui5-middleware-simpleproxy",
25+
"ui5-tooling-transpile",
26+
"@types/openui5",
27+
"@ui5/ts-interface-generator",
28+
29+
/**
30+
* Used for the local developmet setup (see tools/dev-server/ghpage-template.hbs)
31+
*/
32+
"@highlightjs/cdn-assets",
33+
"anchor-js",
34+
"github-markdown-css",
35+
],
36+
};
37+
38+
export default config;

0 commit comments

Comments
 (0)