@nckrtl/launch-ui 0.0.31 → 0.0.32

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.
@@ -1,6 +1,6 @@
1
1
  //#region src/vite/i18n-plugin.ts
2
2
  const VIRTUAL_MODULE_ID = "virtual:launch-i18n";
3
- const RESOLVED_VIRTUAL_MODULE_ID = "\0virtual:launch-i18n";
3
+ const RESOLVED_VIRTUAL_MODULE_ID = "\0" + VIRTUAL_MODULE_ID;
4
4
  /**
5
5
  * The i18n runtime — a self-contained module.
6
6
  *
package/dist/index.d.mts CHANGED
@@ -82,7 +82,7 @@ type Environment = Record<string, string | undefined>;
82
82
  /**
83
83
  * Assemble all Vite plugins for the Launch React stack
84
84
  */
85
- declare function getPlugins(options: LaunchConfigOptions, env?: Environment): Promise<PluginOption[]>;
85
+ export declare function getPlugins(options: LaunchConfigOptions, env?: Environment): Promise<PluginOption[]>;
86
86
  //#endregion
87
87
  //#region src/vite/index.d.ts
88
88
  /**
@@ -95,10 +95,10 @@ declare function getPlugins(options: LaunchConfigOptions, env?: Environment): Pr
95
95
  * import { defineLaunchConfig } from '@nckrtl/launch-ui/vite';
96
96
  * export default defineLaunchConfig();
97
97
  */
98
- declare function defineLaunchConfig(options?: LaunchConfigOptions): Promise<(env: import("vite").ConfigEnv) => Promise<UserConfig>>;
98
+ export declare function defineLaunchConfig(options?: LaunchConfigOptions): Promise<(env: import("vite").ConfigEnv) => Promise<UserConfig>>;
99
99
  /**
100
100
  * @deprecated Use `defineLaunchConfig` instead.
101
101
  */
102
- declare const defineCraftConfig: typeof defineLaunchConfig;
102
+ export declare const defineCraftConfig: typeof defineLaunchConfig;
103
103
  //#endregion
104
- export { type CraftConfigOptions, type LaunchConfigOptions, defineCraftConfig, defineLaunchConfig, getPlugins };
104
+ export type { CraftConfigOptions, LaunchConfigOptions };
package/dist/index.mjs CHANGED
@@ -130,7 +130,7 @@ async function getPlugins(options, env = process.env) {
130
130
  }));
131
131
  }
132
132
  if (options.i18n) {
133
- const { launchI18nPlugin } = await import("./i18n-plugin-6AdekIa0.mjs");
133
+ const { launchI18nPlugin } = await import("./i18n-plugin-DgxglhrT.mjs");
134
134
  plugins.push(launchI18nPlugin(options.i18n));
135
135
  }
136
136
  plugins.push(launchPublicDevServerUrlPlugin(env));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nckrtl/launch-ui",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
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",
@@ -30,32 +30,47 @@
30
30
  "test": "node --test tests/*.test.ts && vp test src/vite/config.test.ts",
31
31
  "dev": "storybook dev -p 6006",
32
32
  "build": "shadcn build",
33
- "build:lib": "vp pack src/vite/index.ts --dts --format esm --out-dir dist",
33
+ "build:lib": "vp pack src/vite/index.ts --dts --format esm --out-dir dist --deps.neverBundle vite",
34
34
  "build:storybook": "storybook build && rsync -a storybook-static/ public/",
35
35
  "serve": "npx http-server public -p 4100 -c-1 --cors"
36
36
  },
37
37
  "devDependencies": {
38
+ "@base-ui/react": "^1.3.0",
38
39
  "@chromatic-com/storybook": "^5.3.0",
39
40
  "@inertiajs/react": "^3.0.0",
40
- "@storybook/addon-docs": "10.5.6",
41
- "@storybook/addon-themes": "10.5.6",
42
- "@storybook/react-vite": "10.5.6",
41
+ "@storybook/addon-docs": "10.6.1",
42
+ "@storybook/addon-mcp": "10.6.1",
43
+ "@storybook/addon-themes": "10.6.1",
44
+ "@storybook/react-vite": "10.6.1",
43
45
  "@tailwindcss/vite": "^4.2.1",
44
46
  "@types/node": "^24.13.5",
45
47
  "@types/react": "^19.1.0",
46
48
  "@types/react-dom": "^19.1.0",
47
49
  "class-variance-authority": "^0.7.1",
48
50
  "clsx": "^2.1.1",
51
+ "cmdk": "^1.1.1",
52
+ "date-fns": "^4.1.0",
53
+ "embla-carousel-react": "^8.6.0",
54
+ "input-otp": "^1.4.2",
49
55
  "lucide-react": "^0.577.0",
56
+ "next-themes": "^0.4.6",
50
57
  "react": "^19.1.0",
58
+ "react-day-picker": "^9.14.0",
51
59
  "react-dom": "^19.1.0",
60
+ "react-is": "^19.2.4",
61
+ "react-resizable-panels": "^4.7.5",
62
+ "recharts": "^3.8.0",
52
63
  "reselect": "^5.2.0",
53
64
  "shadcn": "^4.1.0",
54
- "storybook": "10.5.6",
65
+ "sonner": "^2.0.7",
66
+ "storybook": "10.6.1",
55
67
  "tailwind-merge": "^3.5.0",
56
68
  "tailwindcss": "^4.2.1",
69
+ "tw-animate-css": "^1.4.0",
57
70
  "typescript": "^5.9.3",
58
- "vite-plus": "^0.2.9"
71
+ "vaul": "^1.1.2",
72
+ "vite": "npm:@voidzero-dev/vite-plus-core@0.3.3",
73
+ "vite-plus": "^0.3.3"
59
74
  },
60
75
  "peerDependencies": {
61
76
  "@inertiajs/vite": "^3.0.0",
@@ -63,29 +78,18 @@
63
78
  "@tailwindcss/vite": "^4.2.0",
64
79
  "@vitejs/plugin-react": "^6.0.0",
65
80
  "laravel-vite-plugin": "^3.0.0",
66
- "vite-plus": "^0.2.1"
81
+ "vite-plus": "^0.2.1 || ^0.3.0"
67
82
  },
68
83
  "peerDependenciesMeta": {
69
84
  "vite-plugin-run": {
70
85
  "optional": true
71
86
  }
72
87
  },
73
- "dependencies": {
74
- "@base-ui/react": "^1.3.0",
75
- "@storybook/addon-mcp": "^0.4.2",
76
- "cmdk": "^1.1.1",
77
- "date-fns": "^4.1.0",
78
- "embla-carousel-react": "^8.6.0",
79
- "input-otp": "^1.4.2",
80
- "next-themes": "^0.4.6",
81
- "react-day-picker": "^9.14.0",
82
- "react-is": "^19.2.4",
83
- "react-resizable-panels": "^4.7.5",
84
- "recharts": "^3.8.0",
85
- "sonner": "^2.0.7",
86
- "tw-animate-css": "^1.4.0",
87
- "vaul": "^1.1.2",
88
- "vite": "^8.0.2"
89
- },
90
- "packageManager": "npm@11.12.1"
88
+ "packageManager": "npm@11.12.1",
89
+ "overrides": {
90
+ "vite": "npm:@voidzero-dev/vite-plus-core@0.3.3",
91
+ "storybook": {
92
+ "vite-plus": "$vite-plus"
93
+ }
94
+ }
91
95
  }