@mondaydotcomorg/z2h-cli 0.5.0 → 0.5.2

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 +1 @@
1
- {"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../../src/shadow/scaffold.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AA0G9C;;;GAGG;AACH,wBAAsB,cAAc,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAYvG"}
1
+ {"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../../src/shadow/scaffold.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAyG9C;;;GAGG;AACH,wBAAsB,cAAc,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAYvG"}
@@ -1,8 +1,7 @@
1
1
  import path from 'node:path';
2
2
  import { ensureDir, writeFile, writeJson } from 'fs-extra';
3
3
 
4
- const WRAPPER_TEMPLATE = `import '@vibe/core/tokens';
5
- import ConsumerApp from '../../src/index';
4
+ const WRAPPER_TEMPLATE = `import ConsumerApp from '../../src/index';
6
5
  import React from 'react';
7
6
  import * as ReactDOM from 'react-dom/client';
8
7
  import { ErrorBoundary } from 'react-error-boundary';
@@ -1 +1 @@
1
- {"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../src/shadow/scaffold.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AA0G9C;;;GAGG;AACH,wBAAsB,cAAc,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAYvG"}
1
+ {"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../src/shadow/scaffold.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAyG9C;;;GAGG;AACH,wBAAsB,cAAc,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAYvG"}
@@ -7,8 +7,7 @@ const _interopDefault = e => e && e.__esModule ? e : { default: e };
7
7
 
8
8
  const path__default = /*#__PURE__*/_interopDefault(path);
9
9
 
10
- const WRAPPER_TEMPLATE = `import '@vibe/core/tokens';
11
- import ConsumerApp from '../../src/index';
10
+ const WRAPPER_TEMPLATE = `import ConsumerApp from '../../src/index';
12
11
  import React from 'react';
13
12
  import * as ReactDOM from 'react-dom/client';
14
13
  import { ErrorBoundary } from 'react-error-boundary';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mondaydotcomorg/z2h-cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "bin": "./bin/z2h-cli.js",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -63,6 +63,9 @@
63
63
  "typescript": "^5.7.2",
64
64
  "vitest": "^2.1.4"
65
65
  },
66
+ "engines": {
67
+ "node": ">=24"
68
+ },
66
69
  "repository": {
67
70
  "type": "git",
68
71
  "url": "https://github.com/DaPulse/bigbrain-z2h.git",
@@ -2,8 +2,7 @@ import path from 'node:path';
2
2
  import { ensureDir, writeFile, writeJson } from 'fs-extra';
3
3
  import type { ConsumerPaths } from '../types';
4
4
 
5
- const WRAPPER_TEMPLATE = `import '@vibe/core/tokens';
6
- import ConsumerApp from '../../src/index';
5
+ const WRAPPER_TEMPLATE = `import ConsumerApp from '../../src/index';
7
6
  import React from 'react';
8
7
  import * as ReactDOM from 'react-dom/client';
9
8
  import { ErrorBoundary } from 'react-error-boundary';
@@ -27,7 +27,7 @@ The orchestrator routes to `z2h:feature-development`, which handles the typechec
27
27
 
28
28
  ## 🌟 Data-Fetching Hierarchy
29
29
 
30
- When a request needs data, follow `z2h:coding-standards-mf` §0: write a `runQuery` helper for Snowflake data (TS module using `getBigBrainAPI()` for React apps; vanilla `<script>` using `window.location.origin` for html-embed apps), write a client-side fetch for other browser-accessible sources, or tell the user to reach out at `#zero-to-hero` if the data needs an API key or server-side access. Backend changes to `bigbrain-zth` are not in scope.
30
+ When a request needs data, follow `z2h:coding-standards-mf` §0: write a `runQuery` helper for Snowflake data (TS module using `getBigBrainAPI()` for React apps; vanilla `<script>` using `window.location.origin` for html-embed apps), write a client-side fetch for other browser-accessible sources, or tell the user to reach out at `#ask-zero-to-hero` if the data needs an API key or server-side access. Backend changes to `bigbrain-zth` are not in scope.
31
31
 
32
32
  ---
33
33