Add depcheck preset (#2119)

Add a preset for the depcheck library that is applied to all projects in scm-ui. Some minor dependency issues were discovered and resolved along the way. Some features of depcheck did not work correctly or were missing, which is why the configuration file is a bit more verbose than desired.
This commit is contained in:
Konstantin Schaper
2022-09-14 13:31:50 +02:00
committed by GitHub
parent 54b7b96ac8
commit 0170760082
5 changed files with 11 additions and 10 deletions

View File

@@ -10,7 +10,7 @@
"storybook": "start-storybook",
"build-storybook": "build-storybook",
"write-mapping": "node scripts/write-mapping.mjs",
"depcheck": "depcheck --ignores=@scm-manager/jest-preset,@scm-manager/tsconfig,@storybook/*,webpack"
"depcheck": "depcheck"
},
"dependencies": {
"@scm-manager/ui-text": "2.38.2-SNAPSHOT",
@@ -35,7 +35,6 @@
"@types/hast": "^2.3.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"webpack": "^5.72.0",
"depcheck": "^1.4.3",
"decode-named-character-reference": "^1.0.1"
},
@@ -54,4 +53,4 @@
"publishConfig": {
"access": "restricted"
}
}
}