Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hughsk/scoped-bulk
Run a command from every installed npm package under a certain scope
https://github.com/hughsk/scoped-bulk
Last synced: 8 days ago
JSON representation
Run a command from every installed npm package under a certain scope
- Host: GitHub
- URL: https://github.com/hughsk/scoped-bulk
- Owner: hughsk
- License: other
- Created: 2014-09-13T21:01:08.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-13T21:03:46.000Z (about 10 years ago)
- Last Synced: 2024-10-17T16:41:25.303Z (22 days ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 2
- Watchers: 3
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# scoped-bulk [![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)
Run a command from every installed npm package under a certain scope. Useful
in combination with [district](http://github.com/hughsk/district).## CLI Usage
[![NPM](https://nodei.co/npm/scoped-bulk.png)](https://nodei.co/npm/scoped-bulk/)
``` bash
Usage:
scoped-bulk
```Where `` is the package namespace to use, and `` is a
command to run from your shell in each scoped package.For example, running the following in your project root might yield something
like this:``` bash
scoped-bulk scoped ls -A
`````` bash
node_modules/@scoped/1
> ls -A.gitkeep
node_modules/@scoped/2
> ls -A.gitkeep
node_modules/@scoped/3
> ls -A.gitkeep
node_modules/@scoped/4
> ls -A.gitkeep
```You can use this, for example, to install the dependencies of locally scoped
modules:``` bash
scoped-bulk scoped npm install --production
```## License
MIT. See [LICENSE.md](http://github.com/hughsk/scoped-bulk/blob/master/LICENSE.md) for details.