@getxflow/cli 1.5.0 → 1.7.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/dist/limits.js CHANGED
@@ -4,12 +4,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.limitLine = limitLine;
5
5
  exports.quotaRows = quotaRows;
6
6
  const DENIAL_LABELS = {
7
- limit_projects: 'projects, the platform cap',
7
+ limit_projects: 'new projects today, the platform cap (resets at 00:00 UTC)',
8
8
  limit_apps: 'apps',
9
9
  plan_app_access: 'access levels of apps',
10
10
  functions_stopped: 'function minutes, the functions of the organization are stopped',
11
11
  limit_connections: 'active connector connections',
12
- limit_pages: 'public pages',
13
12
  limit_functions: 'cloud functions',
14
13
  limit_builds: 'builds this month',
15
14
  limit_builds_concurrent: 'builds running at once',
@@ -32,30 +31,31 @@ function limitLine(detail) {
32
31
  : detail.code === 'limit_schedule_interval'
33
32
  ? `, every ${detail.used} min against a ${detail.limit} min minimum`
34
33
  : `, ${detail.used} of ${detail.limit} used`;
35
- return `Plan limit: ${label}${numbers}. Repeating the same command will not help.`;
34
+ const tail = detail.code === 'limit_projects' ? 'Repeating it before then will not help.' : 'Repeating the same command will not help.';
35
+ return `Plan limit: ${label}${numbers}. ${tail}`;
36
36
  }
37
37
  const QUOTA_ORDER = [
38
38
  'apps',
39
39
  'connections',
40
- 'pages',
41
40
  'functions',
42
41
  'schedules',
43
42
  'people',
44
43
  'database_mb',
45
44
  'files_mb',
46
45
  'function_minutes',
46
+ 'db_hours',
47
47
  'builds',
48
48
  ];
49
49
  const QUOTA_LABELS = {
50
50
  apps: 'Apps',
51
51
  connections: 'Active connections',
52
- pages: 'Public pages',
53
52
  functions: 'Cloud functions',
54
53
  schedules: 'Schedules',
55
54
  people: 'People',
56
55
  database_mb: 'Database',
57
56
  files_mb: 'Files',
58
57
  function_minutes: 'Function minutes',
58
+ db_hours: 'Database hours',
59
59
  builds: 'Builds this month',
60
60
  };
61
61
  /** Decimal units, 1000 MB per GB: matches how volumes are sold. */
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.5.0';
5
+ exports.CLI_VERSION = '1.7.0';
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,24 +1,24 @@
1
- {
2
- "name": "@getxflow/cli",
3
- "version": "1.5.0",
4
- "description": "CLI for the XFlow platform: projects with apps, functions and a database; source sync, deployment and publishing",
5
- "license": "UNLICENSED",
6
- "engines": {
7
- "node": ">=22"
8
- },
9
- "bin": {
10
- "xflow": "dist/bin.js"
11
- },
12
- "files": [
13
- "dist",
14
- "skills"
15
- ],
16
- "scripts": {
17
- "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
18
- "build": "npm run clean && tsc -p tsconfig.json",
19
- "prepublishOnly": "npm run build"
20
- },
21
- "publishConfig": {
22
- "access": "public"
23
- }
24
- }
1
+ {
2
+ "name": "@getxflow/cli",
3
+ "version": "1.7.0",
4
+ "description": "CLI for the XFlow platform: projects with apps, functions and a database; source sync, deployment and publishing",
5
+ "license": "UNLICENSED",
6
+ "engines": {
7
+ "node": ">=22"
8
+ },
9
+ "bin": {
10
+ "xflow": "dist/bin.js"
11
+ },
12
+ "files": [
13
+ "dist",
14
+ "skills"
15
+ ],
16
+ "scripts": {
17
+ "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
18
+ "build": "npm run clean && tsc -p tsconfig.json",
19
+ "prepublishOnly": "npm run build"
20
+ },
21
+ "publishConfig": {
22
+ "access": "public"
23
+ }
24
+ }