@getxflow/cli 1.2.1 → 1.2.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.
package/dist/version.js CHANGED
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DEFAULT_API_URL = exports.CLI_VERSION = void 0;
4
4
  /** Keep in sync with cli/package.json. */
5
- exports.CLI_VERSION = '1.2.1';
5
+ exports.CLI_VERSION = '1.2.2';
6
6
  /** Overridden by XFLOW_API_URL or the `api` field in xflow.json. */
7
7
  exports.DEFAULT_API_URL = 'https://app.getxflow.com';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getxflow/cli",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "CLI for the XFlow platform: projects with apps, functions and a database; source sync, deployment and publishing",
5
5
  "license": "UNLICENSED",
6
6
  "engines": {
@@ -27,7 +27,7 @@ instead of guessing; give the person https://docs.getxflow.com when they ask how
27
27
 
28
28
  ## Keeping these instructions current
29
29
 
30
- These instructions ship with xflow CLI 1.2.1, so the copy you are reading can be older than
30
+ These instructions ship with xflow CLI 1.2.2, so the copy you are reading can be older than
31
31
  the CLI answering your commands.
32
32
 
33
33
  When the CLI says this file does not match it, run `xflow skills --refresh` and then **read
@@ -204,7 +204,7 @@ An app:
204
204
  - No keys or tokens in the sources, no server modules (`fs`, `express`, `http`, `child_process`).
205
205
  - Outside `src/components/ui` and `src/components/blocks`: no `alert()`, `confirm()`,
206
206
  `prompt()` (use Dialog and Toast), no `console.log` (visitors read the console;
207
- `console.error` and `console.warn` reach the logs).
207
+ only crashes and 5xx reach the logs).
208
208
  - A library that needs a provider (`@tanstack/react-query`, `react-redux`, `sonner`,
209
209
  `react-hot-toast`, `react-dnd`) must have it mounted. A missing provider builds fine and
210
210
  gives visitors a white screen.