@mondaydotcomorg/z2h-cli 0.3.1 โ†’ 0.4.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": "@mondaydotcomorg/z2h-cli",
3
- "version": "0.3.1",
3
+ "version": "0.4.0",
4
4
  "bin": "./bin/z2h-cli.js",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -25,15 +25,9 @@ The orchestrator routes to `z2h:feature-development`, which handles the typechec
25
25
 
26
26
  ---
27
27
 
28
- ## ๐ŸŒŸ Prefer Frontend Over Backend
28
+ ## ๐ŸŒŸ Data-Fetching Hierarchy
29
29
 
30
- If a request *could* be solved in this app using existing backend endpoints โ€” do that. Backend changes go through a slow PR + Harmony pipeline; frontend changes ship in seconds via `z2h-cli deploy`.
31
-
32
- When uncertain, ask:
33
-
34
- > "Can we do this in the app with existing endpoints, or does it need a backend change?"
35
-
36
- Only escalate to `z2h:backend-feature-development` for genuinely new persisted entities, schemas, write paths, or server-side rules.
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.
37
31
 
38
32
  ---
39
33
 
@@ -12,7 +12,7 @@
12
12
  "react-error-boundary": "^3.1.3"
13
13
  },
14
14
  "devDependencies": {
15
- "@mondaydotcomorg/bigbrain-types": "^0.3.3",
15
+ "@mondaydotcomorg/bigbrain-types": "^0.3.4",
16
16
  "@mondaydotcomorg/mf-api-types": "^0.1.1",
17
17
  "@mondaydotcomorg/trident-toolkit": "^2.9.25",
18
18
  "@mondaydotcomorg/z2h-cli": "__Z2H_CLI_VERSION__",