@ultrst-armada/floks 1.1.2 → 1.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/floks",
3
- "version": "1.1.2",
3
+ "version": "1.2.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -44,11 +44,18 @@
44
44
  "default": "./packages/contracts/dist/index.js"
45
45
  }
46
46
  },
47
+ "scripts": {
48
+ "build": "pnpm -r run build",
49
+ "postbuild": "node -e \"import('fs').then(fs => { for (const pkg of fs.readdirSync('packages')) { const d = 'packages/' + pkg + '/dist'; if (!fs.existsSync(d)) continue; for (const f of fs.readdirSync(d, { recursive: true })) { const p = d + '/' + f; if (fs.statSync(p).isFile() && (p.endsWith('.js') || p.endsWith('.d.ts'))) { const c = fs.readFileSync(p, 'utf8'); const n = c.replaceAll('@kloks/', '@ultrst-armada/kloks/').replaceAll('@floks/', '@ultrst-armada/floks/').replaceAll('@ultrst/kloks/', '@ultrst-armada/kloks/').replaceAll('@ultrst/floks/', '@ultrst-armada/floks/').replaceAll('\\\"kloks/', '\\\"@ultrst-armada/kloks/').replaceAll('\\'kloks/', '\\'@ultrst-armada/kloks/').replaceAll('\\\"floks/', '\\\"@ultrst-armada/floks/').replaceAll('\\'floks/', '\\'@ultrst-armada/floks/'); if (c !== n) fs.writeFileSync(p, n); } } } })\"",
50
+ "test": "vitest run",
51
+ "typecheck": "pnpm -r run typecheck",
52
+ "clean": "pnpm -r run clean"
53
+ },
47
54
  "dependencies": {
48
55
  "zod": "^3.24.1"
49
56
  },
50
57
  "peerDependencies": {
51
- "@ultrst-armada/kloks": "^1.0.2",
58
+ "@ultrst-armada/kloks": "^1.0.2 || ^1.4.0",
52
59
  "lucide-react": ">=0.300.0",
53
60
  "react": "^18.0.0 || ^19.0.0",
54
61
  "react-dom": "^18.0.0 || ^19.0.0"
@@ -57,7 +64,7 @@
57
64
  "@types/node": "^22.0.0",
58
65
  "@types/react": "^19.0.0",
59
66
  "@types/react-dom": "^19.0.0",
60
- "@ultrst-armada/kloks": "^1.0.2",
67
+ "@ultrst-armada/kloks": "^1.4.0",
61
68
  "lucide-react": "^1.55.0",
62
69
  "react": "^19.0.1",
63
70
  "react-dom": "^19.0.1",
@@ -65,11 +72,10 @@
65
72
  "typescript": "^5.7.3",
66
73
  "vitest": "^3.1.0"
67
74
  },
68
- "scripts": {
69
- "build": "pnpm -r run build",
70
- "postbuild": "node -e \"import('fs').then(fs => { for (const pkg of fs.readdirSync('packages')) { const d = 'packages/' + pkg + '/dist'; if (!fs.existsSync(d)) continue; for (const f of fs.readdirSync(d, { recursive: true })) { const p = d + '/' + f; if (fs.statSync(p).isFile() && (p.endsWith('.js') || p.endsWith('.d.ts'))) { const c = fs.readFileSync(p, 'utf8'); const n = c.replaceAll('@kloks/', '@ultrst-armada/kloks/').replaceAll('@floks/', '@ultrst-armada/floks/').replaceAll('@ultrst/kloks/', '@ultrst-armada/kloks/').replaceAll('@ultrst/floks/', '@ultrst-armada/floks/').replaceAll('\\\"kloks/', '\\\"@ultrst-armada/kloks/').replaceAll('\\'kloks/', '\\'@ultrst-armada/kloks/').replaceAll('\\\"floks/', '\\\"@ultrst-armada/floks/').replaceAll('\\'floks/', '\\'@ultrst-armada/floks/'); if (c !== n) fs.writeFileSync(p, n); } } } })\"",
71
- "test": "vitest run",
72
- "typecheck": "pnpm -r run typecheck",
73
- "clean": "pnpm -r run clean"
74
- }
75
- }
75
+ "pnpm": {
76
+ "overrides": {
77
+ "@ultrst-armada/kloks": "file:../Kloks"
78
+ }
79
+ },
80
+ "packageManager": "pnpm@9.15.0"
81
+ }
@@ -1,14 +1,14 @@
1
+ import {
2
+ DockBar,
3
+ DockItem,
4
+ useDock
5
+ } from "./chunk-6VB74RCH.js";
1
6
  import {
2
7
  CanvasViewport,
3
8
  InfiniteCanvas,
4
9
  MiniMap,
5
10
  useCanvas
6
11
  } from "./chunk-34YRDZPJ.js";
7
- import {
8
- DockBar,
9
- DockItem,
10
- useDock
11
- } from "./chunk-6VB74RCH.js";
12
12
  import {
13
13
  MonacoEditor,
14
14
  skipoDarkTheme,
@@ -30,6 +30,12 @@ import {
30
30
  useCanvas2DCoordinates,
31
31
  useCanvas2DMagnetic
32
32
  } from "./chunk-XVAHT5WE.js";
33
+ import {
34
+ Tile,
35
+ TileCreateButton,
36
+ TileGrid,
37
+ useTileMenu
38
+ } from "./chunk-SA3JADUG.js";
33
39
  import {
34
40
  PredictiveGhostNodeCard,
35
41
  PredictiveHudToolbar,
@@ -46,12 +52,6 @@ import {
46
52
  getSocketScreenPosition,
47
53
  renderSpriteIcon
48
54
  } from "./chunk-U2SC3RMJ.js";
49
- import {
50
- Tile,
51
- TileCreateButton,
52
- TileGrid,
53
- useTileMenu
54
- } from "./chunk-SA3JADUG.js";
55
55
 
56
56
  // src/node-graph-ui/widgets/MidpointWidgets.tsx
57
57
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";