ZaiZai 1 anno fa
parent
commit
1a27cbb88d
5 ha cambiato i file con 67 aggiunte e 37 eliminazioni
  1. 20 4
      README.md
  2. 5 3
      package.json
  3. 40 28
      pnpm-lock.yaml
  4. 1 1
      public/version.json
  5. 1 1
      src/config/index.json

+ 20 - 4
README.md

@@ -4,11 +4,11 @@
 
 ---
 
-## node.js 的版本需要  14.18+
+## node.js 的版本需要  v18.0.0+
 
 ```shell
 
-// 检查你的node版本, 如果低于 14.18, 请先更新node.js
+// 检查你的node版本, 如果低于v18.0.0, 请先更新node.js
 
 node -v
 
@@ -28,9 +28,20 @@ npm install -g pnpm
 cnpm install -g pnpm
 ```
 
+切换为私有源
+
+```shell
+
+hnrm use hcxxy
+hyrm use hcxxy
+hprm use hcxxy
+
+```
+
 然后在 此项目下 执行
 
 ```shell
+
 pnpm i
 
 // 或者
@@ -67,13 +78,16 @@ pnpm rm 依赖名
 pnpm --interactive update --latest
 ```
 
+
 js-fast-way 文档
 
 - **[文档地址](https://js-fast-way.vercel.app/)**
 - **[国内文档地址](http://izaizaiaa.gitee.io/js-fast-way)**
 
+
 ---
 
+
 ### 打包说明
 
 `build:zip` 为一键打包为zip的方式
@@ -82,6 +96,8 @@ js-fast-way 文档
 `build:test` 为一键打包,然后自动上传到测试服务器上并自动部署的方式
 `build:test:wgt` 为一键打包,然后自动上传到测试服务器上并自动部署的方式(不包含 `/public/plugins` 文件夹)
 
+
+
 ### 其它说明
 
 一般来说,`/public/plugins` 很少出现变动的情况。
@@ -90,6 +106,8 @@ js-fast-way 文档
 
 如果本地 `/public/plugins` 文件夹 有变动,请使用 非 `wgt` 的打包方式
 
+
+
 ### 代码规范说明
 
 项目启用了 `eslint` 作为代码规范检测
@@ -120,5 +138,3 @@ js-fast-way 文档
 这时,在保存代码时,会自动格式化和处理掉一些不规范的代码,但这并不是准确的,保存后,请再检查下,是否有存在不合理的地方,进行手动优化。
 
 在 `webstorm` 中,不需要安装插件,打开 webstorm 设置,语言和框架,`eslint`,勾选自动,再勾选保存时运行,即可。
-
-

+ 5 - 3
package.json

@@ -5,6 +5,7 @@
     "scripts": {
         "dev": "vite",
         "build": "vite build",
+        "yarn:install": "yarn --ignore-engines",
         "build:zip": "sh ./scripts/build.sh all",
         "build:zip:wgt": "sh ./scripts/build.sh wgt",
         "build:test": "sh ./scripts/build.sh all test",
@@ -33,16 +34,17 @@
         "@iconify-json/iconoir": "^1.1.38",
         "@iconify-json/ri": "^1.1.18",
         "@unocss/eslint-config": "^0.58.2",
-        "@vitejs/plugin-vue": "^4.6.0",
-        "@vue/compiler-sfc": "^3.3.13",
+        "@vitejs/plugin-vue": "^4.5.2",
+        "@vue/compiler-sfc": "^3.4.3",
         "archiver": "^6.0.1",
         "bignumber.js": "^9.1.2",
         "eslint": "^8.56.0",
         "eslint-plugin-vue": "^9.19.2",
         "sass": "^1.69.7",
+        "typescript": "^5.3.3",
         "unocss": "^0.58.2",
         "unocss-preset-extra": "^0.5.3",
         "unocss-preset-scrollbar": "^0.3.0",
-        "vite": "^4.5.1"
+        "vite": "^4.5.0"
     }
 }

+ 40 - 28
pnpm-lock.yaml

@@ -4,8 +4,8 @@ specifiers:
   '@iconify-json/iconoir': ^1.1.38
   '@iconify-json/ri': ^1.1.18
   '@unocss/eslint-config': ^0.58.2
-  '@vitejs/plugin-vue': ^4.6.0
-  '@vue/compiler-sfc': ^3.3.13
+  '@vitejs/plugin-vue': ^4.5.2
+  '@vue/compiler-sfc': ^3.4.3
   archiver: ^6.0.1
   axios: ^1.6.3
   bignumber.js: ^9.1.2
@@ -23,10 +23,11 @@ specifiers:
   pinia: ^2.1.7
   sass: ^1.69.7
   split.js: ^1.6.5
+  typescript: ^5.3.3
   unocss: ^0.58.2
   unocss-preset-extra: ^0.5.3
   unocss-preset-scrollbar: ^0.3.0
-  vite: ^4.5.1
+  vite: ^4.5.0
   vue: 3.4.3
   vue-router: ^4.2.5
   vuedraggable: ^4.1.0
@@ -42,16 +43,16 @@ dependencies:
   js-fast-way: 0.3.8
   js-md5: 0.8.3
   nprogress: 0.2.0
-  pinia: 2.1.7_vue@3.4.3
+  pinia: 2.1.7_typescript@5.3.3+vue@3.4.3
   split.js: 1.6.5
-  vue: 3.4.3
+  vue: 3.4.3_typescript@5.3.3
   vue-router: 4.2.5_vue@3.4.3
   vuedraggable: 4.1.0_vue@3.4.3
 
 devDependencies:
   '@iconify-json/iconoir': 1.1.39
   '@iconify-json/ri': 1.1.18
-  '@unocss/eslint-config': 0.58.3_eslint@8.56.0
+  '@unocss/eslint-config': 0.58.3_xdgzedli73k7lw4xlyzszm74om
   '@vitejs/plugin-vue': 4.6.2_vite@4.5.1+vue@3.4.3
   '@vue/compiler-sfc': 3.4.3
   archiver: 6.0.1
@@ -59,6 +60,7 @@ devDependencies:
   eslint: 8.56.0
   eslint-plugin-vue: 9.19.2_eslint@8.56.0
   sass: 1.69.7
+  typescript: 5.3.3
   unocss: 0.58.3_vite@4.5.1
   unocss-preset-extra: 0.5.3_unocss@0.58.3
   unocss-preset-scrollbar: 0.3.0_unocss@0.58.3
@@ -409,7 +411,7 @@ packages:
     peerDependencies:
       vue: ^3.2.0
     dependencies:
-      vue: 3.4.3
+      vue: 3.4.3_typescript@5.3.3
     dev: false
 
   /@esbuild/android-arm/0.18.20:
@@ -829,7 +831,7 @@ packages:
     engines: {node: ^16.0.0 || >=18.0.0}
     dev: true
 
-  /@typescript-eslint/typescript-estree/6.17.0:
+  /@typescript-eslint/typescript-estree/6.17.0_typescript@5.3.3:
     resolution: {integrity: sha512-gVQe+SLdNPfjlJn5VNGhlOhrXz4cajwFd5kAgWtZ9dCZf4XJf8xmgCTLIqec7aha3JwgLI2CK6GY1043FRxZwg==}
     engines: {node: ^16.0.0 || >=18.0.0}
     peerDependencies:
@@ -845,12 +847,13 @@ packages:
       is-glob: 4.0.3
       minimatch: 9.0.3
       semver: 7.5.4
-      ts-api-utils: 1.0.3
+      ts-api-utils: 1.0.3_typescript@5.3.3
+      typescript: 5.3.3
     transitivePeerDependencies:
       - supports-color
     dev: true
 
-  /@typescript-eslint/utils/6.17.0_eslint@8.56.0:
+  /@typescript-eslint/utils/6.17.0_xdgzedli73k7lw4xlyzszm74om:
     resolution: {integrity: sha512-LofsSPjN/ITNkzV47hxas2JCsNCEnGhVvocfyOcLzT9c/tSZE7SfhS/iWtzP1lKNOEfLhRTZz6xqI8N2RzweSQ==}
     engines: {node: ^16.0.0 || >=18.0.0}
     peerDependencies:
@@ -861,7 +864,7 @@ packages:
       '@types/semver': 7.5.6
       '@typescript-eslint/scope-manager': 6.17.0
       '@typescript-eslint/types': 6.17.0
-      '@typescript-eslint/typescript-estree': 6.17.0
+      '@typescript-eslint/typescript-estree': 6.17.0_typescript@5.3.3
       eslint: 8.56.0
       semver: 7.5.4
     transitivePeerDependencies:
@@ -935,22 +938,22 @@ packages:
     resolution: {integrity: sha512-9hTxzsrSLh+07ql/lGhE+8ZbE9MTTeZeMx131cPf2jDJUxAZooLE5pBCoK0k77ZJGcribRrwPGkUScBNOK0cYQ==}
     dev: true
 
-  /@unocss/eslint-config/0.58.3_eslint@8.56.0:
+  /@unocss/eslint-config/0.58.3_xdgzedli73k7lw4xlyzszm74om:
     resolution: {integrity: sha512-q9yLUiVPhTcAiBwu0xwewz4oxz3mdAxOX0uTU5ygbvJQWdLV5gnKPDS74HKuHqT7L/D+IcyM7QAcnYM1SdINBQ==}
     engines: {node: '>=14'}
     dependencies:
-      '@unocss/eslint-plugin': 0.58.3_eslint@8.56.0
+      '@unocss/eslint-plugin': 0.58.3_xdgzedli73k7lw4xlyzszm74om
     transitivePeerDependencies:
       - eslint
       - supports-color
       - typescript
     dev: true
 
-  /@unocss/eslint-plugin/0.58.3_eslint@8.56.0:
+  /@unocss/eslint-plugin/0.58.3_xdgzedli73k7lw4xlyzszm74om:
     resolution: {integrity: sha512-5E55Oz13aPpbKblR/DQfjahl/CNChHI97P19Flv2CslS2rNjPwI2c1nV7He3SJdJtnfd88To78ltlz7UOZzOqA==}
     engines: {node: '>=14'}
     dependencies:
-      '@typescript-eslint/utils': 6.17.0_eslint@8.56.0
+      '@typescript-eslint/utils': 6.17.0_xdgzedli73k7lw4xlyzszm74om
       '@unocss/config': 0.58.3
       '@unocss/core': 0.58.3
       magic-string: 0.30.5
@@ -1152,7 +1155,7 @@ packages:
       vue: ^3.2.25
     dependencies:
       vite: 4.5.1_sass@1.69.7
-      vue: 3.4.3
+      vue: 3.4.3_typescript@5.3.3
     dev: true
 
   /@vue/compiler-core/3.4.3:
@@ -1218,7 +1221,7 @@ packages:
     dependencies:
       '@vue/compiler-ssr': 3.4.3
       '@vue/shared': 3.4.3
-      vue: 3.4.3
+      vue: 3.4.3_typescript@5.3.3
 
   /@vue/shared/3.4.3:
     resolution: {integrity: sha512-rIwlkkP1n4uKrRzivAKPZIEkHiuwY5mmhMJ2nZKCBLz8lTUlE73rQh4n1OnnMurXt1vcUNyH4ZPfdh8QweTjpQ==}
@@ -1401,7 +1404,7 @@ packages:
     hasBin: true
     dependencies:
       caniuse-lite: 1.0.30001572
-      electron-to-chromium: 1.4.616
+      electron-to-chromium: 1.4.617
       node-releases: 2.0.14
       update-browserslist-db: 1.0.13_browserslist@4.22.2
     dev: true
@@ -1617,8 +1620,8 @@ packages:
       zrender: 5.4.4
     dev: false
 
-  /electron-to-chromium/1.4.616:
-    resolution: {integrity: sha512-1n7zWYh8eS0L9Uy+GskE0lkBUNK83cXTVJI0pU3mGprFsbfSdAc15VTFbo+A+Bq4pwstmL30AVcEU3Fo463lNg==}
+  /electron-to-chromium/1.4.617:
+    resolution: {integrity: sha512-sYNE3QxcDS4ANW1k4S/wWYMXjCVcFSOX3Bg8jpuMFaXt/x8JCmp0R1Xe1ZXDX4WXnSRBf+GJ/3eGWicUuQq5cg==}
     dev: true
 
   /element-plus/2.4.4_vue@3.4.3:
@@ -1641,7 +1644,7 @@ packages:
       lodash-unified: 1.0.3_vpgwo5v3ie2bia5ss74pgoa5ly
       memoize-one: 6.0.0
       normalize-wheel-es: 1.2.0
-      vue: 3.4.3
+      vue: 3.4.3_typescript@5.3.3
     transitivePeerDependencies:
       - '@vue/composition-api'
     dev: false
@@ -2454,7 +2457,7 @@ packages:
     engines: {node: '>=8.6'}
     dev: true
 
-  /pinia/2.1.7_vue@3.4.3:
+  /pinia/2.1.7_typescript@5.3.3+vue@3.4.3:
     resolution: {integrity: sha512-+C2AHFtcFqjPih0zpYuvof37SFxMQ7OEG2zV9jRI12i9BOy3YQVAHwdKtyyc8pDcDyIc33WCIsZaCFWU7WWxGQ==}
     peerDependencies:
       '@vue/composition-api': ^1.4.0
@@ -2467,7 +2470,8 @@ packages:
         optional: true
     dependencies:
       '@vue/devtools-api': 6.5.1
-      vue: 3.4.3
+      typescript: 5.3.3
+      vue: 3.4.3_typescript@5.3.3
       vue-demi: 0.14.6_vue@3.4.3
     dev: false
 
@@ -2745,11 +2749,13 @@ packages:
     engines: {node: '>=6'}
     dev: true
 
-  /ts-api-utils/1.0.3:
+  /ts-api-utils/1.0.3_typescript@5.3.3:
     resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==}
     engines: {node: '>=16.13.0'}
     peerDependencies:
       typescript: '>=4.2.0'
+    dependencies:
+      typescript: 5.3.3
     dev: true
 
   /tslib/2.3.0:
@@ -2772,6 +2778,11 @@ packages:
     engines: {node: '>=10'}
     dev: true
 
+  /typescript/5.3.3:
+    resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==}
+    engines: {node: '>=14.17'}
+    hasBin: true
+
   /ufo/1.3.2:
     resolution: {integrity: sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA==}
     dev: true
@@ -2909,7 +2920,7 @@ packages:
       '@vue/composition-api':
         optional: true
     dependencies:
-      vue: 3.4.3
+      vue: 3.4.3_typescript@5.3.3
     dev: false
 
   /vue-eslint-parser/9.3.2_eslint@8.56.0:
@@ -2936,10 +2947,10 @@ packages:
       vue: ^3.2.0
     dependencies:
       '@vue/devtools-api': 6.5.1
-      vue: 3.4.3
+      vue: 3.4.3_typescript@5.3.3
     dev: false
 
-  /vue/3.4.3:
+  /vue/3.4.3_typescript@5.3.3:
     resolution: {integrity: sha512-GjN+culMAGv/mUbkIv8zMKItno8npcj5gWlXkSxf1SPTQf8eJ4A+YfHIvQFyL1IfuJcMl3soA7SmN1fRxbf/wA==}
     peerDependencies:
       typescript: '*'
@@ -2952,6 +2963,7 @@ packages:
       '@vue/runtime-dom': 3.4.3
       '@vue/server-renderer': 3.4.3_vue@3.4.3
       '@vue/shared': 3.4.3
+      typescript: 5.3.3
 
   /vuedraggable/4.1.0_vue@3.4.3:
     resolution: {integrity: sha512-FU5HCWBmsf20GpP3eudURW3WdWTKIbEIQxh9/8GE806hydR9qZqRRxRE3RjqX7PkuLuMQG/A7n3cfj9rCEchww==}
@@ -2959,7 +2971,7 @@ packages:
       vue: ^3.0.1
     dependencies:
       sortablejs: 1.14.0
-      vue: 3.4.3
+      vue: 3.4.3_typescript@5.3.3
     dev: false
 
   /which/2.0.2:

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20240102180154"
+  "value": "20240103112959"
 }

+ 1 - 1
src/config/index.json

@@ -1,6 +1,6 @@
 {
     "version": "20230607160059",
-    "target": "http://192.168.0.109:8090",
+    "target": "http://192.168.0.196:8090",
     "smsPhone": "",
     "vite": {
         "port": 5180,