Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
rocktim4604y@coffeeholic yes. I am thinking about making it modular. then it can be required as a module. but currently busy with some other stuff so leaving that for now.
-
rocktim4604y@coffeeholic Yes, it does. but note that it only updates the versions at package.json. After that, you would have to do a usual 'npm install' to actually install the latest versions.
-
@coffeeholic If it wouldn't you could just use npm update, right?
package.json contains constraints, lock contains actual versions. Normally you'd do patch/minor automatically using npm update, and major versions manually because there could be breaking changes.
I assume this tool is kind of meant as a "fuck it, lets break some things" tool.
For PHP/composer, it has always annoyed me a bit that there was no "fuck it lets break some things" option. -
rocktim4604y@bittersweet Actually there is an option in the tool to ignore specific dependencies while updating. If there is a major version and you don't want to update or want to update it manually then you can just pass the package with the flag
"--ignore <package_name>"
and it won't update it.
ps: you can pass multiple packages
Related Rants
I created Syzerβ‘ a cli tool that updates all of your npm dependencies at one go.
Repo: π
https://github.com/RocktimSaikia/...
The reasons behind building this: π
1) I personally hate updating my project dependencies manually.
2) There are other similar libraries that do the same thing but I tried one and too much config. I had to specify the package.json file to update it. then what was the point of using that library. So ended up creating one myself.
3) 'npm update' already exists I know but it does not update the package.json file with the latest version tags.
For more info on how the use the tool check it's README instructions. π
rant
showcase
javascript
node