Skip to content

Commit

Permalink
feat: Change unplugin-typia import path to @ryoppippi/unplugin-typia
Browse files Browse the repository at this point in the history
This commit changes the import path of unplugin-typia to
@ryoppippi/unplugin-typia in various files. This includes changes in
vite.config.ts files and package.json files across different examples.
The change is necessary to reflect the new package name in the
workspace.
  • Loading branch information
ryoppippi committed Jun 9, 2024
1 parent ebc81fc commit e74552f
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 7 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/esbuild/build.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable no-console, unicorn/prefer-top-level-await */

import { build } from 'esbuild'
import UnpluginTypia from 'unplugin-typia/esbuild';
import UnpluginTypia from '@ryoppippi/unplugin-typia/esbuild';
import $ from 'dax-sh';

const outDir = 'dist' as const
Expand Down
2 changes: 1 addition & 1 deletion examples/sveltekit/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { sveltekit } from "@sveltejs/kit/vite";
import { defineConfig } from "vite";
import UnpluginTypia from "../../packages/unplugin-typia/src/vite";
import UnpluginTypia from "@ryoppippi/unplugin-typia/vite";

export default defineConfig({
clearScreen: false,
Expand Down
3 changes: 2 additions & 1 deletion examples/vite-hono/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"ts-patch": "^3.1.2",
"typescript": "^5.4.5",
"typia": "^6.0.6",
"vite": "^5.2.12"
"vite": "^5.2.12",
"@ryoppippi/unplugin-typia": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion examples/vite-hono/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import devServer from '@hono/vite-dev-server'
import pages from '@hono/vite-cloudflare-pages'
import { defineConfig } from "vite";
import UnpluginTypia from "../../packages/unplugin-typia/src/vite";
import UnpluginTypia from "@ryoppippi/unplugin-typia/vite";

const entry = "main.ts";
export default defineConfig({
Expand Down
3 changes: 2 additions & 1 deletion examples/vite-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"ts-patch": "^3.1.2",
"typescript": "^5.4.5",
"typia": "^6.0.6",
"vite": "^5.2.0"
"vite": "^5.2.0",
"@ryoppippi/unplugin-typia": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion examples/vite-react/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import UnpluginTypia from "../../packages/unplugin-typia/src/vite";
import UnpluginTypia from "@ryoppippi/unplugin-typia/vite";

// https://vitejs.dev/config/
export default defineConfig({
Expand Down
2 changes: 1 addition & 1 deletion examples/vite-vanilla/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineConfig } from "vite";
import Inspect from "vite-plugin-inspect";
import UnpluginTypia from "unplugin-typia/vite";
import UnpluginTypia from "@ryoppippi/unplugin-typia/vite";

export default defineConfig({
clearScreen: false,
Expand Down

0 comments on commit e74552f

Please sign in to comment.