Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Monorepo packages development-production cli
Yuppy allows you do describe multiple packages in config file and run command for each of them.
using npm
npm install yuppy --save-dev
using Yarn
yarn add yuppy --dev
yuppy.config.js
(or yuppy.config.json) file under your rootconst node = 'node';
const webpack = `${node} ./node_modules/webpack-cli/bin/webpack.js`
module.exports = {
'packages': [
{
'name': 'Angular app',
'scripts': {
'start': `${webpack} --watch --config ./config/angular.webpack.js`,
'build': `${webpack} --config ./config/angular.webpack.js`,
'echo': 'echo Hello Angular',
'err': 'Angular error please'
}
},
{
'name': 'Vue app',
'scripts': {
'start': `${webpack} --watch --config ./config/vue.webpack.js`,
'build': `${webpack} --config ./config/vue.webpack.js`,
'echo': 'echo Hello Vue',
'err': 'Vue error please'
}
},
{
'name': 'React app',
'scripts': {
'start': `${webpack} --watch --config ./config/react.webpack.js`,
'build': `${webpack} --config ./config/react.webpack.js`,
'echo': 'echo Hello React',
'err': 'React error please'
}
}
]
}
"scripts": {
"start": "./node_modules/yuppy/bin/yuppy start"
},
yuppy -h
to see available commandsUsage: yuppy [options] [command]
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
start [options] Select and run package script
run [options] <script> Run given script(s) for all project
yuppy start -h
to see start command optionsUsage: start [options]
Select and run package script
Options:
-c, --config [config] Optional yuppy config file path
-h, --help output usage information
yuppy run -h
to see run command optionsUsage: run [options] <script>
Run given script(s) for all project
Options:
-c, --config [config] Optional yuppy config file path
-s, --stop-on-fail Stop on first failed script
-S, --skip-unchanged Skip script when project is not changed
-p, --parallel Run in parallel
-P, --max-parallel-scripts [maxParallelScripts] Set max parallel scripts to run at the same time
-h, --help
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the MIT License - see the LICENSE.md file for details
0.6.1 (2019-03-04)
<a name="0.5.0"></a>
FAQs
Monorepo packages development-production cli
The npm package yuppy receives a total of 0 weekly downloads. As such, yuppy popularity was classified as not popular.
We found that yuppy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.