-
Notifications
You must be signed in to change notification settings - Fork 22
Read the two-document pnpm-lock.yaml written by pnpm 12 #210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+1,383
−127
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
dbd4e54
Read the two-document lockfile pnpm 12 writes
0x80 363b445
Address code-review findings (env config deps, real-reader tests, docs)
0x80 a385588
Address GLM-review findings (shared lockfile dir, env diagnostics)
0x80 115652b
Address Final-review findings (env read errors, probe coverage)
0x80 60eb12a
Require an unmocked test when a change targets a dependency
0x80 f182889
Pin @pnpm/lockfile.fs to a release the age policy accepts
0x80 9b33aed
Hold pretty-ms at 9.3.0 to clear the release-age policy
0x80 f169e28
Mock getPnpmLockfileDir in the patch suites instead of keeping it real
0x80 83e7642
Annotate the envLockfile binding explicitly
0x80 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...ib/lockfile/helpers/__fixtures__/pnpm-config-dependencies/workspace/apps/svc/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "name": "svc", | ||
| "version": "1.0.0", | ||
| "files": [ | ||
| "dist" | ||
| ], | ||
| "main": "./dist/index.js", | ||
| "dependencies": { | ||
| "left-pad": "1.3.0" | ||
| } | ||
| } |
5 changes: 5 additions & 0 deletions
5
src/lib/lockfile/helpers/__fixtures__/pnpm-config-dependencies/workspace/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "name": "root", | ||
| "private": true, | ||
| "packageManager": "pnpm@12.0.0" | ||
| } |
132 changes: 132 additions & 0 deletions
132
src/lib/lockfile/helpers/__fixtures__/pnpm-config-dependencies/workspace/pnpm-lock.yaml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
src/lib/lockfile/helpers/__fixtures__/pnpm-config-dependencies/workspace/pnpm-workspace.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| packages: | ||
| - apps/* | ||
| configDependencies: | ||
| my-config: 1.0.0+sha512-AAAAw5EZlYaNyUuBdcIXwn6VQI+gO0oidJd48rNPdzt3zdOznt6BcbIvzVO+ajU0Lp+smUimjvWN9kiM6Jp+Zw== |
11 changes: 11 additions & 0 deletions
11
src/lib/lockfile/helpers/__fixtures__/pnpm-two-document/workspace/apps/svc/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "name": "svc", | ||
| "version": "1.0.0", | ||
| "files": [ | ||
| "dist" | ||
| ], | ||
| "main": "./dist/index.js", | ||
| "dependencies": { | ||
| "left-pad": "1.3.0" | ||
| } | ||
| } |
5 changes: 5 additions & 0 deletions
5
src/lib/lockfile/helpers/__fixtures__/pnpm-two-document/workspace/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "name": "root", | ||
| "private": true, | ||
| "packageManager": "pnpm@12.0.0" | ||
| } |
126 changes: 126 additions & 0 deletions
126
src/lib/lockfile/helpers/__fixtures__/pnpm-two-document/workspace/pnpm-lock.yaml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
src/lib/lockfile/helpers/__fixtures__/pnpm-two-document/workspace/pnpm-workspace.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| packages: | ||
| - apps/* |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.