Skip to content

Commit 52b927d

Browse files
committed
fix(deps): move bundled deps to devDependencies
Everything is bundled into dist/index.js, which is the only published file, so the runtime deps were installed for npm users but never loaded.
1 parent 555cc4a commit 52b927d

2 files changed

Lines changed: 40 additions & 44 deletions

File tree

bun.lock

Lines changed: 20 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,33 @@
2323
"typecheck": "tsc --noEmit",
2424
"fetch-schema": "curl https://gitlab.com/gitlab-org/gitlab/-/raw/master/app/assets/javascripts/editor/schema/ci.json -sf > src/schema.json"
2525
},
26-
"dependencies": {
26+
"devDependencies": {
27+
"@eslint/js": "10.x",
28+
"@stylistic/eslint-plugin": "5.x",
29+
"@types/base64url": "2.x.x",
30+
"@types/bun": "1.x.x",
31+
"@types/checksum": "0.1.x",
32+
"@types/deep-extend": "0.6.x",
33+
"@types/fs-extra": "11.x.x",
34+
"@types/js-yaml": "4.x.x",
35+
"@types/micromatch": "4.x.x",
36+
"@types/pretty-hrtime": "1.x.x",
37+
"@types/semver": "7.x.x",
38+
"@types/split2": "4.x.x",
39+
"@types/yargs": "17.x.x",
40+
"@vitest/coverage-v8": "^4.0.18",
2741
"ajv": "8.x.x",
2842
"axios": "1.x.x",
43+
"axios-mock-adapter": "2.x",
2944
"base64url": "3.x.x",
3045
"camelcase": "9.x.x",
3146
"chalk": "6.x",
3247
"chalk-template": "1.x.x",
3348
"checksum": "1.x.x",
3449
"deep-extend": "0.6.x",
50+
"depcheck": "1.x.x",
3551
"dotenv": "17.x",
52+
"eslint": "10.x",
3653
"execa": "10.x",
3754
"fs-extra": "11.x.x",
3855
"globby": "16.x.x",
@@ -46,29 +63,10 @@
4663
"semver": "7.x.x",
4764
"split2": "4.x.x",
4865
"terminal-link": "5.x.x",
49-
"yargs": "18.x"
50-
},
51-
"devDependencies": {
52-
"@eslint/js": "10.x",
53-
"@stylistic/eslint-plugin": "5.x",
54-
"@types/base64url": "2.x.x",
55-
"@types/bun": "1.x.x",
56-
"@types/checksum": "0.1.x",
57-
"@types/deep-extend": "0.6.x",
58-
"@types/fs-extra": "11.x.x",
59-
"@types/js-yaml": "4.x.x",
60-
"@types/micromatch": "4.x.x",
61-
"@types/pretty-hrtime": "1.x.x",
62-
"@types/semver": "7.x.x",
63-
"@types/split2": "4.x.x",
64-
"@types/yargs": "17.x.x",
65-
"@vitest/coverage-v8": "^4.0.18",
66-
"axios-mock-adapter": "2.x",
67-
"depcheck": "1.x.x",
68-
"eslint": "10.x",
6966
"typescript": "6.x",
7067
"typescript-eslint": "8.x.x",
71-
"vitest": "^4.0.18"
68+
"vitest": "^4.0.18",
69+
"yargs": "18.x"
7270
},
7371
"repository": {
7472
"type": "git",

0 commit comments

Comments
 (0)