@faapi/faapi 0.0.0-canary.0 → 0.0.0-canary.02bea8c

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": "0.0.0-canary.0",
3
+ "version": "0.0.0-canary.02bea8c",
4
4
  "description": "函数即接口 - Function as API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -15,33 +15,29 @@
15
15
  "faapi": "./dist/cli/index.js"
16
16
  },
17
17
  "engines": {
18
- "node": ">=22"
18
+ "node": ">=24"
19
19
  },
20
20
  "files": [
21
21
  "dist"
22
22
  ],
23
- "scripts": {
24
- "build": "tsup",
25
- "prepublishOnly": "pnpm build",
26
- "test": "vitest run --passWithNoTests",
27
- "typecheck": "tsc --noEmit"
28
- },
29
23
  "dependencies": {
24
+ "esbuild": "^0.25.0",
30
25
  "fast-glob": "^3.3.3",
31
26
  "typescript": "^5.7.0",
32
27
  "ws": "^8.21.0"
33
28
  },
34
29
  "devDependencies": {
35
- "@faapi/schema": "workspace:*",
36
30
  "@types/node": "^22.15.0",
37
31
  "@types/ws": "^8.18.1",
38
32
  "@vitest/coverage-v8": "3",
39
33
  "cac": "^6.7.14",
40
34
  "chokidar": "^4.0.3",
41
- "esbuild": "^0.25.0",
42
- "tsx": "^4.19.0",
43
35
  "tsup": "^8.4.0",
44
- "vitest": "^3.1.0"
36
+ "vitest": "^3.1.0",
37
+ "zod": "^4.4.3"
38
+ },
39
+ "peerDependencies": {
40
+ "zod": "^4.4.3"
45
41
  },
46
42
  "license": "MIT",
47
43
  "repository": {
@@ -63,6 +59,12 @@
63
59
  ],
64
60
  "sideEffects": false,
65
61
  "publishConfig": {
66
- "access": "public"
62
+ "access": "public",
63
+ "provenance": true
64
+ },
65
+ "scripts": {
66
+ "build": "tsup",
67
+ "test": "NODE_OPTIONS=--max-old-space-size=8192 vitest run --passWithNoTests",
68
+ "typecheck": "tsc --noEmit"
67
69
  }
68
- }
70
+ }