@kybernesis/create 0.14.0 → 0.14.1

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.
Files changed (2) hide show
  1. package/dist/upgrade.js +11 -1
  2. package/package.json +2 -2
package/dist/upgrade.js CHANGED
@@ -376,7 +376,17 @@ export async function upgrade(skipEval) {
376
376
  return;
377
377
  }
378
378
  console.log(bold(`\nInstalling: ${toUpgrade.join(", ")}\n`));
379
- run("npm", ["install", ...toUpgrade], { cwd });
379
+ /**
380
+ * One install, with peers relaxed. Every @kybernesis package peers on a
381
+ * narrow eve range, and eve moves with them: the installed set demands the
382
+ * old eve, the new set demands the new one, and npm's resolver refuses
383
+ * either order — eve first, packages first, or all at once — under strict
384
+ * peers (seen on Kyber moving 0.38 → 0.49: ERESOLVE all three ways). The
385
+ * set being installed is exactly the certified combination, so relaxing
386
+ * peer resolution for this one command changes nothing about what ends up
387
+ * on disk; the version check above is what guards correctness.
388
+ */
389
+ run("npm", ["install", ...toUpgrade, "--legacy-peer-deps"], { cwd });
380
390
  /**
381
391
  * Repairs run AFTER the install, not before.
382
392
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kybernesis/create",
3
- "version": "0.14.0",
4
- "description": "The Kybernesis agent scaffolder and FDE toolkit: one command to a governed, remembering, multiplayer, self-testing eve agent \u2014 plus doctor and upgrade.",
3
+ "version": "0.14.1",
4
+ "description": "The Kybernesis agent scaffolder and FDE toolkit: one command to a governed, remembering, multiplayer, self-testing eve agent — plus doctor and upgrade.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "homepage": "https://kybernesis.ai",