@pnpm/workspace.workspace-manifest-writer 1100.2.1 → 1100.2.2
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 +14 -0
- package/lib/index.js +1 -2
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @pnpm/workspace.manifest-writer
|
|
2
2
|
|
|
3
|
+
## 1100.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- pnpm now treats a missing global `config.yaml`, `auth.ini`, or other optional config file as absent in Node.js-compatible runtimes such as StackBlitz WebContainers. Commands such as `pnpm --version` failed there with `ENOENT` [#14030](https://github.com/pnpm/pnpm/issues/14030).
|
|
8
|
+
|
|
9
|
+
- Updated dependencies:
|
|
10
|
+
- @pnpm/building.policy@1100.1.3
|
|
11
|
+
- @pnpm/config.parse-overrides@1100.1.6
|
|
12
|
+
- @pnpm/config.version-policy@1100.2.4
|
|
13
|
+
- @pnpm/lockfile.types@1100.1.3
|
|
14
|
+
- @pnpm/types@1102.1.1
|
|
15
|
+
- @pnpm/workspace.workspace-manifest-reader@1100.2.0
|
|
16
|
+
|
|
3
17
|
## 1100.2.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import fs from 'node:fs';
|
|
2
2
|
import path from 'node:path';
|
|
3
|
-
import util from 'node:util';
|
|
4
3
|
import { packageNameFromAllowBuildKey, UNDECIDED_ALLOW_BUILD } from '@pnpm/building.policy';
|
|
5
4
|
import { parsePkgAndParentSelector } from '@pnpm/config.parse-overrides';
|
|
6
5
|
import { mergePackageVersionSpecs, parseVersionPolicyRule } from '@pnpm/config.version-policy';
|
|
@@ -25,7 +24,7 @@ async function readManifestRaw(file) {
|
|
|
25
24
|
return (await fs.promises.readFile(file)).toString();
|
|
26
25
|
}
|
|
27
26
|
catch (err) {
|
|
28
|
-
if (
|
|
27
|
+
if (err != null && typeof err === 'object' && 'code' in err && err.code === 'ENOENT') {
|
|
29
28
|
return undefined;
|
|
30
29
|
}
|
|
31
30
|
throw err;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/workspace.workspace-manifest-writer",
|
|
3
|
-
"version": "1100.2.
|
|
3
|
+
"version": "1100.2.2",
|
|
4
4
|
"description": "Updates the workspace manifest file",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"!*.map"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@pnpm/building.policy": "1100.1.
|
|
30
|
+
"@pnpm/building.policy": "1100.1.3",
|
|
31
31
|
"@pnpm/catalogs.types": "1100.0.1",
|
|
32
|
-
"@pnpm/config.parse-overrides": "1100.1.
|
|
33
|
-
"@pnpm/config.version-policy": "1100.2.
|
|
32
|
+
"@pnpm/config.parse-overrides": "1100.1.6",
|
|
33
|
+
"@pnpm/config.version-policy": "1100.2.4",
|
|
34
34
|
"@pnpm/constants": "1102.0.0",
|
|
35
|
-
"@pnpm/lockfile.types": "1100.1.
|
|
35
|
+
"@pnpm/lockfile.types": "1100.1.3",
|
|
36
36
|
"@pnpm/text.ordinal-comparator": "1100.0.0",
|
|
37
|
-
"@pnpm/types": "1102.1.
|
|
38
|
-
"@pnpm/workspace.workspace-manifest-reader": "1100.
|
|
37
|
+
"@pnpm/types": "1102.1.1",
|
|
38
|
+
"@pnpm/workspace.workspace-manifest-reader": "1100.2.0",
|
|
39
39
|
"@pnpm/yaml.document-sync": "1100.0.2",
|
|
40
40
|
"ramda": "npm:@pnpm/ramda@0.28.1",
|
|
41
41
|
"write-file-atomic": "^7.0.1",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@jest/globals": "30.4.1",
|
|
46
|
-
"@pnpm/prepare": "1100.0.
|
|
46
|
+
"@pnpm/prepare": "1100.0.32",
|
|
47
47
|
"@pnpm/prepare-temp-dir": "1100.0.1",
|
|
48
|
-
"@pnpm/workspace.projects-reader": "1101.0
|
|
49
|
-
"@pnpm/workspace.workspace-manifest-writer": "1100.2.
|
|
48
|
+
"@pnpm/workspace.projects-reader": "1101.1.0",
|
|
49
|
+
"@pnpm/workspace.workspace-manifest-writer": "1100.2.2",
|
|
50
50
|
"@types/ramda": "0.32.0",
|
|
51
51
|
"@types/write-file-atomic": "^4.0.3",
|
|
52
52
|
"read-yaml-file": "^3.0.0",
|