Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@putout/plugin-madrun
Advanced tools
Readme
CLI tool to run multiple npm-scripts in a madly comfortable way.
(c) Madrun
🐊Putout plugin adds ability to fix issues with Madrun config file.
npm i putout @putout/plugin-madrun -D
{
"rules": {
"madrun/add-function": "on",
"madrun/add-fix-lint": "on",
"madrun/add-run": "on",
"madrun/add-cut-env": "on",
"madrun/call-run": "on",
"madrun/convert-run-argument": "on",
"madrun/convert-args-to-scripts": "on",
"madrun/convert-run-to-cut-env": "on",
"madrun/convert-cut-env-to-run": "on",
"madrun/rename-series-to-run": "on",
"madrun/rename-eslint-to-putout": "on",
"madrun/set-lint-dot": "on",
"madrun/convert-to-async": "on",
"madrun/convert-nyc-to-c8": "on",
"madrun/set-report-lcov": "on",
"madrun/remove-check-duplicates-from-test": "on",
"madrun/remove-useless-array-in-run": "on",
"madrun/remove-useless-string-conversion": "on"
}
}
module.exports = {
hello: 'world',
};
module.exports = {
hello: () => 'world',
};
const {run} = require('madrun');
module.exports = {
lint: 'putout lib test',
};
const {run} = require('madrun');
module.exports = {
'lint': 'putout lib test',
'fix:lint': run('lint', '--fix'),
};
module.exports = {
lint: 'putout lib test',
};
const {run} = require('madrun');
module.exports = {
lint: 'putout lib test',
};
export default {
'test': () => [env, 'test:only'],
'test:only': () => [env, 'npm test'],
};
import {cutEnv} from 'madrun';
export default {
'test': async () => [testEnv, await cutEnv('test:only')],
'test:only': () => [env, 'npm test'],
};
module.exports = {
hello: () => run(['a']),
};
module.exports = {
hello: () => run('a'),
};
Check out in 🐊Putout Editor.
export default {
build: () => 'tsup',
wisdom: () => run('build', 'test', 'test:dts'),
};
export default {
build: () => 'tsup',
wisdom: () => run(['build', 'test', 'test:dts']),
};
export default {
'test': () => [env, 'npm test'],
'test:only': () => 'npm test',
'coverage': async () => [env, await run('test')],
'coverage:only': async () => [env, await run('test:only')],
};
export default {
'test': () => [env, 'npm test'],
'test:only': () => 'npm test',
'coverage': async () => [env, await cutEnv('test')],
'coverage:only': async () => [env, await run('test:only')],
};
export default {
'test': () => [env, 'npm test'],
'test:only': () => 'npm test',
'coverage': async () => [env, await cutEnv('test')],
'coverage:only': async () => [env, await cutEnv('test:only')],
};
export default {
'test': () => [env, 'npm test'],
'test:only': () => 'npm test',
'coverage': async () => [env, await cutEnv('test')],
'coverage:only': async () => [env, await run('test:only')],
};
module.exports = {
lint: 'eslint lib test --ignore test/fixture',
};
module.exports = {
lint: 'putout lib test',
};
module.exports = {
lint: 'putout lib test',
};
module.exports = {
lint: 'putout .',
};
module.exports = {
lint: () => String(run('hello')),
};
module.exports = {
lint: async () => String(await run('hello')),
};
export default {
coverage: () => 'nyc npm test',
report: () => `nyc report --reporter=text-lcov | coveralls`,
};
export default {
coverage: () => 'c8 npm test',
report: 'c8 report --reporter=lcov',
};
export default {
report: () => `c8 report --reporter=text-lcov | coveralls || true`,
};
export default {
report: 'c8 report --reporter=lcov',
};
export default {
test: () => 'tape -d *.js',
};
export default {
test: () => 'tape *.js',
};
Checkout in 🐊Putout Editor.
export default {
time: async () => await run(['lint:fresh', '-f time']),
};
export default {
time: async () => await run('lint:fresh', '-f time'),
};
Checkout in 🐊Putout Editor.
export default {
time: async () => [testEnv, String(await cutEnv('test:raw'))],
};
export default {
time: async () => [testEnv, await cutEnv('test:raw')],
};
export default {
coverage: async () => [env, `c8 ${await cutEnv('test')}`],
};
import {cutEnv} from 'madrun';
export default {
coverage: async () => [env, `c8 ${await cutEnv('test')}`],
};
MIT
FAQs
🐊Putout plugin adds ability to transform madrun scripts
The npm package @putout/plugin-madrun receives a total of 16,003 weekly downloads. As such, @putout/plugin-madrun popularity was classified as popular.
We found that @putout/plugin-madrun demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.