|
39 | 39 | "exports": { |
40 | 40 | ".": { |
41 | 41 | "types": "./dist/index.d.ts", |
42 | | - "import": "./dist/index.mjs", |
43 | | - "require": "./dist/index.cjs", |
44 | 42 | "browser": "./dist/index.mjs", |
45 | | - "default": "./dist/index.mjs" |
| 43 | + "import": "./dist/index.mjs", |
| 44 | + "require": "./dist/index.cjs" |
46 | 45 | }, |
47 | 46 | "./h3": { |
48 | 47 | "types": "./dist/h3.d.ts", |
49 | 48 | "import": "./dist/h3.mjs", |
50 | | - "require": "./dist/h3.cjs", |
51 | | - "default": "./dist/h3.mjs" |
| 49 | + "require": "./dist/h3.cjs" |
52 | 50 | }, |
53 | 51 | "./hono": { |
54 | 52 | "types": "./dist/hono.d.ts", |
55 | 53 | "import": "./dist/hono.mjs", |
56 | | - "require": "./dist/hono.cjs", |
57 | | - "default": "./dist/hono.mjs" |
| 54 | + "require": "./dist/hono.cjs" |
58 | 55 | }, |
59 | 56 | "./node": { |
60 | 57 | "types": "./dist/node.d.ts", |
61 | 58 | "import": "./dist/node.mjs", |
62 | | - "require": "./dist/node.cjs", |
63 | | - "default": "./dist/node.mjs" |
| 59 | + "require": "./dist/node.cjs" |
64 | 60 | }, |
65 | 61 | "./dist/*": "./dist/*", |
66 | 62 | "./package.json": "./package.json" |
|
85 | 81 | "play:node": "pnpm run --filter example-node dev", |
86 | 82 | "prepare": "git config --local core.hooksPath .githooks", |
87 | 83 | "release": "bumpp \"package.json\" \"jsr.json\" --commit \"release: v%s\" --all --push --tag", |
88 | | - "test": "pnpm run test:typecheck && pnpm run test:unit", |
| 84 | + "test": "pnpm run test:unit", |
89 | 85 | "test:coverage": "pnpm test -- --reporter verbose --coverage", |
90 | 86 | "test:e2e": "pnpm run --color \"/^test:e2e:/\"", |
91 | 87 | "test:e2e:browser": "pnpm run --filter example-browser test", |
92 | 88 | "test:e2e:bun": "pnpm run --filter example-bun test", |
93 | 89 | "test:e2e:deno": "pnpm run --filter example-deno test", |
94 | 90 | "test:e2e:node": "pnpm run --filter example-node test", |
95 | | - "test:typecheck": "vitest --typecheck --config ./vitest.type.config.ts --run", |
96 | | - "test:unit": "NODE_OPTIONS=--experimental-vm-modules vitest run ./src" |
| 91 | + "test:unit": "vitest run --typecheck" |
97 | 92 | }, |
98 | 93 | "devDependencies": { |
99 | 94 | "@cloudflare/workers-types": "^4.20251109.0", |
|
103 | 98 | "@kazupon/prettier-config": "^0.1.1", |
104 | 99 | "@types/node": "^24.10.0", |
105 | 100 | "@types/supertest": "^2.0.16", |
106 | | - "@vitest/coverage-v8": "^1.6.1", |
| 101 | + "@vitest/coverage-v8": "catalog:vitest", |
107 | 102 | "@vitest/eslint-plugin": "^1.4.1", |
108 | 103 | "bumpp": "^9.11.1", |
109 | 104 | "cookie-es": "^1.2.2", |
|
134 | 129 | "typescript": "^5.9.3", |
135 | 130 | "typescript-eslint": "^8.46.3", |
136 | 131 | "unbuild": "^3.6.1", |
137 | | - "vitest": "^1.6.1", |
| 132 | + "vitest": "catalog:vitest", |
138 | 133 | "vitest-environment-miniflare": "^2.14.1" |
139 | 134 | }, |
140 | 135 | "prettier": "@kazupon/prettier-config", |
|
0 commit comments