@yagni-app/code-staging 1.0.8-staging.1275.1 → 1.0.8-staging.1280.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/upgrade.js +10 -1
- package/package.json +2 -2
package/dist/upgrade.js
CHANGED
|
@@ -249,13 +249,22 @@ export function parseUpgradeArgs(args) {
|
|
|
249
249
|
}
|
|
250
250
|
return { ok: true, target, method };
|
|
251
251
|
}
|
|
252
|
+
// npm's informational channels (deprecation warnings, the funding notice,
|
|
253
|
+
// and npm ≥11.13's `allowScripts` notice) are noise under an upgrade the user
|
|
254
|
+
// explicitly asked for; errors and the added-packages summary stay visible.
|
|
255
|
+
// Note the allowScripts notice is advisory only: with the default (non-strict)
|
|
256
|
+
// policy npm still runs the listed scripts, so quieting it changes nothing
|
|
257
|
+
// functionally. Audit findings go to stdout, unaffected by --loglevel.
|
|
258
|
+
const NPM_QUIET_FLAGS = ["--loglevel=error", "--no-fund", "--no-audit"];
|
|
252
259
|
function installArgv(method, target) {
|
|
253
260
|
// brew upgrades to whatever the tap formula publishes; it cannot pin a
|
|
254
261
|
// version, so `target` only tells us an upgrade is worthwhile.
|
|
255
262
|
if (method === "brew")
|
|
256
263
|
return ["upgrade", BREW_FORMULA];
|
|
257
264
|
const spec = `${PACKAGE_NAME}@${target}`;
|
|
258
|
-
return method === "npm"
|
|
265
|
+
return method === "npm"
|
|
266
|
+
? ["install", "-g", ...NPM_QUIET_FLAGS, spec]
|
|
267
|
+
: ["add", "-g", spec];
|
|
259
268
|
}
|
|
260
269
|
function failureHint(method) {
|
|
261
270
|
if (method === "brew") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yagni-app/code-staging",
|
|
3
|
-
"version": "1.0.8-staging.
|
|
3
|
+
"version": "1.0.8-staging.1280.1",
|
|
4
4
|
"description": "YAGNI Code: a terminal coding agent that already knows your company. One YAGNI login routes the model and grounds the agent in your team's context.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "YAGNI, Inc. <jack@yagni.app> (https://yagni.app)",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"turndown": "^7.2.4",
|
|
59
59
|
"typebox": "^1.3.15"
|
|
60
60
|
},
|
|
61
|
-
"yagniSourceSha": "
|
|
61
|
+
"yagniSourceSha": "9b213ea65690a4544d0cdf093b6903aab8a1456b"
|
|
62
62
|
}
|