Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glensc/yarn-install-dev
Install selected packages from devDependencies
https://github.com/glensc/yarn-install-dev
Last synced: about 2 months ago
JSON representation
Install selected packages from devDependencies
- Host: GitHub
- URL: https://github.com/glensc/yarn-install-dev
- Owner: glensc
- License: mit
- Created: 2023-02-07T05:37:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-07T08:27:05.000Z (almost 2 years ago)
- Last Synced: 2024-10-29T10:45:23.468Z (3 months ago)
- Language: JavaScript
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yarn-install-dev
Install selected packages from `devDependencies`.
This is to provide solution for [yarnpkg/yarn#5201] and [yarnpkg/yarn#3254].
[yarnpkg/yarn#5201]: https://github.com/yarnpkg/yarn/issues/5201
[yarnpkg/yarn#3254]: https://github.com/yarnpkg/yarn/issues/3254## Installation
Recommended installation is to install as global.
```shell
npm install -g yarn-install-dev
```## Usage
Install `typescript` version specified in `devDependencies`:
```shell
yarn-install-dev typescript
```This will run `yarn install --frozen-lockfile --production` with modified `package.json`.
The `package.json` file is restored to original state after `yarn` execution.