ソースを参照

Merge branch 'main' of https://github.com/feige996/unibest

feige996 11 ヶ月 前
コミット
b3958da24c
3 ファイル変更12 行追加12 行削除
  1. 2 2
      package.json
  2. 8 8
      pnpm-lock.yaml
  3. 2 2
      tsconfig.json

+ 2 - 2
package.json

@@ -109,6 +109,7 @@
     "@tanstack/vue-query": "^5.62.16",
     "abortcontroller-polyfill": "^1.7.8",
     "dayjs": "1.11.10",
+    "miniprogram-api-typings": "^4.0.7",
     "pinia": "2.0.36",
     "pinia-plugin-persistedstate": "3.2.1",
     "qs": "6.5.3",
@@ -130,7 +131,6 @@
     "@iconify-json/carbon": "^1.2.4",
     "@rollup/rollup-darwin-x64": "^4.28.0",
     "@types/node": "^20.17.9",
-    "@types/wechat-miniprogram": "^3.4.8",
     "@typescript-eslint/eslint-plugin": "^6.21.0",
     "@typescript-eslint/parser": "^6.21.0",
     "@uni-helper/uni-types": "1.0.0-alpha.3",
@@ -177,4 +177,4 @@
     "vitepress": "^1.5.0",
     "vue-tsc": "^1.8.27"
   }
-}
+}

+ 8 - 8
pnpm-lock.yaml

@@ -65,6 +65,9 @@ importers:
       dayjs:
         specifier: 1.11.10
         version: 1.11.10
+      miniprogram-api-typings:
+        specifier: ^4.0.7
+        version: 4.0.7
       pinia:
         specifier: 2.0.36
         version: 2.0.36(typescript@5.7.2)(vue@3.4.21(typescript@5.7.2))
@@ -123,9 +126,6 @@ importers:
       '@types/node':
         specifier: ^20.17.9
         version: 20.17.9
-      '@types/wechat-miniprogram':
-        specifier: ^3.4.8
-        version: 3.4.8
       '@typescript-eslint/eslint-plugin':
         specifier: ^6.21.0
         version: 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2)
@@ -2093,9 +2093,6 @@ packages:
   '@types/web-bluetooth@0.0.20':
     resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==}
 
-  '@types/wechat-miniprogram@3.4.8':
-    resolution: {integrity: sha512-lOqddA707X3SZxVhlZNBZPzYzj7lG/ED2fF30k+aE2oT6R4wfw0Wiup2k2hGrmzYUFyJXfGs01sDCuJMhQMAdg==}
-
   '@types/yargs-parser@21.0.3':
     resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==}
 
@@ -5004,6 +5001,9 @@ packages:
     resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==}
     engines: {node: '>=16 || 14 >=14.17'}
 
+  miniprogram-api-typings@4.0.7:
+    resolution: {integrity: sha512-sUxqpA1+JxnDWYjO6ihiLWNJl94WzjlhnDpozfBeC+w8Mpejjsc8JuxyC3Xisimj/gp5OYaJ7nd4fM6wepzhEQ==}
+
   minisearch@7.1.1:
     resolution: {integrity: sha512-b3YZEYCEH4EdCAtYP7OlDyx7FdPwNzuNwLQ34SfJpM9dlbBZzeXndGavTrC+VCiRWomL21SWfMc6SCKO/U2ZNw==}
 
@@ -9484,8 +9484,6 @@ snapshots:
 
   '@types/web-bluetooth@0.0.20': {}
 
-  '@types/wechat-miniprogram@3.4.8': {}
-
   '@types/yargs-parser@21.0.3': {}
 
   '@types/yargs@16.0.9':
@@ -13067,6 +13065,8 @@ snapshots:
 
   minipass@7.1.2: {}
 
+  miniprogram-api-typings@4.0.7: {}
+
   minisearch@7.1.1: {}
 
   minizlib@2.1.2:

+ 2 - 2
tsconfig.json

@@ -18,10 +18,10 @@
     "types": [
       "@dcloudio/types",
       "@uni-helper/uni-types",
-      "@types/wechat-miniprogram",
       "wot-design-uni/global.d.ts",
       "z-paging/types",
-      "./src/typings.d.ts"
+      "./src/typings.d.ts",
+      "miniprogram-api-typings"
     ]
   },
   "vueCompilerOptions": {