@cedarjs/cli 1.0.0-canary.12639 → 1.0.0-canary.12642

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.
@@ -97,24 +97,26 @@ const handler = async ({ name, force, ...rest }) => {
97
97
  queueName = jobManager.jobs?.queues[0] ?? "default";
98
98
  } catch (_e) {
99
99
  }
100
+ let jobFiles = {};
100
101
  const tasks = new Listr(
101
102
  [
102
103
  {
103
104
  title: "Generating job files...",
104
105
  task: async () => {
105
- const jobFiles = await files({ name, queueName, ...rest });
106
+ jobFiles = await files({ name, queueName, ...rest });
106
107
  return writeFilesTask(jobFiles, { overwriteExisting: force });
107
108
  }
108
109
  },
109
110
  {
110
111
  title: "Cleaning up...",
111
112
  task: () => {
112
- execa.commandSync("yarn", [
113
+ execa.sync("yarn", [
113
114
  "eslint",
114
115
  "--fix",
115
116
  "--config",
116
117
  `${getPaths().base}/node_modules/@cedarjs/eslint-config/shared.js`,
117
- `${getPaths().api.jobsConfig}`
118
+ `${getPaths().api.jobsConfig}`,
119
+ ...Object.keys(jobFiles)
118
120
  ]);
119
121
  }
120
122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "1.0.0-canary.12639+9c5d32826",
3
+ "version": "1.0.0-canary.12642+146a4aff3",
4
4
  "description": "The CedarJS Command Line",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,15 +32,15 @@
32
32
  "dependencies": {
33
33
  "@babel/preset-typescript": "7.27.1",
34
34
  "@babel/runtime-corejs3": "7.27.6",
35
- "@cedarjs/api-server": "1.0.0-canary.12639",
36
- "@cedarjs/cli-helpers": "1.0.0-canary.12639",
37
- "@cedarjs/fastify-web": "1.0.0-canary.12639",
38
- "@cedarjs/internal": "1.0.0-canary.12639",
39
- "@cedarjs/prerender": "1.0.0-canary.12639",
40
- "@cedarjs/project-config": "1.0.0-canary.12639",
41
- "@cedarjs/structure": "1.0.0-canary.12639",
42
- "@cedarjs/telemetry": "1.0.0-canary.12639",
43
- "@cedarjs/web-server": "1.0.0-canary.12639",
35
+ "@cedarjs/api-server": "1.0.0-canary.12642",
36
+ "@cedarjs/cli-helpers": "1.0.0-canary.12642",
37
+ "@cedarjs/fastify-web": "1.0.0-canary.12642",
38
+ "@cedarjs/internal": "1.0.0-canary.12642",
39
+ "@cedarjs/prerender": "1.0.0-canary.12642",
40
+ "@cedarjs/project-config": "1.0.0-canary.12642",
41
+ "@cedarjs/structure": "1.0.0-canary.12642",
42
+ "@cedarjs/telemetry": "1.0.0-canary.12642",
43
+ "@cedarjs/web-server": "1.0.0-canary.12642",
44
44
  "@listr2/prompt-adapter-enquirer": "2.0.16",
45
45
  "@opentelemetry/api": "1.8.0",
46
46
  "@opentelemetry/core": "1.22.0",
@@ -102,5 +102,5 @@
102
102
  "publishConfig": {
103
103
  "access": "public"
104
104
  },
105
- "gitHead": "9c5d3282625fb75be26082f84e147e74b18bc920"
105
+ "gitHead": "146a4aff3633106103d69aa801cd4cb9f9355ba5"
106
106
  }