-
Notifications
You must be signed in to change notification settings - Fork 5.9k
docs: remove references to installing with yarn in favor of npm #5518
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
Conversation
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.
Woo! Thanks for doing this!
dd7c740
to
ead5c68
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #5518 +/- ##
=======================================
Coverage 72.44% 72.44%
=======================================
Files 30 30
Lines 1673 1673
Branches 366 366
=======================================
Hits 1212 1212
Misses 398 398
Partials 63 63 Continue to review full report at Codecov.
|
Actually... Where's my head. Forgot about the |
Nice catch! Remind me again, why do we need this? |
https://github.com/coder/code-server/blob/main/ci/build/npm-postinstall.sh#L95-L101 Now, is it actually needed? Not sure. Definitely something I'm happy to look into in the future. |
I honestly can't remember. @code-asher might know. Probably fine to add for now then we can revert/fix if needed. |
I think we only need it if someone is installing code-server with root because NPM will drop permissions in the post install scripts making the code-server install fail. |
So we should add a check for the user running the script, and only show the warning if it's |
Yeah I think that would be ideal!!
|
Follow-up of #5071 (comment) to update the docs.
Only left references to
yarn
commands for the development process.