Skip to content

Commit

Permalink
Merge pull request #340 from ryoppippi/feature/update-deps
Browse files Browse the repository at this point in the history
chore: update deps
  • Loading branch information
ryoppippi authored Nov 1, 2024
2 parents 0c98ed7 + 28f4a83 commit 42d95eb
Show file tree
Hide file tree
Showing 17 changed files with 65 additions and 63 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/bun-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"devDependencies": {
"@types/bun": "latest",
"std-env": "^3.7.0",
"typia": "^6.9.0"
"typia": "^6.11.3"
},
"peerDependencies": {
"ts-patch": "^3.2.1",
Expand Down
12 changes: 6 additions & 6 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
},
"devDependencies": {
"@ryoppippi/unplugin-typia": "workspace:*",
"@types/node": "^20.14.15",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/node": "^20.17.5",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"ts-patch": "^3.2.1",
"tslib": "^2.6.3",
"type-fest": "^4.24.0",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"typescript": "~5.5.4",
"typia": "^6.9.0"
"typia": "^6.11.3"
}
}
20 changes: 10 additions & 10 deletions examples/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@
"prepare": "ts-patch install && typia patch"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.4",
"@sveltejs/adapter-static": "^3.0.4",
"@sveltejs/kit": "^2.5.25",
"@sveltejs/vite-plugin-svelte": "4.0.0-next.6",
"shiki": "^1.14.1",
"svelte": "^5.0.0-next.222",
"svelte-check": "^3.8.5",
"@sveltejs/adapter-auto": "^3.3.1",
"@sveltejs/adapter-static": "^3.0.6",
"@sveltejs/kit": "^2.7.3",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"shiki": "^1.22.2",
"svelte": "^5.1.9",
"svelte-check": "^3.8.6",
"ts-patch": "^3.2.1",
"tslib": "^2.6.3",
"tslib": "^2.8.1",
"typescript": "~5.5.4",
"typia": "^6.9.0",
"vite": "^5.4.1"
"typia": "^6.11.3",
"vite": "^5.4.10"
},
"type": "module",
"dependencies": {
Expand Down
10 changes: 1 addition & 9 deletions examples/sveltekit/src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
<script lang="ts">
import typia, { type tags } from "typia";
import {type IMember, validate} from "./validate";
const { data } = $props();
interface IMember {
id: string & tags.Format<"uuid">;
email: string & tags.Format<"email">;
age: number & tags.ExclusiveMinimum<19> & tags.Maximum<100>;
}
const validate = typia.createValidate<IMember>();
let member = $state<IMember>({
id: crypto.randomUUID(),
email: "[email protected]",
Expand Down
10 changes: 10 additions & 0 deletions examples/sveltekit/src/routes/validate.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import typia, { type tags } from "typia";

export interface IMember {
id: string & tags.Format<"uuid">;
email: string & tags.Format<"email">;
age: number & tags.ExclusiveMinimum<19> & tags.Maximum<100>;
}

export const validate = typia.createValidate<IMember>();

6 changes: 3 additions & 3 deletions examples/vite-hono/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"prepare": "ts-patch install && typia patch"
},
"dependencies": {
"hono": "^4.5.5",
"hono": "^4.6.8",
"uuid": "^9.0.1"
},
"devDependencies": {
Expand All @@ -20,7 +20,7 @@
"@ryoppippi/unplugin-typia": "workspace:*",
"ts-patch": "^3.2.1",
"typescript": "~5.5.4",
"typia": "^6.9.0",
"vite": "^5.4.1"
"typia": "^6.11.3",
"vite": "^5.4.10"
}
}
10 changes: 5 additions & 5 deletions examples/vite-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
},
"devDependencies": {
"@ryoppippi/unplugin-typia": "workspace:*",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/uuid": "^9.0.8",
"@vitejs/plugin-react": "^4.3.1",
"@vitejs/plugin-react": "^4.3.3",
"ts-patch": "^3.2.1",
"typescript": "~5.5.4",
"typia": "^6.9.0",
"vite": "^5.4.1",
"typia": "^6.11.3",
"vite": "^5.4.10",
"vite-plugin-inspect": "^0.8.7"
}
}
14 changes: 7 additions & 7 deletions examples/webpack-minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
"name": "webpack-minimal",
"private": true,
"devDependencies": {
"@types/node": "^20.14.15",
"@types/node": "^20.17.5",
"@webpack-cli/generators": "^3.0.7",
"html-webpack-plugin": "^5.6.0",
"html-webpack-plugin": "^5.6.3",
"prettier": "^3.3.3",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"ts-patch": "^3.2.1",
"tsx": "^4.17.0",
"tsx": "^4.19.2",
"typescript": "~5.5.4",
"webpack": "^5.93.0",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"workbox-webpack-plugin": "^7.1.0"
"webpack-dev-server": "^5.1.0",
"workbox-webpack-plugin": "^7.3.0"
},
"scripts": {
"build": "npm run register-config-webpack-to-ts-node webpack --mode=production --node-env=production",
Expand All @@ -28,6 +28,6 @@
"dependencies": {
"@ryoppippi/unplugin-typia": "workspace:*",
"cross-env": "^7.0.3",
"typia": "^6.9.0"
"typia": "^6.11.3"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"vite-vanilla",
"workerd"
],
"packageManager": "[email protected].24",
"packageManager": "[email protected].33",
"private": true
}
30 changes: 15 additions & 15 deletions packages/unplugin-typia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,36 +40,36 @@
"publish:jsr": "nr test run && nlx pkg-to-jsr && nlx jsr publish --allow-dirty"
},
"dependencies": {
"@rollup/pluginutils": "^5.1.0",
"@rollup/pluginutils": "^5.1.3",
"consola": "^3.2.3",
"defu": "^6.1.4",
"diff-match-patch": "^1.0.5",
"find-cache-dir": "^5.0.0",
"magic-string": "^0.30.11",
"magic-string": "^0.30.12",
"pathe": "^1.1.2",
"pkg-types": "^1.1.3",
"type-fest": "^4.24.0",
"pkg-types": "^1.2.1",
"type-fest": "^4.26.1",
"typescript": "~5.5.4",
"typia": "^6.9.0",
"unplugin": "^1.12.2"
"typia": "^6.11.3",
"unplugin": "^1.15.0"
},
"devDependencies": {
"@antfu/ni": "^0.22.4",
"@ryoppippi/eslint-config": "npm:@jsr/ryoppippi__eslint-config@^0.0.23",
"@std/collections": "npm:@jsr/[email protected]",
"@types/bun": "^1.1.8",
"@types/bun": "^1.1.12",
"@types/diff-match-patch": "^1.0.36",
"@types/node": "^20.14.15",
"@vue-macros/test-utils": "^1.6.0",
"bumpp": "^9.5.1",
"@types/node": "^20.17.5",
"@vue-macros/test-utils": "^1.7.0",
"bumpp": "^9.8.0",
"dax-sh": "^0.41.0",
"esbuild": "^0.23.0",
"eslint": "^9.9.0",
"esbuild": "^0.23.1",
"eslint": "^9.13.0",
"eslint-plugin-format": "^0.1.2",
"rollup": "^4.20.0",
"rollup": "^4.24.3",
"ts-patch": "^3.2.1",
"vite": "^5.4.1",
"vitest": "^2.0.5"
"vite": "^5.4.10",
"vitest": "^2.1.4"
},
"access": "public"
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const random = (() => { const $generator = (typia.createRandom as any).generator
kind: "maximum",
value: 100
}
]) ?? (_generator?.integer ?? $generator.integer)(19, 100)
]) ?? (_generator?.integer ?? $generator.integer)(20, 100)
}); let _generator: any; return (generator?: Partial<typia.IRandomGenerator>): import("typia").Resolved<IMember> => {
_generator = generator;
return $ro0();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const random = (() => {
kind: "maximum",
value: 100
}
]) ?? (_generator?.integer ?? $generator.integer)(19, 100)
]) ?? (_generator?.integer ?? $generator.integer)(20, 100)
});
let _generator;
return (generator) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const random = (() => { const $generator = (typia.createRandom as any).generator
kind: "maximum",
value: 100
}
]) ?? (_generator?.integer ?? $generator.integer)(19, 100)
]) ?? (_generator?.integer ?? $generator.integer)(20, 100)
}); let _generator: any; return (generator?: Partial<typia.IRandomGenerator>): import("typia").Resolved<IMember> => {
_generator = generator;
return $ro0();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const random = (() => {
kind: "maximum",
value: 100
}
]) ?? (_generator?.integer ?? $generator.integer)(19, 100)
]) ?? (_generator?.integer ?? $generator.integer)(20, 100)
});
let _generator;
return (generator) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const random = (() => {
kind: "maximum",
value: 100
}
])) ?? ((_generator == null ? void 0 : _generator.integer) ?? $generator.integer)(19, 100)
])) ?? ((_generator == null ? void 0 : _generator.integer) ?? $generator.integer)(20, 100)
};
};
let _generator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const random = (() => {
kind: "maximum",
value: 100
}
])) ?? ((_generator == null ? void 0 : _generator.integer) ?? $generator.integer)(19, 100)
])) ?? ((_generator == null ? void 0 : _generator.integer) ?? $generator.integer)(20, 100)
};
};
let _generator;
Expand Down

0 comments on commit 42d95eb

Please sign in to comment.