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

fix: missing core yarn files (#1229) #1230

Merged
merged 2 commits into from
Jan 2, 2024
Merged

fix: missing core yarn files (#1229) #1230

merged 2 commits into from
Jan 2, 2024

Conversation

mdonnalley
Copy link
Contributor

Merges #1229

  • fix: missing core yarn files

Newer versions of yarn depend on more files than "yarn.lock". As a result, the tarballs need to include these core files to ensure that any future commands against the tarball contents utilize the right version of yarn. Example: configuring yarn v4 with a "pinned version" requires the ".yarnrc.yml" file along with the yarnPath configuration value. If configured to use a specific version of yarn, Yarn will download required files into a "./.yarn/releases/" directory. In the future, any execution of yarn will pick up the yarnPath configuration and use the "./.yarn/releases/" directory contents to download and use the specific version of yarn.

  • fix: yarn root path

* fix: missing core yarn files

Newer versions of yarn depend on more files than "yarn.lock". As a result, the tarballs need to include these core files to ensure that any future commands against the tarball contents utilize the right version of `yarn`. Example: configuring yarn v4 with a "pinned version" requires the ".yarnrc.yml" file along with the `yarnPath` configuration value. If configured to use a specific version of yarn, Yarn will download required files into a "./.yarn/releases/" directory. In the future, any execution of `yarn` will pick up the `yarnPath` configuration and use the "./.yarn/releases/" directory contents to download and use the specific version of yarn.

* fix: yarn root path
@mdonnalley mdonnalley merged commit 9efd810 into main Jan 2, 2024
22 checks passed
@mdonnalley mdonnalley deleted the mdonnalley/1229 branch January 2, 2024 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants