@cedarjs/cli 2.0.0-rc.24 → 2.0.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.
@@ -1,4 +1,5 @@
1
1
  import path from "path";
2
+ import { ListrEnquirerPromptAdapter } from "@listr2/prompt-adapter-enquirer";
2
3
  import execa from "execa";
3
4
  import fs from "fs-extra";
4
5
  import latestVersion from "latest-version";
@@ -87,9 +88,10 @@ const handler = async ({ dryRun, tag, verbose, dedupe, yes }) => {
87
88
  task.skip("Skipping confirmation prompt because of --yes flag.");
88
89
  return;
89
90
  }
90
- const proceed = await task.prompt({
91
+ const prompt = task.prompt(ListrEnquirerPromptAdapter);
92
+ const proceed = await prompt.run({
91
93
  type: "Confirm",
92
- message: "This will upgrade your RedwoodJS project to the latest version. Do you want to proceed?",
94
+ message: "This will upgrade your CedarJS project to the latest version. Do you want to proceed?",
93
95
  initial: "Y",
94
96
  default: "(Yes/no)",
95
97
  format: function(value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "2.0.0-rc.24",
3
+ "version": "2.0.0",
4
4
  "description": "The CedarJS Command Line",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,15 +31,15 @@
31
31
  "dependencies": {
32
32
  "@babel/preset-typescript": "7.27.1",
33
33
  "@babel/runtime-corejs3": "7.27.6",
34
- "@cedarjs/api-server": "2.0.0-rc.24",
35
- "@cedarjs/cli-helpers": "2.0.0-rc.24",
36
- "@cedarjs/fastify-web": "2.0.0-rc.24",
37
- "@cedarjs/internal": "2.0.0-rc.24",
38
- "@cedarjs/prerender": "2.0.0-rc.24",
39
- "@cedarjs/project-config": "2.0.0-rc.24",
40
- "@cedarjs/structure": "2.0.0-rc.24",
41
- "@cedarjs/telemetry": "2.0.0-rc.24",
42
- "@cedarjs/web-server": "2.0.0-rc.24",
34
+ "@cedarjs/api-server": "2.0.0",
35
+ "@cedarjs/cli-helpers": "2.0.0",
36
+ "@cedarjs/fastify-web": "2.0.0",
37
+ "@cedarjs/internal": "2.0.0",
38
+ "@cedarjs/prerender": "2.0.0",
39
+ "@cedarjs/project-config": "2.0.0",
40
+ "@cedarjs/structure": "2.0.0",
41
+ "@cedarjs/telemetry": "2.0.0",
42
+ "@cedarjs/web-server": "2.0.0",
43
43
  "@listr2/prompt-adapter-enquirer": "2.0.16",
44
44
  "@opentelemetry/api": "1.8.0",
45
45
  "@opentelemetry/core": "1.22.0",
@@ -101,5 +101,5 @@
101
101
  "publishConfig": {
102
102
  "access": "public"
103
103
  },
104
- "gitHead": "ce96a12c39646361695a287b05eee7ec92aab200"
104
+ "gitHead": "8ca868abf6694a49d0745a41437a60328aba31a4"
105
105
  }