@intellectual-frontiers/ergonex 0.2.5 → 0.2.6
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/ergonex.mjs +4 -3
- package/package.json +1 -1
package/ergonex.mjs
CHANGED
|
@@ -5094,7 +5094,7 @@ function checkFiles(files, repositories) {
|
|
|
5094
5094
|
}
|
|
5095
5095
|
|
|
5096
5096
|
// src/state-record.ts
|
|
5097
|
-
var ERGONEX_VERSION = "0.2.
|
|
5097
|
+
var ERGONEX_VERSION = "0.2.6";
|
|
5098
5098
|
var STATE_RECORD_PATH = ".ergonex/state.auto.json";
|
|
5099
5099
|
var EMPTY_RECORD = {
|
|
5100
5100
|
ergonex: ERGONEX_VERSION,
|
|
@@ -9132,10 +9132,11 @@ function starterManifest() {
|
|
|
9132
9132
|
// src/setup/onpath.ts
|
|
9133
9133
|
var PACKAGE = "@intellectual-frontiers/ergonex";
|
|
9134
9134
|
function isRegistryCopy(entry) {
|
|
9135
|
-
return /(^|[\\/])(node_modules|_npx)([\\/]|$)|[\\/]\.bun[\\/]install[\\/]cache[\\/]/.test(entry);
|
|
9135
|
+
return /(^|[\\/])(node_modules|_npx)([\\/]|$)|[\\/]\.bun[\\/]install[\\/]cache[\\/]|[\\/]\.?bunx-[^\\/]*[\\/]/.test(entry);
|
|
9136
9136
|
}
|
|
9137
9137
|
function launchFor(f) {
|
|
9138
|
-
|
|
9138
|
+
const runtime = /[\\/]\.bun[\\/]install[\\/]cache[\\/]|[\\/]\.?bunx-[^\\/]*[\\/]/.test(f.entry) ? "bun" : f.runtime;
|
|
9139
|
+
return isRegistryCopy(f.entry) ? { kind: "registry", runtime, spec: `${PACKAGE}@${f.version}` } : { kind: "local", runtime: f.runtime, entry: f.entry };
|
|
9139
9140
|
}
|
|
9140
9141
|
function globalInstall(l) {
|
|
9141
9142
|
return l.runtime === "bun" ? ["bun", "add", "-g", l.spec] : ["npm", "install", "-g", l.spec];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intellectual-frontiers/ergonex",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "Ergonex, the workspaces management of Intellectual Frontiers: one command that sets up, configures and operates a team's software repositories, package registries and builds, on Windows, macOS and Linux, with Bun by default and Node 26 as the backup.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|