create-jnrs-vue 1.2.11

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.
Files changed (93) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +61 -0
  3. package/bin/create.mjs +221 -0
  4. package/bin/upgrade.mjs +40 -0
  5. package/jnrs-template-vue/.env.development +13 -0
  6. package/jnrs-template-vue/.env.production +4 -0
  7. package/jnrs-template-vue/.prettierrc.json +12 -0
  8. package/jnrs-template-vue/README.md +48 -0
  9. package/jnrs-template-vue/auto-imports.d.ts +17 -0
  10. package/jnrs-template-vue/components.d.ts +51 -0
  11. package/jnrs-template-vue/eslint.config.ts +40 -0
  12. package/jnrs-template-vue/index.html +13 -0
  13. package/jnrs-template-vue/package.json +55 -0
  14. package/jnrs-template-vue/public/favicon.ico +0 -0
  15. package/jnrs-template-vue/public/system/menu.json +137 -0
  16. package/jnrs-template-vue/src/App.vue +45 -0
  17. package/jnrs-template-vue/src/api/common/index.ts +28 -0
  18. package/jnrs-template-vue/src/api/demos/index.ts +155 -0
  19. package/jnrs-template-vue/src/api/request.ts +53 -0
  20. package/jnrs-template-vue/src/api/system/index.ts +107 -0
  21. package/jnrs-template-vue/src/api/user/index.ts +12 -0
  22. package/jnrs-template-vue/src/assets/fonts/.keep +0 -0
  23. package/jnrs-template-vue/src/assets/fonts/AlibabaPuHuiTi-Regular.woff2 +0 -0
  24. package/jnrs-template-vue/src/assets/fonts/AlimamaShuHeiTi-Bold.woff2 +0 -0
  25. package/jnrs-template-vue/src/assets/images/common/403.png +0 -0
  26. package/jnrs-template-vue/src/assets/images/common/404.png +0 -0
  27. package/jnrs-template-vue/src/assets/images/common/avatar.png +0 -0
  28. package/jnrs-template-vue/src/assets/images/common/jnrs-white.svg +1 -0
  29. package/jnrs-template-vue/src/assets/styles/animation.scss +0 -0
  30. package/jnrs-template-vue/src/assets/styles/common.scss +39 -0
  31. package/jnrs-template-vue/src/assets/styles/fonts.scss +27 -0
  32. package/jnrs-template-vue/src/assets/styles/index.scss +5 -0
  33. package/jnrs-template-vue/src/assets/styles/init.scss +41 -0
  34. package/jnrs-template-vue/src/assets/styles/root.scss +13 -0
  35. package/jnrs-template-vue/src/components/common/CardTable.vue +90 -0
  36. package/jnrs-template-vue/src/components/common/DictTag.vue +74 -0
  37. package/jnrs-template-vue/src/components/common/ImageView.vue +144 -0
  38. package/jnrs-template-vue/src/components/common/PdfView.vue +115 -0
  39. package/jnrs-template-vue/src/components/select/SelectManager.vue +26 -0
  40. package/jnrs-template-vue/src/directives/permissions.ts +28 -0
  41. package/jnrs-template-vue/src/layout/BlankLayout.vue +15 -0
  42. package/jnrs-template-vue/src/layout/RouterTabs /344/277/256/345/244/215/350/267/257/347/224/261/350/267/263/350/275/254/346/220/272/345/270/246/345/217/202/346/225/260/351/227/256/351/242/230.vue" +150 -0
  43. package/jnrs-template-vue/src/layout/RouterTabs.vue +142 -0
  44. package/jnrs-template-vue/src/layout/SideMenu.vue +208 -0
  45. package/jnrs-template-vue/src/layout/SideMenuItem.vue +38 -0
  46. package/jnrs-template-vue/src/layout/TopHeader.vue +184 -0
  47. package/jnrs-template-vue/src/layout/index.vue +71 -0
  48. package/jnrs-template-vue/src/locales/en.ts +14 -0
  49. package/jnrs-template-vue/src/locales/index.ts +23 -0
  50. package/jnrs-template-vue/src/locales/zhCn.ts +14 -0
  51. package/jnrs-template-vue/src/main.ts +31 -0
  52. package/jnrs-template-vue/src/router/index.ts +77 -0
  53. package/jnrs-template-vue/src/router/routes.ts +48 -0
  54. package/jnrs-template-vue/src/types/env.d.ts +12 -0
  55. package/jnrs-template-vue/src/types/index.ts +81 -0
  56. package/jnrs-template-vue/src/types/webSocket.ts +19 -0
  57. package/jnrs-template-vue/src/utils/file.ts +56 -0
  58. package/jnrs-template-vue/src/utils/packages.ts +116 -0
  59. package/jnrs-template-vue/src/utils/permissions.ts +16 -0
  60. package/jnrs-template-vue/src/views/common/403.vue +52 -0
  61. package/jnrs-template-vue/src/views/common/404.vue +52 -0
  62. package/jnrs-template-vue/src/views/demos/crud/index.vue +355 -0
  63. package/jnrs-template-vue/src/views/demos/simpleTable/index.vue +41 -0
  64. package/jnrs-template-vue/src/views/demos/unitTest/RequestPage.vue +137 -0
  65. package/jnrs-template-vue/src/views/demos/unitTest/index.vue +131 -0
  66. package/jnrs-template-vue/src/views/home/index.vue +9 -0
  67. package/jnrs-template-vue/src/views/lingshuSmart/editorPage.vue +9 -0
  68. package/jnrs-template-vue/src/views/login/index.vue +314 -0
  69. package/jnrs-template-vue/src/views/system/dict/index.vue +161 -0
  70. package/jnrs-template-vue/src/views/system/menu/index.vue +43 -0
  71. package/jnrs-template-vue/src/views/system/mine/baseInfo.vue +108 -0
  72. package/jnrs-template-vue/src/views/system/mine/index.vue +83 -0
  73. package/jnrs-template-vue/src/views/system/mine/securitySettings.vue +105 -0
  74. package/jnrs-template-vue/src/views/system/role/editDialog.vue +94 -0
  75. package/jnrs-template-vue/src/views/system/role/index.vue +41 -0
  76. package/jnrs-template-vue/src/views/visual/index.vue +143 -0
  77. package/jnrs-template-vue/tsconfig.json +25 -0
  78. package/jnrs-template-vue/vite.config.ts +71 -0
  79. package/jnrs-template-vue/viteMockServe/fail.ts +38 -0
  80. package/jnrs-template-vue/viteMockServe/file/mock-pdf.pdf +0 -0
  81. package/jnrs-template-vue/viteMockServe/file/mock-png-0.png +0 -0
  82. package/jnrs-template-vue/viteMockServe/file/mock-png-1.png +0 -0
  83. package/jnrs-template-vue/viteMockServe/file.ts +67 -0
  84. package/jnrs-template-vue/viteMockServe/index.ts +87 -0
  85. package/jnrs-template-vue/viteMockServe/json/detailsRes.json +56 -0
  86. package/jnrs-template-vue/viteMockServe/json/dictItemRes.json +27 -0
  87. package/jnrs-template-vue/viteMockServe/json/dictRes.json +21 -0
  88. package/jnrs-template-vue/viteMockServe/json/loginRes_admin.json +157 -0
  89. package/jnrs-template-vue/viteMockServe/json/loginRes_user.json +713 -0
  90. package/jnrs-template-vue/viteMockServe/json/roleRes.json +37 -0
  91. package/jnrs-template-vue/viteMockServe/json/tableRes.json +390 -0
  92. package/jnrs-template-vue/viteMockServe/success.ts +39 -0
  93. package/package.json +41 -0
@@ -0,0 +1,37 @@
1
+ {
2
+ "data": [
3
+ {
4
+ "label": "班长",
5
+ "value": 0
6
+ },
7
+ {
8
+ "label": "员工",
9
+ "value": 1,
10
+ "permissions": ["mine:view", "mine:edit", "dict:view"]
11
+ },
12
+ {
13
+ "label": "正厂长",
14
+ "value": 2
15
+ },
16
+ {
17
+ "label": "副厂长1",
18
+ "value": 3
19
+ },
20
+ {
21
+ "label": "副厂长2",
22
+ "value": 4
23
+ },
24
+ {
25
+ "label": "生产部",
26
+ "value": 5,
27
+ "permissions": ["mine:view", "mine:edit", "menu:view", "menu:edit"]
28
+ },
29
+ {
30
+ "label": "管理员",
31
+ "value": 6,
32
+ "permissions": ["*"]
33
+ }
34
+ ],
35
+ "code": 0,
36
+ "msg": "操作成功"
37
+ }
@@ -0,0 +1,390 @@
1
+ {
2
+ "data": {
3
+ "list": [
4
+ {
5
+ "id": "DIGI-2025-TRANS-0001-IT-P001",
6
+ "programCode": "DIGI-2025-TRANS-0001",
7
+ "program": "信息化改造项目集",
8
+ "code": "DIGI-2025-TRANS-0001-IT-P001",
9
+ "name": "统一身份认证平台",
10
+ "description": "实现SSO单点登录与权限集中管理",
11
+ "projectTypeName": "混合型",
12
+ "projectType": 2,
13
+ "manager": "张三",
14
+ "managerId": 1,
15
+ "budget": 52000,
16
+ "plannedStartDate": "2025-08-10 14:23:47",
17
+ "plannedFinishDate": "2025-12-10",
18
+ "progress": "65%",
19
+ "status": "进行中",
20
+ "imageDocument": {
21
+ "id": 1,
22
+ "description": null,
23
+ "attachments": [
24
+ {
25
+ "id": 1,
26
+ "documentId": 1,
27
+ "fileName": "mock-png-1 测试.png",
28
+ "uniqueFileName": "mock-png-1.png",
29
+ "fileType": "image/png",
30
+ "fileSize": 25000
31
+ },
32
+ {
33
+ "id": 2,
34
+ "documentId": 2,
35
+ "fileName": "1",
36
+ "uniqueFileName": "1",
37
+ "fileType": "image/png",
38
+ "fileSize": 0
39
+ }
40
+ ]
41
+ },
42
+ "attachmentDocument": {
43
+ "id": 2,
44
+ "description": null,
45
+ "attachments": [
46
+ {
47
+ "id": 4,
48
+ "documentId": 2,
49
+ "fileName": "mock-pdf 测试.pdf",
50
+ "uniqueFileName": "mock-pdf.pdf",
51
+ "fileType": "application/pdf",
52
+ "fileSize": 64000
53
+ }
54
+ ]
55
+ }
56
+ },
57
+ {
58
+ "id": "DIGI-2025-TRANS-0001-MFG-P001",
59
+ "programCode": "DIGI-2025-TRANS-0001",
60
+ "program": "信息化改造项目集",
61
+ "code": "DIGI-2025-TRANS-0001-MFG-P001",
62
+ "name": "生产报工移动端开发",
63
+ "description": "车间工人通过APP实时报工",
64
+ "projectTypeName": "敏捷型",
65
+ "projectType": 0,
66
+ "manager": "李四",
67
+ "managerId": 2,
68
+ "budget": 28000,
69
+ "plannedStartDate": "2025-09-01 09:12:33",
70
+ "plannedFinishDate": "2025-11-30",
71
+ "progress": "100%",
72
+ "status": "已完成",
73
+ "imageDocument": {
74
+ "id": 110,
75
+ "description": null,
76
+ "attachments": [
77
+ {
78
+ "id": 33,
79
+ "documentId": 33,
80
+ "fileName": "none.gif",
81
+ "uniqueFileName": "none.gif",
82
+ "fileType": "image/gif",
83
+ "fileSize": 1073741824
84
+ },
85
+ {
86
+ "id": 55,
87
+ "documentId": 55,
88
+ "fileName": "none.bmp",
89
+ "uniqueFileName": "none.bmp",
90
+ "fileType": "image/bmp",
91
+ "fileSize": 19922944
92
+ },
93
+ {
94
+ "id": 1,
95
+ "documentId": 1,
96
+ "fileName": "mock-png-0 测试.png",
97
+ "uniqueFileName": "mock-png-0.png",
98
+ "fileType": "image/png",
99
+ "fileSize": 27000
100
+ },
101
+ {
102
+ "id": 44,
103
+ "documentId": 44,
104
+ "fileName": "none.jpg",
105
+ "uniqueFileName": "none.jpg",
106
+ "fileType": "image/jpg",
107
+ "fileSize": 18
108
+ }
109
+ ]
110
+ },
111
+ "attachmentDocument": {
112
+ "id": 2,
113
+ "description": null,
114
+ "attachments": [
115
+ {
116
+ "id": 4,
117
+ "documentId": 2,
118
+ "fileName": "mock-pdf 测试.pdf",
119
+ "uniqueFileName": "mock-pdf.pdf",
120
+ "fileType": "application/pdf",
121
+ "fileSize": 64000
122
+ },
123
+ {
124
+ "id": 14,
125
+ "documentId": 12,
126
+ "fileName": "none.docx",
127
+ "uniqueFileName": "none.docx",
128
+ "fileType": "application/docx",
129
+ "fileSize": 10
130
+ }
131
+ ]
132
+ }
133
+ },
134
+ {
135
+ "id": "DIGI-2025-TRANS-0001-IT-P002",
136
+ "programCode": "DIGI-2025-TRANS-0001",
137
+ "program": "信息化改造项目集",
138
+ "code": "DIGI-2025-TRANS-0001-IT-P002",
139
+ "name": "数据湖平台搭建",
140
+ "description": "构建企业级数据湖,支持BI分析",
141
+ "projectTypeName": "瀑布型",
142
+ "projectType": 1,
143
+ "manager": "王磊2",
144
+ "managerId": 32,
145
+ "budget": 95000,
146
+ "plannedStartDate": "2025-07-01 16:45:02",
147
+ "plannedFinishDate": "2025-12-20",
148
+ "progress": "80%",
149
+ "status": "进行中",
150
+ "imageDocument": {
151
+ "id": 1,
152
+ "description": null,
153
+ "attachments": [
154
+ {
155
+ "id": 3,
156
+ "documentId": 3,
157
+ "fileName": "none.png",
158
+ "uniqueFileName": "none.png",
159
+ "fileType": "image/png",
160
+ "fileSize": 2048576
161
+ }
162
+ ]
163
+ }
164
+ },
165
+ {
166
+ "id": "DIGI-2025-TRANS-0001-MFG-P002",
167
+ "programCode": "DIGI-2025-TRANS-0001",
168
+ "program": "",
169
+ "code": "DIGI-2025-TRANS-0001-MFG-P002",
170
+ "name": "设备台账数字化",
171
+ "description": "",
172
+ "projectTypeName": "",
173
+ "projectType": 1,
174
+ "manager": "赵敏",
175
+ "managerId": 4,
176
+ "budget": 0,
177
+ "plannedStartDate": "2025-10-15 11:30:18",
178
+ "plannedFinishDate": "",
179
+ "progress": "0%",
180
+ "status": "未开始",
181
+ "imageDocument": {
182
+ "id": 1,
183
+ "description": null,
184
+ "attachments": [
185
+ {
186
+ "id": 1,
187
+ "documentId": 1,
188
+ "fileName": "mock-png-1 测试.png",
189
+ "uniqueFileName": "mock-png-1.png",
190
+ "fileType": "image/png",
191
+ "fileSize": 25000
192
+ }
193
+ ]
194
+ }
195
+ },
196
+ {
197
+ "id": "DIGI-2025-TRANS-0001-IT-P003",
198
+ "programCode": "DIGI-2025-TRANS-0001",
199
+ "program": "信息化改造项目集",
200
+ "code": "DIGI-2025-TRANS-0001-IT-P003",
201
+ "name": "API网关升级",
202
+ "description": "提升系统间接口安全与性能",
203
+ "projectTypeName": "敏捷型",
204
+ "projectType": 0,
205
+ "manager": "张三2",
206
+ "managerId": 12,
207
+ "budget": 35000,
208
+ "plannedStartDate": "2025-06-01 08:05:59",
209
+ "plannedFinishDate": "2025-09-30",
210
+ "progress": "100%",
211
+ "status": "已完成"
212
+ },
213
+ {
214
+ "id": "SMART-2025-FACT-0002-MFG-P001",
215
+ "programCode": "SMART-2025-FACT-0002",
216
+ "program": "智能工厂建设项目集",
217
+ "code": "SMART-2025-FACT-0002-MFG-P001",
218
+ "name": "AGV物流调度系统",
219
+ "description": "部署自动导引车及调度平台",
220
+ "projectTypeName": "混合型",
221
+ "projectType": 2,
222
+ "manager": "李四2",
223
+ "managerId": 22,
224
+ "budget": 120000,
225
+ "plannedStartDate": "2025-05-01 13:22:41",
226
+ "plannedFinishDate": "2025-12-31",
227
+ "progress": "90%",
228
+ "status": "进行中"
229
+ },
230
+ {
231
+ "id": "SMART-2025-FACT-0002-IT-P001",
232
+ "programCode": "SMART-2025-FACT-0002",
233
+ "program": "智能工厂建设项目集",
234
+ "code": "SMART-2025-FACT-0002-IT-P001",
235
+ "name": "工厂IoT数据采集平台",
236
+ "description": "接入200+传感器,实现实时监控",
237
+ "projectTypeName": "敏捷型",
238
+ "projectType": 0,
239
+ "manager": "刘洋",
240
+ "managerId": 5,
241
+ "budget": 78000,
242
+ "plannedStartDate": "2025-08-20 17:55:03",
243
+ "plannedFinishDate": "2026-02-28",
244
+ "progress": "30%",
245
+ "status": "进行中"
246
+ },
247
+ {
248
+ "id": "SMART-2025-FACT-0002-MFG-P002",
249
+ "programCode": "SMART-2025-FACT-0002",
250
+ "program": "智能工厂建设项目集",
251
+ "code": "SMART-2025-FACT-0002-MFG-P002",
252
+ "name": "智能排产系统",
253
+ "description": "基于AI算法优化生产计划",
254
+ "projectTypeName": "瀑布型",
255
+ "projectType": 1,
256
+ "manager": "陈工",
257
+ "managerId": 6,
258
+ "budget": 65000,
259
+ "plannedStartDate": "2025-11-01 10:10:10",
260
+ "plannedFinishDate": "2026-03-31",
261
+ "progress": "0%",
262
+ "status": "未开始"
263
+ },
264
+ {
265
+ "id": "SMART-2025-FACT-0002-IT-P002",
266
+ "programCode": "SMART-2025-FACT-0002",
267
+ "program": "智能工厂建设项目集",
268
+ "code": "SMART-2025-FACT-0002-IT-P002",
269
+ "name": "边缘计算节点部署",
270
+ "description": "在车间部署边缘服务器处理实时数据",
271
+ "projectTypeName": "混合型",
272
+ "projectType": 2,
273
+ "manager": "王磊",
274
+ "managerId": 3,
275
+ "budget": 42000,
276
+ "plannedStartDate": "2025-09-10 15:40:27",
277
+ "plannedFinishDate": "2025-12-15",
278
+ "progress": "15%",
279
+ "status": "进行中"
280
+ },
281
+ {
282
+ "id": "SMART-2025-FACT-0002-MFG-P003",
283
+ "programCode": "SMART-2025-FACT-0002",
284
+ "program": "智能工厂建设项目集",
285
+ "code": "SMART-2025-FACT-0002-MFG-P003",
286
+ "name": "质量追溯系统",
287
+ "description": "实现产品全生命周期质量追踪",
288
+ "projectTypeName": "瀑布型",
289
+ "projectType": 1,
290
+ "manager": "李四3",
291
+ "managerId": 23,
292
+ "budget": 50000,
293
+ "plannedStartDate": "2025-04-01 07:18:55",
294
+ "plannedFinishDate": "2025-10-31",
295
+ "progress": "100%",
296
+ "status": "已完成"
297
+ },
298
+ {
299
+ "id": "CLOUD-2025-MIGR-0003-IT-P001",
300
+ "programCode": "CLOUD-2025-MIGR-0003",
301
+ "program": "云迁移项目集",
302
+ "code": "CLOUD-2025-MIGR-0003-IT-P001",
303
+ "name": "ERP系统上云",
304
+ "description": "将SAP ERP迁移至阿里云",
305
+ "projectTypeName": "瀑布型",
306
+ "projectType": 1,
307
+ "manager": "张三3",
308
+ "managerId": 13,
309
+ "budget": 200000,
310
+ "plannedStartDate": "2025-03-01 12:00:00",
311
+ "plannedFinishDate": "2025-11-30",
312
+ "progress": "100%",
313
+ "status": "已完成"
314
+ },
315
+ {
316
+ "id": "CLOUD-2025-MIGR-0003-MFG-P001",
317
+ "programCode": "CLOUD-2025-MIGR-0003",
318
+ "program": "云迁移项目集",
319
+ "code": "CLOUD-2025-MIGR-0003-MFG-P001",
320
+ "name": "MES灾备云环境搭建",
321
+ "description": "为制造执行系统建立异地云灾备",
322
+ "projectTypeName": "混合型",
323
+ "projectType": 2,
324
+ "manager": "李四4",
325
+ "managerId": 24,
326
+ "budget": 85000,
327
+ "plannedStartDate": "2025-10-01 19:33:21",
328
+ "plannedFinishDate": "2026-01-31",
329
+ "progress": "10%",
330
+ "status": "进行中"
331
+ },
332
+ {
333
+ "id": "CLOUD-2025-MIGR-0003-IT-P002",
334
+ "programCode": "CLOUD-2025-MIGR-0003",
335
+ "program": "云迁移项目集",
336
+ "code": "CLOUD-2025-MIGR-0003-IT-P002",
337
+ "name": "数据库云原生改造",
338
+ "description": "将Oracle迁移至PolarDB并优化架构",
339
+ "projectTypeName": "敏捷型",
340
+ "projectType": 0,
341
+ "manager": "周婷",
342
+ "managerId": 7,
343
+ "budget": 110000,
344
+ "plannedStartDate": "2025-07-15 03:47:12",
345
+ "plannedFinishDate": "2025-12-20",
346
+ "progress": "70%",
347
+ "status": "进行中"
348
+ },
349
+ {
350
+ "id": "CLOUD-2025-MIGR-0003-IT-P003",
351
+ "programCode": "CLOUD-2025-MIGR-0003",
352
+ "program": "云迁移项目集",
353
+ "code": "CLOUD-2025-MIGR-0003-IT-P003",
354
+ "name": "DevOps流水线上云",
355
+ "description": "CI/CD全流程迁移至云效平台",
356
+ "projectTypeName": "敏捷型",
357
+ "projectType": 0,
358
+ "manager": "张三4",
359
+ "managerId": 14,
360
+ "budget": 45000,
361
+ "plannedStartDate": "2025-12-01 22:11:09",
362
+ "plannedFinishDate": "2026-02-28",
363
+ "progress": "0%",
364
+ "status": "未开始"
365
+ },
366
+ {
367
+ "id": "CLOUD-2025-MIGR-0003-MFG-P002",
368
+ "programCode": "CLOUD-2025-MIGR-0003",
369
+ "program": "云迁移项目集",
370
+ "code": "CLOUD-2025-MIGR-0003-MFG-P002",
371
+ "name": "车间监控云存储方案",
372
+ "description": "视频监控数据存入对象存储",
373
+ "projectTypeName": "瀑布型",
374
+ "projectType": 1,
375
+ "manager": "李四5",
376
+ "managerId": 25,
377
+ "budget": 32000,
378
+ "plannedStartDate": "2025-09-01 05:29:38",
379
+ "plannedFinishDate": "2025-11-15",
380
+ "progress": "100%",
381
+ "status": "已完成"
382
+ }
383
+ ],
384
+ "count": 15,
385
+ "pageNo": 1,
386
+ "pageSize": 10
387
+ },
388
+ "code": 0,
389
+ "msg": "操作成功"
390
+ }
@@ -0,0 +1,39 @@
1
+ const res_success = {
2
+ code: 0,
3
+ msg: '操作成功'
4
+ }
5
+
6
+ export default [
7
+ // 退出登录
8
+ {
9
+ url: '/mock/api/auth/logout',
10
+ method: 'get',
11
+ response: () => {
12
+ return res_success
13
+ }
14
+ },
15
+ // 修改密码
16
+ {
17
+ url: '/mock/api/auth/change-password',
18
+ method: 'post',
19
+ response: () => {
20
+ return res_success
21
+ }
22
+ },
23
+ // 修改单个字典
24
+ {
25
+ url: '/mock/api/dict-manager/detail',
26
+ method: 'post',
27
+ response: () => {
28
+ return res_success
29
+ }
30
+ },
31
+ // 表单新增
32
+ {
33
+ url: '/mock/demos/save',
34
+ method: 'post',
35
+ response: () => {
36
+ return res_success
37
+ }
38
+ }
39
+ ]
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "create-jnrs-vue",
3
+ "version": "1.2.11",
4
+ "description": "巨能前端工程化开发,Vue 项目模板脚手架",
5
+ "keywords": [
6
+ "vue",
7
+ "vite",
8
+ "template",
9
+ "TypeScript",
10
+ "monorepo"
11
+ ],
12
+ "author": "talia_tan",
13
+ "license": "MIT",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://gitee.com/jnrs_git/jnrs-monorepo-frontend.git"
17
+ },
18
+ "type": "module",
19
+ "bin": {
20
+ "create-jnrs-vue": "./bin/create.mjs",
21
+ "upgrade-jnrs-vue": "./bin/upgrade.mjs"
22
+ },
23
+ "files": [
24
+ "bin",
25
+ "jnrs-template-vue",
26
+ "README.md",
27
+ "LICENSE"
28
+ ],
29
+ "engines": {
30
+ "node": ">=20.0.0",
31
+ "pnpm": ">=9.0.0"
32
+ },
33
+ "dependencies": {
34
+ "minimist": "^1.2.8",
35
+ "prompts": "^2.4.2",
36
+ "fs-extra": "^11.2.0"
37
+ },
38
+ "scripts": {
39
+ "release": "node ./scripts/release.mjs"
40
+ }
41
+ }