@pnpm/config.commands 1100.0.25 → 1100.0.26
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/configSet.js +1 -1
- package/package.json +6 -6
package/lib/configSet.js
CHANGED
|
@@ -175,7 +175,7 @@ export class ConfigSetUnsupportedWorkspaceKeyError extends PnpmError {
|
|
|
175
175
|
* Return the camelCase of {@link key} if it's valid.
|
|
176
176
|
*/
|
|
177
177
|
function validateWorkspaceKey(key) {
|
|
178
|
-
if (Object.hasOwn(types, key))
|
|
178
|
+
if (Object.hasOwn(types, key) || isConfigFileKey(key))
|
|
179
179
|
return camelCase(key);
|
|
180
180
|
if (!isCamelCase(key))
|
|
181
181
|
throw new ConfigSetUnsupportedWorkspaceKeyError(key);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/config.commands",
|
|
3
|
-
"version": "1100.0.
|
|
3
|
+
"version": "1100.0.26",
|
|
4
4
|
"description": "Commands for reading and writing settings to/from config files",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"write-ini-file": "5.0.0",
|
|
37
37
|
"write-yaml-file": "^6.0.0",
|
|
38
38
|
"@pnpm/cli.utils": "1101.0.13",
|
|
39
|
-
"@pnpm/config.reader": "1101.11.0",
|
|
40
|
-
"@pnpm/error": "1100.0.1",
|
|
41
39
|
"@pnpm/constants": "1100.0.0",
|
|
40
|
+
"@pnpm/error": "1100.0.1",
|
|
42
41
|
"@pnpm/object.key-sorting": "1100.0.1",
|
|
43
42
|
"@pnpm/object.property-path": "1100.1.1",
|
|
44
43
|
"@pnpm/text.naming-cases": "1100.0.1",
|
|
45
|
-
"@pnpm/workspace.workspace-manifest-writer": "1100.0.15"
|
|
44
|
+
"@pnpm/workspace.workspace-manifest-writer": "1100.0.15",
|
|
45
|
+
"@pnpm/config.reader": "1101.11.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@pnpm/logger": "^1100.0.0"
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"@types/ini": "4.1.1",
|
|
53
53
|
"@types/lodash.kebabcase": "4.1.9",
|
|
54
54
|
"read-yaml-file": "^3.0.0",
|
|
55
|
-
"@pnpm/config.commands": "1100.0.25",
|
|
56
55
|
"@pnpm/logger": "1100.0.0",
|
|
57
|
-
"@pnpm/prepare": "1100.0.18"
|
|
56
|
+
"@pnpm/prepare": "1100.0.18",
|
|
57
|
+
"@pnpm/config.commands": "1100.0.26"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": ">=22.13"
|