0.0.2 • Published 2 years ago
lerna-command-gpm-alias v0.0.2
lerna-command-gpm-alias
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
为修改 tsconfig
和 jsconfig
- Type:
Array<'link' | 'ts-js-config'>
- Default:
['link', 'ts-js-config']
Contributing
- Fork it!
- Create your new branch:
git checkout -b feature-new
orgit 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)'
orgit 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