Comments (5)
I agree that lockfiles are good, just for a boilerplate where people expect to install and have relatively up-to-date dependencies out of the box, it's troublesome. Perhaps a happy medium would be to list instructions for both npm
and yarn
in the readme?
from preact-boilerplate.
I agree. When yarn came out I fell in love on the spot because I'm a speed freak. However, I later learned about pnpm.
from preact-boilerplate.
What would we be switching, just the docs? I'd be a little hesitant to add a yarn lockfile to the repo since it would need constant updating.
from preact-boilerplate.
Well, first of all the README.
I actually like the lockfile. It's my second favorite feature of yarn after speed. Makes things easier to avoid bugs in different environments.
Besides, unlike npm outdated
when you yarn outdated
it just reports on packages in your package.json
.
from preact-boilerplate.
Closing for now - I don't think Yarn users really need dedicated instructions on how to use Yarn (it would be odd to intentionally switch package managers but not know how to install a dependency). The npm run
steps don't really change with yarn since run
is the same in both CLI's. I'd be happy to merge a PR to add yarn to the docs, just not going to do it myself.
from preact-boilerplate.
Related Issues (20)
- Help with config? HOT 4
- An in-range update of script-ext-html-webpack-plugin is breaking the build 🚨 HOT 1
- An in-range update of eslint-plugin-react is breaking the build 🚨 HOT 2
- An in-range update of copy-webpack-plugin is breaking the build 🚨 HOT 2
- An in-range update of promise-polyfill is breaking the build 🚨 HOT 1
- await needed in router tests (app.test.js)? HOT 4
- An in-range update of css-loader is breaking the build 🚨 HOT 3
- An in-range update of serve is breaking the build 🚨 HOT 6
- An in-range update of postcss-loader is breaking the build 🚨 HOT 1
- Example of SW integration HOT 3
- Static HTML files? question HOT 1
- An in-range update of preact is breaking the build 🚨 HOT 2
- An in-range update of preact-router is breaking the build 🚨 HOT 1
- An in-range update of serve is breaking the build 🚨 HOT 1
- dependency bugs HOT 3
- requestAnimationFrame for HMR ? HOT 2
- unexpected token { HOT 1
- nrp run dev does not show latest changes HOT 1
- BrowserslistError: Unknown browser query `dead`
- Error when I try to install
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 preact-boilerplate.