Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
code-asher merged 1 commit into coder:main from edvincent:docs-yarn
Aug 30, 2022

Conversation

Copy link
Contributor

@edvincent edvincent commented Aug 29, 2022

Follow-up of #5071 (comment) to update the docs.

Only left references to yarn commands for the development process.

@edvincent edvincent requested a review from a team as a code owner August 29, 2022 20:19
Copy link
Contributor

@jsjoeio jsjoeio left a 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!

edvincent reacted with heart emoji
@jsjoeio jsjoeio self-assigned this Aug 29, 2022
@jsjoeio jsjoeio added the docs Documentation related label Aug 29, 2022
@jsjoeio jsjoeio added this to the August 2022 milestone Aug 29, 2022
@edvincent edvincent force-pushed the docs-yarn branch 2 times, most recently from dd7c740 to ead5c68 Compare August 29, 2022 20:31
Copy link

codecov bot commented Aug 29, 2022
edited
Loading

Codecov Report

Merging #5518 (ae4d210) into main (101d4ee) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@ 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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 101d4ee...ae4d210. Read the comment docs.

Copy link
Contributor Author

Actually... Where's my head. Forgot about the --unsafe-perm that npm requires... Updating coming up!

jsjoeio reacted with rocket emoji

Copy link
Contributor

jsjoeio commented Aug 29, 2022

Actually... Where's my head. Forgot about the --unsafe-perm that npm requires... Updating coming up!

Nice catch! Remind me again, why do we need this?

Copy link
Contributor Author

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.

jsjoeio reacted with eyes emoji

Copy link
Contributor

jsjoeio commented Aug 29, 2022

I honestly can't remember. @code-asher might know. Probably fine to add for now then we can revert/fix if needed.

edvincent reacted with thumbs up emoji

Copy link
Member

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.

Copy link
Contributor Author

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 root? Happy to play around with that and send a separate PR for that in the next couple of days.

jsjoeio reacted with heart emoji

Copy link
Member

code-asher commented Aug 30, 2022 via email

Yeah I think that would be ideal!!

@code-asher code-asher merged commit ef3f4e8 into coder:main Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
1 more reviewer

@jsjoeio jsjoeio jsjoeio approved these changes

Reviewers whose approvals may not affect merge requirements
Labels
docs Documentation related
Projects
None yet
Milestone
August 2022
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /