0.0.2 • Published 2 years ago

lerna-command-gpm-alias v0.0.2

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

lerna-command-gpm-alias

NPM version NPM Downloads Prettier Conventional Commits

Alias GPM Package

Usage

lerna gpm-alias
// lerna.json
{
  packages: ['packages/*'],
  extendCommands: ['@tutor/lerna-command-gpm-alias'],
  command: {
    'gpm-alias': {
      // be default
      aliasTypes: ['link', 'ts-js-config']
    }
  },
  version: '0.0.0',
  gpm: {}
}

Options

aliasTypes

gpm 资源链接方式;link 为使用软链方式,链接至 node_modules/PKG_NAME;ts-js-config 为修改 tsconfigjsconfig

  • Type: Array<'link' | 'ts-js-config'>
  • Default: ['link', 'ts-js-config']

Contributing

  • Fork it!
  • Create your new branch:
    git checkout -b feature-new or git checkout -b fix-which-bug
  • Start your magic work now
  • Make sure npm test passes
  • Commit your changes:
    git commit -am 'feat: some description (close #123)' or git commit -am 'fix: some description (fix #123)'
  • Push to the branch: git push
  • Submit a pull request :)

Authors

This library is written and maintained by imcuttle.

License

MIT - imcuttle