@pnpm/workspace.workspace-manifest-reader 1100.2.0 → 1100.2.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/CHANGELOG.md +9 -0
- package/lib/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @pnpm/workspace.read-manifest
|
|
2
2
|
|
|
3
|
+
## 1100.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- A falsy non-array `packages` field in `pnpm-workspace.yaml`, such as `packages: false`, is now rejected with an error instead of being treated as omitted.
|
|
8
|
+
|
|
9
|
+
- Updated dependencies:
|
|
10
|
+
- @pnpm/error@1100.2.1
|
|
11
|
+
|
|
3
12
|
## 1100.2.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/lib/index.js
CHANGED
|
@@ -65,7 +65,7 @@ export function validateWorkspaceManifest(manifest) {
|
|
|
65
65
|
checkWorkspaceManifestAssignability(manifest);
|
|
66
66
|
}
|
|
67
67
|
function assertValidWorkspaceManifestPackages(manifest) {
|
|
68
|
-
if (
|
|
68
|
+
if (manifest.packages == null) {
|
|
69
69
|
return;
|
|
70
70
|
}
|
|
71
71
|
if (!Array.isArray(manifest.packages)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/workspace.workspace-manifest-reader",
|
|
3
|
-
"version": "1100.2.
|
|
3
|
+
"version": "1100.2.1",
|
|
4
4
|
"description": "Reads a workspace manifest file",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@pnpm/constants": "1102.0.0",
|
|
31
|
-
"@pnpm/error": "1100.2.
|
|
31
|
+
"@pnpm/error": "1100.2.1",
|
|
32
32
|
"@pnpm/types": "1102.1.1",
|
|
33
33
|
"read-yaml-file": "^3.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@jest/globals": "30.4.1",
|
|
37
|
-
"@pnpm/workspace.workspace-manifest-reader": "1100.2.
|
|
37
|
+
"@pnpm/workspace.workspace-manifest-reader": "1100.2.1"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=22.13"
|