build: typescript project references (#1077)
* build: typescript project references * chore: remove duplicate keyspull/1099/head
parent
5dd598f499
commit
e8512f0ee9
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/ajv-validator
|
- run: yarn workspaces focus hono-middleware @hono/ajv-validator
|
||||||
- run: yarn workspace @hono/ajv-validator build
|
- run: yarn workspace @hono/ajv-validator build
|
||||||
- run: yarn workspace @hono/ajv-validator publint
|
- run: yarn workspace @hono/ajv-validator publint
|
||||||
|
- run: yarn workspace @hono/ajv-validator typecheck
|
||||||
- run: yarn eslint packages/ajv-validator
|
- run: yarn eslint packages/ajv-validator
|
||||||
- run: yarn test --coverage --project @hono/ajv-validator
|
- run: yarn test --coverage --project @hono/ajv-validator
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/arktype-validator
|
- run: yarn workspaces focus hono-middleware @hono/arktype-validator
|
||||||
- run: yarn workspace @hono/arktype-validator build
|
- run: yarn workspace @hono/arktype-validator build
|
||||||
- run: yarn workspace @hono/arktype-validator publint
|
- run: yarn workspace @hono/arktype-validator publint
|
||||||
|
- run: yarn workspace @hono/arktype-validator typecheck
|
||||||
- run: yarn eslint packages/arktype-validator
|
- run: yarn eslint packages/arktype-validator
|
||||||
- run: yarn test --coverage --project @hono/arktype-validator
|
- run: yarn test --coverage --project @hono/arktype-validator
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/auth-js
|
- run: yarn workspaces focus hono-middleware @hono/auth-js
|
||||||
- run: yarn workspace @hono/auth-js build
|
- run: yarn workspace @hono/auth-js build
|
||||||
- run: yarn workspace @hono/auth-js publint
|
- run: yarn workspace @hono/auth-js publint
|
||||||
|
- run: yarn workspace @hono/auth-js typecheck
|
||||||
- run: yarn eslint packages/auth-js
|
- run: yarn eslint packages/auth-js
|
||||||
- run: yarn test --coverage --project @hono/auth-js
|
- run: yarn test --coverage --project @hono/auth-js
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/bun-transpiler
|
- run: yarn workspaces focus hono-middleware @hono/bun-transpiler
|
||||||
- run: yarn workspace @hono/bun-transpiler build
|
- run: yarn workspace @hono/bun-transpiler build
|
||||||
- run: yarn workspace @hono/bun-transpiler publint
|
- run: yarn workspace @hono/bun-transpiler publint
|
||||||
|
- run: yarn workspace @hono/bun-transpiler typecheck
|
||||||
- run: yarn eslint packages/bun-transpiler
|
- run: yarn eslint packages/bun-transpiler
|
||||||
- run: yarn workspace @hono/bun-transpiler test --coverage --coverage-reporter lcov
|
- run: yarn workspace @hono/bun-transpiler test --coverage --coverage-reporter lcov
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/casbin
|
- run: yarn workspaces focus hono-middleware @hono/casbin
|
||||||
- run: yarn workspace @hono/casbin build
|
- run: yarn workspace @hono/casbin build
|
||||||
- run: yarn workspace @hono/casbin publint
|
- run: yarn workspace @hono/casbin publint
|
||||||
|
- run: yarn workspace @hono/casbin typecheck
|
||||||
- run: yarn eslint packages/casbin
|
- run: yarn eslint packages/casbin
|
||||||
- run: yarn test --coverage --project @hono/casbin
|
- run: yarn test --coverage --project @hono/casbin
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/class-validator
|
- run: yarn workspaces focus hono-middleware @hono/class-validator
|
||||||
- run: yarn workspace @hono/class-validator build
|
- run: yarn workspace @hono/class-validator build
|
||||||
- run: yarn workspace @hono/class-validator publint
|
- run: yarn workspace @hono/class-validator publint
|
||||||
|
- run: yarn workspace @hono/class-validator typecheck
|
||||||
- run: yarn eslint packages/class-validator
|
- run: yarn eslint packages/class-validator
|
||||||
- run: yarn test --coverage --project @hono/class-validator
|
- run: yarn test --coverage --project @hono/class-validator
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/clerk-auth
|
- run: yarn workspaces focus hono-middleware @hono/clerk-auth
|
||||||
- run: yarn workspace @hono/clerk-auth build
|
- run: yarn workspace @hono/clerk-auth build
|
||||||
- run: yarn workspace @hono/clerk-auth publint
|
- run: yarn workspace @hono/clerk-auth publint
|
||||||
|
- run: yarn workspace @hono/clerk-auth typecheck
|
||||||
- run: yarn eslint packages/clerk-auth
|
- run: yarn eslint packages/clerk-auth
|
||||||
- run: yarn test --coverage --project @hono/clerk-auth
|
- run: yarn test --coverage --project @hono/clerk-auth
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/cloudflare-access
|
- run: yarn workspaces focus hono-middleware @hono/cloudflare-access
|
||||||
- run: yarn workspace @hono/cloudflare-access build
|
- run: yarn workspace @hono/cloudflare-access build
|
||||||
- run: yarn workspace @hono/cloudflare-access publint
|
- run: yarn workspace @hono/cloudflare-access publint
|
||||||
|
- run: yarn workspace @hono/cloudflare-access typecheck
|
||||||
- run: yarn eslint packages/cloudflare-access
|
- run: yarn eslint packages/cloudflare-access
|
||||||
- run: yarn test --coverage --project @hono/cloudflare-access
|
- run: yarn test --coverage --project @hono/cloudflare-access
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/conform-validator
|
- run: yarn workspaces focus hono-middleware @hono/conform-validator
|
||||||
- run: yarn workspace @hono/conform-validator build
|
- run: yarn workspace @hono/conform-validator build
|
||||||
- run: yarn workspace @hono/conform-validator publint
|
- run: yarn workspace @hono/conform-validator publint
|
||||||
|
- run: yarn workspace @hono/conform-validator typecheck
|
||||||
- run: yarn eslint packages/conform-validator
|
- run: yarn eslint packages/conform-validator
|
||||||
- run: yarn test --coverage --project @hono/conform-validator
|
- run: yarn test --coverage --project @hono/conform-validator
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/effect-validator
|
- run: yarn workspaces focus hono-middleware @hono/effect-validator
|
||||||
- run: yarn workspace @hono/effect-validator build
|
- run: yarn workspace @hono/effect-validator build
|
||||||
- run: yarn workspace @hono/effect-validator publint
|
- run: yarn workspace @hono/effect-validator publint
|
||||||
|
- run: yarn workspace @hono/effect-validator typecheck
|
||||||
- run: yarn eslint packages/effect-validator
|
- run: yarn eslint packages/effect-validator
|
||||||
- run: yarn test --coverage --project @hono/effect-validator
|
- run: yarn test --coverage --project @hono/effect-validator
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/esbuild-transpiler
|
- run: yarn workspaces focus hono-middleware @hono/esbuild-transpiler
|
||||||
- run: yarn workspace @hono/esbuild-transpiler build
|
- run: yarn workspace @hono/esbuild-transpiler build
|
||||||
- run: yarn workspace @hono/esbuild-transpiler publint
|
- run: yarn workspace @hono/esbuild-transpiler publint
|
||||||
|
- run: yarn workspace @hono/esbuild-transpiler typecheck
|
||||||
- run: yarn eslint packages/esbuild-transpiler
|
- run: yarn eslint packages/esbuild-transpiler
|
||||||
- run: yarn test --coverage --project @hono/esbuild-transpiler
|
- run: yarn test --coverage --project @hono/esbuild-transpiler
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/event-emitter
|
- run: yarn workspaces focus hono-middleware @hono/event-emitter
|
||||||
- run: yarn workspace @hono/event-emitter build
|
- run: yarn workspace @hono/event-emitter build
|
||||||
- run: yarn workspace @hono/event-emitter publint
|
- run: yarn workspace @hono/event-emitter publint
|
||||||
|
- run: yarn workspace @hono/event-emitter typecheck
|
||||||
- run: yarn eslint packages/event-emitter
|
- run: yarn eslint packages/event-emitter
|
||||||
- run: yarn test --coverage --project @hono/event-emitter
|
- run: yarn test --coverage --project @hono/event-emitter
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/firebase-auth
|
- run: yarn workspaces focus hono-middleware @hono/firebase-auth
|
||||||
- run: yarn workspace @hono/firebase-auth build
|
- run: yarn workspace @hono/firebase-auth build
|
||||||
- run: yarn workspace @hono/firebase-auth publint
|
- run: yarn workspace @hono/firebase-auth publint
|
||||||
|
- run: yarn workspace @hono/firebase-auth typecheck
|
||||||
- run: yarn eslint packages/firebase-auth
|
- run: yarn eslint packages/firebase-auth
|
||||||
- run: yarn test --coverage --project @hono/firebase-auth
|
- run: yarn test --coverage --project @hono/firebase-auth
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/graphql-server
|
- run: yarn workspaces focus hono-middleware @hono/graphql-server
|
||||||
- run: yarn workspace @hono/graphql-server build
|
- run: yarn workspace @hono/graphql-server build
|
||||||
- run: yarn workspace @hono/graphql-server publint
|
- run: yarn workspace @hono/graphql-server publint
|
||||||
|
- run: yarn workspace @hono/graphql-server typecheck
|
||||||
- run: yarn eslint packages/graphql-server
|
- run: yarn eslint packages/graphql-server
|
||||||
- run: yarn test --coverage --project @hono/graphql-server
|
- run: yarn test --coverage --project @hono/graphql-server
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/hello
|
- run: yarn workspaces focus hono-middleware @hono/hello
|
||||||
- run: yarn workspace @hono/hello build
|
- run: yarn workspace @hono/hello build
|
||||||
- run: yarn workspace @hono/hello publint
|
- run: yarn workspace @hono/hello publint
|
||||||
|
- run: yarn workspace @hono/hello typecheck
|
||||||
- run: yarn eslint packages/hello
|
- run: yarn eslint packages/hello
|
||||||
- run: yarn test --coverage --project @hono/hello
|
- run: yarn test --coverage --project @hono/hello
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/medley-router
|
- run: yarn workspaces focus hono-middleware @hono/medley-router
|
||||||
- run: yarn workspace @hono/medley-router build
|
- run: yarn workspace @hono/medley-router build
|
||||||
- run: yarn workspace @hono/medley-router publint
|
- run: yarn workspace @hono/medley-router publint
|
||||||
|
- run: yarn workspace @hono/medley-router typecheck
|
||||||
- run: yarn eslint packages/medley-router
|
- run: yarn eslint packages/medley-router
|
||||||
- run: yarn test --coverage --project @hono/medley-router
|
- run: yarn test --coverage --project @hono/medley-router
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/node-ws
|
- run: yarn workspaces focus hono-middleware @hono/node-ws
|
||||||
- run: yarn workspace @hono/node-ws build
|
- run: yarn workspace @hono/node-ws build
|
||||||
- run: yarn workspace @hono/node-ws publint
|
- run: yarn workspace @hono/node-ws publint
|
||||||
|
- run: yarn workspace @hono/node-ws typecheck
|
||||||
- run: yarn eslint packages/node-ws
|
- run: yarn eslint packages/node-ws
|
||||||
- run: yarn test --coverage --project @hono/node-ws
|
- run: yarn test --coverage --project @hono/node-ws
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/oauth-providers
|
- run: yarn workspaces focus hono-middleware @hono/oauth-providers
|
||||||
- run: yarn workspace @hono/oauth-providers build
|
- run: yarn workspace @hono/oauth-providers build
|
||||||
- run: yarn workspace @hono/oauth-providers publint
|
- run: yarn workspace @hono/oauth-providers publint
|
||||||
|
- run: yarn workspace @hono/oauth-providers typecheck
|
||||||
- run: yarn eslint packages/oauth-providers
|
- run: yarn eslint packages/oauth-providers
|
||||||
- run: yarn test --coverage --project @hono/oauth-providers
|
- run: yarn test --coverage --project @hono/oauth-providers
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/oidc-auth
|
- run: yarn workspaces focus hono-middleware @hono/oidc-auth
|
||||||
- run: yarn workspace @hono/oidc-auth build
|
- run: yarn workspace @hono/oidc-auth build
|
||||||
- run: yarn workspace @hono/oidc-auth publint
|
- run: yarn workspace @hono/oidc-auth publint
|
||||||
|
- run: yarn workspace @hono/oidc-auth typecheck
|
||||||
- run: yarn eslint packages/oidc-auth
|
- run: yarn eslint packages/oidc-auth
|
||||||
- run: yarn test --coverage --project @hono/oidc-auth
|
- run: yarn test --coverage --project @hono/oidc-auth
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/otel
|
- run: yarn workspaces focus hono-middleware @hono/otel
|
||||||
- run: yarn workspace @hono/otel build
|
- run: yarn workspace @hono/otel build
|
||||||
- run: yarn workspace @hono/otel publint
|
- run: yarn workspace @hono/otel publint
|
||||||
|
- run: yarn workspace @hono/otel typecheck
|
||||||
- run: yarn eslint packages/otel
|
- run: yarn eslint packages/otel
|
||||||
- run: yarn test --coverage --project @hono/otel
|
- run: yarn test --coverage --project @hono/otel
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/prometheus
|
- run: yarn workspaces focus hono-middleware @hono/prometheus
|
||||||
- run: yarn workspace @hono/prometheus build
|
- run: yarn workspace @hono/prometheus build
|
||||||
- run: yarn workspace @hono/prometheus publint
|
- run: yarn workspace @hono/prometheus publint
|
||||||
|
- run: yarn workspace @hono/prometheus typecheck
|
||||||
- run: yarn eslint packages/prometheus
|
- run: yarn eslint packages/prometheus
|
||||||
- run: yarn test --coverage --project @hono/prometheus
|
- run: yarn test --coverage --project @hono/prometheus
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/qwik-city
|
- run: yarn workspaces focus hono-middleware @hono/qwik-city
|
||||||
- run: yarn workspace @hono/qwik-city build
|
- run: yarn workspace @hono/qwik-city build
|
||||||
- run: yarn workspace @hono/qwik-city publint
|
- run: yarn workspace @hono/qwik-city publint
|
||||||
|
- run: yarn workspace @hono/qwik-city typecheck
|
||||||
- run: yarn eslint packages/qwik-city
|
- run: yarn eslint packages/qwik-city
|
||||||
# - run: yarn test --coverage --project @hono/qwik-city
|
# - run: yarn test --coverage --project @hono/qwik-city
|
||||||
# - uses: codecov/codecov-action@v5
|
# - uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/react-compat
|
- run: yarn workspaces focus hono-middleware @hono/react-compat
|
||||||
- run: yarn workspace @hono/react-compat build
|
- run: yarn workspace @hono/react-compat build
|
||||||
- run: yarn workspace @hono/react-compat publint
|
- run: yarn workspace @hono/react-compat publint
|
||||||
|
- run: yarn workspace @hono/react-compat typecheck
|
||||||
- run: yarn eslint packages/react-compat
|
- run: yarn eslint packages/react-compat
|
||||||
# - run: yarn test --coverage --project @hono/react-compat
|
# - run: yarn test --coverage --project @hono/react-compat
|
||||||
# - uses: codecov/codecov-action@v5
|
# - uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/react-renderer
|
- run: yarn workspaces focus hono-middleware @hono/react-renderer
|
||||||
- run: yarn workspace @hono/react-renderer build
|
- run: yarn workspace @hono/react-renderer build
|
||||||
- run: yarn workspace @hono/react-renderer publint
|
- run: yarn workspace @hono/react-renderer publint
|
||||||
|
- run: yarn workspace @hono/react-renderer typecheck
|
||||||
- run: yarn eslint packages/react-renderer
|
- run: yarn eslint packages/react-renderer
|
||||||
- run: yarn test --coverage --project @hono/react-renderer
|
- run: yarn test --coverage --project @hono/react-renderer
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/sentry
|
- run: yarn workspaces focus hono-middleware @hono/sentry
|
||||||
- run: yarn workspace @hono/sentry build
|
- run: yarn workspace @hono/sentry build
|
||||||
- run: yarn workspace @hono/sentry publint
|
- run: yarn workspace @hono/sentry publint
|
||||||
|
- run: yarn workspace @hono/sentry typecheck
|
||||||
- run: yarn eslint packages/sentry
|
- run: yarn eslint packages/sentry
|
||||||
- run: yarn test --coverage --project @hono/sentry
|
- run: yarn test --coverage --project @hono/sentry
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/standard-validator
|
- run: yarn workspaces focus hono-middleware @hono/standard-validator
|
||||||
- run: yarn workspace @hono/standard-validator build
|
- run: yarn workspace @hono/standard-validator build
|
||||||
- run: yarn workspace @hono/standard-validator publint
|
- run: yarn workspace @hono/standard-validator publint
|
||||||
|
- run: yarn workspace @hono/standard-validator typecheck
|
||||||
- run: yarn eslint packages/standard-validator
|
- run: yarn eslint packages/standard-validator
|
||||||
- run: yarn test --coverage --project @hono/standard-validator
|
- run: yarn test --coverage --project @hono/standard-validator
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/swagger-editor
|
- run: yarn workspaces focus hono-middleware @hono/swagger-editor
|
||||||
- run: yarn workspace @hono/swagger-editor build
|
- run: yarn workspace @hono/swagger-editor build
|
||||||
- run: yarn workspace @hono/swagger-editor publint
|
- run: yarn workspace @hono/swagger-editor publint
|
||||||
|
- run: yarn workspace @hono/swagger-editor typecheck
|
||||||
- run: yarn eslint packages/swagger-editor
|
- run: yarn eslint packages/swagger-editor
|
||||||
- run: yarn test --coverage --project @hono/swagger-editor
|
- run: yarn test --coverage --project @hono/swagger-editor
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/swagger-ui
|
- run: yarn workspaces focus hono-middleware @hono/swagger-ui
|
||||||
- run: yarn workspace @hono/swagger-ui build
|
- run: yarn workspace @hono/swagger-ui build
|
||||||
- run: yarn workspace @hono/swagger-ui publint
|
- run: yarn workspace @hono/swagger-ui publint
|
||||||
|
- run: yarn workspace @hono/swagger-ui typecheck
|
||||||
- run: yarn eslint packages/swagger-ui
|
- run: yarn eslint packages/swagger-ui
|
||||||
- run: yarn test --coverage --project @hono/swagger-ui
|
- run: yarn test --coverage --project @hono/swagger-ui
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/trpc-server
|
- run: yarn workspaces focus hono-middleware @hono/trpc-server
|
||||||
- run: yarn workspace @hono/trpc-server build
|
- run: yarn workspace @hono/trpc-server build
|
||||||
- run: yarn workspace @hono/trpc-server publint
|
- run: yarn workspace @hono/trpc-server publint
|
||||||
|
- run: yarn workspace @hono/trpc-server typecheck
|
||||||
- run: yarn eslint packages/trpc-server
|
- run: yarn eslint packages/trpc-server
|
||||||
- run: yarn test --coverage --project @hono/trpc-server
|
- run: yarn test --coverage --project @hono/trpc-server
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/tsyringe
|
- run: yarn workspaces focus hono-middleware @hono/tsyringe
|
||||||
- run: yarn workspace @hono/tsyringe build
|
- run: yarn workspace @hono/tsyringe build
|
||||||
- run: yarn workspace @hono/tsyringe publint
|
- run: yarn workspace @hono/tsyringe publint
|
||||||
|
- run: yarn workspace @hono/tsyringe typecheck
|
||||||
- run: yarn eslint packages/tsyringe
|
- run: yarn eslint packages/tsyringe
|
||||||
- run: yarn test --coverage --project @hono/tsyringe
|
- run: yarn test --coverage --project @hono/tsyringe
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/typebox-validator
|
- run: yarn workspaces focus hono-middleware @hono/typebox-validator
|
||||||
- run: yarn workspace @hono/typebox-validator build
|
- run: yarn workspace @hono/typebox-validator build
|
||||||
- run: yarn workspace @hono/typebox-validator publint
|
- run: yarn workspace @hono/typebox-validator publint
|
||||||
|
- run: yarn workspace @hono/typebox-validator typecheck
|
||||||
- run: yarn eslint packages/typebox-validator
|
- run: yarn eslint packages/typebox-validator
|
||||||
- run: yarn test --coverage --project @hono/typebox-validator
|
- run: yarn test --coverage --project @hono/typebox-validator
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/typia-validator
|
- run: yarn workspaces focus hono-middleware @hono/typia-validator
|
||||||
- run: yarn workspace @hono/typia-validator build
|
- run: yarn workspace @hono/typia-validator build
|
||||||
- run: yarn workspace @hono/typia-validator publint
|
- run: yarn workspace @hono/typia-validator publint
|
||||||
|
- run: yarn workspace @hono/typia-validator typecheck
|
||||||
- run: yarn eslint packages/typia-validator
|
- run: yarn eslint packages/typia-validator
|
||||||
- run: yarn test --coverage --project @hono/typia-validator
|
- run: yarn test --coverage --project @hono/typia-validator
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/valibot-validator
|
- run: yarn workspaces focus hono-middleware @hono/valibot-validator
|
||||||
- run: yarn workspace @hono/valibot-validator build
|
- run: yarn workspace @hono/valibot-validator build
|
||||||
- run: yarn workspace @hono/valibot-validator publint
|
- run: yarn workspace @hono/valibot-validator publint
|
||||||
|
- run: yarn workspace @hono/valibot-validator typecheck
|
||||||
- run: yarn eslint packages/valibot-validator
|
- run: yarn eslint packages/valibot-validator
|
||||||
- run: yarn test --coverage --project @hono/valibot-validator
|
- run: yarn test --coverage --project @hono/valibot-validator
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/zod-openapi
|
- run: yarn workspaces focus hono-middleware @hono/zod-openapi
|
||||||
- run: yarn workspaces foreach --topological --recursive --from @hono/zod-openapi run build
|
- run: yarn workspaces foreach --topological --recursive --from @hono/zod-openapi run build
|
||||||
- run: yarn workspace @hono/zod-openapi publint
|
- run: yarn workspace @hono/zod-openapi publint
|
||||||
|
- run: yarn workspace @hono/zod-openapi typecheck
|
||||||
- run: yarn eslint packages/zod-openapi
|
- run: yarn eslint packages/zod-openapi
|
||||||
- run: yarn test --coverage --project @hono/zod-openapi
|
- run: yarn test --coverage --project @hono/zod-openapi
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- run: yarn workspaces focus hono-middleware @hono/zod-validator
|
- run: yarn workspaces focus hono-middleware @hono/zod-validator
|
||||||
- run: yarn workspace @hono/zod-validator build
|
- run: yarn workspace @hono/zod-validator build
|
||||||
- run: yarn workspace @hono/zod-validator publint
|
- run: yarn workspace @hono/zod-validator publint
|
||||||
|
- run: yarn workspace @hono/zod-validator typecheck
|
||||||
- run: yarn eslint packages/zod-validator
|
- run: yarn eslint packages/zod-validator
|
||||||
- run: yarn test --coverage --project @hono/zod-validator
|
- run: yarn test --coverage --project @hono/zod-validator
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
|
|
10
package.json
10
package.json
|
@ -8,8 +8,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "yarn workspaces foreach --all --parallel --topological --verbose run build",
|
"build": "yarn workspaces foreach --all --topological --verbose run build",
|
||||||
"publint": "yarn workspaces foreach --all --parallel --topological --verbose run publint",
|
"publint": "yarn workspaces foreach --all --topological --verbose run publint",
|
||||||
|
"typecheck": "yarn tsc --build",
|
||||||
|
"typecheck:clean": "yarn tsc --build --clean",
|
||||||
|
"typecheck:watch": "yarn tsc --build --watch",
|
||||||
"test": "vitest",
|
"test": "vitest",
|
||||||
"lint": "eslint 'packages/**/*.{ts,tsx}'",
|
"lint": "eslint 'packages/**/*.{ts,tsx}'",
|
||||||
"lint:fix": "eslint --fix 'packages/**/*.{ts,tsx}'",
|
"lint:fix": "eslint --fix 'packages/**/*.{ts,tsx}'",
|
||||||
|
@ -29,7 +32,8 @@
|
||||||
"@cloudflare/workers-types": "^4.20230307.0",
|
"@cloudflare/workers-types": "^4.20230307.0",
|
||||||
"@hono/eslint-config": "workspace:*",
|
"@hono/eslint-config": "workspace:*",
|
||||||
"@ryoppippi/unplugin-typia": "^1.2.0",
|
"@ryoppippi/unplugin-typia": "^1.2.0",
|
||||||
"@types/node": "^20.14.8",
|
"@types/node": "^20.17.28",
|
||||||
|
"@types/ws": "^8.18.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
||||||
"@typescript-eslint/parser": "^8.7.0",
|
"@typescript-eslint/parser": "^8.7.0",
|
||||||
"@vitest/coverage-istanbul": "^3.0.8",
|
"@vitest/coverage-istanbul": "^3.0.8",
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
"build": "tsup ./src/index.ts",
|
"build": "tsup ./src/index.ts",
|
||||||
"prepack": "yarn build",
|
"prepack": "yarn build",
|
||||||
"publint": "attw --pack && publint",
|
"publint": "attw --pack && publint",
|
||||||
|
"typecheck": "tsc -b tsconfig.json",
|
||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
|
@ -46,6 +47,7 @@
|
||||||
"ajv": ">=8.12.0",
|
"ajv": ">=8.12.0",
|
||||||
"publint": "^0.3.9",
|
"publint": "^0.3.9",
|
||||||
"tsup": "^8.4.0",
|
"tsup": "^8.4.0",
|
||||||
|
"typescript": "^5.8.2",
|
||||||
"vitest": "^3.0.8"
|
"vitest": "^3.0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
import type { JSONSchemaType, type ErrorObject } from 'ajv'
|
import type { JSONSchemaType, ErrorObject } from 'ajv'
|
||||||
import { Hono } from 'hono'
|
import { Hono } from 'hono'
|
||||||
|
import type { ContentfulStatusCode } from 'hono/utils/http-status'
|
||||||
import type { Equal, Expect } from 'hono/utils/types'
|
import type { Equal, Expect } from 'hono/utils/types'
|
||||||
import { ajvValidator } from '.'
|
import { ajvValidator } from '.'
|
||||||
|
|
||||||
|
@ -40,6 +41,8 @@ describe('Basic', () => {
|
||||||
success: boolean
|
success: boolean
|
||||||
message: string
|
message: string
|
||||||
}
|
}
|
||||||
|
outputFormat: 'json'
|
||||||
|
status: ContentfulStatusCode
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"rootDir": "src",
|
||||||
|
"outDir": "dist",
|
||||||
|
"tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo",
|
||||||
|
"emitDeclarationOnly": false
|
||||||
|
},
|
||||||
|
"include": ["src/**/*.ts"],
|
||||||
|
"exclude": ["**/*.test.ts"],
|
||||||
|
"references": []
|
||||||
|
}
|
|
@ -1,6 +1,13 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"files": [],
|
||||||
"outDir": "./dist"
|
"include": [],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.spec.json"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "../../dist/out-tsc/packages/ajv-validator",
|
||||||
|
"types": ["vitest/globals"]
|
||||||
|
},
|
||||||
|
"include": ["**/*.test.ts"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -13,6 +13,7 @@
|
||||||
"build": "tsup ./src/index.ts",
|
"build": "tsup ./src/index.ts",
|
||||||
"prepack": "yarn build",
|
"prepack": "yarn build",
|
||||||
"publint": "attw --pack && publint",
|
"publint": "attw --pack && publint",
|
||||||
|
"typecheck": "tsc -b tsconfig.json",
|
||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
|
@ -47,6 +48,7 @@
|
||||||
"arktype": "^2.0.0-dev.14",
|
"arktype": "^2.0.0-dev.14",
|
||||||
"publint": "^0.3.9",
|
"publint": "^0.3.9",
|
||||||
"tsup": "^8.4.0",
|
"tsup": "^8.4.0",
|
||||||
|
"typescript": "^5.8.2",
|
||||||
"vitest": "^3.0.8"
|
"vitest": "^3.0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
import { type } from 'arktype'
|
import { type } from 'arktype'
|
||||||
import { Hono } from 'hono'
|
import { Hono } from 'hono'
|
||||||
|
import type { ContentfulStatusCode } from 'hono/utils/http-status'
|
||||||
import type { Equal, Expect } from 'hono/utils/types'
|
import type { Equal, Expect } from 'hono/utils/types'
|
||||||
import { arktypeValidator } from '.'
|
import { arktypeValidator } from '.'
|
||||||
|
|
||||||
|
@ -53,6 +54,8 @@ describe('Basic', () => {
|
||||||
message: string
|
message: string
|
||||||
queryName: string | undefined
|
queryName: string | undefined
|
||||||
}
|
}
|
||||||
|
outputFormat: 'json'
|
||||||
|
status: ContentfulStatusCode
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"rootDir": "src",
|
||||||
|
"outDir": "dist",
|
||||||
|
"tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo",
|
||||||
|
"emitDeclarationOnly": false
|
||||||
|
},
|
||||||
|
"include": ["src/**/*.ts"],
|
||||||
|
"exclude": ["**/*.test.ts"],
|
||||||
|
"references": []
|
||||||
|
}
|
|
@ -1,6 +1,13 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"files": [],
|
||||||
"outDir": "./dist"
|
"include": [],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.spec.json"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "../../dist/out-tsc/packages/arktype-validator",
|
||||||
|
"types": ["vitest/globals"]
|
||||||
|
},
|
||||||
|
"include": ["**/*.test.ts"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -40,6 +40,7 @@
|
||||||
"build": "tsup src/index.ts src/react.tsx",
|
"build": "tsup src/index.ts src/react.tsx",
|
||||||
"prepack": "yarn build",
|
"prepack": "yarn build",
|
||||||
"publint": "attw --pack --profile node16 && publint",
|
"publint": "attw --pack --profile node16 && publint",
|
||||||
|
"typecheck": "tsc -b tsconfig.json",
|
||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -65,6 +66,7 @@
|
||||||
"publint": "^0.3.9",
|
"publint": "^0.3.9",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"tsup": "^8.4.0",
|
"tsup": "^8.4.0",
|
||||||
|
"typescript": "^5.8.2",
|
||||||
"vitest": "^3.0.8"
|
"vitest": "^3.0.8"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "dist",
|
||||||
|
"jsx": "react"
|
||||||
|
},
|
||||||
|
"include": ["src/**/*.ts", "src/**/*.tsx"],
|
||||||
|
"references": []
|
||||||
|
}
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"files": [],
|
||||||
"target": "ESNext",
|
"include": [],
|
||||||
"module": "ESNext",
|
"references": [
|
||||||
"moduleResolution": "node",
|
{
|
||||||
"outDir": "./dist",
|
"path": "./tsconfig.build.json"
|
||||||
"jsx": "react",
|
},
|
||||||
"types": ["node", "vitest/globals"]
|
{
|
||||||
|
"path": "./tsconfig.spec.json"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "../../dist/out-tsc/packages/auth-js",
|
||||||
|
"noEmit": true,
|
||||||
|
"jsx": "react"
|
||||||
|
},
|
||||||
|
"include": ["**/*.test.ts"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -13,6 +13,7 @@
|
||||||
"build": "tsup ./src/index.ts --external bun",
|
"build": "tsup ./src/index.ts --external bun",
|
||||||
"prepack": "yarn build",
|
"prepack": "yarn build",
|
||||||
"publint": "attw --pack && publint",
|
"publint": "attw --pack && publint",
|
||||||
|
"typecheck": "tsc -b tsconfig.json",
|
||||||
"test": "bun test"
|
"test": "bun test"
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
|
@ -46,6 +47,7 @@
|
||||||
"@types/bun": "^1.0.0",
|
"@types/bun": "^1.0.0",
|
||||||
"publint": "^0.3.9",
|
"publint": "^0.3.9",
|
||||||
"tsup": "^8.4.0",
|
"tsup": "^8.4.0",
|
||||||
|
"typescript": "^5.8.2",
|
||||||
"vitest": "^3.0.8"
|
"vitest": "^3.0.8"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"rootDir": "src",
|
||||||
|
"outDir": "dist",
|
||||||
|
"tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo",
|
||||||
|
"emitDeclarationOnly": false
|
||||||
|
},
|
||||||
|
"include": ["src/**/*.ts"],
|
||||||
|
"exclude": ["**/*.test.ts"],
|
||||||
|
"references": []
|
||||||
|
}
|
|
@ -1,6 +1,13 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"files": [],
|
||||||
"outDir": "./dist"
|
"include": [],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.spec.json"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "../../dist/out-tsc/packages/bun-transpiler",
|
||||||
|
"types": ["vitest/globals"]
|
||||||
|
},
|
||||||
|
"include": ["**/*.test.ts"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -35,6 +35,7 @@
|
||||||
"build": "tsup ./src/index.ts ./src/helper/index.ts",
|
"build": "tsup ./src/index.ts ./src/helper/index.ts",
|
||||||
"prepack": "yarn build",
|
"prepack": "yarn build",
|
||||||
"publint": "attw --pack --profile node16 && publint",
|
"publint": "attw --pack --profile node16 && publint",
|
||||||
|
"typecheck": "tsc -b tsconfig.json",
|
||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -57,6 +58,7 @@
|
||||||
"casbin": "^5.30.0",
|
"casbin": "^5.30.0",
|
||||||
"publint": "^0.3.9",
|
"publint": "^0.3.9",
|
||||||
"tsup": "^8.4.0",
|
"tsup": "^8.4.0",
|
||||||
|
"typescript": "^5.8.2",
|
||||||
"vitest": "^3.0.8"
|
"vitest": "^3.0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"rootDir": "src",
|
||||||
|
"outDir": "dist",
|
||||||
|
"tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo",
|
||||||
|
"emitDeclarationOnly": false
|
||||||
|
},
|
||||||
|
"include": ["./src/**/*.ts"],
|
||||||
|
"references": []
|
||||||
|
}
|
|
@ -1,6 +1,13 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"files": [],
|
||||||
"exactOptionalPropertyTypes": true
|
"include": [],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.spec.json"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "../../dist/out-tsc/packages/casbin",
|
||||||
|
"types": ["vitest/globals"]
|
||||||
|
},
|
||||||
|
"include": ["**/*.test.ts"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -26,6 +26,7 @@
|
||||||
"build": "tsup ./src/index.ts",
|
"build": "tsup ./src/index.ts",
|
||||||
"prepack": "yarn build",
|
"prepack": "yarn build",
|
||||||
"publint": "attw --pack && publint",
|
"publint": "attw --pack && publint",
|
||||||
|
"typecheck": "tsc -b tsconfig.json",
|
||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -46,6 +47,7 @@
|
||||||
"@arethetypeswrong/cli": "^0.17.4",
|
"@arethetypeswrong/cli": "^0.17.4",
|
||||||
"publint": "^0.3.9",
|
"publint": "^0.3.9",
|
||||||
"tsup": "^8.4.0",
|
"tsup": "^8.4.0",
|
||||||
|
"typescript": "^5.8.2",
|
||||||
"vitest": "^3.0.8"
|
"vitest": "^3.0.8"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -3,6 +3,7 @@ import type { ValidationError } from 'class-validator'
|
||||||
import { IsInt, IsString, ValidateNested } from 'class-validator'
|
import { IsInt, IsString, ValidateNested } from 'class-validator'
|
||||||
import { Hono } from 'hono'
|
import { Hono } from 'hono'
|
||||||
import type { ExtractSchema } from 'hono/types'
|
import type { ExtractSchema } from 'hono/types'
|
||||||
|
import type { ContentfulStatusCode } from 'hono/utils/http-status'
|
||||||
import type { Equal, Expect } from 'hono/utils/types'
|
import type { Equal, Expect } from 'hono/utils/types'
|
||||||
import { classValidator } from '.'
|
import { classValidator } from '.'
|
||||||
|
|
||||||
|
@ -39,6 +40,8 @@ describe('Basic', () => {
|
||||||
success: boolean
|
success: boolean
|
||||||
message: string
|
message: string
|
||||||
}
|
}
|
||||||
|
outputFormat: 'json'
|
||||||
|
status: ContentfulStatusCode
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"rootDir": "src",
|
||||||
|
"outDir": "dist",
|
||||||
|
"tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo",
|
||||||
|
"emitDeclarationOnly": false
|
||||||
|
},
|
||||||
|
"include": ["src/**/*.ts"],
|
||||||
|
"exclude": ["**/*.test.ts"],
|
||||||
|
"references": []
|
||||||
|
}
|
|
@ -1,8 +1,13 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"files": [],
|
||||||
"outDir": "./dist",
|
"include": [],
|
||||||
"emitDecoratorMetadata": true,
|
"references": [
|
||||||
"experimentalDecorators": true
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.spec.json"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "../../dist/out-tsc/packages/class-validator",
|
||||||
|
"types": ["vitest/globals"]
|
||||||
|
},
|
||||||
|
"include": ["**/*.test.ts"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
"extends": "../../tsconfig.json",
|
|
||||||
"compilerOptions": {
|
|
||||||
"types": ["vitest/globals"],
|
|
||||||
"emitDecoratorMetadata": true,
|
|
||||||
"experimentalDecorators": true
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -4,7 +4,8 @@ export default defineProject({
|
||||||
test: {
|
test: {
|
||||||
globals: true,
|
globals: true,
|
||||||
typecheck: {
|
typecheck: {
|
||||||
tsconfig: './tsconfig.vitest.json',
|
tsconfig: './tsconfig.json',
|
||||||
|
enabled: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
"build": "tsup ./src/index.ts",
|
"build": "tsup ./src/index.ts",
|
||||||
"prepack": "yarn build",
|
"prepack": "yarn build",
|
||||||
"publint": "attw --pack && publint",
|
"publint": "attw --pack && publint",
|
||||||
|
"typecheck": "tsc -b tsconfig.json",
|
||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
|
@ -49,6 +50,7 @@
|
||||||
"publint": "^0.3.9",
|
"publint": "^0.3.9",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"tsup": "^8.4.0",
|
"tsup": "^8.4.0",
|
||||||
|
"typescript": "^5.8.2",
|
||||||
"vitest": "^3.0.8"
|
"vitest": "^3.0.8"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"rootDir": "src",
|
||||||
|
"outDir": "dist",
|
||||||
|
"tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo",
|
||||||
|
"emitDeclarationOnly": false
|
||||||
|
},
|
||||||
|
"include": ["src/**/*.ts"],
|
||||||
|
"exclude": ["**/*.test.ts"],
|
||||||
|
"references": []
|
||||||
|
}
|
|
@ -1,7 +1,13 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"files": [],
|
||||||
"outDir": "./dist",
|
"include": [],
|
||||||
"types": ["vitest/globals"]
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.spec.json"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "../../dist/out-tsc/packages/clerk-auth",
|
||||||
|
"types": ["vitest/globals"]
|
||||||
|
},
|
||||||
|
"include": ["**/*.test.ts"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -12,6 +12,7 @@
|
||||||
"build": "tsup ./src/index.ts",
|
"build": "tsup ./src/index.ts",
|
||||||
"prepack": "yarn build",
|
"prepack": "yarn build",
|
||||||
"publint": "attw --pack && publint",
|
"publint": "attw --pack && publint",
|
||||||
|
"typecheck": "tsc -b tsconfig.json",
|
||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
|
@ -42,9 +43,9 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@arethetypeswrong/cli": "^0.17.4",
|
"@arethetypeswrong/cli": "^0.17.4",
|
||||||
"@cloudflare/workers-types": "^4.20230307.0",
|
|
||||||
"publint": "^0.3.9",
|
"publint": "^0.3.9",
|
||||||
"tsup": "^8.4.0",
|
"tsup": "^8.4.0",
|
||||||
|
"typescript": "^5.8.2",
|
||||||
"vitest": "^3.0.8"
|
"vitest": "^3.0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"rootDir": "src",
|
||||||
|
"outDir": "dist",
|
||||||
|
"tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo",
|
||||||
|
"emitDeclarationOnly": false,
|
||||||
|
"types": ["@cloudflare/workers-types"]
|
||||||
|
},
|
||||||
|
"include": ["src/**/*.ts"],
|
||||||
|
"exclude": ["**/*.test.ts"],
|
||||||
|
"references": []
|
||||||
|
}
|
|
@ -1,7 +1,13 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"files": [],
|
||||||
"outDir": "./dist",
|
"include": [],
|
||||||
"types": ["@cloudflare/workers-types"]
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.spec.json"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "../../dist/out-tsc/packages/cloudflare-access",
|
||||||
|
"types": ["vitest/globals"]
|
||||||
|
},
|
||||||
|
"include": ["**/*.test.ts"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -13,6 +13,7 @@
|
||||||
"build": "tsup ./src/index.ts",
|
"build": "tsup ./src/index.ts",
|
||||||
"prepack": "yarn build",
|
"prepack": "yarn build",
|
||||||
"publint": "attw --pack && publint",
|
"publint": "attw --pack && publint",
|
||||||
|
"typecheck": "tsc -b tsconfig.json",
|
||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
|
@ -50,6 +51,7 @@
|
||||||
"conform-to-valibot": "^1.10.0",
|
"conform-to-valibot": "^1.10.0",
|
||||||
"publint": "^0.3.9",
|
"publint": "^0.3.9",
|
||||||
"tsup": "^8.4.0",
|
"tsup": "^8.4.0",
|
||||||
|
"typescript": "^5.8.2",
|
||||||
"valibot": "^0.36.0",
|
"valibot": "^0.36.0",
|
||||||
"vitest": "^3.0.8",
|
"vitest": "^3.0.8",
|
||||||
"yup": "^1.4.0",
|
"yup": "^1.4.0",
|
||||||
|
|
|
@ -24,7 +24,7 @@ describe('Validate the hook option processing', () => {
|
||||||
handlerMockFn
|
handlerMockFn
|
||||||
)
|
)
|
||||||
const client = hc<typeof route>('http://localhost', {
|
const client = hc<typeof route>('http://localhost', {
|
||||||
fetch: (req, init) => {
|
fetch: (req: RequestInfo | URL, init?: RequestInit) => {
|
||||||
return app.request(req, init)
|
return app.request(req, init)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { parseWithValibot } from 'conform-to-valibot'
|
||||||
import { Hono } from 'hono'
|
import { Hono } from 'hono'
|
||||||
import { hc } from 'hono/client'
|
import { hc } from 'hono/client'
|
||||||
import type { ExtractSchema, ParsedFormValue } from 'hono/types'
|
import type { ExtractSchema, ParsedFormValue } from 'hono/types'
|
||||||
import type { StatusCode } from 'hono/utils/http-status'
|
import type { ContentfulStatusCode } from 'hono/utils/http-status'
|
||||||
import type { Equal, Expect } from 'hono/utils/types'
|
import type { Equal, Expect } from 'hono/utils/types'
|
||||||
import * as v from 'valibot'
|
import * as v from 'valibot'
|
||||||
import { conformValidator } from '.'
|
import { conformValidator } from '.'
|
||||||
|
@ -53,7 +53,7 @@ describe('Validate requests using a Valibot schema', () => {
|
||||||
message: string
|
message: string
|
||||||
}
|
}
|
||||||
outputFormat: 'json'
|
outputFormat: 'json'
|
||||||
status: StatusCode
|
status: ContentfulStatusCode
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,7 @@ describe('Validate requests using a Valibot schema', () => {
|
||||||
|
|
||||||
it('Should return 200 response', async () => {
|
it('Should return 200 response', async () => {
|
||||||
const client = hc<typeof route>('http://localhost', {
|
const client = hc<typeof route>('http://localhost', {
|
||||||
fetch: (req, init) => {
|
fetch: (req: RequestInfo | URL, init?: RequestInit) => {
|
||||||
return app.request(req, init)
|
return app.request(req, init)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { parseWithYup } from '@conform-to/yup'
|
||||||
import { Hono } from 'hono'
|
import { Hono } from 'hono'
|
||||||
import { hc } from 'hono/client'
|
import { hc } from 'hono/client'
|
||||||
import type { ExtractSchema, ParsedFormValue } from 'hono/types'
|
import type { ExtractSchema, ParsedFormValue } from 'hono/types'
|
||||||
import type { StatusCode } from 'hono/utils/http-status'
|
import type { ContentfulStatusCode } from 'hono/utils/http-status'
|
||||||
import type { Equal, Expect } from 'hono/utils/types'
|
import type { Equal, Expect } from 'hono/utils/types'
|
||||||
import * as y from 'yup'
|
import * as y from 'yup'
|
||||||
import { conformValidator } from '.'
|
import { conformValidator } from '.'
|
||||||
|
@ -49,7 +49,7 @@ describe('Validate requests using a Yup schema', () => {
|
||||||
message: string
|
message: string
|
||||||
}
|
}
|
||||||
outputFormat: 'json'
|
outputFormat: 'json'
|
||||||
status: StatusCode
|
status: ContentfulStatusCode
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,7 @@ describe('Validate requests using a Yup schema', () => {
|
||||||
|
|
||||||
it('Should return 200 response', async () => {
|
it('Should return 200 response', async () => {
|
||||||
const client = hc<typeof route>('http://localhost', {
|
const client = hc<typeof route>('http://localhost', {
|
||||||
fetch: (req, init) => {
|
fetch: (req: RequestInfo | URL, init?: RequestInit) => {
|
||||||
return app.request(req, init)
|
return app.request(req, init)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { parseWithZod } from '@conform-to/zod'
|
||||||
import { Hono } from 'hono'
|
import { Hono } from 'hono'
|
||||||
import { hc } from 'hono/client'
|
import { hc } from 'hono/client'
|
||||||
import type { ExtractSchema, ParsedFormValue } from 'hono/types'
|
import type { ExtractSchema, ParsedFormValue } from 'hono/types'
|
||||||
import type { StatusCode } from 'hono/utils/http-status'
|
import type { ContentfulStatusCode } from 'hono/utils/http-status'
|
||||||
import type { Equal, Expect } from 'hono/utils/types'
|
import type { Equal, Expect } from 'hono/utils/types'
|
||||||
import * as z from 'zod'
|
import * as z from 'zod'
|
||||||
import { conformValidator } from '.'
|
import { conformValidator } from '.'
|
||||||
|
@ -49,7 +49,7 @@ describe('Validate requests using a Zod schema', () => {
|
||||||
message: string
|
message: string
|
||||||
}
|
}
|
||||||
outputFormat: 'json'
|
outputFormat: 'json'
|
||||||
status: StatusCode
|
status: ContentfulStatusCode
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,7 @@ describe('Validate requests using a Zod schema', () => {
|
||||||
|
|
||||||
it('Should return 200 response', async () => {
|
it('Should return 200 response', async () => {
|
||||||
const client = hc<typeof route>('http://localhost', {
|
const client = hc<typeof route>('http://localhost', {
|
||||||
fetch: (req, init) => {
|
fetch: (req: RequestInfo | URL, init?: RequestInit) => {
|
||||||
return app.request(req, init)
|
return app.request(req, init)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"rootDir": "src",
|
||||||
|
"outDir": "dist",
|
||||||
|
"tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo",
|
||||||
|
"emitDeclarationOnly": false
|
||||||
|
},
|
||||||
|
"include": ["src/**/*.ts"],
|
||||||
|
"exclude": ["**/*.test.ts"],
|
||||||
|
"references": []
|
||||||
|
}
|
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
"extends": "./tsconfig.json",
|
|
||||||
"compilerOptions": {
|
|
||||||
"module": "CommonJS",
|
|
||||||
"declaration": false,
|
|
||||||
"outDir": "./dist/cjs"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
"extends": "./tsconfig.json",
|
|
||||||
"compilerOptions": {
|
|
||||||
"module": "ESNext",
|
|
||||||
"declaration": true,
|
|
||||||
"outDir": "./dist/esm"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,6 +1,13 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"files": [],
|
||||||
"outDir": "./dist"
|
"include": [],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.spec.json"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "../../dist/out-tsc/packages/conform-validator",
|
||||||
|
"types": ["vitest/globals"]
|
||||||
|
},
|
||||||
|
"include": ["**/*.test.ts"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -25,6 +25,7 @@
|
||||||
"build": "tsup ./src/index.ts",
|
"build": "tsup ./src/index.ts",
|
||||||
"prepack": "yarn build",
|
"prepack": "yarn build",
|
||||||
"publint": "attw --pack && publint",
|
"publint": "attw --pack && publint",
|
||||||
|
"typecheck": "tsc -b tsconfig.json",
|
||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -47,6 +48,7 @@
|
||||||
"effect": "3.10.0",
|
"effect": "3.10.0",
|
||||||
"publint": "^0.3.9",
|
"publint": "^0.3.9",
|
||||||
"tsup": "^8.4.0",
|
"tsup": "^8.4.0",
|
||||||
|
"typescript": "^5.8.2",
|
||||||
"vitest": "^3.0.8"
|
"vitest": "^3.0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { Schema as S } from 'effect'
|
import { Schema as S } from 'effect'
|
||||||
import { Hono } from 'hono'
|
import { Hono } from 'hono'
|
||||||
import type { StatusCode } from 'hono/utils/http-status'
|
import type { ContentfulStatusCode } from 'hono/utils/http-status'
|
||||||
import type { Equal, Expect } from 'hono/utils/types'
|
import type { Equal, Expect } from 'hono/utils/types'
|
||||||
import { effectValidator } from '.'
|
import { effectValidator } from '.'
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ describe('Basic', () => {
|
||||||
queryName: string | undefined
|
queryName: string | undefined
|
||||||
}
|
}
|
||||||
outputFormat: 'json'
|
outputFormat: 'json'
|
||||||
status: StatusCode
|
status: ContentfulStatusCode
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -135,7 +135,7 @@ describe('coerce', () => {
|
||||||
page: number
|
page: number
|
||||||
}
|
}
|
||||||
outputFormat: 'json'
|
outputFormat: 'json'
|
||||||
status: StatusCode
|
status: ContentfulStatusCode
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"rootDir": "src",
|
||||||
|
"outDir": "dist",
|
||||||
|
"tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo",
|
||||||
|
"emitDeclarationOnly": false
|
||||||
|
},
|
||||||
|
"include": ["src/**/*.ts"],
|
||||||
|
"exclude": ["**/*.test.ts"],
|
||||||
|
"references": []
|
||||||
|
}
|
|
@ -1,6 +1,13 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"files": [],
|
||||||
"exactOptionalPropertyTypes": true
|
"include": [],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.spec.json"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "../../dist/out-tsc/packages/effect-validator",
|
||||||
|
"types": ["vitest/globals"]
|
||||||
|
},
|
||||||
|
"include": ["**/*.test.ts"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -12,6 +12,7 @@
|
||||||
"build": "tsup ./src/*.ts ./src/transpilers/*.ts --no-splitting --external esbuild-wasm,esbuild",
|
"build": "tsup ./src/*.ts ./src/transpilers/*.ts --no-splitting --external esbuild-wasm,esbuild",
|
||||||
"prepack": "yarn build",
|
"prepack": "yarn build",
|
||||||
"publint": "attw --pack && publint",
|
"publint": "attw --pack && publint",
|
||||||
|
"typecheck": "tsc -b tsconfig.json",
|
||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
|
@ -76,6 +77,7 @@
|
||||||
"esbuild-wasm": "^0.19.5",
|
"esbuild-wasm": "^0.19.5",
|
||||||
"publint": "^0.3.9",
|
"publint": "^0.3.9",
|
||||||
"tsup": "^8.4.0",
|
"tsup": "^8.4.0",
|
||||||
|
"typescript": "^5.8.2",
|
||||||
"vitest": "^3.0.8"
|
"vitest": "^3.0.8"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"rootDir": "src",
|
||||||
|
"outDir": "dist",
|
||||||
|
"tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo",
|
||||||
|
"emitDeclarationOnly": false
|
||||||
|
},
|
||||||
|
"include": ["src/**/*.ts"],
|
||||||
|
"exclude": ["**/*.test.ts"],
|
||||||
|
"references": []
|
||||||
|
}
|
|
@ -1,6 +1,13 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"files": [],
|
||||||
"skipLibCheck": false
|
"include": [],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.spec.json"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "../../dist/out-tsc/packages/esbuild-transpiler",
|
||||||
|
"types": ["vitest/globals"]
|
||||||
|
},
|
||||||
|
"include": ["**/*.test.ts"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -22,7 +22,6 @@
|
||||||
"typescript": "^5.0.0"
|
"typescript": "^5.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint/eslintrc": "^3.1.0",
|
|
||||||
"@eslint/js": "^9.10.0",
|
"@eslint/js": "^9.10.0",
|
||||||
"eslint-config-prettier": "^10.1.1",
|
"eslint-config-prettier": "^10.1.1",
|
||||||
"eslint-import-resolver-typescript": "^4.2.2",
|
"eslint-import-resolver-typescript": "^4.2.2",
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
"build": "tsup ./src/index.ts",
|
"build": "tsup ./src/index.ts",
|
||||||
"prepack": "yarn build",
|
"prepack": "yarn build",
|
||||||
"publint": "attw --pack && publint",
|
"publint": "attw --pack && publint",
|
||||||
|
"typecheck": "tsc -b tsconfig.json",
|
||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
|
@ -46,6 +47,7 @@
|
||||||
"@arethetypeswrong/cli": "^0.17.4",
|
"@arethetypeswrong/cli": "^0.17.4",
|
||||||
"publint": "^0.3.9",
|
"publint": "^0.3.9",
|
||||||
"tsup": "^8.4.0",
|
"tsup": "^8.4.0",
|
||||||
|
"typescript": "^5.8.2",
|
||||||
"vitest": "^3.0.8"
|
"vitest": "^3.0.8"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"rootDir": "src",
|
||||||
|
"outDir": "dist",
|
||||||
|
"tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo",
|
||||||
|
"emitDeclarationOnly": false
|
||||||
|
},
|
||||||
|
"include": ["src/**/*.ts"],
|
||||||
|
"exclude": ["**/*.test.ts"],
|
||||||
|
"references": []
|
||||||
|
}
|
|
@ -1,6 +1,13 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"files": [],
|
||||||
"outDir": "./dist"
|
"include": [],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.spec.json"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "../../dist/out-tsc/packages/event-emitter",
|
||||||
|
"types": ["vitest/globals"]
|
||||||
|
},
|
||||||
|
"include": ["**/*.test.ts"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -12,6 +12,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start-firebase-emulator": "firebase emulators:start --project example-project12345",
|
"start-firebase-emulator": "firebase emulators:start --project example-project12345",
|
||||||
"test-with-emulator": "firebase emulators:exec --project example-project12345 'vitest run'",
|
"test-with-emulator": "firebase emulators:exec --project example-project12345 'vitest run'",
|
||||||
|
"typecheck": "tsc -b tsconfig.json",
|
||||||
"test": "vitest",
|
"test": "vitest",
|
||||||
"build": "tsup ./src/index.ts",
|
"build": "tsup ./src/index.ts",
|
||||||
"prepack": "yarn build",
|
"prepack": "yarn build",
|
||||||
|
@ -49,12 +50,12 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@arethetypeswrong/cli": "^0.17.4",
|
"@arethetypeswrong/cli": "^0.17.4",
|
||||||
"@cloudflare/workers-types": "^4.20240222.0",
|
|
||||||
"firebase-tools": "^13.29.1",
|
"firebase-tools": "^13.29.1",
|
||||||
"miniflare": "^3.20240208.0",
|
"miniflare": "^3.20240208.0",
|
||||||
"prettier": "^3.2.5",
|
"prettier": "^3.2.5",
|
||||||
"publint": "^0.3.9",
|
"publint": "^0.3.9",
|
||||||
"tsup": "^8.4.0",
|
"tsup": "^8.4.0",
|
||||||
|
"typescript": "^5.8.2",
|
||||||
"vitest": "^3.0.8"
|
"vitest": "^3.0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "dist",
|
||||||
|
"types": ["@cloudflare/workers-types"]
|
||||||
|
},
|
||||||
|
"references": []
|
||||||
|
}
|
|
@ -1,7 +1,13 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"files": [],
|
||||||
"outDir": "./dist",
|
"include": [],
|
||||||
"types": ["node", "@cloudflare/workers-types"]
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.build.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.spec.json"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue