Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rfoel/install-latest
Does what it says, install the latest dependencies your package.json.
https://github.com/rfoel/install-latest
dependencies devdependencies hacktoberfest npm optionaldependencies peerdependencies yarn
Last synced: 2 months ago
JSON representation
Does what it says, install the latest dependencies your package.json.
- Host: GitHub
- URL: https://github.com/rfoel/install-latest
- Owner: rfoel
- License: mit
- Created: 2020-08-26T00:10:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T08:57:23.000Z (almost 2 years ago)
- Last Synced: 2024-10-07T16:34:57.954Z (3 months ago)
- Topics: dependencies, devdependencies, hacktoberfest, npm, optionaldependencies, peerdependencies, yarn
- Language: JavaScript
- Homepage:
- Size: 368 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# install-latest
[![npm version](https://badge.fury.io/js/install-latest.svg)](https://www.npmjs.com/package/install-latest)
[![GitHub license](https://img.shields.io/github/license/rfoel/install-latest.svg)](https://github.com/rfoel/install-latest/blob/master/LICENSE) ![GitHub stars](https://img.shields.io/github/stars/rfoel/install-latest?style=social)Does what it says, install the latest dependencies your package.json.
I know one's not supposed to just dump the latest packages on a project but I find it useful sometimes when I want to get a clean install and work with the latest updates.
## Quick start
If none flag is passed, it will attempt to install all latest updates for all types of dependencies.
```
npx install-latest
```You can also update only a specific type o dependency passing the following flags:
### Update only production dependencies
```
npx install-latest --prod
```### Update only development dependencies
```
npx install-latest --dev
```### Update only optional dependencies
```
npx install-latest --optional
```### Update only peer dependencies
```
npx install-latest --peer
```It is also possible to pass more than one flag at once like so:
```
npx install-latest --prod --dev
```### Interactively select the dependency types you want to update
```
npx install-latest --interactive
```## Usage
```
Usage: index [options]Does what it says, install latest dependencies from your package.json
Options:
-V, --version output the version number
--prod update only production dependencies
--dev update only development dependencies
--optional update only optional dependencies
--peer update only peer dependencies
-i, --interactive interactively select the dependency types you want
to update
-h, --help display help for command
```## Contributing
Issues and pull requests are welcome.
## License
[MIT](https://github.com/rfoell/install-latest/blob/master/LICENSE)