Skip to content

Commit e8512f0

Browse files
build: typescript project references (#1077)
* build: typescript project references * chore: remove duplicate keys
1 parent 5dd598f commit e8512f0

File tree

204 files changed

+1521
-286
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

204 files changed

+1521
-286
lines changed

Diff for: .github/workflows/ci-ajv-validator.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/ajv-validator
2121
- run: yarn workspace @hono/ajv-validator build
2222
- run: yarn workspace @hono/ajv-validator publint
23+
- run: yarn workspace @hono/ajv-validator typecheck
2324
- run: yarn eslint packages/ajv-validator
2425
- run: yarn test --coverage --project @hono/ajv-validator
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-arktype-validator.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/arktype-validator
2121
- run: yarn workspace @hono/arktype-validator build
2222
- run: yarn workspace @hono/arktype-validator publint
23+
- run: yarn workspace @hono/arktype-validator typecheck
2324
- run: yarn eslint packages/arktype-validator
2425
- run: yarn test --coverage --project @hono/arktype-validator
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-auth-js.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/auth-js
2121
- run: yarn workspace @hono/auth-js build
2222
- run: yarn workspace @hono/auth-js publint
23+
- run: yarn workspace @hono/auth-js typecheck
2324
- run: yarn eslint packages/auth-js
2425
- run: yarn test --coverage --project @hono/auth-js
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-bun-transpiler.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/bun-transpiler
2121
- run: yarn workspace @hono/bun-transpiler build
2222
- run: yarn workspace @hono/bun-transpiler publint
23+
- run: yarn workspace @hono/bun-transpiler typecheck
2324
- run: yarn eslint packages/bun-transpiler
2425
- run: yarn workspace @hono/bun-transpiler test --coverage --coverage-reporter lcov
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-casbin.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/casbin
2121
- run: yarn workspace @hono/casbin build
2222
- run: yarn workspace @hono/casbin publint
23+
- run: yarn workspace @hono/casbin typecheck
2324
- run: yarn eslint packages/casbin
2425
- run: yarn test --coverage --project @hono/casbin
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-class-validator.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/class-validator
2121
- run: yarn workspace @hono/class-validator build
2222
- run: yarn workspace @hono/class-validator publint
23+
- run: yarn workspace @hono/class-validator typecheck
2324
- run: yarn eslint packages/class-validator
2425
- run: yarn test --coverage --project @hono/class-validator
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-clerk-auth.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/clerk-auth
2121
- run: yarn workspace @hono/clerk-auth build
2222
- run: yarn workspace @hono/clerk-auth publint
23+
- run: yarn workspace @hono/clerk-auth typecheck
2324
- run: yarn eslint packages/clerk-auth
2425
- run: yarn test --coverage --project @hono/clerk-auth
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-cloudflare-access.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/cloudflare-access
2121
- run: yarn workspace @hono/cloudflare-access build
2222
- run: yarn workspace @hono/cloudflare-access publint
23+
- run: yarn workspace @hono/cloudflare-access typecheck
2324
- run: yarn eslint packages/cloudflare-access
2425
- run: yarn test --coverage --project @hono/cloudflare-access
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-conform-validator.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/conform-validator
2121
- run: yarn workspace @hono/conform-validator build
2222
- run: yarn workspace @hono/conform-validator publint
23+
- run: yarn workspace @hono/conform-validator typecheck
2324
- run: yarn eslint packages/conform-validator
2425
- run: yarn test --coverage --project @hono/conform-validator
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-effect-validator.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/effect-validator
2121
- run: yarn workspace @hono/effect-validator build
2222
- run: yarn workspace @hono/effect-validator publint
23+
- run: yarn workspace @hono/effect-validator typecheck
2324
- run: yarn eslint packages/effect-validator
2425
- run: yarn test --coverage --project @hono/effect-validator
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-esbuild-transpiler.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/esbuild-transpiler
2121
- run: yarn workspace @hono/esbuild-transpiler build
2222
- run: yarn workspace @hono/esbuild-transpiler publint
23+
- run: yarn workspace @hono/esbuild-transpiler typecheck
2324
- run: yarn eslint packages/esbuild-transpiler
2425
- run: yarn test --coverage --project @hono/esbuild-transpiler
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-event-emitter.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/event-emitter
2121
- run: yarn workspace @hono/event-emitter build
2222
- run: yarn workspace @hono/event-emitter publint
23+
- run: yarn workspace @hono/event-emitter typecheck
2324
- run: yarn eslint packages/event-emitter
2425
- run: yarn test --coverage --project @hono/event-emitter
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-firebase-auth.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/firebase-auth
2121
- run: yarn workspace @hono/firebase-auth build
2222
- run: yarn workspace @hono/firebase-auth publint
23+
- run: yarn workspace @hono/firebase-auth typecheck
2324
- run: yarn eslint packages/firebase-auth
2425
- run: yarn test --coverage --project @hono/firebase-auth
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-graphql-server.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/graphql-server
2121
- run: yarn workspace @hono/graphql-server build
2222
- run: yarn workspace @hono/graphql-server publint
23+
- run: yarn workspace @hono/graphql-server typecheck
2324
- run: yarn eslint packages/graphql-server
2425
- run: yarn test --coverage --project @hono/graphql-server
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-hello.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/hello
2121
- run: yarn workspace @hono/hello build
2222
- run: yarn workspace @hono/hello publint
23+
- run: yarn workspace @hono/hello typecheck
2324
- run: yarn eslint packages/hello
2425
- run: yarn test --coverage --project @hono/hello
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-medley-router.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/medley-router
2121
- run: yarn workspace @hono/medley-router build
2222
- run: yarn workspace @hono/medley-router publint
23+
- run: yarn workspace @hono/medley-router typecheck
2324
- run: yarn eslint packages/medley-router
2425
- run: yarn test --coverage --project @hono/medley-router
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-node-ws.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/node-ws
2121
- run: yarn workspace @hono/node-ws build
2222
- run: yarn workspace @hono/node-ws publint
23+
- run: yarn workspace @hono/node-ws typecheck
2324
- run: yarn eslint packages/node-ws
2425
- run: yarn test --coverage --project @hono/node-ws
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-oauth-providers.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/oauth-providers
2121
- run: yarn workspace @hono/oauth-providers build
2222
- run: yarn workspace @hono/oauth-providers publint
23+
- run: yarn workspace @hono/oauth-providers typecheck
2324
- run: yarn eslint packages/oauth-providers
2425
- run: yarn test --coverage --project @hono/oauth-providers
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-oidc-auth.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/oidc-auth
2121
- run: yarn workspace @hono/oidc-auth build
2222
- run: yarn workspace @hono/oidc-auth publint
23+
- run: yarn workspace @hono/oidc-auth typecheck
2324
- run: yarn eslint packages/oidc-auth
2425
- run: yarn test --coverage --project @hono/oidc-auth
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-otel.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/otel
2121
- run: yarn workspace @hono/otel build
2222
- run: yarn workspace @hono/otel publint
23+
- run: yarn workspace @hono/otel typecheck
2324
- run: yarn eslint packages/otel
2425
- run: yarn test --coverage --project @hono/otel
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-prometheus.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/prometheus
2121
- run: yarn workspace @hono/prometheus build
2222
- run: yarn workspace @hono/prometheus publint
23+
- run: yarn workspace @hono/prometheus typecheck
2324
- run: yarn eslint packages/prometheus
2425
- run: yarn test --coverage --project @hono/prometheus
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-qwik-city.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/qwik-city
2121
- run: yarn workspace @hono/qwik-city build
2222
- run: yarn workspace @hono/qwik-city publint
23+
- run: yarn workspace @hono/qwik-city typecheck
2324
- run: yarn eslint packages/qwik-city
2425
# - run: yarn test --coverage --project @hono/qwik-city
2526
# - uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-react-compat.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/react-compat
2121
- run: yarn workspace @hono/react-compat build
2222
- run: yarn workspace @hono/react-compat publint
23+
- run: yarn workspace @hono/react-compat typecheck
2324
- run: yarn eslint packages/react-compat
2425
# - run: yarn test --coverage --project @hono/react-compat
2526
# - uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-react-renderer.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/react-renderer
2121
- run: yarn workspace @hono/react-renderer build
2222
- run: yarn workspace @hono/react-renderer publint
23+
- run: yarn workspace @hono/react-renderer typecheck
2324
- run: yarn eslint packages/react-renderer
2425
- run: yarn test --coverage --project @hono/react-renderer
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-sentry.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/sentry
2121
- run: yarn workspace @hono/sentry build
2222
- run: yarn workspace @hono/sentry publint
23+
- run: yarn workspace @hono/sentry typecheck
2324
- run: yarn eslint packages/sentry
2425
- run: yarn test --coverage --project @hono/sentry
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-standard-validator.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/standard-validator
2121
- run: yarn workspace @hono/standard-validator build
2222
- run: yarn workspace @hono/standard-validator publint
23+
- run: yarn workspace @hono/standard-validator typecheck
2324
- run: yarn eslint packages/standard-validator
2425
- run: yarn test --coverage --project @hono/standard-validator
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-swagger-editor.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/swagger-editor
2121
- run: yarn workspace @hono/swagger-editor build
2222
- run: yarn workspace @hono/swagger-editor publint
23+
- run: yarn workspace @hono/swagger-editor typecheck
2324
- run: yarn eslint packages/swagger-editor
2425
- run: yarn test --coverage --project @hono/swagger-editor
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-swagger-ui.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/swagger-ui
2121
- run: yarn workspace @hono/swagger-ui build
2222
- run: yarn workspace @hono/swagger-ui publint
23+
- run: yarn workspace @hono/swagger-ui typecheck
2324
- run: yarn eslint packages/swagger-ui
2425
- run: yarn test --coverage --project @hono/swagger-ui
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-trpc-server.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/trpc-server
2121
- run: yarn workspace @hono/trpc-server build
2222
- run: yarn workspace @hono/trpc-server publint
23+
- run: yarn workspace @hono/trpc-server typecheck
2324
- run: yarn eslint packages/trpc-server
2425
- run: yarn test --coverage --project @hono/trpc-server
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-tsyringe.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/tsyringe
2121
- run: yarn workspace @hono/tsyringe build
2222
- run: yarn workspace @hono/tsyringe publint
23+
- run: yarn workspace @hono/tsyringe typecheck
2324
- run: yarn eslint packages/tsyringe
2425
- run: yarn test --coverage --project @hono/tsyringe
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-typebox-validator.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/typebox-validator
2121
- run: yarn workspace @hono/typebox-validator build
2222
- run: yarn workspace @hono/typebox-validator publint
23+
- run: yarn workspace @hono/typebox-validator typecheck
2324
- run: yarn eslint packages/typebox-validator
2425
- run: yarn test --coverage --project @hono/typebox-validator
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-typia-validator.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/typia-validator
2121
- run: yarn workspace @hono/typia-validator build
2222
- run: yarn workspace @hono/typia-validator publint
23+
- run: yarn workspace @hono/typia-validator typecheck
2324
- run: yarn eslint packages/typia-validator
2425
- run: yarn test --coverage --project @hono/typia-validator
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-valibot-validator.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/valibot-validator
2121
- run: yarn workspace @hono/valibot-validator build
2222
- run: yarn workspace @hono/valibot-validator publint
23+
- run: yarn workspace @hono/valibot-validator typecheck
2324
- run: yarn eslint packages/valibot-validator
2425
- run: yarn test --coverage --project @hono/valibot-validator
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-zod-openapi.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/zod-openapi
2121
- run: yarn workspaces foreach --topological --recursive --from @hono/zod-openapi run build
2222
- run: yarn workspace @hono/zod-openapi publint
23+
- run: yarn workspace @hono/zod-openapi typecheck
2324
- run: yarn eslint packages/zod-openapi
2425
- run: yarn test --coverage --project @hono/zod-openapi
2526
- uses: codecov/codecov-action@v5

Diff for: .github/workflows/ci-zod-validator.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: yarn workspaces focus hono-middleware @hono/zod-validator
2121
- run: yarn workspace @hono/zod-validator build
2222
- run: yarn workspace @hono/zod-validator publint
23+
- run: yarn workspace @hono/zod-validator typecheck
2324
- run: yarn eslint packages/zod-validator
2425
- run: yarn test --coverage --project @hono/zod-validator
2526
- uses: codecov/codecov-action@v5

Diff for: package.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@
88
]
99
},
1010
"scripts": {
11-
"build": "yarn workspaces foreach --all --parallel --topological --verbose run build",
12-
"publint": "yarn workspaces foreach --all --parallel --topological --verbose run publint",
11+
"build": "yarn workspaces foreach --all --topological --verbose run build",
12+
"publint": "yarn workspaces foreach --all --topological --verbose run publint",
13+
"typecheck": "yarn tsc --build",
14+
"typecheck:clean": "yarn tsc --build --clean",
15+
"typecheck:watch": "yarn tsc --build --watch",
1316
"test": "vitest",
1417
"lint": "eslint 'packages/**/*.{ts,tsx}'",
1518
"lint:fix": "eslint --fix 'packages/**/*.{ts,tsx}'",
@@ -29,7 +32,8 @@
2932
"@cloudflare/workers-types": "^4.20230307.0",
3033
"@hono/eslint-config": "workspace:*",
3134
"@ryoppippi/unplugin-typia": "^1.2.0",
32-
"@types/node": "^20.14.8",
35+
"@types/node": "^20.17.28",
36+
"@types/ws": "^8.18.0",
3337
"@typescript-eslint/eslint-plugin": "^8.7.0",
3438
"@typescript-eslint/parser": "^8.7.0",
3539
"@vitest/coverage-istanbul": "^3.0.8",

Diff for: packages/ajv-validator/package.json

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"build": "tsup ./src/index.ts",
1313
"prepack": "yarn build",
1414
"publint": "attw --pack && publint",
15+
"typecheck": "tsc -b tsconfig.json",
1516
"test": "vitest"
1617
},
1718
"exports": {
@@ -46,6 +47,7 @@
4647
"ajv": ">=8.12.0",
4748
"publint": "^0.3.9",
4849
"tsup": "^8.4.0",
50+
"typescript": "^5.8.2",
4951
"vitest": "^3.0.8"
5052
}
5153
}

Diff for: packages/ajv-validator/src/index.test.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import type { JSONSchemaType, type ErrorObject } from 'ajv'
1+
import type { JSONSchemaType, ErrorObject } from 'ajv'
22
import { Hono } from 'hono'
3+
import type { ContentfulStatusCode } from 'hono/utils/http-status'
34
import type { Equal, Expect } from 'hono/utils/types'
45
import { ajvValidator } from '.'
56

@@ -40,6 +41,8 @@ describe('Basic', () => {
4041
success: boolean
4142
message: string
4243
}
44+
outputFormat: 'json'
45+
status: ContentfulStatusCode
4346
}
4447
}
4548
}

Diff for: packages/ajv-validator/tsconfig.build.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": "../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"rootDir": "src",
5+
"outDir": "dist",
6+
"tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo",
7+
"emitDeclarationOnly": false
8+
},
9+
"include": ["src/**/*.ts"],
10+
"exclude": ["**/*.test.ts"],
11+
"references": []
12+
}

Diff for: packages/ajv-validator/tsconfig.json

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
{
2-
"extends": "../../tsconfig.json",
3-
"compilerOptions": {
4-
"outDir": "./dist"
5-
}
2+
"extends": "../../tsconfig.base.json",
3+
"files": [],
4+
"include": [],
5+
"references": [
6+
{
7+
"path": "./tsconfig.build.json"
8+
},
9+
{
10+
"path": "./tsconfig.spec.json"
11+
}
12+
]
613
}

Diff for: packages/ajv-validator/tsconfig.spec.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"outDir": "../../dist/out-tsc/packages/ajv-validator",
5+
"types": ["vitest/globals"]
6+
},
7+
"include": ["**/*.test.ts"],
8+
"references": [
9+
{
10+
"path": "./tsconfig.build.json"
11+
}
12+
]
13+
}

Diff for: packages/arktype-validator/package.json

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"build": "tsup ./src/index.ts",
1414
"prepack": "yarn build",
1515
"publint": "attw --pack && publint",
16+
"typecheck": "tsc -b tsconfig.json",
1617
"test": "vitest"
1718
},
1819
"exports": {
@@ -47,6 +48,7 @@
4748
"arktype": "^2.0.0-dev.14",
4849
"publint": "^0.3.9",
4950
"tsup": "^8.4.0",
51+
"typescript": "^5.8.2",
5052
"vitest": "^3.0.8"
5153
}
5254
}

0 commit comments

Comments
 (0)