pi-outpost 0.15.0 → 0.15.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.
- package/dist/pi-outpost.mjs +14 -2
- package/dist/pi-outpost.sea.mjs +14 -2
- package/dist/sea-prep.blob +0 -0
- package/package.json +1 -1
package/dist/pi-outpost.mjs
CHANGED
|
@@ -169893,6 +169893,10 @@ async function runUpdateCommand(options) {
|
|
|
169893
169893
|
case "unknown":
|
|
169894
169894
|
say(`[pi] cannot tell how this copy was installed, so nothing was changed`);
|
|
169895
169895
|
say(`[pi] entry: ${process.argv[1] ?? "(none)"}`);
|
|
169896
|
+
{
|
|
169897
|
+
const resolved = currentEvidence(options.version).entryPath;
|
|
169898
|
+
if (resolved !== void 0 && resolved !== process.argv[1]) say(`[pi] resolves to: ${resolved}`);
|
|
169899
|
+
}
|
|
169896
169900
|
say(`[pi] runtime: ${process.execPath}`);
|
|
169897
169901
|
return 1;
|
|
169898
169902
|
case "global": {
|
|
@@ -169992,8 +169996,16 @@ function comparePrerelease(left, right) {
|
|
|
169992
169996
|
}
|
|
169993
169997
|
return 0;
|
|
169994
169998
|
}
|
|
169999
|
+
function resolveEntry(entryPath) {
|
|
170000
|
+
if (entryPath === void 0 || entryPath === "") return entryPath;
|
|
170001
|
+
try {
|
|
170002
|
+
return process.getBuiltinModule("node:fs").realpathSync.native(entryPath);
|
|
170003
|
+
} catch {
|
|
170004
|
+
return entryPath;
|
|
170005
|
+
}
|
|
170006
|
+
}
|
|
169995
170007
|
function currentEvidence(version2) {
|
|
169996
|
-
const entryPath = process.argv[1];
|
|
170008
|
+
const entryPath = resolveEntry(process.argv[1]);
|
|
169997
170009
|
const isSea = runningAsExecutable();
|
|
169998
170010
|
const needsGlobalRoot = version2 !== "dev" && !isSea && entryPath !== void 0 && segments(entryPath).includes("node_modules");
|
|
169999
170011
|
const root = needsGlobalRoot ? globalNodeModules() : void 0;
|
|
@@ -171179,7 +171191,7 @@ var EMBEDDED_WEB = {
|
|
|
171179
171191
|
};
|
|
171180
171192
|
|
|
171181
171193
|
// ../server/src/index.ts
|
|
171182
|
-
var VERSION2 = true ? "0.15.
|
|
171194
|
+
var VERSION2 = true ? "0.15.1" : "dev";
|
|
171183
171195
|
var PI_SDK_VERSION = true ? "0.84.1" : "dev";
|
|
171184
171196
|
var LAUNCH_DIR = process.env.INIT_CWD ?? process.cwd();
|
|
171185
171197
|
function complain(error) {
|
package/dist/pi-outpost.sea.mjs
CHANGED
|
@@ -485179,6 +485179,10 @@ async function runUpdateCommand(options) {
|
|
|
485179
485179
|
case "unknown":
|
|
485180
485180
|
say(`[pi] cannot tell how this copy was installed, so nothing was changed`);
|
|
485181
485181
|
say(`[pi] entry: ${process.argv[1] ?? "(none)"}`);
|
|
485182
|
+
{
|
|
485183
|
+
const resolved = currentEvidence(options.version).entryPath;
|
|
485184
|
+
if (resolved !== void 0 && resolved !== process.argv[1]) say(`[pi] resolves to: ${resolved}`);
|
|
485185
|
+
}
|
|
485182
485186
|
say(`[pi] runtime: ${process.execPath}`);
|
|
485183
485187
|
return 1;
|
|
485184
485188
|
case "global": {
|
|
@@ -485278,8 +485282,16 @@ function comparePrerelease(left, right) {
|
|
|
485278
485282
|
}
|
|
485279
485283
|
return 0;
|
|
485280
485284
|
}
|
|
485285
|
+
function resolveEntry(entryPath) {
|
|
485286
|
+
if (entryPath === void 0 || entryPath === "") return entryPath;
|
|
485287
|
+
try {
|
|
485288
|
+
return process.getBuiltinModule("node:fs").realpathSync.native(entryPath);
|
|
485289
|
+
} catch {
|
|
485290
|
+
return entryPath;
|
|
485291
|
+
}
|
|
485292
|
+
}
|
|
485281
485293
|
function currentEvidence(version3) {
|
|
485282
|
-
const entryPath = process.argv[1];
|
|
485294
|
+
const entryPath = resolveEntry(process.argv[1]);
|
|
485283
485295
|
const isSea = runningAsExecutable();
|
|
485284
485296
|
const needsGlobalRoot = version3 !== "dev" && !isSea && entryPath !== void 0 && segments(entryPath).includes("node_modules");
|
|
485285
485297
|
const root = needsGlobalRoot ? globalNodeModules() : void 0;
|
|
@@ -486465,7 +486477,7 @@ var EMBEDDED_WEB = {
|
|
|
486465
486477
|
};
|
|
486466
486478
|
|
|
486467
486479
|
// ../server/src/index.ts
|
|
486468
|
-
var VERSION6 = true ? "0.15.
|
|
486480
|
+
var VERSION6 = true ? "0.15.1" : "dev";
|
|
486469
486481
|
var PI_SDK_VERSION = true ? "0.84.1" : "dev";
|
|
486470
486482
|
var LAUNCH_DIR = process.env.INIT_CWD ?? process.cwd();
|
|
486471
486483
|
function complain(error40) {
|
package/dist/sea-prep.blob
CHANGED
|
Binary file
|