@wevu/api 0.1.1 → 0.2.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wevu/api",
3
3
  "type": "module",
4
- "version": "0.1.1",
4
+ "version": "0.2.0",
5
5
  "description": "tsdown bundler template",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -38,7 +38,7 @@
38
38
  "dependencies": {
39
39
  "@douyin-microapp/typings": "^1.3.1",
40
40
  "@mini-types/alipay": "^3.0.14",
41
- "miniprogram-api-typings": "^5.0.0"
41
+ "miniprogram-api-typings": "^5.1.1"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public"
@@ -48,12 +48,22 @@
48
48
  "build": "tsdown",
49
49
  "test": "vitest run",
50
50
  "test:dev": "vitest",
51
+ "pretest:types": "pnpm build",
51
52
  "test:types": "tsd",
52
53
  "release": "pnpm publish",
53
54
  "lint": "eslint .",
54
55
  "lint:fix": "eslint . --fix",
55
- "docs:sync": "node --experimental-strip-types ./scripts/sync-support-matrix.ts",
56
- "docs:check": "node --experimental-strip-types ./scripts/sync-support-matrix.ts --check",
57
- "prebuild": "pnpm run docs:check"
56
+ "catalog:sync": "node ./scripts/sync-api-catalog.mjs",
57
+ "catalog:check": "node ./scripts/sync-api-catalog.mjs --check",
58
+ "strict-alias:check": "node --import tsx ./scripts/check-strict-alias-guard.mjs",
59
+ "coverage:check": "node --import tsx ./scripts/check-coverage-guard.mjs",
60
+ "structure:check": "node ./scripts/check-structure-guard.mjs",
61
+ "strict-alias:scan": "node --import tsx ./scripts/scan-strict-alias-candidates.mjs",
62
+ "docs:sync": "node --import tsx ./scripts/sync-support-matrix.ts",
63
+ "docs:check": "node --import tsx ./scripts/sync-support-matrix.ts --check",
64
+ "report:api": "node --import tsx ./scripts/generate-api-report.mjs",
65
+ "prebuild": "pnpm run structure:check && pnpm run typecheck && pnpm run typecheck:test && pnpm run catalog:check && pnpm run docs:check && pnpm run strict-alias:check && pnpm run coverage:check",
66
+ "typecheck": "tsc --noEmit -p tsconfig.json",
67
+ "typecheck:test": "tsc --noEmit -p tsconfig.test.json"
58
68
  }
59
69
  }
package/types/index.d.ts CHANGED
@@ -13,7 +13,10 @@ import type {
13
13
  WeapiDouyinAdapter,
14
14
  WeapiDouyinRawAdapter,
15
15
  WeapiInstance,
16
+ WeapiMethodSupportQueryOptions,
16
17
  WeapiPromisify,
18
+ WeapiResolvedTarget,
19
+ WeapiSupportLevel,
17
20
  WeapiWxAdapter,
18
21
  WeapiWxRawAdapter,
19
22
  } from '../dist/index.d.mts'
@@ -28,7 +31,10 @@ export type {
28
31
  WeapiDouyinAdapter,
29
32
  WeapiDouyinRawAdapter,
30
33
  WeapiInstance,
34
+ WeapiMethodSupportQueryOptions,
31
35
  WeapiPromisify,
36
+ WeapiResolvedTarget,
37
+ WeapiSupportLevel,
32
38
  WeapiWxAdapter,
33
39
  WeapiWxRawAdapter,
34
40
  }