Skip to content

Commit 343767d

Browse files
committed
💚 fix-ci(package.json): created script without | xargs in depcheck
removed | xargs so that ci will fail if depcheck returns unused dependencies
1 parent 9c28113 commit 343767d

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

package.json

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"dep:update:check": "bunx upgradeps",
7575
"dep:update:skip": "bunx upgradeps -u -s",
7676
"depcheck": "bunx depcheck | xargs",
77+
"depcheck:ci": "bunx depcheck",
7778
"dev": "bun i && bun run build:bun && bun concurrently -k \"bun run hot-reload\" \"bun run live-reload\" \"bun run format:watch\" \"bun run test:watch:fast\"",
7879
"dev:all": "git pull && bun run dev:pre && bun run lint:quick && bun run lint:ox && bun run dev:build",
7980
"dev:build": "bun run build && bun run docs && bun dev",
@@ -136,8 +137,8 @@
136137
"cz-gitmoji-adapter": {
137138
"scopes": [
138139
".depcheckrc.json",
139-
".eslintignore",
140140
".eslintrc.json",
141+
".eslintignore",
141142
".gitignore",
142143
".prettierignore",
143144
".prettierrc.json",
@@ -151,21 +152,21 @@
151152
"jest.config.json",
152153
"package-lock.json",
153154
"package.json",
154-
"release.config.ts",
155155
"renovate.json",
156+
"release.config.ts",
156157
"tsconfig.json",
157158
"typedoc.json",
158159
".vscode/settings.json",
159160
"public/.gitkeep",
160161
"repo_management_files/branchnamingconventions.md",
161-
"repo_management_files/cz-emoji-type-extract.js",
162162
"repo_management_files/cz-type-extract.js",
163163
"repo_management_files/directorystructuredocument.md",
164164
"repo_management_files/extractfilescopes.js",
165165
"repo_management_files/genericcommitmessages.md",
166166
"repo_management_files/gitmojisemver-extract.js",
167167
"repo_management_files/issues.sh",
168168
"repo_management_files/labels.sh",
169+
"repo_management_files/cz-emoji-type-extract.js",
169170
"repo_management_files/packagejsondocument.md",
170171
".github/dependabot.yml",
171172
".github/workflows/build.yml",
@@ -179,41 +180,41 @@
179180
".husky/pre-commit",
180181
".husky/prepare-commit-msg",
181182
".husky/_/.gitignore",
182-
".husky/_/applypatch-msg",
183+
".husky/_/commit-msg",
183184
".husky/_/h",
184185
".husky/_/post-applypatch",
185-
".husky/_/post-checkout",
186-
".husky/_/commit-msg",
187186
".husky/_/post-commit",
188187
".husky/_/post-merge",
189188
".husky/_/post-rewrite",
189+
".husky/_/applypatch-msg",
190+
".husky/_/post-checkout",
190191
".husky/_/pre-applypatch",
191-
".husky/_/pre-auto-gc",
192192
".husky/_/pre-commit",
193+
".husky/_/pre-auto-gc",
193194
".husky/_/pre-push",
194195
".husky/_/pre-rebase",
195196
".husky/_/prepare-commit-msg",
196197
"src/app.ts",
197198
"src/bin/.gitkeep",
198-
"src/controllers/.gitkeep",
199199
"src/configs/.gitkeep",
200+
"src/controllers/.gitkeep",
200201
"src/models/.gitkeep",
201-
"src/middleware/.gitkeep",
202202
"src/plugins/.gitkeep",
203-
"src/views/.gitkeep",
204203
"src/routes/.gitkeep",
204+
"src/middleware/.gitkeep",
205+
"src/views/.gitkeep",
205206
"src/utils/.gitkeep",
206-
"test/.gitkeep",
207207
"test/app.test.ts",
208-
"test/bin/.gitkeep",
208+
"test/.gitkeep",
209209
"test/configs/.gitkeep",
210+
"test/bin/.gitkeep",
210211
"test/controllers/.gitkeep",
211-
"test/middleware/.gitkeep",
212+
"test/plugins/.gitkeep",
212213
"test/models/.gitkeep",
213-
"test/routes/.gitkeep",
214+
"test/middleware/.gitkeep",
214215
"test/utils/.gitkeep",
215-
"test/plugins/.gitkeep",
216-
"test/views/.gitkeep"
216+
"test/views/.gitkeep",
217+
"test/routes/.gitkeep"
217218
],
218219
"questions": {
219220
"scope": "Specify a scope: "

0 commit comments

Comments
 (0)