How to use @seadub/danger-plugin-dependencies - 6 common examples

To help you get started, we’ve selected a few @seadub/danger-plugin-dependencies examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github appcelerator-modules / ti.map / dangerfile.js View on Github external
async function main() {
	// do a bunch of things in parallel
	// Specifically, anything that collects what labels to add or remove has to be done first before...
	await Promise.all([
		junit({ pathToReport: './TESTS-*.xml' }),
		dependencies({ type: 'npm' }),
		linkToArtifacts(),
		checkLintLog(),
	]);
}
main()
github appcelerator / titanium_mobile / dangerfile.js View on Github external
// Specifically, anything that collects what labels to add or remove has to be done first before...
	await Promise.all([
		checkNPMTestOutput(),
		checkCommitMessages(),
		checkStats(github.pr),
		checkJIRA(),
		linkToSDK(),
		checkForIOSCrash(),
		junit({ pathToReport: './junit.*.xml' }),
		checkChangedFileLocations(),
		checkCommunity(),
		checkMergeable(),
		checkPRisApproved(),
		updateMilestone(),
		eslint(),
		dependencies({ type: 'npm' }),
	]);
	// ...once we've gathered what labels to add/remove, do that last
	await requestReviews();
	await removeLabels();
	await addMissingLabels();
}
main()
github appcelerator-modules / ti.playservices / dangerfile.js View on Github external
async function main() {
	// do a bunch of things in parallel
	// Specifically, anything that collects what labels to add or remove has to be done first before...
	await Promise.all([
		junit({ pathToReport: './TESTS-*.xml' }),
		dependencies({ type: 'npm' }),
		linkToArtifacts(),
	]);
}
main()
github appcelerator / vscode-appcelerator-titanium / dangerfile.js View on Github external
async function main() {
	await Promise.all([
		eslint(null, [ '.ts' ]),
		junit({ pathToReport: './junit_report.xml' }),
		dependencies({ type: 'npm' }),
		linkToVsix()
	]);
}
github appcelerator / titanium / dangerfile.js View on Github external
async function main() {
	await Promise.all([
		eslint(),
		junit({ pathToReport: './junit_report.xml' }),
		dependencies({ type: 'npm' })
	]);
}
main()
github appcelerator / atom-appcelerator-titanium / dangerfile.js View on Github external
async function main() {
	const eslintConfig = fs.readFileSync(path.join(__dirname, '.eslintrc'), 'utf8');
	await Promise.all([
		eslint(eslintConfig, [ '.js', '.jsx' ]),
		junit({ pathToReport: './junit_report.xml' }),
		dependencies({ type: 'npm' })
	]);
}
main()

@seadub/danger-plugin-dependencies

Provides dependency information on dependency changes in a PR

MIT
Latest version published 4 years ago

Package Health Score

48 / 100
Full package analysis

Popular @seadub/danger-plugin-dependencies functions