@penvhq/launcher 0.13.0 → 0.14.0

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/bin.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  httpFetcher,
6
6
  nodeSpawner,
7
7
  runLauncher
8
- } from "./chunk-QOQVOYJC.js";
8
+ } from "./chunk-WA5LM767.js";
9
9
 
10
10
  // src/bin.ts
11
11
  function readLine() {
@@ -1482,8 +1482,8 @@ var DEV_PIN_INTEGRITY = "sha512-development-build-not-a-published-release";
1482
1482
  var DEV_PIN_VERSION = "0.0.0-dev";
1483
1483
  var BUNDLED_ENGINE_PIN = {
1484
1484
  package: ENGINE_PACKAGE3,
1485
- version: "0.13.0",
1486
- integrity: "sha512-gZ2AlzxmQ4c83OvWSRrBdVMAQdwcGqAoENSv4ZNyZuer0fpIEqiT/xUl2b1+t5JSW8EZto5JpilmBSfiNoWFWA=="
1485
+ version: "0.14.0",
1486
+ integrity: "sha512-2EJHq5DSuqyfscjhFZmaszT4dZdYfboJJzyFwTZkJPWdcVZmXODhsqF2xtG+9U/MYojo6rmQzVlHXhVQRnooXg=="
1487
1487
  };
1488
1488
  function assertReleasePin(pin) {
1489
1489
  if (pin.integrity === DEV_PIN_INTEGRITY || pin.version === DEV_PIN_VERSION) {
@@ -1527,9 +1527,9 @@ function findAdoptedRoot(cwd) {
1527
1527
  // src/upgrade.ts
1528
1528
  import { writeFileSync as writeFileSync4 } from "fs";
1529
1529
  import {
1530
+ installedByManifest,
1530
1531
  installWithPackageManager,
1531
1532
  planInstall,
1532
- RUNTIME_PACKAGE,
1533
1533
  renderInstallPlan
1534
1534
  } from "@penvhq/cli/install";
1535
1535
  import { ENGINE_PACKAGE as ENGINE_PACKAGE4, MANIFEST_PATH as MANIFEST_PATH4, serializeManifest as serializeManifest2 } from "@penvhq/core";
@@ -1618,11 +1618,8 @@ async function upgrade(options) {
1618
1618
  } catch {
1619
1619
  throw new UpgradeInstallFailedError(plan.manager, release.version);
1620
1620
  }
1621
- const moved = plan.steps.filter(
1622
- (entry) => !entry.satisfied && entry.packages.some((one) => one.name === RUNTIME_PACKAGE)
1623
- );
1624
- for (const step of moved) {
1625
- io.out(`\u2713 ${step.manifest} depends on ${RUNTIME_PACKAGE} ${release.version}`);
1621
+ for (const landed of installedByManifest(plan)) {
1622
+ io.out(`\u2713 ${landed.manifest} depends on ${landed.packages}`);
1626
1623
  }
1627
1624
  }
1628
1625
  writeFileSync4(manifestFile, manifestText);
@@ -1650,7 +1647,7 @@ import {
1650
1647
  } from "@penvhq/core";
1651
1648
 
1652
1649
  // src/help.ts
1653
- import { RUNTIME_PACKAGE as RUNTIME_PACKAGE2 } from "@penvhq/cli/install";
1650
+ import { RUNTIME_PACKAGE } from "@penvhq/cli/install";
1654
1651
  import { ENGINE_PACKAGE as ENGINE_PACKAGE5, EXTENSIONS_PATH as EXTENSIONS_PATH3, MANIFEST_PATH as MANIFEST_PATH5, OFFICIAL_SCOPE as OFFICIAL_SCOPE3 } from "@penvhq/core";
1655
1652
  function printLauncherCommands(io) {
1656
1653
  io.out("");
@@ -1659,7 +1656,7 @@ function printLauncherCommands(io) {
1659
1656
  io.out(` install Installs everything ${MANIFEST_PATH5} pins`);
1660
1657
  io.out(" add <package> Pins a provider extension, and commits the decision");
1661
1658
  io.out(` add ${LOCAL_FLAG} <package> Adds the one this repository builds \u2014 nothing is pinned`);
1662
- io.out(` upgrade [version] Moves the engine pin and ${RUNTIME_PACKAGE2} together`);
1659
+ io.out(` upgrade [version] Moves the engine pin and ${RUNTIME_PACKAGE} together`);
1663
1660
  io.out("");
1664
1661
  }
1665
1662
  function printInstallHelp(io) {
@@ -1693,7 +1690,7 @@ function printUpgradeHelp(io) {
1693
1690
  io.out(` ${YES_FLAG} Skip the question \u2014 unattended runs need it and a version`);
1694
1691
  io.out("");
1695
1692
  io.out(`Moves the ${ENGINE_PACKAGE5} pin in ${MANIFEST_PATH5} and this project's`);
1696
- io.out(`${RUNTIME_PACKAGE2} dependency to the same exact version. No version takes whatever`);
1693
+ io.out(`${RUNTIME_PACKAGE} dependency to the same exact version. No version takes whatever`);
1697
1694
  io.out("`latest` points at; the integrity is the one the registry states, never one penv");
1698
1695
  io.out("computed. Both files are shown before either moves, and they move together or not");
1699
1696
  io.out("at all. Extensions keep their own pins.");
@@ -2047,4 +2044,4 @@ export {
2047
2044
  upgrade,
2048
2045
  runLauncher
2049
2046
  };
2050
- //# sourceMappingURL=chunk-QOQVOYJC.js.map
2047
+ //# sourceMappingURL=chunk-WA5LM767.js.map