Skip to content

Commit

Permalink
Merge pull request #63 from ryoppippi/feature/rename-packages
Browse files Browse the repository at this point in the history
Refactor package import name from `unplugin-typia` to `@ryoppippi/unplugin-typia`
  • Loading branch information
ryoppippi authored Jun 9, 2024
2 parents 755bcad + e74552f commit 4cfcfa2
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 15 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/bun-build/build.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UnpluginTypia from 'unplugin-typia/bun'
import UnpluginTypia from '@ryoppippi/unplugin-typia/bun'

await Bun.build({
entrypoints: ["./index.ts" ,"./index.build.ts"],
Expand Down
2 changes: 1 addition & 1 deletion examples/bun-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"ts-patch": "^3.1.2",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"unplugin-typia": "workspace:*"
"@ryoppippi/unplugin-typia": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion examples/bun-build/preload.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { plugin } from 'bun';
import UnpluginTypia from 'unplugin-typia/bun'
import UnpluginTypia from '@ryoppippi/unplugin-typia/bun'

plugin(UnpluginTypia({cache: false}))
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/esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"ts-patch": "^3.1.2",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"unplugin-typia": "workspace:*"
"@ryoppippi/unplugin-typia": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion examples/nextjs/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import unTypiaNext from "unplugin-typia/next";
import unTypiaNext from "@ryoppippi/unplugin-typia/next";

/** @type {import('next').NextConfig} */
export default unTypiaNext({})
2 changes: 1 addition & 1 deletion examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"type-fest": "^4.19.0",
"typescript": "^5.0.0",
"typia": "^6.0.6",
"unplugin-typia": "workspace:*"
"@ryoppippi/unplugin-typia": "workspace:*"
}
}
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/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"ts-patch": "^3.1.2",
"typescript": "^5.4.5",
"typia": "^6.0.6",
"unplugin-typia": "workspace:*"
"@ryoppippi/unplugin-typia": "workspace:*"
}
}
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
2 changes: 1 addition & 1 deletion packages/unplugin-typia/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "unplugin-typia",
"name": "@ryoppippi/unplugin-typia",
"type": "module",
"version": "0.3.8",
"description": "unplugin for typia",
Expand Down

0 comments on commit 4cfcfa2

Please sign in to comment.