Skip to content

Commit c529488

Browse files
committed
perf(config): migrate cosmiconfig to rust and tsx
Closes #282
1 parent 3641fa4 commit c529488

5 files changed

Lines changed: 207 additions & 149 deletions

File tree

npm/index.cjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ process.exit(
1515
stdio: ['ignore', 'inherit', 'inherit'],
1616
env: {
1717
...process.env,
18-
COSMICONFIG_REQUIRE_PATH: require.resolve('cosmiconfig'),
1918
RUST_BACKTRACE: 'full',
2019
},
2120
}).status || 0,

package.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,14 @@
3434
"Stuart Knightley (https://github.com/Stuk)",
3535
"Tom Fletcher (https://github.com/tom-fletcher)"
3636
],
37-
"dependencies": {
38-
"cosmiconfig": "^9.0.0",
39-
"typescript": "^5.8.3"
40-
},
4137
"devDependencies": {
4238
"@biomejs/biome": "^1.9.4",
4339
"@release-it/conventional-changelog": "^10.0.1",
4440
"auto-changelog": "^2.5.0",
4541
"release-it": "^19.0.3",
46-
"ts-json-schema-generator": "^2.4.0"
42+
"ts-json-schema-generator": "^2.4.0",
43+
"tsx": "^4.20.3",
44+
"typescript": "^5.8.3"
4745
},
4846
"engines": {
4947
"node": ">=14.17.0"
@@ -71,5 +69,13 @@
7169
"yarn"
7270
],
7371
"license": "MIT",
72+
"peerDependencies": {
73+
"tsx": "4"
74+
},
75+
"peerDependenciesMeta": {
76+
"tsx": {
77+
"optional": true
78+
}
79+
},
7480
"repository": "JamieMason/syncpack"
7581
}

0 commit comments

Comments
 (0)