@nckrtl/launch-ui 0.0.29 → 0.0.31
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 +1 -1
- package/dist/index.mjs +1 -9
- package/package.json +1 -1
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 ??
|
|
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(),
|
|
@@ -229,14 +229,6 @@ async function getArtisanRunners() {
|
|
|
229
229
|
try {
|
|
230
230
|
const { run } = await importFromConsumer("vite-plugin-run");
|
|
231
231
|
return run([{
|
|
232
|
-
name: "waymaker",
|
|
233
|
-
run: [
|
|
234
|
-
"php",
|
|
235
|
-
"artisan",
|
|
236
|
-
"waymaker:generate"
|
|
237
|
-
],
|
|
238
|
-
pattern: ["app/**/Http/**/*.php"]
|
|
239
|
-
}, {
|
|
240
232
|
name: "typescript",
|
|
241
233
|
run: [
|
|
242
234
|
"php",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nckrtl/launch-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.31",
|
|
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",
|