-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
Rewrite understanding client-side tools section #34017
Conversation
Josh-Cena
commented
Jun 8, 2024
- Fix [Tools] The option -r of rmdir not supported on Windows/mac #31712
- Fix [Tools] Parcel example should use v2 #17278
- Fix [Tools] Content about Parcel is deprecated and troublesome #28080
- Fix [Tools] fails to build; problem with postcss-preset-env versions #12495
- Fix [Tools] using npx does not guarantee correct version or library #18616
- Fix [Tools] Deprecated packages and links, issue about parcel auto installation, wrong path in /src/index.css #28100
- Remove Parcel because I don't think anyone here is familiar with it and it does a lot of magic around dependency management which is bad for education purposes
- Self-host the example repo
- Other modernizations around references to toolings
036eb9d
to
97dd15c
Compare
Content is mostly ready, pending the part of GitHub Pages deployment because I need @bsmth's help |
files/en-us/learn/tools_and_testing/understanding_client-side_tools/command_line/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/understanding_client-side_tools/deployment/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/understanding_client-side_tools/deployment/index.md
Outdated
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/understanding_client-side_tools/deployment/index.md
Outdated
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/understanding_client-side_tools/deployment/index.md
Outdated
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/understanding_client-side_tools/deployment/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/understanding_client-side_tools/deployment/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/understanding_client-side_tools/deployment/index.md
Outdated
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/understanding_client-side_tools/deployment/index.md
Outdated
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/understanding_client-side_tools/deployment/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/understanding_client-side_tools/deployment/index.md
Show resolved
Hide resolved
...rn/tools_and_testing/understanding_client-side_tools/introducing_complete_toolchain/index.md
Outdated
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/understanding_client-side_tools/overview/index.md
Outdated
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/understanding_client-side_tools/overview/index.md
Outdated
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/understanding_client-side_tools/package_management/index.md
Outdated
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/understanding_client-side_tools/package_management/index.md
Outdated
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/understanding_client-side_tools/package_management/index.md
Outdated
Show resolved
Hide resolved
…tools/package_management/index.md Co-authored-by: Brian Thomas Smith <[email protected]>
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.
We mention in L66:
Note: npm is not the only package manager available. A successful and popular alternative package manager is Yarn. Yarn resolves the dependencies using a different algorithm that can mean a faster user experience. There are also a number of other emerging clients, such as pnpm.
I'm not sure this is true anymore in recent years. Are there still benefits to Yarn over npm? We should still mention it because readers are very likely to encounter it in projects.
Also later in the initialize phase, we're running npm and yarn commands sequentially without explaining that you shouldn't mix these in projects, and it's either-or.
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.
I'm not sure this is true anymore in recent years. Are there still benefits to Yarn over npm? We should still mention it because readers are very likely to encounter it in projects.
There are many ways in which Yarn is faster than npm.
- In a monorepo, Yarn offers the best experience with precise hoisting.
- Yarn PnP wraps its own Node runtime that is faster than node_modules resolution.
- Zero-installs allows you to commit node_modules (basically, but compressed of course) and others won't even need to ever install
- Yarn and pnpm both have faster disk operations than npm.
I'm not sure if we should describe in such detail. We just picked tools that work, not saying there's anything worse about other tools.
Also later in the initialize phase, we're running npm and yarn commands sequentially without explaining that you shouldn't mix these in projects, and it's either-or.
Good idea 👍
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.
Super, thanks for the info!
I'm not sure if we should describe in such detail.
No that's fine, thanks.
af0869e
to
099c4d9
Compare
099c4d9
to
ac4d467
Compare
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.
I think we're all good to go. In general, I'm trying to avoid adding screenshots because of the maintenance cost, if you think we can go without them using links instead, that would be great. Otherwise, leaving a +1 on this. Well done 👍🏻
Great! Yeah I think the remaining screenshots are necessary. |