package
A Yarn wrapper with extra functionality
npm install blarnGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
A Yarn wrapper with extra functionality
@types packages when adding or removing packages in a TypeScript project// npm
npm install -g blarn
// yarn
yarn global add blarn// npm
npm install -g blarn
// yarn
Blarn will pass all commands and arguments through to Yarn. When adding packages in a TypeScript project it will execute a second yarn add command to add any available @types packages as dev dependencies. When removing packages any corresponding @types packages will be added to the list of packages to remove.
blarn add yargs
If you run this command in a TypeScript project yargs will be installed as a dependency and @types/yargs will be installed as a dev dependency. If you run this command in a JavaScript project only yargs will be installed as a dependency.
blarn remove yargs
If you run this command in a TypeScript project and @types/yargs exists in package.json both yargs and @types/yargs will be removed. If you run this command in a JavaScript project only yargs will be removed.
blarn linked
blarn linkable
blarn unlink-all
yarnyarn build or yarn watchyarn start or bin/blarn.jsThis project was inspired by Yarn 2 and Bojack Horseman.
Estimated unpacked size across 26 packages.
1.8 MB
Includes dependencies.