@cedarjs/cli 8.0.0-canary.3419 → 8.0.0-canary.3421

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.
@@ -7,9 +7,11 @@ const handler = async ({
7
7
  commands: _commands,
8
8
  ...options
9
9
  }) => {
10
- const positionalArgs = Array.isArray(_) ? [..._] : [];
11
- const commandArg = positionalArgs.pop();
12
- const args = [commandArg == null ? "" : String(commandArg)];
10
+ const positionalArgs = (Array.isArray(_) ? _ : []).map(String);
11
+ if (positionalArgs[0] === "jobs") {
12
+ positionalArgs.shift();
13
+ }
14
+ const args = positionalArgs.length > 0 ? positionalArgs : [""];
13
15
  for (const [name, value] of Object.entries(options)) {
14
16
  args.push(name.length > 1 ? `--${name}` : `-${name}`);
15
17
  args.push(String(value));
@@ -23,6 +23,7 @@ model BackgroundJob {
23
23
  lockedBy String?
24
24
  lastError String?
25
25
  failedAt DateTime?
26
+ pausedAt DateTime?
26
27
  createdAt DateTime @default(now())
27
28
  updatedAt DateTime @updatedAt
28
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "8.0.0-canary.3419",
3
+ "version": "8.0.0-canary.3421",
4
4
  "description": "The CedarJS Command Line",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,17 +36,17 @@
36
36
  "@babel/preset-typescript": "7.29.7",
37
37
  "@babel/traverse": "7.29.10",
38
38
  "@babel/types": "7.29.8",
39
- "@cedarjs/api-server": "8.0.0-canary.3419",
40
- "@cedarjs/babel-config": "8.0.0-canary.3419",
41
- "@cedarjs/cli-helpers": "8.0.0-canary.3419",
42
- "@cedarjs/internal": "8.0.0-canary.3419",
43
- "@cedarjs/prerender": "8.0.0-canary.3419",
44
- "@cedarjs/project-config": "8.0.0-canary.3419",
45
- "@cedarjs/structure": "8.0.0-canary.3419",
46
- "@cedarjs/telemetry": "8.0.0-canary.3419",
47
- "@cedarjs/utils": "8.0.0-canary.3419",
48
- "@cedarjs/vite": "8.0.0-canary.3419",
49
- "@cedarjs/web-server": "8.0.0-canary.3419",
39
+ "@cedarjs/api-server": "8.0.0-canary.3421",
40
+ "@cedarjs/babel-config": "8.0.0-canary.3421",
41
+ "@cedarjs/cli-helpers": "8.0.0-canary.3421",
42
+ "@cedarjs/internal": "8.0.0-canary.3421",
43
+ "@cedarjs/prerender": "8.0.0-canary.3421",
44
+ "@cedarjs/project-config": "8.0.0-canary.3421",
45
+ "@cedarjs/structure": "8.0.0-canary.3421",
46
+ "@cedarjs/telemetry": "8.0.0-canary.3421",
47
+ "@cedarjs/utils": "8.0.0-canary.3421",
48
+ "@cedarjs/vite": "8.0.0-canary.3421",
49
+ "@cedarjs/web-server": "8.0.0-canary.3421",
50
50
  "@listr2/prompt-adapter-enquirer": "4.3.3",
51
51
  "@opentelemetry/api": "1.9.1",
52
52
  "@opentelemetry/core": "2.12.0",
@@ -94,7 +94,7 @@
94
94
  "yargs": "17.7.3"
95
95
  },
96
96
  "devDependencies": {
97
- "@cedarjs/framework-tools": "8.0.0-canary.3419",
97
+ "@cedarjs/framework-tools": "8.0.0-canary.3421",
98
98
  "@prisma/dmmf": "7.10.0",
99
99
  "@types/archiver": "^7.0.0",
100
100
  "memfs": "4.80.0",