24 Commits
Author SHA1 Message Date
zuiidea f28bae8f3e Feature/upgrade (#1170)
* chore: align workspace tooling and refresh docs

Unify pnpm workspace configuration and CI versioning, upgrade create package dependencies, and update README guidance for basic and with-lingui templates.

Made-with: Cursor

* chore: regenerate route tree files

Update generated route tree outputs after recent formatting and script changes.

Made-with: Cursor

* ci: fix with-lingui e2e script name

Use the existing test:e2e script in CI to avoid missing-script failures.

Made-with: Cursor
2026-04-28 18:52:45 +08:00
zuiidea 8673d8398e docs: refine README for template-first onboarding
Focus root docs on init-antd-admin usage and keep template setup guidance fully in English with clearer CLI options.

Made-with: Cursor
2026-04-28 17:43:29 +08:00
zuiidea c5221c71be feat(with-lingui): orders CRUD, shared hooks, auth refresh, and docs
- 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
2026-04-27 14:47:55 +08:00
zuiidea 2d46d7bf27 chore(create): rename npm package to init-antd-admin
Replace antd-admin-cli (name taken on npm). Bin init-antd-admin;
release tags init-antd-admin-v*; workflow publish-init-antd-admin.yml.

Made-with: Cursor
2026-04-15 14:11:49 +08:00
zuiidea 0ecfefcd97 chore(create): rename npm package to antd-admin-cli
Unscoped name avoids npm similarity block with create-antd-admin.
Bin command antd-admin-cli; release tags antd-admin-cli-v*; workflow
publish-antd-admin-cli.yml.

Made-with: Cursor
2026-04-15 12:05:19 +08:00
zuiidea 57cd84b5ce chore(create): rename npm package to create-antdadmin
Use bin/create-antdadmin, npm create antdadmin, and tag prefix
create-antdadmin-v*. Workflow file publish-create-antdadmin.yml.
Env vars CREATE_ANTD_ADMIN_* unchanged.

Made-with: Cursor
2026-04-15 11:58:45 +08:00
zuiidea ca88d6567d fix(create): allow local npm publish without provenance
Remove publishConfig.provenance; CI passes --provenance on npm publish so
GitHub Actions still gets attestations with id-token: write.

Made-with: Cursor
2026-04-15 11:42:49 +08:00
zuiidea f7de07dba6 chore(create): bump to 1.0.3, fix npm bin and publish files
Raise version above registry 1.0.2, set bin to dist/cli.js, and limit npm
files to dist/cli.js and dist/examples.json.

Made-with: Cursor
2026-04-15 11:38:22 +08:00
zuiidea 73e53ea3ba ci: add GitHub Action to publish create-antd-admin to npm
Made-with: Cursor
2026-04-15 11:15:12 +08:00
zuiidea 70ee2eaa41 docs(create): add README for create-antd-admin CLI
Made-with: Cursor
2026-04-15 10:48:10 +08:00
zuiidea ca3cc71054 test(create): integration test for transforms without network
Made-with: Cursor
2026-04-14 22:37:01 +08:00
zuiidea c872f80e55 feat(create): wire CLI entry and create command pipeline
Made-with: Cursor
2026-04-14 22:36:11 +08:00
zuiidea a26e7f717e feat(create): interactive prompts for example, dir, name, pm
Made-with: Cursor
2026-04-14 22:33:56 +08:00
zuiidea 9eb67a091f feat(create): transform package.json name
Made-with: Cursor
2026-04-14 22:33:05 +08:00
zuiidea 56943a3a95 feat(create): optional git init and initial commit
Made-with: Cursor
2026-04-14 22:33:01 +08:00
zuiidea 3e630785bb feat(create): detect package managers and run install
Made-with: Cursor
2026-04-14 22:32:59 +08:00
zuiidea db696409d3 feat(create): reject non-empty target directories
Made-with: Cursor
2026-04-14 22:32:21 +08:00
zuiidea 6031d691ea feat(create): download templates with giget
Made-with: Cursor
2026-04-14 22:32:16 +08:00
zuiidea 26b002e80a feat(create): resolve giget source for examples and URLs
Made-with: Cursor
2026-04-14 22:31:24 +08:00
zuiidea 831aef8a7b test(create): vitest and package name normalization
Made-with: Cursor
2026-04-14 22:30:41 +08:00
zuiidea 0185201cbd feat(create): load examples manifest from dist/examples.json
Made-with: Cursor
2026-04-14 22:29:50 +08:00
zuiidea 578f7f5082 feat(create): add constants, CliError, and git ref resolver
Made-with: Cursor
2026-04-14 22:29:10 +08:00
zuiidea 02150a61a7 build(create): tsup bundle and postbuild examples manifest
Made-with: Cursor
2026-04-14 22:28:11 +08:00
zuiidea cc1a803bdb chore(create): scaffold create-antd-admin package
Made-with: Cursor
2026-04-14 22:27:04 +08:00