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

Remove Yarn from node #634

Open
akkadaya opened this issue Feb 16, 2024 · 1 comment
Open

Remove Yarn from node #634

akkadaya opened this issue Feb 16, 2024 · 1 comment

Comments

@akkadaya
Copy link

Issue Template

node

Issues

  • Remove Yarn from node. Yarn has its own template yarn, which overlaps with node
  • Update yarn template to match the official one when initialising Yarn package yarn init -2
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Swap the comments on the following lines if you wish to use zero-installs
# In that case, don't forget to run `yarn config set enableGlobalCache false`!
# Documentation here: https://yarnpkg.com/features/caching#zero-installs

#!.yarn/cache
.pnp.*
@mcandre
Copy link

mcandre commented Sep 26, 2024

Note that git is behaving weirdly with Yarn projects, even when using the upcoming Yarn gitignore patterns and disabling the stock Yarn patterns from the current node pattern list.

git keeps trying over and over to stage files like .yarn/install-state.gz and .yarn/unplugged/ that it has no business tracking.

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

No branches or pull requests

2 participants