@fluxy-chat/create-fluxy-chat 0.5.6 → 0.5.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.8] - 2026-08-19
4
+
5
+ ### Fixed
6
+
7
+ - After `pnpm install`, remove a nested `@fluxy-chat/sdk@0.6.0` (incomplete tarball pulled in by `@fluxy-chat/react@0.1.1`) so Vite uses the complete 0.6.2 package.
8
+
9
+ ## [0.5.7] - 2026-08-19
10
+
11
+ ### Fixed
12
+
13
+ - Remove Vite alias to `@fluxy-chat/ui/dist/index.js` (that path is not in package `exports`; import `@fluxy-chat/ui` instead).
14
+ - Depend on `@fluxy-chat/ui@^0.1.4`.
15
+
3
16
  ## [0.5.6] - 2026-08-19
4
17
 
5
18
  ### Changed
@@ -8,7 +21,7 @@
8
21
 
9
22
  ### Fixed
10
23
 
11
- - Pin Vite to `@fluxy-chat/ui/dist/index.js` and force `@fluxy-chat/sdk@0.6.2` so `pnpm install` + `pnpm dev` work without extra setup.
24
+ - Force `@fluxy-chat/sdk@0.6.2` via pnpm overrides so `pnpm install` + `pnpm dev` work without extra setup.
12
25
  - Depend on `@fluxy-chat/ui@^0.1.3` (valid package exports).
13
26
 
14
27
  ## [0.5.5] - 2026-08-19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxy-chat/create-fluxy-chat",
3
- "version": "0.5.6",
3
+ "version": "0.5.8",
4
4
  "description": "Scaffold a new FluxyChat bot project with a single command",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -11,7 +11,8 @@
11
11
  "dev": "node scripts/fluxy-dev.mjs",
12
12
  "dev:app": "vite",
13
13
  "build": "tsc -b && vite build",
14
- "preview": "vite preview"
14
+ "preview": "vite preview",
15
+ "postinstall": "node scripts/hoist-fluxy-sdk.mjs"
15
16
  },
16
17
  "dependencies": {
17
18
  "@fluxy-chat/react": "^0.1.1",
@@ -38,8 +39,7 @@
38
39
  },
39
40
  "pnpm": {
40
41
  "overrides": {
41
- "@fluxy-chat/sdk": "0.6.2",
42
- "@fluxy-chat/react>@fluxy-chat/sdk": "0.6.2"
42
+ "@fluxy-chat/sdk": "0.6.2"
43
43
  }
44
44
  }
45
45
  }
@@ -0,0 +1,17 @@
1
+ import { existsSync, rmSync } from "node:fs";
2
+ import { join } from "node:path";
3
+
4
+ const nestedSdk = join(
5
+ process.cwd(),
6
+ "node_modules",
7
+ "@fluxy-chat",
8
+ "react",
9
+ "node_modules",
10
+ "@fluxy-chat",
11
+ "sdk",
12
+ );
13
+
14
+ if (existsSync(nestedSdk)) {
15
+ rmSync(nestedSdk, { recursive: true, force: true });
16
+ console.log("[fluxy] removed nested @fluxy-chat/sdk so Vite uses the complete 0.6.2 package");
17
+ }
@@ -3,12 +3,5 @@ import react from "@vitejs/plugin-react";
3
3
 
4
4
  export default defineConfig({
5
5
  plugins: [react()],
6
- resolve: {
7
- alias: {
8
- // @fluxy-chat/ui currently ships an entrypoint Vite cannot resolve reliably.
9
- // Pin to dist js to keep template apps booting consistently.
10
- "@fluxy-chat/ui": "@fluxy-chat/ui/dist/index.js",
11
- },
12
- },
13
6
  server: { port: 5173, open: true },
14
7
  });
@@ -12,7 +12,7 @@
12
12
  "@fluxy-chat/ui-kit": "^0.1.0",
13
13
  "@fluxy-chat/ui": "^0.1.2",
14
14
  "@fluxy-chat/react": "^0.1.1",
15
- "@fluxy-chat/sdk": "^0.6.0",
15
+ "@fluxy-chat/sdk": "^0.6.2",
16
16
  "react": "^19.0.0",
17
17
  "react-dom": "^19.0.0"
18
18
  },
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@fluxy-chat/react": "^0.1.1",
13
- "@fluxy-chat/sdk": "^0.6.0",
13
+ "@fluxy-chat/sdk": "^0.6.2",
14
14
  "react": "^19.0.0",
15
15
  "react-dom": "^19.0.0",
16
16
  "zustand": "^5.0.0"