ding-react-admin 2.0.6 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -9
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -18,15 +18,7 @@ Interactive demo on GitHub Pages — sign in with **`admin` / `admin`** or **`us
|
|
|
18
18
|
|
|
19
19
|
## Installation
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
npm install ding-react-admin antd @ant-design/icons dayjs react-hook-form react-router-dom
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
yarn add ding-react-admin antd @ant-design/icons dayjs react-hook-form react-router-dom
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
Peer dependency versions and setup notes: [docs/install.md](docs/install.md).
|
|
21
|
+
Install **`ding-react-admin`** plus its peer dependencies in one command — versions depend on whether you already have React. See **[docs/install.md](docs/install.md)** (yarn and npm, new vs existing app).
|
|
30
22
|
|
|
31
23
|
## Quick start
|
|
32
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ding-react-admin",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Composable admin shell (Ant Design + React Router): quick-start AdminApp or build your own layout.",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
],
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "vite build && node -e \"require('fs').writeFileSync('dist/index.d.ts','export * from \\\"./src/index\\\";\\n')\"",
|
|
52
|
-
"dev:example": "
|
|
53
|
-
"build:example": "
|
|
54
|
-
"build:example:gh-pages": "
|
|
52
|
+
"dev:example": "vite --config examples/playground/vite.config.ts",
|
|
53
|
+
"build:example": "tsc -b examples/playground && vite build --config examples/playground/vite.config.ts",
|
|
54
|
+
"build:example:gh-pages": "tsc -b examples/playground && vite build --config examples/playground/vite.config.ts --base=/ding-react-admin/ && node -e \"require('fs').copyFileSync('examples/playground/dist/index.html','examples/playground/dist/404.html')\"",
|
|
55
55
|
"test": "vitest run",
|
|
56
56
|
"prepublishOnly": "yarn build"
|
|
57
57
|
},
|
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@ant-design/icons": "^6.0.0",
|
|
69
|
+
"@types/node": "^24.12.2",
|
|
69
70
|
"@types/react": "^19.2.14",
|
|
70
71
|
"@types/react-dom": "^19.2.3",
|
|
71
72
|
"@vitejs/plugin-react": "^6.0.1",
|