How to use the @commitlint/test.fix.bootstrap function in @commitlint/test

To help you get started, we’ve selected a few @commitlint/test 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 conventional-changelog / commitlint / @packages / utils / pkg-check.js View on Github external
function getTarballFiles(source, options) {
	return fix
		.bootstrap(source)
		.then(cwd =>
			execa('npm', ['pack'], {cwd}).then(cp => path.join(cwd, cp.stdout))
		)
		.then(tarball => getArchiveFiles(tarball, options));
}

@commitlint/test

test utilities for @commitlint

MIT
Latest version published 4 years ago

Package Health Score

67 / 100
Full package analysis

Popular @commitlint/test functions