-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
fix(core): ensure proper install for git dependency using Yarn classic and npm #4403
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
arcanis
merged 13 commits into
yarnpkg:master
from
colincasey:fix/git_dependency_prepack_npm_install
May 6, 2022
Merged
Changes from 4 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
33e207c
fix(core): ensure proper install for git dependency with npm prepack
colincasey cc7aac8
refactor: don't use variables outside of the test
merceyz 41f8e8e
test: expect on the part that rejects
merceyz 38511d8
chore: versions
merceyz d8781e2
fix(core): ensure proper install for git dependency with prepack
colincasey 43d92e9
fix(core): ensure proper install for git dependency with prepack
colincasey ac69e31
fix(core): ensure proper install for git dependency with prepack
colincasey 5a6e2e7
fix(core): ensure proper install for git dependency with prepack
colincasey 2250108
Merge branch 'yarnpkg:master' into fix/git_dependency_prepack_npm_ins…
colincasey 2cf6bba
fix(core): ensure proper install for git dependency with prepack
colincasey 23842b6
fix(core): ensure proper install for git dependency with prepack
colincasey e4d301b
fix(core): ensure proper install for git dependency with prepack
colincasey a5d2501
chore: style
merceyz 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
releases: | ||
"@yarnpkg/cli": patch | ||
"@yarnpkg/core": patch | ||
|
||
declined: | ||
- "@yarnpkg/plugin-compat" | ||
- "@yarnpkg/plugin-constraints" | ||
- "@yarnpkg/plugin-dlx" | ||
- "@yarnpkg/plugin-essentials" | ||
- "@yarnpkg/plugin-exec" | ||
- "@yarnpkg/plugin-file" | ||
- "@yarnpkg/plugin-git" | ||
- "@yarnpkg/plugin-github" | ||
- "@yarnpkg/plugin-http" | ||
- "@yarnpkg/plugin-init" | ||
- "@yarnpkg/plugin-interactive-tools" | ||
- "@yarnpkg/plugin-link" | ||
- "@yarnpkg/plugin-nm" | ||
- "@yarnpkg/plugin-npm" | ||
- "@yarnpkg/plugin-npm-cli" | ||
- "@yarnpkg/plugin-pack" | ||
- "@yarnpkg/plugin-patch" | ||
- "@yarnpkg/plugin-pnp" | ||
- "@yarnpkg/plugin-pnpm" | ||
- "@yarnpkg/plugin-stage" | ||
- "@yarnpkg/plugin-typescript" | ||
- "@yarnpkg/plugin-version" | ||
- "@yarnpkg/plugin-workspace-tools" | ||
- "@yarnpkg/builder" | ||
- "@yarnpkg/doctor" | ||
- "@yarnpkg/nm" | ||
- "@yarnpkg/pnpify" | ||
- "@yarnpkg/sdks" |
1 change: 1 addition & 0 deletions
1
packages/acceptance-tests/pkg-tests-fixtures/repositories/has-prepack-npm.git/HEAD
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 @@ | ||
ref: refs/heads/master |
6 changes: 6 additions & 0 deletions
6
packages/acceptance-tests/pkg-tests-fixtures/repositories/has-prepack-npm.git/config
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,6 @@ | ||
[core] | ||
repositoryformatversion = 0 | ||
filemode = true | ||
bare = true | ||
ignorecase = true | ||
precomposeunicode = true |
1 change: 1 addition & 0 deletions
1
packages/acceptance-tests/pkg-tests-fixtures/repositories/has-prepack-npm.git/description
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 @@ | ||
Unnamed repository; edit this file 'description' to name the repository. |
8 changes: 8 additions & 0 deletions
8
...es/acceptance-tests/pkg-tests-fixtures/repositories/has-prepack-npm.git/hooks/post-update
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,8 @@ | ||
#!/bin/sh | ||
# | ||
# An example hook script to prepare a packed repository for use over | ||
# dumb transports. | ||
# | ||
# To enable this hook, rename this file to "post-update". | ||
|
||
exec git update-server-info |
6 changes: 6 additions & 0 deletions
6
packages/acceptance-tests/pkg-tests-fixtures/repositories/has-prepack-npm.git/info/exclude
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,6 @@ | ||
# git ls-files --others --exclude-from=.git/info/exclude | ||
# Lines that start with '#' are comments. | ||
# For a project mostly in C, the following would be a good set of | ||
# exclude patterns (uncomment them if you want to use them): | ||
# *.[oa] | ||
# *~ |
1 change: 1 addition & 0 deletions
1
packages/acceptance-tests/pkg-tests-fixtures/repositories/has-prepack-npm.git/info/refs
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 @@ | ||
c617d6c53537945167b6b0b5458a64017d975330 refs/heads/master |
Binary file added
BIN
+87 Bytes
...xtures/repositories/has-prepack-npm.git/objects/11/f7db287cab0795c5e220ce5837e078b1446539
Binary file not shown.
Binary file added
BIN
+101 Bytes
...xtures/repositories/has-prepack-npm.git/objects/3e/90b07430f11bd6fef8cc3f69690ed4b89b5738
Binary file not shown.
Binary file added
BIN
+87 Bytes
...xtures/repositories/has-prepack-npm.git/objects/4d/72084de73e3218c779fcc7d0e0b02202a43342
Binary file not shown.
Binary file added
BIN
+87 Bytes
...xtures/repositories/has-prepack-npm.git/objects/7f/32ecbd6b1368dc6b49fe6f042ba8bc0d52e0e9
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
...xtures/repositories/has-prepack-npm.git/objects/82/7e0acbbaef8b219d61bb2cc06fcc546b365816
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,3 @@ | ||
xU�� | ||
�0E]�+�l�1�ATt�wym$Q | ||
�7m#�l�=�콄n�[� ��NX��7�X��z0,]/qRф�Jc��L�}1iC�������#�!���`�96p�4�����^��K�T��g��~��ܵ�-o�����C9� |
2 changes: 2 additions & 0 deletions
2
...xtures/repositories/has-prepack-npm.git/objects/bd/2ecbdfe85280f2f2e466a45917dd8026cacd4a
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 @@ | ||
x��Aj�0Eg�S�Sdɉ(�0'�e� '!qs�f����<��t�un@n�0�P"a | ||
�"�O�0�Ƃ���$0r��6����JN8J֮�Џ<������L�N~۴�ؖy�����O}�C����ʼ\�~��;����ᎌ�.{E6���Mr�~�.��u��S|JK |
Binary file added
BIN
+463 Bytes
...xtures/repositories/has-prepack-npm.git/objects/bf/6845109d61dfb60320dfd7e9daf0dd0f5a3a4f
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
...xtures/repositories/has-prepack-npm.git/objects/c6/17d6c53537945167b6b0b5458a64017d975330
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
2 changes: 2 additions & 0 deletions
2
...xtures/repositories/has-prepack-npm.git/objects/df/60be62249ddb4da7c0477253fba48c6a4c4497
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
3 changes: 3 additions & 0 deletions
3
...xtures/repositories/has-prepack-npm.git/objects/e5/eb942edb80fabc5d146fc412fc8ba3c21732ec
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,3 @@ | ||
x��[ | ||
�0E��*f�䝂�ЕL�������ݛn��s9p9\r�*�Nu���1����g/� �O6 | ||
�4h炷��O�}��z��W>p�C�_����|�F���"�f[�ʟw5��&+��5��;� | ||
|
4 changes: 4 additions & 0 deletions
4
...s/acceptance-tests/pkg-tests-fixtures/repositories/has-prepack-npm.git/objects/info/packs
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 @@ | ||
P pack-8b0f2d0cb990021d1d21fc0f977b98c71abf4556.pack | ||
P pack-7842457b37632707b6cc2577d70e42a0145d5416.pack | ||
P pack-ed8ae5f84f4ca53ee2f02377d768b2593581ba96.pack | ||
|
Binary file added
BIN
+1.13 KB
...tories/has-prepack-npm.git/objects/pack/pack-7842457b37632707b6cc2577d70e42a0145d5416.idx
Binary file not shown.
Binary file added
BIN
+365 Bytes
...ories/has-prepack-npm.git/objects/pack/pack-7842457b37632707b6cc2577d70e42a0145d5416.pack
Binary file not shown.
Binary file added
BIN
+1.16 KB
...tories/has-prepack-npm.git/objects/pack/pack-8b0f2d0cb990021d1d21fc0f977b98c71abf4556.idx
Binary file not shown.
Binary file added
BIN
+773 Bytes
...ories/has-prepack-npm.git/objects/pack/pack-8b0f2d0cb990021d1d21fc0f977b98c71abf4556.pack
Binary file not shown.
Binary file added
BIN
+1.13 KB
...tories/has-prepack-npm.git/objects/pack/pack-ed8ae5f84f4ca53ee2f02377d768b2593581ba96.idx
Binary file not shown.
Binary file added
BIN
+422 Bytes
...ories/has-prepack-npm.git/objects/pack/pack-ed8ae5f84f4ca53ee2f02377d768b2593581ba96.pack
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
packages/acceptance-tests/pkg-tests-fixtures/repositories/has-prepack-npm.git/packed-refs
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 @@ | ||
# pack-refs with: peeled fully-peeled sorted | ||
c617d6c53537945167b6b0b5458a64017d975330 refs/heads/master |
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
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.