Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
decs committed Mar 2, 2024
1 parent a269573 commit 3cdd0d1
Show file tree
Hide file tree
Showing 30 changed files with 669 additions and 509 deletions.
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,45 +20,45 @@
"test": "turbo test --filter=@typeschema/*",
"test:e2e": "pnpm build && turbo test --filter=./examples/*",
"release": "pnpm build && changeset publish",
"upgrade:deps": "turbo upgrade:deps",
"upgrade:deps": "ncu -u --dep=dev && turbo upgrade:deps && pnpm gen",
"create:adapter": "turbo gen create-adapter && pnpm gen",
"prepare": "ts-patch install && typia patch",
"clean": "git clean -fdx && pnpm install"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.13.5",
"@arethetypeswrong/cli": "^0.15.0",
"@changesets/cli": "^2.27.1",
"@deepkit/vite": "1.0.1-alpha.123",
"@trpc/server": "^10.45.0",
"@turbo/gen": "^1.12.1",
"@types/eslint": "^8.56.2",
"@types/node": "^20.11.5",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"esbuild": "^0.20.0",
"eslint": "^8.56.0",
"@deepkit/vite": "1.0.1-alpha.139",
"@trpc/server": "^10.45.1",
"@turbo/gen": "^1.12.4",
"@types/eslint": "^8.56.5",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"esbuild": "^0.20.1",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-simple-import-sort": "^12.0.0",
"eslint-plugin-sort-keys": "^2.3.5",
"expect-type": "^0.17.3",
"expect-type": "^0.18.0",
"magic-regexp": "^0.7.0",
"npm-check-updates": "^16.14.12",
"npm-check-updates": "^16.14.15",
"pnpm-sync-dependencies-meta-injected": "^0.0.10",
"prettier": "^3.2.4",
"prettier": "^3.2.5",
"publint": "^0.2.7",
"rollup-plugin-typescript2": "^0.36.0",
"ts-node": "^10.9.2",
"ts-patch": "^3.1.2",
"tslib": "^2.6.2",
"tsup": "^8.0.1",
"turbo": "^1.12.2",
"tsup": "^8.0.2",
"turbo": "^1.12.4",
"typescript": "^5.3.3",
"typia": "^5.3.11",
"vitest": "^1.2.2"
"typia": "^5.4.14",
"vitest": "^1.3.1"
},
"pnpm": {
"peerDependencyRules": {
Expand Down
21 changes: 11 additions & 10 deletions packages/all/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
"build": "tsup --config ../../tsup.config.ts",
"lint": "eslint src --fix",
"lint:package": "publint && attw --pack",
"test": "vitest --config ../../vitest.config.ts"
"test": "vitest --config ../../vitest.config.ts",
"upgrade:deps": "ncu -u --dep=dev,peer --reject ow"
},
"dependencies": {
"@typeschema/core": "workspace:*",
Expand All @@ -90,24 +91,24 @@
"devDependencies": {
"arktype": "^1.0.29-alpha",
"class-validator": "^0.14.1",
"@deepkit/type": "^1.0.1-alpha.132",
"@deepkit/type-compiler": "^1.0.1-alpha.123",
"@effect/schema": "^0.60.6",
"effect": "^2.1.2",
"typia": "^5.3.11",
"@deepkit/type": "^1.0.1-alpha.139",
"@deepkit/type-compiler": "^1.0.1-alpha.139",
"@effect/schema": "^0.63.2",
"effect": "^2.4.1",
"typia": "^5.4.14",
"fp-ts": "^2.16.2",
"io-ts": "^2.2.21",
"io-ts-types": "^0.5.19",
"joi": "^17.12.0",
"joi": "^17.12.2",
"joi-to-json": "^4.2.1",
"ajv": "^8.12.0",
"json-schema-to-ts": "^3.0.0",
"ow": "^0.28.2",
"runtypes": "^6.7.0",
"superstruct": "^1.0.3",
"@sinclair/typebox": "^0.32.11",
"@gcornut/valibot-json-schema": "^0.0.23",
"valibot": "^0.27.1",
"@sinclair/typebox": "^0.32.15",
"@gcornut/valibot-json-schema": "^0.0.25",
"valibot": "^0.29.0",
"@sodaru/yup-to-json-schema": "^2.0.1",
"yup": "^1.3.3",
"zod": "^3.22.4",
Expand Down
7 changes: 6 additions & 1 deletion packages/all/src/__tests__/valibot.test.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/arktype/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"build": "tsup --config ../../tsup.config.ts",
"lint": "eslint src --fix",
"lint:package": "publint && attw --pack",
"test": "vitest --config ../../vitest.config.ts"
"test": "vitest --config ../../vitest.config.ts",
"upgrade:deps": "ncu -u --dep=dev,peer --reject ow"
},
"dependencies": {
"@typeschema/core": "workspace:*"
Expand Down
3 changes: 2 additions & 1 deletion packages/class-validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"build": "tsup --config ../../tsup.config.ts",
"lint": "eslint src --fix",
"lint:package": "publint && attw --pack",
"test": "vitest --config ../../vitest.config.ts"
"test": "vitest --config ../../vitest.config.ts",
"upgrade:deps": "ncu -u --dep=dev,peer --reject ow"
},
"dependencies": {
"@typeschema/core": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion packages/deepkit/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions packages/deepkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,22 +51,23 @@
"build": "tsup --config ../../tsup.config.ts",
"lint": "eslint src --fix",
"lint:package": "publint && attw --pack",
"test": "vitest --config ../../vitest.config.ts"
"test": "vitest --config ../../vitest.config.ts",
"upgrade:deps": "ncu -u --dep=dev,peer --reject ow"
},
"dependencies": {
"@typeschema/core": "workspace:*"
},
"//devDependencies": "This field is manually maintained.",
"devDependencies": {
"@deepkit/type": "^1.0.1-alpha.132",
"@deepkit/type-compiler": "^1.0.1-alpha.123"
"@deepkit/type": "^1.0.1-alpha.139",
"@deepkit/type-compiler": "^1.0.1-alpha.139"
},
"//peerDependencies": {
"//": "This field is manually maintained.",
"@deepkit/type": "Required for validation"
},
"peerDependencies": {
"@deepkit/type": "^1.0.1-alpha.132"
"@deepkit/type": "^1.0.1-alpha.139"
},
"//peerDependenciesMeta": "This field is manually maintained.",
"peerDependenciesMeta": {
Expand Down
4 changes: 2 additions & 2 deletions packages/effect/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions packages/effect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,24 +51,25 @@
"build": "tsup --config ../../tsup.config.ts",
"lint": "eslint src --fix",
"lint:package": "publint && attw --pack",
"test": "vitest --config ../../vitest.config.ts"
"test": "vitest --config ../../vitest.config.ts",
"upgrade:deps": "ncu -u --dep=dev,peer --reject ow"
},
"dependencies": {
"@typeschema/core": "workspace:*"
},
"//devDependencies": "This field is manually maintained.",
"devDependencies": {
"@effect/schema": "^0.60.6",
"effect": "^2.1.2"
"@effect/schema": "^0.63.2",
"effect": "^2.4.1"
},
"//peerDependencies": {
"//": "This field is manually maintained.",
"@effect/schema": "Required for inference and validation",
"effect": "Required for inference and validation"
},
"peerDependencies": {
"@effect/schema": "^0.60.6",
"effect": "^2.1.2"
"@effect/schema": "^0.63.2",
"effect": "^2.4.1"
},
"//peerDependenciesMeta": "This field is manually maintained.",
"peerDependenciesMeta": {
Expand Down
8 changes: 4 additions & 4 deletions packages/effect/src/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ import {memoize} from '@typeschema/core';

const importValidationModule = memoize(async () => {
const {isRight} = await import('effect/Either');
const {parseEither} = await import('@effect/schema/Schema');
const {decodeEither} = await import('@effect/schema/Schema');
const {formatError} = await import('@effect/schema/TreeFormatter');
return {formatError, isRight, parseEither};
return {decodeEither, formatError, isRight};
});

export const validationAdapter: ValidationAdapter<
AdapterResolver
> = async schema => {
const {formatError, isRight, parseEither} = await importValidationModule();
const parseSchema = parseEither(schema);
const {decodeEither, formatError, isRight} = await importValidationModule();
const parseSchema = decodeEither(schema);
return async data => {
const result = parseSchema(data);
if (isRight(result)) {
Expand Down
5 changes: 3 additions & 2 deletions packages/function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,15 @@
"build": "tsup --config ../../tsup.config.ts",
"lint": "eslint src --fix",
"lint:package": "publint && attw --pack",
"test": "vitest --config ../../vitest.config.ts"
"test": "vitest --config ../../vitest.config.ts",
"upgrade:deps": "ncu -u --dep=dev,peer --reject ow"
},
"dependencies": {
"@typeschema/core": "workspace:*"
},
"//devDependencies": "This field is manually maintained.",
"devDependencies": {
"typia": "^5.3.11"
"typia": "^5.4.14"
},
"//peerDependencies": "This field is manually maintained.",
"peerDependencies": {},
Expand Down
3 changes: 2 additions & 1 deletion packages/io-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"build": "tsup --config ../../tsup.config.ts",
"lint": "eslint src --fix",
"lint:package": "publint && attw --pack",
"test": "vitest --config ../../vitest.config.ts"
"test": "vitest --config ../../vitest.config.ts",
"upgrade:deps": "ncu -u --dep=dev,peer --reject ow"
},
"dependencies": {
"@typeschema/core": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion packages/joi/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions packages/joi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,15 @@
"build": "tsup --config ../../tsup.config.ts",
"lint": "eslint src --fix",
"lint:package": "publint && attw --pack",
"test": "vitest --config ../../vitest.config.ts"
"test": "vitest --config ../../vitest.config.ts",
"upgrade:deps": "ncu -u --dep=dev,peer --reject ow"
},
"dependencies": {
"@typeschema/core": "workspace:*"
},
"//devDependencies": "This field is manually maintained.",
"devDependencies": {
"joi": "^17.12.0",
"joi": "^17.12.2",
"joi-to-json": "^4.2.1"
},
"//peerDependencies": {
Expand All @@ -67,7 +68,7 @@
"joi-to-json": "Required for serialization"
},
"peerDependencies": {
"joi": "^17.12.0",
"joi": "^17.12.2",
"joi-to-json": "^4.2.1"
},
"//peerDependenciesMeta": "This field is manually maintained.",
Expand Down
3 changes: 2 additions & 1 deletion packages/json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"build": "tsup --config ../../tsup.config.ts",
"lint": "eslint src --fix",
"lint:package": "publint && attw --pack",
"test": "vitest --config ../../vitest.config.ts"
"test": "vitest --config ../../vitest.config.ts",
"upgrade:deps": "ncu -u --dep=dev,peer --reject ow"
},
"dependencies": {
"@typeschema/core": "workspace:*"
Expand Down
21 changes: 11 additions & 10 deletions packages/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
"build": "tsup --config ../../tsup.config.ts",
"lint": "eslint src --fix",
"lint:package": "publint && attw --pack",
"test": "vitest --config ../../vitest.config.ts"
"test": "vitest --config ../../vitest.config.ts",
"upgrade:deps": "ncu -u --dep=dev,peer --reject ow"
},
"dependencies": {
"@typeschema/core": "workspace:*"
Expand All @@ -77,19 +78,19 @@
"@typeschema/class-validator": "workspace:*",
"class-validator": "^0.14.1",
"@typeschema/deepkit": "workspace:*",
"@deepkit/type": "^1.0.1-alpha.132",
"@deepkit/type-compiler": "^1.0.1-alpha.123",
"@deepkit/type": "^1.0.1-alpha.139",
"@deepkit/type-compiler": "^1.0.1-alpha.139",
"@typeschema/effect": "workspace:*",
"@effect/schema": "^0.60.6",
"effect": "^2.1.2",
"@effect/schema": "^0.63.2",
"effect": "^2.4.1",
"@typeschema/function": "workspace:*",
"typia": "^5.3.11",
"typia": "^5.4.14",
"@typeschema/io-ts": "workspace:*",
"fp-ts": "^2.16.2",
"io-ts": "^2.2.21",
"io-ts-types": "^0.5.19",
"@typeschema/joi": "workspace:*",
"joi": "^17.12.0",
"joi": "^17.12.2",
"joi-to-json": "^4.2.1",
"@typeschema/json": "workspace:*",
"ajv": "^8.12.0",
Expand All @@ -101,10 +102,10 @@
"@typeschema/superstruct": "workspace:*",
"superstruct": "^1.0.3",
"@typeschema/typebox": "workspace:*",
"@sinclair/typebox": "^0.32.11",
"@sinclair/typebox": "^0.32.15",
"@typeschema/valibot": "workspace:*",
"@gcornut/valibot-json-schema": "^0.0.23",
"valibot": "^0.27.1",
"@gcornut/valibot-json-schema": "^0.0.25",
"valibot": "^0.29.0",
"@typeschema/yup": "workspace:*",
"@sodaru/yup-to-json-schema": "^2.0.1",
"yup": "^1.3.3",
Expand Down
7 changes: 6 additions & 1 deletion packages/main/src/__tests__/valibot.test.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/ow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"build": "tsup --config ../../tsup.config.ts",
"lint": "eslint src --fix",
"lint:package": "publint && attw --pack",
"test": "vitest --config ../../vitest.config.ts"
"test": "vitest --config ../../vitest.config.ts",
"upgrade:deps": "ncu -u --dep=dev,peer --reject ow"
},
"dependencies": {
"@typeschema/core": "workspace:*"
Expand Down
Loading

0 comments on commit 3cdd0d1

Please sign in to comment.