@getxflow/cli 1.2.0 → 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/README.md CHANGED
@@ -6,9 +6,8 @@ CLI for the [XFlow](https://getxflow.com) platform: source sync, builds and rele
6
6
  npm i -g @getxflow/cli
7
7
  xflow login
8
8
  xflow init my-app
9
- cd my-app && npm install
9
+ cd my-app/apps/my-app && npm install && xflow dev
10
10
  xflow deploy -m "First version"
11
- xflow publish
12
11
  ```
13
12
 
14
13
  Requires Node 20+. The package has no dependencies: it holds an access key, and nobody
@@ -79,6 +79,7 @@ async function awaitConfirmation(client, start) {
79
79
  const others = (0, credentials_1.listOrgs)(client.apiUrl).length - 1;
80
80
  if (others > 0)
81
81
  (0, ui_1.note)((0, ui_1.dim)(` ${others} more stored: xflow org`));
82
+ (0, ui_1.note)((0, ui_1.dim)(' Documentation: https://docs.getxflow.com'));
82
83
  return;
83
84
  }
84
85
  }
@@ -70,7 +70,7 @@ async function connectionsList(args) {
70
70
  const data = await (0, api_1.apiJson)(client, endpoint(projectId));
71
71
  if (data.connections.length === 0) {
72
72
  (0, ui_1.note)('No connections you can use in this organization');
73
- (0, ui_1.note)((0, ui_1.dim)(' Somebody connects an account first: platform settings, Connectors'));
73
+ (0, ui_1.note)((0, ui_1.dim)(' Somebody connects an account first: Integrations in the xflow sidebar'));
74
74
  return;
75
75
  }
76
76
  (0, ui_1.table)(data.connections.map((row) => [
@@ -95,7 +95,7 @@ async function init(args) {
95
95
  (0, ui_1.note)((0, ui_1.dim)(` Its database goes to the own server "${project.server.name}"`));
96
96
  (0, ui_1.out)('');
97
97
  (0, ui_1.out)(` ${(0, ui_1.bold)('Next:')}`);
98
- (0, ui_1.out)(` cd ${(0, node_path_1.basename)(target)} && npm install # functions`);
98
+ (0, ui_1.out)(` cd ${(0, node_path_1.basename)(target)}`);
99
99
  if (folder) {
100
100
  (0, ui_1.out)(` cd ${config_1.APPS_DIR}/${folder} && npm install && xflow dev # the app on 127.0.0.1:3000`);
101
101
  (0, ui_1.out)(` xflow deploy ${config_1.APPS_DIR}/${folder} -m "First version"`);