Comments (7)
Overall, I think I would still vote to use npm
. There are some benefits to Yarn 2 for sure, but I think it'll still cause some confusion around versioning, even if corepack
is used. I feel like questions like "This project is Yarn 2, but I have Yarn 1. Will it work? What is corepack?" will come up. I could maybe see us relying on it if it were on by default, but it's not quite there yet. npm
is a really safe choice and will be fairly familiar for people—I don't think we'd go wrong choosing it.
from docs.
I agree that npm is the safest choice.
WRT Yarn 1 vs 2 I believe how it works is that if they have the latest Yarn 1 it will detect that the project uses a different Yarn (through yarn set version stable
a .yarnrc
file is generated that latest Yarn Classic will detect and adhere to). So it should "just work", but definitely more fragile than I'd like.
We could keep this issue open and see how yarn/corepack
matures and revisit later with some more scientific evaluation of the pros and cons.
from docs.
Is this issue duplicated (more or less) now in Issue #43? @flaki
from docs.
@LauraLangdon yeah the two are closely related. I'll have a look at this again next week and try to come up with a proposal for the weekly meeting.
from docs.
Docusaurus has existing plugin support for displaying npm/yarn commands automatically as tabs.
from docs.
From yesterday's docs meeting notes:
- Laura: The docs should follow the behaviour of respecting the “selected” language, meaning that we should show a “language not available” type of message
- Ramón: Should we show all tabs, even if there’s no content for that language?
- Laura: That makes sense
- Ramón: Why not have a “Contribute this code block” kind of incentive when no code present for that language?
- @flaki Is this possible? Say if the “content” prop is empty, or something?
from docs.
As discussed with @callahad, we'll go with an opinionated npm
:
Those who know
yarn
will useyarn
from docs.
Related Issues (20)
- Replace references to docker-compose with docker compose
- Document that some systems only have docker compose and docker-compose will fail HOT 1
- Shrink website/docs/assets/editor-screen.png ? HOT 6
- Update Compute deployment docs
- Sunset Reactr docs HOT 1
- Sunset docs for soon-to-be-deprecated projects HOT 6
- Remove mentions of Swift
- Change names for rebranding
- a11y issues
- Initial hosted SE2 docs HOT 1
- Multi-language tab links in sidebar HOT 1
- Self-hosted SE2 docs HOT 1
- Docs landing page
- Revisions from Taryn's walkthrough HOT 1
- Hosted SE2 docs
- Integrate Fathom analytics
- Rocketship quickstart HOT 1
- Editor is not configured notice has broken link to documentation HOT 2
- Sample iFrame tag for the editor
- Quickstart execute plugin URL produces 404 error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.