@cedarjs/cli 2.0.0-rc.24 → 2.0.1-next.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/commands/upgrade.js +4 -2
- package/package.json +11 -11
package/dist/commands/upgrade.js
CHANGED
|
@@ -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
|
|
91
|
+
const prompt = task.prompt(ListrEnquirerPromptAdapter);
|
|
92
|
+
const proceed = await prompt.run({
|
|
91
93
|
type: "Confirm",
|
|
92
|
-
message: "This will upgrade your
|
|
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.
|
|
3
|
+
"version": "2.0.1-next.0+983862959",
|
|
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.
|
|
35
|
-
"@cedarjs/cli-helpers": "2.0.
|
|
36
|
-
"@cedarjs/fastify-web": "2.0.
|
|
37
|
-
"@cedarjs/internal": "2.0.
|
|
38
|
-
"@cedarjs/prerender": "2.0.
|
|
39
|
-
"@cedarjs/project-config": "2.0.
|
|
40
|
-
"@cedarjs/structure": "2.0.
|
|
41
|
-
"@cedarjs/telemetry": "2.0.
|
|
42
|
-
"@cedarjs/web-server": "2.0.
|
|
34
|
+
"@cedarjs/api-server": "2.0.1-next.0+983862959",
|
|
35
|
+
"@cedarjs/cli-helpers": "2.0.1-next.0+983862959",
|
|
36
|
+
"@cedarjs/fastify-web": "2.0.1-next.0+983862959",
|
|
37
|
+
"@cedarjs/internal": "2.0.1-next.0+983862959",
|
|
38
|
+
"@cedarjs/prerender": "2.0.1-next.0+983862959",
|
|
39
|
+
"@cedarjs/project-config": "2.0.1-next.0+983862959",
|
|
40
|
+
"@cedarjs/structure": "2.0.1-next.0+983862959",
|
|
41
|
+
"@cedarjs/telemetry": "2.0.1-next.0+983862959",
|
|
42
|
+
"@cedarjs/web-server": "2.0.1-next.0+983862959",
|
|
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": "
|
|
104
|
+
"gitHead": "983862959e80f68d2c206ee1d197f0524f167289"
|
|
105
105
|
}
|