@cedarjs/cli 1.0.0-canary.12874 → 1.0.0-canary.12878

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.
@@ -15,7 +15,7 @@ const command = "upgrade";
15
15
  const description = "Upgrade all @cedarjs packages via interactive CLI";
16
16
  const builder = (yargs) => {
17
17
  yargs.example(
18
- "rw upgrade -t 0.20.1-canary.5",
18
+ "cedar upgrade -t 0.20.1-canary.5",
19
19
  "Specify a version. URL for Version History:\nhttps://www.npmjs.com/package/@cedarjs/core"
20
20
  ).option("dry-run", {
21
21
  alias: "d",
@@ -23,7 +23,7 @@ const builder = (yargs) => {
23
23
  type: "boolean"
24
24
  }).option("tag", {
25
25
  alias: "t",
26
- description: '[choices: "latest", "rc", "next", "canary", "experimental", or a specific-version (see example below)] WARNING: "canary", "rc" and "experimental" are unstable releases! And "canary" releases include breaking changes often requiring codemods if upgrading a project.',
26
+ description: '[choices: "latest", "rc", "next", "canary", "experimental", or a specific-version (see example below)] WARNING: "canary", "rc" and "experimental" are unstable releases! And "canary" releases include breaking changes often requiring changes to your codebase when upgrading a project.',
27
27
  requiresArg: true,
28
28
  type: "string",
29
29
  coerce: validateTag
@@ -88,6 +88,12 @@ const handler = async ({ dryRun, tag, verbose, dedupe, yes }) => {
88
88
  task.skip("Skipping confirmation prompt because of --yes flag.");
89
89
  return;
90
90
  }
91
+ if (tag) {
92
+ task.skip(
93
+ "Skipping confirmation prompt because a specific tag is specified."
94
+ );
95
+ return;
96
+ }
91
97
  const prompt = task.prompt(ListrEnquirerPromptAdapter);
92
98
  const proceed = await prompt.run({
93
99
  type: "Confirm",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "1.0.0-canary.12874+41c73f98d",
3
+ "version": "1.0.0-canary.12878+f85adba57",
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": "1.0.0-canary.12874",
35
- "@cedarjs/cli-helpers": "1.0.0-canary.12874",
36
- "@cedarjs/fastify-web": "1.0.0-canary.12874",
37
- "@cedarjs/internal": "1.0.0-canary.12874",
38
- "@cedarjs/prerender": "1.0.0-canary.12874",
39
- "@cedarjs/project-config": "1.0.0-canary.12874",
40
- "@cedarjs/structure": "1.0.0-canary.12874",
41
- "@cedarjs/telemetry": "1.0.0-canary.12874",
42
- "@cedarjs/web-server": "1.0.0-canary.12874",
34
+ "@cedarjs/api-server": "1.0.0-canary.12878",
35
+ "@cedarjs/cli-helpers": "1.0.0-canary.12878",
36
+ "@cedarjs/fastify-web": "1.0.0-canary.12878",
37
+ "@cedarjs/internal": "1.0.0-canary.12878",
38
+ "@cedarjs/prerender": "1.0.0-canary.12878",
39
+ "@cedarjs/project-config": "1.0.0-canary.12878",
40
+ "@cedarjs/structure": "1.0.0-canary.12878",
41
+ "@cedarjs/telemetry": "1.0.0-canary.12878",
42
+ "@cedarjs/web-server": "1.0.0-canary.12878",
43
43
  "@listr2/prompt-adapter-enquirer": "2.0.16",
44
44
  "@opentelemetry/api": "1.8.0",
45
45
  "@opentelemetry/core": "1.22.0",
@@ -47,7 +47,7 @@
47
47
  "@opentelemetry/resources": "1.22.0",
48
48
  "@opentelemetry/sdk-trace-node": "1.22.0",
49
49
  "@opentelemetry/semantic-conventions": "1.22.0",
50
- "@prisma/internals": "6.19.0",
50
+ "@prisma/internals": "6.19.1",
51
51
  "ansis": "4.1.0",
52
52
  "archiver": "7.0.1",
53
53
  "boxen": "5.1.2",
@@ -74,7 +74,7 @@
74
74
  "pluralize": "8.0.0",
75
75
  "portfinder": "1.0.38",
76
76
  "prettier": "3.6.2",
77
- "prisma": "6.19.0",
77
+ "prisma": "6.19.1",
78
78
  "prompts": "2.4.2",
79
79
  "rimraf": "6.0.1",
80
80
  "semver": "7.6.3",
@@ -101,5 +101,5 @@
101
101
  "publishConfig": {
102
102
  "access": "public"
103
103
  },
104
- "gitHead": "41c73f98dd8d90df433a04507d8b5d47a346d10b"
104
+ "gitHead": "f85adba572df46d8560a1ef1620841c7257abd37"
105
105
  }