@bobfrankston/npmglobalize 1.0.226 → 1.0.227
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 +8 -6
- package/cli.js +15 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -486,9 +486,9 @@ not what you meant to publish, so npmglobalize lists the conflicted files and st
|
|
|
486
486
|
-install, -i Install globally after publish (from registry)
|
|
487
487
|
-link Install globally via symlink (npm install -g .)
|
|
488
488
|
-local-install Install from the local directory only — skip transform/publish, just
|
|
489
|
-
npm install -g . with file: deps as-is (also -localinstall
|
|
490
|
-
the
|
|
491
|
-
to npmchanges.md as "(local)"
|
|
489
|
+
npm install -g . with file: deps as-is (also -localinstall, -install-local,
|
|
490
|
+
-installlocal; the old -local is an error). Persisted; a .commitmsg is
|
|
491
|
+
still logged to npmchanges.md as "(local)"
|
|
492
492
|
-global Clear a persisted -local-install in .globalize.json5 — back to the normal
|
|
493
493
|
transform/publish flow (publishes to npm again)
|
|
494
494
|
-wsl Also install in WSL
|
|
@@ -898,9 +898,11 @@ This is useful for:
|
|
|
898
898
|
- Testing a CLI before publishing
|
|
899
899
|
- Projects with `file:` deps that should stay as-is
|
|
900
900
|
|
|
901
|
-
`-localinstall`
|
|
902
|
-
|
|
903
|
-
|
|
901
|
+
`-localinstall`, `-install-local` and `-installlocal` are accepted as well. The old
|
|
902
|
+
spelling `-local` is an error that names the replacement and exits without doing anything;
|
|
903
|
+
it was renamed (2026-09-07) because "local" read as "local mode" rather than "install from
|
|
904
|
+
the local directory", and a warning that then ran the whole cascade anyway was easy to miss
|
|
905
|
+
(2026-09-08).
|
|
904
906
|
|
|
905
907
|
`-local-install` is persisted to `.globalize.json5` (`"localInstall": true`; the older
|
|
906
908
|
`"local"` key is still read and is rewritten to the new name the next time the file is
|
package/cli.js
CHANGED
|
@@ -71,9 +71,9 @@ Install Options:
|
|
|
71
71
|
-install, -i Global install after publish (from registry)
|
|
72
72
|
-link Global install via symlink (npm install -g .)
|
|
73
73
|
-local-install Install from the local directory only — skip transform/publish, just
|
|
74
|
-
npm install -g . with file: deps as-is (also -localinstall
|
|
75
|
-
the
|
|
76
|
-
to npmchanges.md as "(local)"
|
|
74
|
+
npm install -g . with file: deps as-is (also -localinstall, -install-local,
|
|
75
|
+
-installlocal; the old -local is an error). Persisted; a .commitmsg is
|
|
76
|
+
still logged to npmchanges.md as "(local)"
|
|
77
77
|
-global Clear a persisted -local-install in .globalize.json5 — back to the normal
|
|
78
78
|
transform/publish flow (publishes to npm again)
|
|
79
79
|
-wsl Also install globally in WSL
|
|
@@ -233,15 +233,21 @@ function parseArgs(args) {
|
|
|
233
233
|
// 2026-09-07 — Claude Code (Fable 5.1), at Bob's direction: "-local is
|
|
234
234
|
// confusing" — it read like "local mode" / "local deps" rather than "install
|
|
235
235
|
// from the local directory". Renamed to -local-install (-localinstall also
|
|
236
|
-
// accepted).
|
|
237
|
-
//
|
|
238
|
-
//
|
|
239
|
-
//
|
|
236
|
+
// accepted). The .globalize.json5 key was renamed "local" → "localInstall"
|
|
237
|
+
// the same day; readConfig accepts the old name and rewrites it.
|
|
238
|
+
// 2026-09-08 — Claude Code (Fable 5.1), at Bob's direction: -local is now a
|
|
239
|
+
// hard error, not a warning. As a warning it printed one yellow line and then
|
|
240
|
+
// ran the whole cascade anyway (Bob: "you continue rather than exiting"), so
|
|
241
|
+
// the note scrolled off before it could be acted on. Same exit path as an
|
|
242
|
+
// unrecognized flag. -install-local / -installlocal are accepted too: the word
|
|
243
|
+
// order is easy to get backwards (Bob typed "-installlocal" reporting this).
|
|
240
244
|
case '-local':
|
|
241
|
-
|
|
242
|
-
|
|
245
|
+
options.error = '-local was renamed -local-install (or -localinstall). Same meaning: npm install -g . from the local directory, no publish.';
|
|
246
|
+
break;
|
|
243
247
|
case '-local-install':
|
|
244
248
|
case '-localinstall':
|
|
249
|
+
case '-install-local':
|
|
250
|
+
case '-installlocal':
|
|
245
251
|
options.localInstall = true;
|
|
246
252
|
options.explicitKeys.add('localInstall');
|
|
247
253
|
break;
|