-
Notifications
You must be signed in to change notification settings - Fork 197
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
Update quickstart.md, added new 4th step making it 5 step documentation #2641
Conversation
Added pnpm filtering command to restrict commands to `@openverse/eslint-plugin` as new 4th step
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! In addition to Krystle's correction, I have one additional suggestion.
Your welcome! Hoping to contribute more to this project in future. Tell me if there is any other thing I can do |
@dhruvkb and @AetherUnbound @krysal who have reviewed. I think #2633 is a better solution for this because it removes this unnecessary dependency. Alternatively, we should add building the ESLint package to That is to say, additional instructions are not the solution here because we can easily automate the building of the package in our regular process. Which is far better, because then the plugin will actually be updated when it changes and is evaluated by the Webpack plugin. |
changed flag option and 4th step description for better understanding
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be merged now? review it and let me know if I can improve anything else
@sarayourfriend thanks for your perspective, I was primarily reviewing based on the context from the issue (since I don't work to directly with these tools). Do you think this is sufficiently addressed by #2643? @Dev-Arhaan thanks for your patience while we figure out the best path forward on this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While #2633 does fix the case where ESLint blocks the dev window, it doesn't address the fact that the ESLint package is not compiled when the dev server is run directly. I would prefer this to be in the docs.
Or | ||
|
||
```console | ||
$ pnpm -F '@openverse/eslint-plugin' build | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems an unnecessary repetition of the previous command. We could omit this.
The eslint plugin is only a dependency of the frontend because of the ESLint Webpack plugin. The frontend Nuxt build shouldn't need the ESLint plugin at all and therefore there's no need to manually run a build of it. When the package.json Is there something else that is causing a dependency between the built If it were, for some reason, then the correct way to fix this would be to add The note at the end of this page describes this apporoach: https://docs.openverse.org/packages/#adding-new-packages |
Based on the high urgency of this PR, the following reviewers are being gently reminded to review this PR: @sarayourfriend Excluding weekend1 days, this PR was ready for review 3 day(s) ago. PRs labelled with high urgency are expected to be reviewed within 2 weekday(s)2. @Dev-Arhaan, if this PR is not ready for a review, please draft it to prevent reviewers from getting further unnecessary pings. Footnotes
|
I'll draft this until @dhruvkb responds to prevent further unnecessary pings. |
Sorry, it took me a while to process your message @sarayourfriend. I think IDEs like WebStorm run ESLint constantly in the background to underline issues. They will break unless the extension is compiled. I would prefer an approach that has the package compiled even before running |
Gotcha. I hadn't considered that aspect of devex. Could we add it as a I suggest What do you think? |
@sarayourfriend that seems like a good idea. Could you please update the issue to reflect this change of approach and also add some steps for how to resolve it? @Dev-Arhaan thanks for working on this and we're sorry for not being able to utilise this PR. Once, the issue has been updated to use |
Done 👍 |
Hey, I saw this today, I was/am busy with moving to hostel, just let me know what needs to be added and I'll put a pr out by day after tomorrow |
We appreciate your help here @Dev-Arhaan. Please review the updated issue and make another PR to continue. |
Fixes
Fixes #2616 by @dhruvkb
Description
Added pnpm filtering command to restrict commands to
@openverse/eslint-plugin
as new 4th step.Testing Instructions
Checklist
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin