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 install for yarn@4 #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

fix install for yarn@4 #1

wants to merge 5 commits into from

Conversation

broofa
Copy link

@broofa broofa commented Mar 3, 2024

yarn@4 doesn't install this repo properly when referenced via a git: URL in package.json. All you get is this:

$ ls node_modules/thememirror/
package.json readme.md

I assume this is because yarn is enforcing the package.json#files constraints, but also not running the prepare script. 🤷

I played around with adding a postinstall script to this, but this repo uses npm, and trying to get our yarn world to play nicely with that was a bit of a rabbit hole. So... simpler to just build and commit the dist folder here.

@broofa broofa marked this pull request as ready for review March 3, 2024 16:54
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.

1 participant