Skip to content

Commit 01f0402

Browse files
Remove CLI option in favour of API (#223)
* Remove CLI option * Rename ci.yml to release.yml
1 parent 43aae6e commit 01f0402

File tree

8 files changed

+11
-554
lines changed

8 files changed

+11
-554
lines changed

.changeset/orange-clowns-hug.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@tanstack/config': minor
3+
---
4+
5+
Remove CLI option in favour of API
6+
7+
This is currently only used for @tanstack/publish-config, which we considering replacing with changesets.

.github/workflows/ci.yml .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: release
1+
name: Release
22

33
on:
44
push:

packages/config/bin/config.js

-124
This file was deleted.

packages/config/package.json

+3-19
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"scripts": {
1818
"test:types": "tsc",
19-
"test:eslint": "eslint ./bin ./src",
19+
"test:eslint": "eslint ./src",
2020
"test:build": "publint --strict"
2121
},
2222
"type": "module",
@@ -46,13 +46,8 @@
4646
},
4747
"./package.json": "./package.json"
4848
},
49-
"bin": {
50-
"tanstack-config": "./bin/config.js"
51-
},
52-
"preferGlobal": false,
5349
"sideEffects": false,
5450
"files": [
55-
"bin",
5651
"src"
5752
],
5853
"engines": {
@@ -62,20 +57,9 @@
6257
"@tanstack/eslint-config": "workspace:*",
6358
"@tanstack/publish-config": "workspace:*",
6459
"@tanstack/typedoc-config": "workspace:*",
65-
"@tanstack/vite-config": "workspace:*",
66-
"commander": "catalog:",
67-
"esbuild-register": "catalog:",
68-
"interpret": "catalog:",
69-
"liftoff": "catalog:",
70-
"minimist": "catalog:",
71-
"v8flags": "catalog:"
60+
"@tanstack/vite-config": "workspace:*"
7261
},
7362
"devDependencies": {
74-
"@types/interpret": "catalog:",
75-
"@types/liftoff": "catalog:",
76-
"@types/minimist": "catalog:",
77-
"@types/v8flags": "catalog:",
78-
"eslint": "catalog:",
79-
"vite": "catalog:"
63+
"eslint": "catalog:"
8064
}
8165
}

packages/eslint-config/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"dependencies": {
4040
"@eslint/js": "catalog:",
4141
"@stylistic/eslint-plugin-js": "catalog:",
42-
"esbuild-register": "catalog:",
4342
"eslint-plugin-import-x": "catalog:",
4443
"eslint-plugin-n": "catalog:",
4544
"globals": "catalog:",

packages/typedoc-config/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
"typedoc-plugin-markdown": "catalog:"
4444
},
4545
"devDependencies": {
46-
"@types/eslint": "catalog:",
4746
"eslint": "catalog:"
4847
}
4948
}

0 commit comments

Comments
 (0)