Forráskód Böngészése

chore: 移除 @types/wechat-miniprogram 依赖并替换为 miniprogram-api-typings (link #104)

Utopia 8 hónapja
szülő
commit
97916cf06d
3 módosított fájl, 1 hozzáadás és 10 törlés
  1. 0 1
      package.json
  2. 0 8
      pnpm-lock.yaml
  3. 1 1
      tsconfig.json

+ 0 - 1
package.json

@@ -119,7 +119,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",
     "@uni-helper/eslint-config": "^0.4.0",
     "@uni-helper/plugin-uni": "0.1.0",
     "@uni-helper/uni-types": "^1.0.0-alpha.6",

+ 0 - 8
pnpm-lock.yaml

@@ -140,9 +140,6 @@ importers:
       '@types/node':
         specifier: ^20.17.9
         version: 20.19.9
-      '@types/wechat-miniprogram':
-        specifier: ^3.4.8
-        version: 3.4.8
       '@uni-helper/eslint-config':
         specifier: ^0.4.0
         version: 0.4.0(@antfu/eslint-config@4.19.0(@unocss/eslint-plugin@66.4.0(eslint@9.32.0(jiti@2.5.1))(typescript@5.9.2))(@vue/compiler-sfc@3.5.18)(eslint-plugin-format@1.0.1(eslint@9.32.0(jiti@2.5.1)))(eslint@9.32.0(jiti@2.5.1))(typescript@5.9.2))(eslint@9.32.0(jiti@2.5.1))
@@ -2330,9 +2327,6 @@ packages:
   '@types/unist@3.0.3':
     resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==}
 
-  '@types/wechat-miniprogram@3.4.8':
-    resolution: {integrity: sha512-lOqddA707X3SZxVhlZNBZPzYzj7lG/ED2fF30k+aE2oT6R4wfw0Wiup2k2hGrmzYUFyJXfGs01sDCuJMhQMAdg==}
-
   '@types/yargs-parser@21.0.3':
     resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==}
 
@@ -9276,8 +9270,6 @@ snapshots:
 
   '@types/unist@3.0.3': {}
 
-  '@types/wechat-miniprogram@3.4.8': {}
-
   '@types/yargs-parser@21.0.3': {}
 
   '@types/yargs@16.0.9':

+ 1 - 1
tsconfig.json

@@ -13,7 +13,7 @@
     "types": [
       "@dcloudio/types",
       "@uni-helper/uni-types",
-      "@types/wechat-miniprogram",
+      "miniprogram-api-typings",
       "wot-design-uni/global.d.ts",
       "z-paging/types",
       "./src/typings.d.ts"