mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-02 03:25:56 +01:00
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:
committed by
GitHub
parent
54b7b96ac8
commit
0170760082
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user