pneuma-skills 2.4.3 → 2.4.5

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.
Files changed (2) hide show
  1. package/package.json +8 -8
  2. package/vite.config.ts +7 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pneuma-skills",
3
- "version": "2.4.3",
3
+ "version": "2.4.5",
4
4
  "type": "module",
5
5
  "description": "Co-creation infrastructure for humans and code agents — visual environment, skills, continuous learning, and distribution.",
6
6
  "license": "MIT",
@@ -45,11 +45,18 @@
45
45
  "@codemirror/lang-json": "^6.0.2",
46
46
  "@codemirror/lang-markdown": "^6.5.0",
47
47
  "@codemirror/lang-python": "^6.2.1",
48
+ "@dnd-kit/core": "^6.3.1",
49
+ "@dnd-kit/sortable": "^10.0.0",
50
+ "@dnd-kit/utilities": "^3.2.2",
51
+ "@excalidraw/excalidraw": "^0.18.0",
52
+ "@tailwindcss/typography": "^0.5.19",
48
53
  "@tailwindcss/vite": "^4.0.0",
49
54
  "@uiw/react-codemirror": "^4.25.5",
50
55
  "@vitejs/plugin-react": "^4.4.0",
51
56
  "@xterm/addon-fit": "^0.11.0",
52
57
  "@xterm/xterm": "^6.0.0",
58
+ "@xyflow/react": "^12.10.1",
59
+ "@zumer/snapdom": "^2.0.2",
53
60
  "chokidar": "^4.0.0",
54
61
  "diff": "^8.0.3",
55
62
  "hono": "^4.7.0",
@@ -64,17 +71,10 @@
64
71
  "zustand": "^5.0.0"
65
72
  },
66
73
  "devDependencies": {
67
- "@dnd-kit/core": "^6.3.1",
68
- "@dnd-kit/sortable": "^10.0.0",
69
- "@dnd-kit/utilities": "^3.2.2",
70
- "@excalidraw/excalidraw": "^0.18.0",
71
- "@tailwindcss/typography": "^0.5.19",
72
74
  "@types/bun": "^1.2.5",
73
75
  "@types/diff": "^8.0.0",
74
76
  "@types/react": "^19.0.0",
75
77
  "@types/react-dom": "^19.0.0",
76
- "@xyflow/react": "^12.10.1",
77
- "@zumer/snapdom": "^2.0.2",
78
78
  "typescript": "^5.9.3"
79
79
  },
80
80
  "overrides": {
package/vite.config.ts CHANGED
@@ -2,8 +2,11 @@ import { defineConfig, type Plugin, type ViteDevServer } from "vite";
2
2
  import react from "@vitejs/plugin-react";
3
3
  import tailwindcss from "@tailwindcss/vite";
4
4
  import path from "node:path";
5
+ import { createRequire } from "node:module";
5
6
  import { watch } from "chokidar";
6
7
 
8
+ const require = createRequire(import.meta.url);
9
+
7
10
  // External mode path — passed from bin/pneuma.ts via env var
8
11
  const externalModePath = process.env.PNEUMA_EXTERNAL_MODE_PATH;
9
12
 
@@ -137,9 +140,10 @@ export default defineConfig({
137
140
  plugins: [react(), tailwindcss(), pneumaWorkspaceResolve(), pneumaProdUrlsExternal()],
138
141
  resolve: {
139
142
  alias: {
140
- // Ensure external modes use the project's React (prevent duplicate instances)
141
- react: path.resolve(__dirname, "node_modules/react"),
142
- "react-dom": path.resolve(__dirname, "node_modules/react-dom"),
143
+ // Ensure external modes use the project's React (prevent duplicate instances).
144
+ // Use require.resolve to handle hoisted node_modules (e.g. bunx installs).
145
+ react: path.dirname(require.resolve("react/package.json")),
146
+ "react-dom": path.dirname(require.resolve("react-dom/package.json")),
143
147
  },
144
148
  },
145
149
  build: {