@cedarjs/cli 1.0.0-canary.13059 → 1.0.0-canary.13060
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 +6 -3
- package/package.json +11 -11
package/dist/commands/upgrade.js
CHANGED
|
@@ -529,7 +529,7 @@ async function runPreUpgradeScripts(ctx, task, { verbose, force }) {
|
|
|
529
529
|
return;
|
|
530
530
|
}
|
|
531
531
|
const checkLevels = [];
|
|
532
|
-
if (parsed) {
|
|
532
|
+
if (parsed && !parsed.prerelease.length) {
|
|
533
533
|
checkLevels.push({
|
|
534
534
|
id: "exact",
|
|
535
535
|
candidates: [`${version}.ts`, `${version}/index.ts`]
|
|
@@ -545,10 +545,13 @@ async function runPreUpgradeScripts(ctx, task, { verbose, force }) {
|
|
|
545
545
|
id: "minor",
|
|
546
546
|
candidates: [`${parsed.major}.x.ts`, `${parsed.major}.x/index.ts`]
|
|
547
547
|
});
|
|
548
|
-
} else {
|
|
548
|
+
} else if (parsed && parsed.prerelease.length > 0) {
|
|
549
549
|
checkLevels.push({
|
|
550
550
|
id: "tag",
|
|
551
|
-
candidates: [
|
|
551
|
+
candidates: [
|
|
552
|
+
`${parsed.prerelease[0]}.ts`,
|
|
553
|
+
`${parsed.prerelease[0]}/index.ts`
|
|
554
|
+
]
|
|
552
555
|
});
|
|
553
556
|
}
|
|
554
557
|
const scriptsToRun = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.13060+6c50d6669",
|
|
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.28.5",
|
|
33
33
|
"@babel/runtime-corejs3": "7.28.4",
|
|
34
|
-
"@cedarjs/api-server": "1.0.0-canary.
|
|
35
|
-
"@cedarjs/cli-helpers": "1.0.0-canary.
|
|
36
|
-
"@cedarjs/fastify-web": "1.0.0-canary.
|
|
37
|
-
"@cedarjs/internal": "1.0.0-canary.
|
|
38
|
-
"@cedarjs/prerender": "1.0.0-canary.
|
|
39
|
-
"@cedarjs/project-config": "1.0.0-canary.
|
|
40
|
-
"@cedarjs/structure": "1.0.0-canary.
|
|
41
|
-
"@cedarjs/telemetry": "1.0.0-canary.
|
|
42
|
-
"@cedarjs/web-server": "1.0.0-canary.
|
|
34
|
+
"@cedarjs/api-server": "1.0.0-canary.13060",
|
|
35
|
+
"@cedarjs/cli-helpers": "1.0.0-canary.13060",
|
|
36
|
+
"@cedarjs/fastify-web": "1.0.0-canary.13060",
|
|
37
|
+
"@cedarjs/internal": "1.0.0-canary.13060",
|
|
38
|
+
"@cedarjs/prerender": "1.0.0-canary.13060",
|
|
39
|
+
"@cedarjs/project-config": "1.0.0-canary.13060",
|
|
40
|
+
"@cedarjs/structure": "1.0.0-canary.13060",
|
|
41
|
+
"@cedarjs/telemetry": "1.0.0-canary.13060",
|
|
42
|
+
"@cedarjs/web-server": "1.0.0-canary.13060",
|
|
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": "6c50d6669463a18fd4b4978f9e5c4e293555ebc4"
|
|
105
105
|
}
|