-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 parsing weird formats of the keywords field of some package.json files #161
Fix parsing weird formats of the keywords field of some package.json files #161
Conversation
@01walid is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
Thanks! This looks awesome. If you can unwind the version bump then I can merge. |
8c43162
to
0886264
Compare
@jaredpalmer done! rebased off the main branch. |
0886264
to
1e9af57
Compare
This is definitely a bug, but also my guess is you have a double star |
@jaredpalmer Interesting, we indeed use double star, I'll run some tests with Does this apply to exclude rules? e.g.
Exactly my initial thought, I noticed Keywords isn't used anywhere in the codebase, but thought it might be the case in the future. Will do this. |
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/vercel/turbo-site/5mFmPi46yZdQRHRj3n5jZQckoGyw |
…ge.json files" This reverts commit 1e9af57.
@jaredpalmer I went ahead with removing the fields you mentioned. |
Latest version of turborepo was having issues parsing lodash's
package.json
file. Because it has thekeywords
field defined as:And not using the standard format:
lodash
version used is:v4.17.21
(latest version).Turborepo was failing (exiting) with errors like:
This PR handles the above and some slightly weirder ways of defining keywords in package.json
I incremented the version, LMK if this is not the scope of this PR.