cms
cms copied to clipboard
migrated from npm to yarn
PR Fixes:
- 1 fixes #312
Resolves #[312]
Checklist before requesting a review
- [ ] I have performed a self-review of my code
- [ ] I assure there is no similar/duplicate pull request regarding same issue
- [ ] migrated from npm to yarn using yarn official docs https://classic.yarnpkg.com/lang/en/docs/migrating-from-npm/
- [ ] changed readme.md file to setup the project using yarn
- [ ] changed the docker file to use yarn instead of npm
- [ ] ensured everything is working perfect in local development
https://github.com/code100x/cms/assets/89250524/81d932eb-d49b-4c21-b570-5fec4f9aec0e
@hkirat sir, done migrating from npm to yarn. If anything is missing let me know
I have only changed Dockerfile, README file for stating how to setup the project locally using yarn to contributors, deleted package-lock.json and pnpm-lock.yaml
The changes in the other components are autoformatted by prettier, I haven't done any manual changes
Hey @rohithreddy009, I just wanted to know how much time does the yarn
command takes to install all the dependencies locally ?
Hey @rohithreddy009, I just wanted to know how much time does the
yarn
command takes to install all the dependencies locally ?
Depends on your internet. For me 3-5 minutes. I'm on 100mbps internet.
@rohithreddy009 that's too long. It happens mostly under 30s if the lock file is maintained regularly
I'm saying, if you forked the repo and downloading packages for the first time.
I'm saying, if you forked the repo and downloading packages for the first time.
https://github.com/rohithreddy009/cms/pull/1 check this PR
Results:
Do we really need to move from npm to yarn atm? 👀
Do we really need to move from npm to yarn atm? 👀
I think this is the correct time to migrate, yarn has many advantages and faster than npm. If this is prolonged it becomes more complicated in the coming cycles. Moreover no big organization is usign npm as its package manager. vercel, dub used pnpm, calcom uses yarn as their package managers.
just two comments then good to go
Good to go ser
I tested changes locally.