squirrelscan 0.0.93 → 0.0.94
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/package.json +1 -1
- package/scripts/postinstall.js +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "squirrelscan",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.94",
|
|
4
4
|
"description": "Website QA tool built for coding agents. 260+ rules across SEO, performance, security, accessibility & agent experience, from the CLI, cloud, or MCP.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"squirrel": "bin/squirrel.js"
|
package/scripts/postinstall.js
CHANGED
|
@@ -221,6 +221,13 @@ async function main() {
|
|
|
221
221
|
const result = spawnSync(binaryPath, ["self", "install"], {
|
|
222
222
|
stdio: "inherit",
|
|
223
223
|
windowsHide: true,
|
|
224
|
+
env: {
|
|
225
|
+
...process.env,
|
|
226
|
+
// Stamp the install channel for the one-time install registration —
|
|
227
|
+
// the managed-dir binary would otherwise self-report as "binary",
|
|
228
|
+
// masking npm. A caller's own value wins.
|
|
229
|
+
SQUIRREL_INSTALL_SOURCE: process.env.SQUIRREL_INSTALL_SOURCE || "npm",
|
|
230
|
+
},
|
|
224
231
|
});
|
|
225
232
|
|
|
226
233
|
// Don't fail npm install if self install fails - binary still works via wrapper fallback
|