chore(create): scaffold create-antd-admin package

Made-with: Cursor
This commit is contained in:
zuiidea
2026-04-14 22:27:04 +08:00
parent 3938263979
commit cc1a803bdb
3 changed files with 1042 additions and 27 deletions
+35
View File
@@ -0,0 +1,35 @@
{
"name": "create-antd-admin",
"version": "6.0.0",
"description": "Create an Antd Admin app from official examples",
"license": "MIT",
"type": "module",
"bin": {
"create-antd-admin": "./dist/cli.js"
},
"files": [
"dist"
],
"scripts": {
"build": "tsup && node ./scripts/write-examples-json.mjs",
"dev": "tsup --watch",
"check-types": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest"
},
"engines": {
"node": ">=20"
},
"dependencies": {
"@inquirer/prompts": "^7.10.1",
"commander": "^14.0.0",
"giget": "^3.2.0",
"picocolors": "^1.0.1"
},
"devDependencies": {
"@types/node": "^22.10.0",
"tsup": "^8.3.5",
"typescript": "~5.9.3",
"vitest": "^3.0.5"
}
}
+15
View File
@@ -0,0 +1,15 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"strict": true,
"skipLibCheck": true,
"noEmit": true,
"types": ["node"],
"resolveJsonModule": true,
"rootDir": ".",
"verbatimModuleSyntax": true
},
"include": ["src/**/*.ts", "tsup.config.ts", "vitest.config.ts"]
}
+992 -27
View File
File diff suppressed because it is too large Load Diff