|
11 | 11 | ],
|
12 | 12 | "exports": {
|
13 | 13 | ".": "./dist/index.mjs",
|
14 |
| - "./typeschema": "./dist/typeschema.mjs", |
15 | 14 | "./hooks": "./dist/hooks.mjs",
|
16 | 15 | "./stateful-hooks": "./dist/stateful-hooks.mjs"
|
17 | 16 | },
|
|
20 | 19 | ".": [
|
21 | 20 | "./dist/index.d.mts"
|
22 | 21 | ],
|
23 |
| - "typeschema": [ |
24 |
| - "./dist/typeschema.d.mts" |
25 |
| - ], |
26 | 22 | "hooks": [
|
27 | 23 | "./dist/hooks.d.mts"
|
28 | 24 | ],
|
|
43 | 39 | ],
|
44 | 40 | "scripts": {
|
45 | 41 | "lint": "tsc && prettier --write . && eslint .",
|
46 |
| - "test": "node --import tsx --test ./src/__tests__/*.test.ts ./src/__tests__/typeschema/*.test.ts", |
| 42 | + "test": "node --import tsx --test ./src/__tests__/*.test.ts", |
47 | 43 | "build": "tsup",
|
48 | 44 | "deploy": "semantic-release"
|
49 | 45 | },
|
|
70 | 66 | "@types/node": "^20.12.10",
|
71 | 67 | "@types/react": "^18.3.1",
|
72 | 68 | "@types/react-dom": "18.3.0",
|
73 |
| - "@typeschema/core": "^0.13.2", |
74 | 69 | "eslint": "^8.57.0",
|
75 | 70 | "eslint-config-prettier": "^9.1.0",
|
76 | 71 | "eslint-define-config": "^2.1.0",
|
|
83 | 78 | "tsup": "^8.0.2",
|
84 | 79 | "tsx": "^4.11.2",
|
85 | 80 | "typescript": "^5.4.5",
|
86 |
| - "typescript-eslint": "^7.8.0" |
| 81 | + "typescript-eslint": "^7.8.0", |
| 82 | + "zod": "^3.23.6" |
87 | 83 | },
|
88 | 84 | "peerDependencies": {
|
89 | 85 | "next": ">= 14.0.0",
|
90 | 86 | "react": ">= 18.2.0",
|
91 | 87 | "react-dom": ">= 18.2.0",
|
92 | 88 | "zod": ">= 3.0.0"
|
93 | 89 | },
|
94 |
| - "peerDependenciesMeta": { |
95 |
| - "zod": { |
96 |
| - "optional": true |
97 |
| - } |
98 |
| - }, |
99 | 90 | "repository": {
|
100 | 91 | "type": "git",
|
101 | 92 | "url": "https://github.com/TheEdoRan/next-safe-action.git"
|
102 |
| - }, |
103 |
| - "dependencies": { |
104 |
| - "@typeschema/main": "^0.13.10", |
105 |
| - "@typeschema/zod": "^0.13.3" |
106 | 93 | }
|
107 | 94 | }
|
0 commit comments