@elmeragroup/internal 0.2.0-canary.3 → 0.2.0-canary.4
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/release.mjs +2 -1
- package/package.json +6 -6
package/dist/release.mjs
CHANGED
|
@@ -523,7 +523,7 @@ const ChangesetConfig = Schema.Struct({ baseBranch: Schema.String });
|
|
|
523
523
|
const PlannedReleaseEntry = Schema.Struct({
|
|
524
524
|
name: Schema.String,
|
|
525
525
|
type: Schema.String,
|
|
526
|
-
newVersion: Schema.String
|
|
526
|
+
newVersion: Schema.optionalKey(Schema.String)
|
|
527
527
|
});
|
|
528
528
|
const ChangesetPlan = Schema.Struct({ releases: Schema.Array(PlannedReleaseEntry) });
|
|
529
529
|
function changesetBin(checkoutRoot) {
|
|
@@ -584,6 +584,7 @@ function plannedCanaryBase(current, packageName, checkoutRoot) {
|
|
|
584
584
|
if (planned.length > 1) throw new Error("Multiple release plans for the public package");
|
|
585
585
|
const release = planned[0];
|
|
586
586
|
if (release === void 0) return nextPatchVersion(current);
|
|
587
|
+
if (release.newVersion === void 0) throw new Error(`The release plan for ${packageName} has no newVersion`);
|
|
587
588
|
return assertStableReleaseVersion(release.newVersion);
|
|
588
589
|
});
|
|
589
590
|
}
|
package/package.json
CHANGED
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
"@types/node": "25.9.5",
|
|
12
12
|
"vitest": "4.1.11",
|
|
13
13
|
"tsdown": "0.23.0",
|
|
14
|
-
"@elmeragroup/typescript-config": "0.0.0",
|
|
15
14
|
"@elmeragroup/api-artifacts": "0.0.0",
|
|
16
|
-
"@elmeragroup/
|
|
15
|
+
"@elmeragroup/typescript-config": "0.0.0",
|
|
17
16
|
"@elmeragroup/oxlint-plugin": "0.0.0",
|
|
18
|
-
"@elmeragroup/
|
|
19
|
-
"@elmeragroup/
|
|
17
|
+
"@elmeragroup/oxlint-plugin-anti-slop": "0.0.0",
|
|
18
|
+
"@elmeragroup/api-extractor": "0.0.0",
|
|
19
|
+
"@elmeragroup/release": "0.0.0"
|
|
20
20
|
},
|
|
21
|
-
"version": "0.2.0-canary.
|
|
21
|
+
"version": "0.2.0-canary.4",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
24
|
"types": "./dist/index.d.mts",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
},
|
|
70
70
|
"sideEffects": false,
|
|
71
71
|
"elmeraRelease": {
|
|
72
|
-
"commit": "
|
|
72
|
+
"commit": "4cf302fa476d26ce43fab03ae1509807b0161e39",
|
|
73
73
|
"channel": "canary"
|
|
74
74
|
},
|
|
75
75
|
"scripts": {
|