mirror of
https://github.com/zuiidea/antd-admin.git
synced 2026-10-19 16:14:37 +00:00
- Add second sample resource (orders): API, schemas, MSW, routes, menu, Lingui, and E2E. - Introduce useCrudToasts, useUrlSearchState, useTableFitHeight; extend useResourceCRUD with optimistic updates; add Vitest coverage for hooks and createHandler. - Implement token refresh in http layer, RouteError, and new E2E specs (auth-refresh, rbac, url-state). - Replace gen-resource codegen with English add-resource.instructions.md; fix Copilot instruction YAML in with-lingui and basic. - Add with-lingui CI workflow, Cursor thin rules, optimization plan doc, and refresh README/AGENTS. - Bump packages/create and lockfile where applicable. Made-with: Cursor
40 lines
873 B
JSON
40 lines
873 B
JSON
{
|
|
"name": "init-antd-admin",
|
|
"version": "1.0.3",
|
|
"description": "Create an Antd Admin app from official examples",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"bin": {
|
|
"init-antd-admin": "dist/cli.js"
|
|
},
|
|
"files": [
|
|
"dist/cli.js",
|
|
"dist/examples.json"
|
|
],
|
|
"scripts": {
|
|
"prepublishOnly": "pnpm run build",
|
|
"build": "tsup && node ./scripts/write-examples-json.mjs",
|
|
"dev": "tsup --watch",
|
|
"check-types": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"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"
|
|
}
|
|
} |