@faapi/faapi 3.3.0 → 4.0.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@faapi/faapi",
3
- "version": "3.3.0",
3
+ "version": "4.0.0",
4
4
  "description": "函数即接口 - Function as API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -31,13 +31,13 @@
31
31
  "ws": "^8.21.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@types/node": "^22.15.0",
34
+ "@types/node": "^24.3.0",
35
35
  "@types/ws": "^8.18.1",
36
- "@vitest/coverage-v8": "3",
36
+ "@vitest/coverage-v8": "4",
37
37
  "cac": "^6.7.14",
38
38
  "chokidar": "^4.0.3",
39
39
  "tsup": "^8.4.0",
40
- "vitest": "^3.1.0",
40
+ "vitest": "^4.1.11",
41
41
  "zod": "^4.4.3"
42
42
  },
43
43
  "peerDependencies": {
@@ -69,7 +69,10 @@
69
69
  "scripts": {
70
70
  "build": "tsup",
71
71
  "test": "vitest run --passWithNoTests",
72
+ "test:unit": "vitest run --passWithNoTests --exclude='**/*.e2e.test.ts'",
73
+ "test:e2e": "vitest run --passWithNoTests src/**/*.e2e.test.ts",
72
74
  "test:cov": "vitest run --coverage --passWithNoTests",
73
- "typecheck": "tsc --noEmit"
75
+ "typecheck": "tsc --noEmit",
76
+ "typecheck:test": "tsc --noEmit -p tsconfig.test.json"
74
77
  }
75
78
  }