Skip to content

Commit fcdfb8f

Browse files
committed
fix(cli): version infer, close #687
1 parent b2bdd32 commit fcdfb8f

9 files changed

+632
-391
lines changed

eslint.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export default antfu(
1818
ignores: [
1919
'fixtures',
2020
'_fixtures',
21+
'**/constants-generated.ts',
2122
],
2223
},
2324
{

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@antfu/eslint-config",
33
"type": "module",
44
"version": "4.10.1",
5-
"packageManager": "[email protected].2",
5+
"packageManager": "[email protected].5",
66
"description": "Anthony's ESLint config",
77
"author": "Anthony Fu <[email protected]> (https://github.com/antfu/)",
88
"license": "MIT",
@@ -29,13 +29,13 @@
2929
"dist"
3030
],
3131
"scripts": {
32-
"build": "nr typegen && tsup --clean --dts",
32+
"build": "nr gen && tsup --clean --dts",
3333
"stub": "tsup",
3434
"dev": "npx @eslint/config-inspector --config eslint.config.ts",
3535
"build:inspector": "pnpm build && npx @eslint/config-inspector build",
3636
"watch": "tsup --watch",
3737
"lint": "eslint",
38-
"typegen": "tsx scripts/typegen.ts",
38+
"gen": "tsx scripts/typegen.ts && tsx scripts/versiongen.ts",
3939
"prepack": "nr build",
4040
"release": "bumpp && pnpm publish",
4141
"test": "vitest",
@@ -159,6 +159,7 @@
159159
"execa": "catalog:dev",
160160
"jiti": "catalog:dev",
161161
"lint-staged": "catalog:dev",
162+
"pnpm-workspace-yaml": "catalog:dev",
162163
"prettier-plugin-astro": "catalog:peer",
163164
"prettier-plugin-slidev": "catalog:peer",
164165
"simple-git-hooks": "catalog:dev",

0 commit comments

Comments
 (0)