@bobfrankston/npmglobalize 1.0.224 → 1.0.225
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/lib.d.ts +10 -2
- package/package.json +3 -3
package/lib.d.ts
CHANGED
|
@@ -188,8 +188,16 @@ export interface WorkspaceResult {
|
|
|
188
188
|
}
|
|
189
189
|
/** Read and parse package.json from a directory */
|
|
190
190
|
export declare function readPackageJson(dir: string): any;
|
|
191
|
-
/** Global npm config
|
|
192
|
-
|
|
191
|
+
/** Global npm config, via @bobfrankston/userconfig.
|
|
192
|
+
*
|
|
193
|
+
* 2026-09-07 — Claude Code (Fable 5.1), at Bob's direction: the fields THIS app
|
|
194
|
+
* keeps in the store are typed here, not in userconfig. userconfig manages the
|
|
195
|
+
* low-level store and must know nothing about apps or their field names (Bob:
|
|
196
|
+
* "It is just the manager of the low level store"). `allowScripts` was briefly
|
|
197
|
+
* added to userconfig's NpmCommonConfig and has been moved back here. */
|
|
198
|
+
export type UserNpmConfig = NpmCommonConfig & {
|
|
199
|
+
allowScripts?: Record<string, boolean>; /** Remembered npm install-script decisions by package name: true = allow, false = deny */
|
|
200
|
+
};
|
|
193
201
|
/** Get the .userconfig directory path (%USERPROFILE%\.userconfig) */
|
|
194
202
|
export declare function getUserConfigDir(): string;
|
|
195
203
|
/** Read global npm config from %USERPROFILE%\.userconfig\npm.json5 */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bobfrankston/npmglobalize",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.225",
|
|
4
4
|
"description": "Transform file: dependencies to npm versions for publishing",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@bobfrankston/freezepak": "^0.1.9",
|
|
35
35
|
"@bobfrankston/importgen": "^0.1.43",
|
|
36
36
|
"@bobfrankston/themecolors": "^0.1.10",
|
|
37
|
-
"@bobfrankston/userconfig": "^1.0.
|
|
37
|
+
"@bobfrankston/userconfig": "^1.0.12",
|
|
38
38
|
"@npmcli/package-json": "^7.0.4",
|
|
39
39
|
"json5": "^2.2.3",
|
|
40
40
|
"libnpmversion": "^8.0.3",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"@bobfrankston/freezepak": "^0.1.9",
|
|
63
63
|
"@bobfrankston/importgen": "^0.1.43",
|
|
64
64
|
"@bobfrankston/themecolors": "^0.1.10",
|
|
65
|
-
"@bobfrankston/userconfig": "^1.0.
|
|
65
|
+
"@bobfrankston/userconfig": "^1.0.12",
|
|
66
66
|
"@npmcli/package-json": "^7.0.4",
|
|
67
67
|
"json5": "^2.2.3",
|
|
68
68
|
"libnpmversion": "^8.0.3",
|