@nckrtl/launch-ui 0.0.28 → 0.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -9,7 +9,7 @@ import { PluginOption, UserConfig } from "vite-plus";
9
9
  interface LaunchConfigOptions {
10
10
  /** Laravel Vite plugin options */
11
11
  laravel?: {
12
- input?: string[];
12
+ input?: string | string[];
13
13
  /** Files that reload the page. Defaults to `resources/views/**` when `phpReload` is on. */
14
14
  refresh?: boolean | string | string[];
15
15
  ssr?: string;
package/dist/index.mjs CHANGED
@@ -103,7 +103,7 @@ async function getPlugins(options, env = process.env) {
103
103
  importFromConsumer("@tailwindcss/vite")
104
104
  ]);
105
105
  const orbitUrl = orbitDevServerUrl(env);
106
- const input = options.laravel?.input ?? ["resources/js/app.tsx"];
106
+ const input = [options.laravel?.input ?? "resources/js/app.tsx"].flat();
107
107
  const phpReload = options.inertia !== false && options.phpReload !== false;
108
108
  const plugins = [
109
109
  launchAliasPlugin(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nckrtl/launch-ui",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "description": "A React component library and Vite toolchain for building Laravel + React + Inertia apps. Built on Base UI and shadcn.",
5
5
  "author": "nckrtl <nick.retel@gmail.com>",
6
6
  "license": "MIT",
@@ -54,14 +54,16 @@
54
54
  "storybook": "10.5.6",
55
55
  "tailwind-merge": "^3.5.0",
56
56
  "tailwindcss": "^4.2.1",
57
- "typescript": "^5.9.3"
57
+ "typescript": "^5.9.3",
58
+ "vite-plus": "^0.2.9"
58
59
  },
59
60
  "peerDependencies": {
60
61
  "@inertiajs/vite": "^3.0.0",
61
62
  "@laravel/vite-plugin-wayfinder": "^0.1.0",
62
63
  "@tailwindcss/vite": "^4.2.0",
63
64
  "@vitejs/plugin-react": "^6.0.0",
64
- "laravel-vite-plugin": "^3.0.0"
65
+ "laravel-vite-plugin": "^3.0.0",
66
+ "vite-plus": "^0.2.1"
65
67
  },
66
68
  "peerDependenciesMeta": {
67
69
  "vite-plugin-run": {
@@ -83,8 +85,7 @@
83
85
  "sonner": "^2.0.7",
84
86
  "tw-animate-css": "^1.4.0",
85
87
  "vaul": "^1.1.2",
86
- "vite": "^8.0.2",
87
- "vite-plus": "^0.2.9"
88
+ "vite": "^8.0.2"
88
89
  },
89
90
  "packageManager": "npm@11.12.1"
90
91
  }