create-tengits-app 1.0.5 → 1.0.7

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 CHANGED
@@ -122,6 +122,9 @@ my-awesome-project/
122
122
 
123
123
  在项目目录中,你可以运行:
124
124
 
125
+ ### pnpm
126
+ 版本:9.15.9
127
+
125
128
  ### `pnpm start`
126
129
  启动开发服务器,通常在 [http://localhost:3000](http://localhost:3000) 访问
127
130
 
package/USAGE.md CHANGED
@@ -42,7 +42,7 @@ pnpm start
42
42
  - ✅ 路由系统 (React Router)
43
43
  - ✅ 状态管理 (React Query)
44
44
  - ✅ 国际化支持 (i18next)
45
- - ✅ HTTP 请求 (Axios)
45
+ - ✅ HTTP 请求 (fetch)
46
46
  - ✅ 响应式设计
47
47
  - ✅ 深色/浅色主题
48
48
  - ✅ TypeScript 完整支持
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-tengits-app",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "🚀 快速创建基于 React + Rsbuild + TypeScript + Tailwind CSS + Antd 的现代前端项目脚手架",
5
5
  "author": "",
6
6
  "license": "MIT",
@@ -7,8 +7,8 @@
7
7
  "/static/js/vendors-node_modules_pnpm_rspack_core_1_4_8__swc_helpers_0_5_17_node_modules_rspack_core_dist-6d1c2b.js",
8
8
  "/index.html",
9
9
  "/static/js/async/node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-ponyfill_js_lazy-co-6570d5.js.map",
10
- "/index.f79dfd3b9161b753.hot-update.js.map",
11
10
  "/static/js/index.js.map",
11
+ "/index.804f6c7ffad5ca7d.hot-update.js.map",
12
12
  "/static/js/lib-react.js.map",
13
13
  "/static/js/vendors-node_modules_pnpm_rspack_core_1_4_8__swc_helpers_0_5_17_node_modules_rspack_core_dist-6d1c2b.js.map"
14
14
  ],
@@ -17,8 +17,8 @@
17
17
  "assets": [
18
18
  "static/js/vendors-node_modules_pnpm_rspack_core_1_4_8__swc_helpers_0_5_17_node_modules_rspack_core_dist-6d1c2b.js.map",
19
19
  "static/js/lib-react.js.map",
20
- "index.f79dfd3b9161b753.hot-update.js.map",
21
20
  "static/js/index.js.map",
21
+ "index.804f6c7ffad5ca7d.hot-update.js.map",
22
22
  "static/js/async/node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-ponyfill_js_lazy-co-6570d5.js.map"
23
23
  ],
24
24
  "html": [
@@ -14,8 +14,6 @@
14
14
  "preview": "rsbuild preview"
15
15
  },
16
16
  "dependencies": {
17
- "antd": "^5.24.7",
18
- "axios": "^1.7.9",
19
17
  "react": "18",
20
18
  "react-dom": "18",
21
19
  "react-query": "3.39.3",
@@ -10,78 +10,78 @@ export const getMenus = () => [
10
10
  label: t('Home'),
11
11
  path: 'Home',
12
12
  },
13
- {
14
- icon: <TUIIconPark type="peoples" />,
15
- menuName: t('SystemManagement', 'Common'),
16
- label: t('SystemManagement', 'Common'),
17
- key: '/systemManagement',
18
- path: 'systemManagement',
19
- children: [
20
- {
21
- menuName: t('AModel'),
22
- key: 'modelManage',
23
- icon: '',
24
- label: t('Model'),
25
- path: 'modelManage',
26
- },
27
- {
28
- menuName: t('Evaluation'),
29
- key: 'evaluation',
30
- icon: '',
31
- label: t('Evaluation'),
32
- path: 'evaluation',
33
- },
34
- {
35
- icon: '',
36
- menuName: t('UserManagement'),
37
- label: t('UserManagement'),
38
- key: 'userManagement',
39
- path: 'userManagement',
40
- menuAuth: [{ id: 0, name: '用户管理' }],
41
- },
42
- {
43
- icon: '',
44
- menuName: t('BasicManagement'),
45
- label: t('BasicManagement'),
46
- key: 'basicManagement',
47
- path: 'basicManagement',
48
- children: [
49
- {
50
- icon: '',
51
- menuName: t('UserGroupManagement'),
52
- label: t('UserGroupManagement'),
53
- key: 'userGroups',
54
- path: 'userGroups',
55
- menuAuth: [{ id: 0, name: '用户组管理' }],
56
- },
57
- {
58
- icon: '',
59
- menuName: t('RoleManagement'),
60
- label: t('RoleManagement'),
61
- key: 'roleManagement',
62
- path: 'roleManagement',
63
- menuAuth: [{ id: 0, name: '角色管理' }],
64
- },
65
- {
66
- icon: '',
67
- menuName: t('OperationPermissionManagement'),
68
- label: t('OperationPermissionManagement'),
69
- key: 'permissionsManagement',
70
- path: 'permissionsManagement',
71
- menuAuth: [{ id: 0, name: '操作权限管理' }],
72
- },
73
- {
74
- icon: '',
75
- menuName: t('OrganizationalStructureManagement'),
76
- label: t('OrganizationalStructureManagement'),
77
- key: 'organizationManagement',
78
- path: 'organizationManagement',
79
- menuAuth: [{ id: 0, name: '组织机构管理' }],
80
- },
81
- ],
82
- },
83
- ],
84
- },
13
+ // {
14
+ // icon: <TUIIconPark type="peoples" />,
15
+ // menuName: t('SystemManagement', 'Common'),
16
+ // label: t('SystemManagement', 'Common'),
17
+ // key: '/systemManagement',
18
+ // path: 'systemManagement',
19
+ // children: [
20
+ // {
21
+ // menuName: t('AModel'),
22
+ // key: 'modelManage',
23
+ // icon: '',
24
+ // label: t('Model'),
25
+ // path: 'modelManage',
26
+ // },
27
+ // {
28
+ // menuName: t('Evaluation'),
29
+ // key: 'evaluation',
30
+ // icon: '',
31
+ // label: t('Evaluation'),
32
+ // path: 'evaluation',
33
+ // },
34
+ // {
35
+ // icon: '',
36
+ // menuName: t('UserManagement'),
37
+ // label: t('UserManagement'),
38
+ // key: 'userManagement',
39
+ // path: 'userManagement',
40
+ // menuAuth: [{ id: 0, name: '用户管理' }],
41
+ // },
42
+ // {
43
+ // icon: '',
44
+ // menuName: t('BasicManagement'),
45
+ // label: t('BasicManagement'),
46
+ // key: 'basicManagement',
47
+ // path: 'basicManagement',
48
+ // children: [
49
+ // {
50
+ // icon: '',
51
+ // menuName: t('UserGroupManagement'),
52
+ // label: t('UserGroupManagement'),
53
+ // key: 'userGroups',
54
+ // path: 'userGroups',
55
+ // menuAuth: [{ id: 0, name: '用户组管理' }],
56
+ // },
57
+ // {
58
+ // icon: '',
59
+ // menuName: t('RoleManagement'),
60
+ // label: t('RoleManagement'),
61
+ // key: 'roleManagement',
62
+ // path: 'roleManagement',
63
+ // menuAuth: [{ id: 0, name: '角色管理' }],
64
+ // },
65
+ // {
66
+ // icon: '',
67
+ // menuName: t('OperationPermissionManagement'),
68
+ // label: t('OperationPermissionManagement'),
69
+ // key: 'permissionsManagement',
70
+ // path: 'permissionsManagement',
71
+ // menuAuth: [{ id: 0, name: '操作权限管理' }],
72
+ // },
73
+ // {
74
+ // icon: '',
75
+ // menuName: t('OrganizationalStructureManagement'),
76
+ // label: t('OrganizationalStructureManagement'),
77
+ // key: 'organizationManagement',
78
+ // path: 'organizationManagement',
79
+ // menuAuth: [{ id: 0, name: '组织机构管理' }],
80
+ // },
81
+ // ],
82
+ // },
83
+ // ],
84
+ // },
85
85
  ];
86
86
 
87
87
  /**
@@ -5,3 +5,4 @@ declare module 'react-markdown'
5
5
  declare module 'react-markdown-reader'
6
6
  declare module 'dayjs'
7
7
  declare module 'bisheng'
8
+ declare module 'tengits-ui5'