Skip to content

Commit

Permalink
chore: upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
decs committed Aug 25, 2024
1 parent 1cb5a18 commit 14976b2
Show file tree
Hide file tree
Showing 66 changed files with 2,253 additions and 4,232 deletions.
26 changes: 26 additions & 0 deletions .changeset/wise-squids-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
'@typeschema/deepkit': minor
'@typeschema/main': minor
'@typeschema/all': minor
'@typeschema/arktype': minor
'@typeschema/class-validator': minor
'@typeschema/core': minor
'@typeschema/effect': minor
'@typeschema/fastest-validator': minor
'@typeschema/function': minor
'@typeschema/io-ts': minor
'@typeschema/joi': minor
'@typeschema/json': minor
'@typeschema/ow': minor
'@typeschema/runtypes': minor
'@typeschema/superstruct': minor
'@typeschema/suretype': minor
'@typeschema/typebox': minor
'@typeschema/valibot': minor
'@typeschema/valita': minor
'@typeschema/vine': minor
'@typeschema/yup': minor
'@typeschema/zod': minor
---

Upgrade deps
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

54 changes: 0 additions & 54 deletions .eslintrc.json

This file was deleted.

20 changes: 10 additions & 10 deletions README.md

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

43 changes: 43 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// @ts-check

import javascript from '@eslint/js';
import typescript from 'typescript-eslint';
import prettier from 'eslint-plugin-prettier/recommended';
import simpleImportSort from 'eslint-plugin-simple-import-sort';

export default typescript.config(
javascript.configs.recommended,
...typescript.configs.recommended,
{
plugins: {
'simple-import-sort': simpleImportSort,
},
rules: {
'simple-import-sort/imports': [
'error',
{
groups: [
['^.*\\u0000$'],
['^\\u0000'],
['^node:'],
['^@?\\w'],
['^'],
['^\\.'],
],
},
],
'simple-import-sort/exports': 'error',
},
},
{
files: ['**/src/__tests__/example.ts'],
rules: {
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
},
{
ignores: ['**/sample/'],
},
prettier,
);
21 changes: 11 additions & 10 deletions examples/bundlers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,26 @@
"test:swc": "swc src/main.ts --out-dir=swc_dist && node swc_dist/src/main.js",
"test:vite": "vite build --outDir=vite_dist",
"test:webpack": "webpack --fail-on-warnings && node webpack_dist/main.js",
"upgrade:deps": "ncu -u",
"sync:pnpm": "sync-dependencies-meta-injected"
},
"dependencies": {
"@typeschema/main": "workspace:*",
"@typeschema/zod": "workspace:*",
"zod": "^3.22.4"
"zod": "^3.23.8"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.3",
"@swc/cli": "^0.3.9",
"@swc/core": "^1.4.2",
"bun": "^1.0.27",
"esbuild": "^0.20.0",
"parcel": "^2.11.0",
"rollup": "^4.12.0",
"@swc/cli": "^0.4.0",
"@swc/core": "^1.7.18",
"bun": "^1.1.26",
"esbuild": "^0.23.1",
"parcel": "^2.12.0",
"rollup": "^4.21.0",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"vite": "^5.0.8",
"webpack": "^5.90.2",
"typescript": "^5.5.4",
"vite": "^5.4.2",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4"
},
"dependenciesMeta": {
Expand Down
3 changes: 2 additions & 1 deletion examples/commonjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
"private": true,
"scripts": {
"//test": "tsup --config ../../tsup.config.ts --format cjs && node dist/index.js",
"upgrade:deps": "ncu -u",
"sync:pnpm": "sync-dependencies-meta-injected"
},
"dependencies": {
"@typeschema/all": "workspace:*",
"ow": "^0.28.2"
"ow": "^2.0.0"
},
"dependenciesMeta": {
"@typeschema/all": {
Expand Down
3 changes: 2 additions & 1 deletion examples/missing-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
"private": true,
"scripts": {
"test": "tsup --config ../../tsup.config.ts --format cjs && node dist/index.js",
"upgrade:deps": "ncu -u",
"sync:pnpm": "sync-dependencies-meta-injected"
},
"dependencies": {
"@typeschema/main": "workspace:*",
"valibot": "^0.27.1"
"valibot": "^0.39.0"
},
"dependenciesMeta": {
"@typeschema/main": {
Expand Down
7 changes: 4 additions & 3 deletions examples/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@
"test": "pnpm test:webpack && pnpm test:turbopack",
"test:webpack": "next build",
"test:turbopack": "./turbopack.sh",
"upgrade:deps": "ncu -u",
"sync:pnpm": "sync-dependencies-meta-injected"
},
"dependencies": {
"@typeschema/main": "workspace:*",
"@typeschema/zod": "workspace:*",
"next": "14.1.0",
"next": "14.2.6",
"react": "^18",
"react-dom": "^18",
"zod": "^3.22.4"
"zod": "^3.23.8"
},
"devDependencies": {
"@types/node": "^20",
"@types/node": "^22",
"@types/react": "^18",
"@types/react-dom": "^18",
"typescript": "^5"
Expand Down
61 changes: 32 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,52 +20,55 @@
"test": "turbo test --filter=@typeschema/*",
"test:e2e": "pnpm build && turbo test --filter=./examples/*",
"release": "pnpm build && changeset publish",
"upgrade:deps": "ncu -u --dep=dev --reject eslint && turbo upgrade:deps && pnpm gen",
"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": "git clean -fdx && pnpm install",
"clean:sl": "sl clean --ignored --dirs --files && pnpm install"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@changesets/cli": "^2.27.1",
"@deepkit/vite": "1.0.1-alpha.143",
"@arethetypeswrong/cli": "^0.15.4",
"@changesets/cli": "^2.27.7",
"@deepkit/vite": "1.0.1-alpha.150",
"@eslint/compat": "^1.1.1",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.1",
"@trpc/server": "^10.45.2",
"@turbo/gen": "^1.13.2",
"@types/eslint": "^8.56.9",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"esbuild": "^0.20.2",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"@turbo/gen": "^2.0.14",
"@types/eslint": "^9.6.0",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.5.0",
"@typescript-eslint/eslint-plugin": "^8.2.0",
"@typescript-eslint/parser": "^8.2.0",
"esbuild": "^0.23.1",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sort-keys": "^2.3.5",
"expect-type": "^0.19.0",
"expect-type": "^0.20.0",
"magic-regexp": "^0.8.0",
"npm-check-updates": "^16.14.18",
"pnpm-sync-dependencies-meta-injected": "^0.0.10",
"prettier": "^3.2.5",
"publint": "^0.2.7",
"npm-check-updates": "^17.1.0",
"pnpm-sync-dependencies-meta-injected": "^0.0.14",
"prettier": "^3.3.3",
"publint": "^0.2.10",
"rollup-plugin-typescript2": "^0.36.0",
"ts-node": "^10.9.2",
"ts-patch": "^3.1.2",
"tslib": "^2.6.2",
"tsup": "^8.0.2",
"turbo": "^1.13.2",
"typescript": "^5.4.5",
"typia": "^6.0.2",
"vitest": "^1.5.0"
"ts-patch": "^3.2.1",
"tslib": "^2.7.0",
"tsup": "^8.2.4",
"turbo": "^2.0.14",
"typescript": "^5.5.4",
"typescript-eslint": "^8.2.0",
"typia": "^6.9.0",
"vitest": "^2.0.5"
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"svgo": "2.8.0"
}
}
}
},
"packageManager": "[email protected]"
}
36 changes: 18 additions & 18 deletions packages/all/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,33 +97,33 @@
"@typeschema/zod": "workspace:*"
},
"devDependencies": {
"arktype": "^1.0.29-alpha",
"arktype": "^2.0.0-rc.0",
"class-validator": "^0.14.1",
"@deepkit/type": "^1.0.1-alpha.145",
"@deepkit/type-compiler": "^1.0.1-alpha.143",
"@effect/schema": "^0.64.20",
"effect": "^2.4.18",
"fastest-validator": "^1.17.0",
"typia": "^6.0.2",
"fp-ts": "^2.16.5",
"@effect/schema": "^0.71.1",
"effect": "^3.6.5",
"fastest-validator": "^1.19.0",
"typia": "^6.9.0",
"fp-ts": "^2.16.9",
"io-ts": "^2.2.21",
"io-ts-types": "^0.5.19",
"joi": "^17.12.3",
"joi-to-json": "^4.2.1",
"ajv": "^8.12.0",
"json-schema-to-ts": "^3.0.1",
"joi": "^17.13.3",
"joi-to-json": "^4.3.0",
"ajv": "^8.17.1",
"json-schema-to-ts": "^3.1.0",
"ow": "^0.28.2",
"runtypes": "^6.7.0",
"superstruct": "^1.0.4",
"superstruct": "^2.0.2",
"suretype": "^3.3.1",
"@sinclair/typebox": "^0.32.20",
"@gcornut/valibot-json-schema": "^0.31.0",
"valibot": "^0.31.0",
"@badrap/valita": "^0.3.8",
"@vinejs/vine": "^2.0.0",
"@sinclair/typebox": "^0.33.7",
"@gcornut/valibot-json-schema": "^0.37.0",
"valibot": "^0.39.0",
"@badrap/valita": "^0.3.9",
"@vinejs/vine": "^2.1.0",
"@sodaru/yup-to-json-schema": "^2.0.1",
"yup": "^1.4.0",
"zod": "^3.22.4",
"zod-to-json-schema": "^3.22.5"
"zod": "^3.23.8",
"zod-to-json-schema": "^3.23.2"
}
}
Loading

0 comments on commit 14976b2

Please sign in to comment.