@camstack/server 1.1.29 → 1.1.31
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/manual-boot.js +7 -1
- package/package.json +1 -1
package/dist/manual-boot.js
CHANGED
|
@@ -181,7 +181,13 @@ async function bootManual(opts) {
|
|
|
181
181
|
stagingDir: path.join(lifecycleDataDir, 'lifecycle', 'staging'),
|
|
182
182
|
fetchTarball: (name, version, sig) => addonPackageService.fetchAddonTarball(name, version, sig),
|
|
183
183
|
extract: (tgz, destDir) => addonPackageService.extractTarball(tgz, destDir),
|
|
184
|
-
|
|
184
|
+
// Called only for the lockstep COMPANIONS (types/sdk/shm-ring) — the
|
|
185
|
+
// primary (@camstack/system) uses `task.toVersion` directly inside
|
|
186
|
+
// stageFrameworkLockstep. Companions are versioned independently on npm
|
|
187
|
+
// (system's package.json declares them as `*`), so resolve each to its
|
|
188
|
+
// own latest — pinning to `task.toVersion` fetches a non-existent
|
|
189
|
+
// `@camstack/types@<system-version>` tarball and fails the swap.
|
|
190
|
+
resolveVersion: (name) => addonPackageService.resolveFrameworkVersion(name, 'latest'),
|
|
185
191
|
currentVersionOf: (name) => addonPackageService.currentFrameworkVersionOf(name),
|
|
186
192
|
signal,
|
|
187
193
|
}),
|