embedlabs 0.1.0-alpha.114 → 0.1.0-alpha.115
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/README.md +1 -1
- package/bin/install-progress.js +5 -14
- package/package.json +2 -2
package/README.md
CHANGED
package/bin/install-progress.js
CHANGED
|
@@ -9,7 +9,7 @@ const target = `${platform()}-${arch()}`;
|
|
|
9
9
|
if (phase === "preinstall") {
|
|
10
10
|
cleanupWindowsInstallState();
|
|
11
11
|
} else {
|
|
12
|
-
|
|
12
|
+
verifyInstallState();
|
|
13
13
|
}
|
|
14
14
|
const steps = phase === "preinstall"
|
|
15
15
|
? [
|
|
@@ -135,19 +135,10 @@ function isEmbedLabsShim(filePath) {
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
function
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
const target = join(prefix, "embedlabs.cmd");
|
|
143
|
-
writeFileSync(target, windowsCmdShim(), "utf8");
|
|
144
|
-
continue;
|
|
145
|
-
}
|
|
146
|
-
const target = join(prefix, "bin", "embedlabs");
|
|
147
|
-
mkdirSync(dirname(target), { recursive: true });
|
|
148
|
-
writeFileSync(target, unixShellShim(), "utf8");
|
|
149
|
-
chmodSync(target, 0o755);
|
|
150
|
-
}
|
|
138
|
+
function verifyInstallState() {
|
|
139
|
+
// npm owns final bin-link creation. The package only removes stale legacy
|
|
140
|
+
// shims during preinstall; writing the command shim here can overwrite the
|
|
141
|
+
// package's own bin file when npm lifecycle prefixes differ by platform.
|
|
151
142
|
}
|
|
152
143
|
|
|
153
144
|
function windowsCmdShim() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "embedlabs",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.115",
|
|
4
4
|
"description": "EmbedLabs CLI alias package for local-first embedded agent testing.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"README.md"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@kvell007/embed-labs-cli": "0.1.0-alpha.
|
|
16
|
+
"@kvell007/embed-labs-cli": "0.1.0-alpha.115"
|
|
17
17
|
},
|
|
18
18
|
"publishConfig": {
|
|
19
19
|
"access": "public",
|