Skip to content
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

Pnp support absolute paths to nix store 3.2.1 #2

Conversation

arijoon
Copy link

@arijoon arijoon commented Sep 23, 2022

Merge changes from yarn 3.2.1 release branch

arcanis and others added 30 commits October 25, 2021 16:58
| Package name | Version |
| --- | --- |
| `@yarnpkg/plugin-pnp` | `3.1.1` |
| `@yarnpkg/plugin-dlx` | `3.1.1` |
| `@yarnpkg/plugin-typescript` | `3.0.0` |
| `@yarnpkg/plugin-stage` | `3.1.1` |
| `@yarnpkg/plugin-init` | `3.1.1` |
| `@yarnpkg/plugin-interactive-tools` | `3.1.1` |
| `@yarnpkg/plugin-compat` | `3.1.1` |
| Package name | Version |
| --- | --- |
| `@yarnpkg/plugin-pnpm` | `1.0.1` |
* Enforces JSX longhand

* Versions
…arnpkg#3631)

* fix: make aliased parent provide itself as peer under its real name

* test: make the sourced script a valid expression

* Adds fix for dragon test 11

* Removes node-modules linker from dragon test 11, since the test checks peer promise

* test: make dragon test check that the nm linker fulfills the require promise

* chore: update versions

Co-authored-by: Victor Vlasenko <[email protected]>
* feat: better "listing the refs failed" errors

* Report fields iteration

* refactor: always pass the strict option

* refactor: extract all error types

* refactor: smarter constructors

* refactor: call the ExecError's reportExtra too

* refactor: use ppath.cwd()

Co-authored-by: Maël Nison <[email protected]>
* style: enforce member delimiter style

* chore: release eslint-config instead of esbuild-plugin-pnp

* style: use semi for multiline types
| Package name | Version |
| --- | --- |
| `@yarnpkg/cli` | `3.2.0-rc.1` |
| `@yarnpkg/core` | `3.2.0-rc.1` |
| `@yarnpkg/plugin-git` | `2.6.0-rc.1` |
| `@yarnpkg/eslint-config` | `0.5.0-rc.1` |
| `@yarnpkg/nm` | `3.0.1-rc.1` |
| `@yarnpkg/plugin-nm` | `3.1.1-rc.1` |
| `@yarnpkg/pnpify` | `3.1.1-rc.1` |
| `@yarnpkg/plugin-pnp` | `3.1.2-rc.1` |
| `@yarnpkg/pnp` | `3.1.1-rc.1` |
* fix: tweak npm registry deprecation warnings

* style: move closing backtick inside comment

* test: add tests

* Update NpmSemverResolver.ts

Co-authored-by: Maël Nison <[email protected]>
| Package name | Version |
| --- | --- |
| `@yarnpkg/cli` | `3.2.0-rc.2` |
| `@yarnpkg/core` | `3.2.0-rc.2` |
| `@yarnpkg/plugin-git` | `2.6.0-rc.2` |
| `@yarnpkg/plugin-pnpm` | `1.0.2-rc.1` |
| `@yarnpkg/plugin-npm` | `2.6.1-rc.1` |
| `@yarnpkg/eslint-config` | `0.5.0-rc.2` |
| `@yarnpkg/nm` | `3.0.1-rc.2` |
| `@yarnpkg/plugin-nm` | `3.1.1-rc.2` |
| `@yarnpkg/pnpify` | `3.1.1-rc.2` |
| `@yarnpkg/plugin-pnp` | `3.1.2-rc.2` |
| `@yarnpkg/pnp` | `3.1.1-rc.2` |
* test: add test code

* feat: add alternative value expression variable into peg

* feat: alternative value interpolation

* fix: oops. remove jest.only method

* chore: bump packages
* fix: force update spinner

* feat: resolution step progress

* chore: versions

* refactor: get rid of unnecessary check

* chore: changelog

* Little stylistic tweak

Co-authored-by: Maël Nison <[email protected]>
* fix(plugin-nm): don't report "link skipped" warnings

* test: update tests
* build: use rollup with the esbuild plugin in vscode-zipfs

* chore: dedupe
* fix(shell): string syntax compatible

* Versions

Co-authored-by: Maël Nison <[email protected]>
…rces` (yarnpkg#3617)

* Fetch with a depth of 1 for set version from sources

This makes the `yarn set version from sources` command faster on slower connections.
To build, the full GitHub commit history isn't needed and cloning it takes quite some time on slow connections.

If it is actually required somewhere (Maybe in your own workflows), then please close this PR.

* Run yarn version check --interactive

* Fix linter errors
…arded (yarnpkg#3616)

* fix: don't print the peerDependencies footer if all warnings are discarded

* chore: lint

* refactor: tweaks
* docs(plugin-patch): Add -s flag

And remove presumably outdated reference to `patch-workdir`.

* chore: tentative release strategy

* Versions

* Fix typo: patch --> patches

Co-authored-by: Kristoffer K. <[email protected]>

* `patchFolder` can be modified as per @merceyz

* Update patch.ts

* Update patchCommit.ts

* Update patchCommit.ts

Co-authored-by: Maël Nison <[email protected]>
Co-authored-by: Kristoffer K. <[email protected]>
* Prevents the stream from aborting while running promises are still printing things

* Versions
bgotink and others added 24 commits May 12, 2022 18:38
…is active (yarnpkg#4206)

* Fix: pnpm linker no longer removes node_modules when nm linker is active

* Updates artifact cleanup code
* Apply hoisting algorithm on aliased dependencies

* Adds a unit test to check hoisting of the aliased packages

* Updates conditions to detect hoisting loops to account for aliases
…disk (yarnpkg#4266)

* Takes into account scoped packages during syncing tree with disk

* Update packages/acceptance-tests/pkg-tests-specs/sources/node-modules.test.ts

Co-authored-by: Kristoffer K. <[email protected]>

Co-authored-by: Kristoffer K. <[email protected]>
* Improves portal hoisting

* Move hasUnhoistedDependencies into a separate function

* Updates test, removes debugging code

* Adds support and a test for deep nested portals hoisting

* Fixes test description

* Lint

* Update packages/yarnpkg-nm/sources/hoist.ts

Co-authored-by: Trivikram Kamat <[email protected]>

* Update packages/yarnpkg-nm/sources/hoist.ts

Co-authored-by: Trivikram Kamat <[email protected]>

* Lint

Co-authored-by: Trivikram Kamat <[email protected]>
…g#4275)

* Fix Yaml/Syml stringify with keys longer than 1024 chars

* yarn version check

* Update packages/yarnpkg-parsers/sources/syml.ts

Co-authored-by: Trivikram Kamat <[email protected]>

* formatting

* Update syml.ts

Co-authored-by: Trivikram Kamat <[email protected]>
Co-authored-by: Maël Nison <[email protected]>
)

* fix(parsers) correctly indent keys longer than 1024 chars

* yarn version check

* chore: versions

Co-authored-by: merceyz <[email protected]>
* Respect GIT_SSH(_COMMAND)

* Version bumps

* Backticks

* chore: versions

Co-authored-by: merceyz <[email protected]>
…#4402)

* skip cache cleanup when enableGlobalCache is true

* patch notes

* chore: versions

* move guard

* only move enableGlobalCache check

* missed this in cleanup

* Update Project.ts

Co-authored-by: merceyz <[email protected]>
Co-authored-by: Maël Nison <[email protected]>
* fix(fslib): fix return shape of promisified `fs.write`

* chore: update hook

* chore: versions

Co-authored-by: merceyz <[email protected]>
…c and npm (yarnpkg#4403)

* fix(core): ensure proper install for git dependency with npm prepack

* refactor: don't use variables outside of the test

* test: expect on the part that rejects

* chore: versions

* fix(core): ensure proper install for git dependency with prepack

* fix(core): ensure proper install for git dependency with prepack

* fix(core): ensure proper install for git dependency with prepack

* fix(core): ensure proper install for git dependency with prepack

* fix(core): ensure proper install for git dependency with prepack

* fix(core): ensure proper install for git dependency with prepack

* fix(core): ensure proper install for git dependency with prepack

* chore: style

Co-authored-by: merceyz <[email protected]>
| Package name | Version |
| --- | --- |
| `@yarnpkg/cli` | `3.2.1` |
| `@yarnpkg/plugin-pack` | `3.1.2` |
| `@yarnpkg/plugin-pnp` | `3.2.1` |
| `@yarnpkg/pnp` | `3.2.1` |
| `@yarnpkg/esbuild-plugin-pnp` | `2.0.2` |
| `@yarnpkg/core` | `3.2.1` |
| `@yarnpkg/nm` | `3.0.2` |
| `@yarnpkg/plugin-nm` | `3.1.2` |
| `@yarnpkg/pnpify` | `3.1.2` |
| `@yarnpkg/builder` | `3.2.1` |
| `@yarnpkg/doctor` | `3.1.2` |
| `@yarnpkg/parsers` | `2.5.1` |
| `@yarnpkg/plugin-compat` | `3.1.3` |
| `@yarnpkg/plugin-constraints` | `3.1.1` |
| `@yarnpkg/plugin-dlx` | `3.1.2` |
| `@yarnpkg/plugin-essentials` | `3.2.1` |
| `@yarnpkg/plugin-exec` | `2.3.1` |
| `@yarnpkg/plugin-file` | `2.3.1` |
| `@yarnpkg/plugin-git` | `2.6.1` |
| `@yarnpkg/plugin-github` | `2.3.1` |
| `@yarnpkg/plugin-http` | `2.2.1` |
| `@yarnpkg/plugin-init` | `3.1.3` |
| `@yarnpkg/plugin-interactive-tools` | `3.1.3` |
| `@yarnpkg/plugin-link` | `2.2.1` |
| `@yarnpkg/plugin-npm` | `2.7.1` |
| `@yarnpkg/plugin-npm-cli` | `3.2.1` |
| `@yarnpkg/plugin-patch` | `3.2.1` |
| `@yarnpkg/plugin-pnpm` | `1.1.1` |
| `@yarnpkg/plugin-stage` | `3.1.2` |
| `@yarnpkg/plugin-typescript` | `3.0.1` |
| `@yarnpkg/plugin-version` | `3.1.2` |
| `@yarnpkg/plugin-workspace-tools` | `3.1.2` |
| `@yarnpkg/sdks` | `2.6.1` |
| `@yarnpkg/shell` | `3.2.1` |
| `@yarnpkg/fslib` | `2.6.2` |
@arijoon arijoon self-assigned this Sep 23, 2022
Copy link
Collaborator

@adrian-gierakowski adrian-gierakowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it could have been cleaner to rebase our branch on top of upstream instead of merging upstream into ours

btw. any idea about the failing tests?

@arijoon
Copy link
Author

arijoon commented Oct 7, 2022

I guess it could have been cleaner to rebase our branch on top of upstream instead of merging upstream into ours

btw. any idea about the failing tests?

Unsure about all the tests, some are linting issues, some other are weird failures with access.

@arijoon arijoon merged commit d149dc6 into pnp-support-absolute-paths-to-nix-store Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.