@cedarjs/cli 0.3.1-next.0 → 0.4.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.
@@ -38,8 +38,8 @@ const tasks = async ({ force }) => {
38
38
  const modelExists = (await getModelNames()).includes("BackgroundJob");
39
39
  const packageJsonPath = path.join(getPaths().base, "package.json");
40
40
  const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, "utf-8"));
41
- const redwoodVersion = packageJson.devDependencies?.["@cedarjs/core"] ?? "latest";
42
- const jobsPackage = `@cedarjs/jobs@${redwoodVersion}`;
41
+ const cedarjsVersion = packageJson.devDependencies?.["@cedarjs/core"] ?? "latest";
42
+ const jobsPackage = `@cedarjs/jobs@${cedarjsVersion}`;
43
43
  return new Listr(
44
44
  [
45
45
  {
@@ -101,7 +101,7 @@ const tasks = async ({ force }) => {
101
101
  Execute jobs with: ${c.highlight("yarn rw jobs work\n")}
102
102
 
103
103
  Check out the docs for more info:
104
- ${c.link("https://docs.redwoodjs.com/docs/background-jobs")}
104
+ ${c.link("https://cedarjs.com/docs/background-jobs")}
105
105
 
106
106
  `;
107
107
  }
@@ -1,6 +1,6 @@
1
1
  // Setup for background jobs. Jobs themselves live in api/src/jobs
2
2
  // Execute jobs in dev with `yarn rw jobs work`
3
- // See https://docs.redwoodjs.com/docs/background-jobs
3
+ // See https://cedarjs.com/docs/background-jobs
4
4
 
5
5
  import { PrismaAdapter, JobManager } from '@cedarjs/jobs'
6
6
 
@@ -79,7 +79,7 @@ const handler = async ({ dryRun, tag, verbose, dedupe }) => {
79
79
  task: async (ctx) => setLatestVersionToContext(ctx, tag)
80
80
  },
81
81
  {
82
- title: "Updating your Cedar version",
82
+ title: "Updating your CedarJS version",
83
83
  task: (ctx) => updateCedarDepsForAllSides(ctx, { dryRun, verbose }),
84
84
  enabled: (ctx) => !!ctx.versionToUpgradeTo
85
85
  },
@@ -120,7 +120,7 @@ const handler = async ({ dryRun, tag, verbose, dedupe }) => {
120
120
  `One more thing...
121
121
 
122
122
  ${c.warning(
123
- `\u{1F389} Your project has been upgraded to Cedar ${version}!`
123
+ `\u{1F389} Your project has been upgraded to CedarJS ${version}!`
124
124
  )}
125
125
 
126
126
  `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "0.3.1-next.0+80dae4601",
3
+ "version": "0.4.0",
4
4
  "description": "The Redwood Command Line",
5
5
  "repository": {
6
6
  "type": "git",
@@ -10,6 +10,8 @@
10
10
  "license": "MIT",
11
11
  "type": "module",
12
12
  "bin": {
13
+ "cedarjs": "./dist/index.js",
14
+ "cj": "./dist/index.js",
13
15
  "redwood": "./dist/index.js",
14
16
  "rw": "./dist/index.js",
15
17
  "rwfw": "./dist/rwfw.js"
@@ -29,15 +31,15 @@
29
31
  },
30
32
  "dependencies": {
31
33
  "@babel/runtime-corejs3": "7.27.6",
32
- "@cedarjs/api-server": "0.3.1-next.0+80dae4601",
33
- "@cedarjs/cli-helpers": "0.3.1-next.0+80dae4601",
34
- "@cedarjs/fastify-web": "0.3.1-next.0+80dae4601",
35
- "@cedarjs/internal": "0.3.1-next.0+80dae4601",
36
- "@cedarjs/prerender": "0.3.1-next.0+80dae4601",
37
- "@cedarjs/project-config": "0.3.1-next.0+80dae4601",
38
- "@cedarjs/structure": "0.3.1-next.0+80dae4601",
39
- "@cedarjs/telemetry": "0.3.1-next.0+80dae4601",
40
- "@cedarjs/web-server": "0.3.1-next.0+80dae4601",
34
+ "@cedarjs/api-server": "0.4.0",
35
+ "@cedarjs/cli-helpers": "0.4.0",
36
+ "@cedarjs/fastify-web": "0.4.0",
37
+ "@cedarjs/internal": "0.4.0",
38
+ "@cedarjs/prerender": "0.4.0",
39
+ "@cedarjs/project-config": "0.4.0",
40
+ "@cedarjs/structure": "0.4.0",
41
+ "@cedarjs/telemetry": "0.4.0",
42
+ "@cedarjs/web-server": "0.4.0",
41
43
  "@listr2/prompt-adapter-enquirer": "2.0.12",
42
44
  "@opentelemetry/api": "1.8.0",
43
45
  "@opentelemetry/core": "1.22.0",
@@ -99,5 +101,5 @@
99
101
  "publishConfig": {
100
102
  "access": "public"
101
103
  },
102
- "gitHead": "80dae4601b6ceb1c13d5477e2664ec1926d0052e"
104
+ "gitHead": "ad5ee33c24ac860307ba4438cd9a97ac7d314dbc"
103
105
  }