# lerna-command-gpm-alias

> Alias GPM Package

Latest version **0.0.2** (published 2022-01-06) · 0 weekly downloads

## Install

```sh
npm install lerna-command-gpm-alias
pnpm add lerna-command-gpm-alias
yarn add lerna-command-gpm-alias
bun add lerna-command-gpm-alias
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2022-01-06 |
| First published | 2021-06-18 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 8.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | imcuttle |
| Maintainers | moyuyc |
| Keywords | imcuttle, gpm-alias, imcuttle, lerna, commands, lerna-commands |

## Links

- npm: https://www.npmjs.com/package/lerna-command-gpm-alias
- Repository: https://github.com/imcuttle/lerna-gpm
- Homepage: https://github.com/imcuttle/lerna-gpm#readme
- Issues: https://github.com/imcuttle/lerna-gpm/issues
- npm.io page: https://npm.io/package/lerna-command-gpm-alias

## Dependencies (7)

- [json5](https://npm.io/package/json5.md) ^2.2.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^10.0.0
- [@lerna/project](https://npm.io/package/@lerna/project.md) ^4.0.0
- [write-json-file](https://npm.io/package/write-json-file.md) ^4.3.0
- [@lerna/filter-options](https://npm.io/package/@lerna/filter-options.md) ^4.0.0
- [@lerna/validation-error](https://npm.io/package/@lerna/validation-error.md) ^4.0.0
- [lerna-utils-globs-command](https://npm.io/package/lerna-utils-globs-command.md) ^0.0.13

## Recent versions

- 0.0.2 (latest) — 2022-01-06
- 0.0.1 — 2021-06-18

## README

# lerna-command-gpm-alias

[![NPM version](https://img.shields.io/npm/v/lerna-command-gpm-alias.svg?style=flat-square)](https://www.npmjs.com/package/lerna-command-gpm-alias)
[![NPM Downloads](https://img.shields.io/npm/dm/lerna-command-gpm-alias.svg?style=flat-square&maxAge=43200)](https://www.npmjs.com/package/lerna-command-gpm-alias)
[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://prettier.io/)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square)](https://conventionalcommits.org)

> Alias GPM Package

## Usage

```bash
lerna gpm-alias
```

```json5
// 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` 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](mailto:yucong@yuanfudao.com).

## License

MIT - [imcuttle](mailto:yucong@yuanfudao.com)

---
_Source: https://npm.io/package/lerna-command-gpm-alias · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
