Um utilitário para a migração de projetos Vue para {N}

### Usage

- **CLI (Recommended)**

  We recommend the package [@friendly-tnsvue/cli] as command-line interface.

  **Install:**

  ```sh
  # npm
  npm install -g @friendly-tnsvue/cli

  # yarn
  yarn global add @friendly-tnsvue/cli
  ```

  **Usage:**

  ```sh
  # inside of a vuejs project
  ftns migrate
  ```

- **Advanced**

  You can use the `migration-service` without CLI, see:

  ```sh
  npm install @friendly-tnsvue/migration-service
  # or
  yarn add @friendly-tnsvue/migration-service
  ```

  **Usage:**

  ```javascript
  import migrationService from '@friendly-tnsvue/migration-service';

  migrationService(toolbox);
  ```

  Caso queira algo rápido, instale o pacote [gluegun] e importe-o com o nome `toolbox`.

  Você ainda pode especificar seu próprio `toolbox` _(uma versão web, talvez?)_, mas recomendamos que siga [esta](https://github.com/infinitered/gluegun/blob/master/docs/toolbox-api.md) estrutura.

### Development

Your are [free](LICENSE) to make changes, study or inspect. You can `clone` this repo and be happy ;)

1. Clone this repo with `git clone https://github.com/friendly-tnsvue/monorepo.git`
2. Install required dependencies with `lerna bootstrap && lerna exec yarn # yarn -> npm install`
3. Register the CLI with `cd packages/cli && yarn link && cd ../packages/migration-service`
4. Start the development workspace (hot-reload) with `yarn dev`
4. For tests, use: `yarn test`
5. Build production files: `yarn build`

---

#### Quer contribuir? Ótimo! 🤝

Fique livre para:

- Open a issue.
- Send a pull request.
- Comment on the code that you believe tha can be improved.

Before send a pull request, run:

```sh
$ yarn build:prepare
```

### 📝 License

O código fonte desse projeto está licenciado sob a licensa [GPL-3.0](LICENSE)

(c) 2019, Gabriel Rodrigues

[gluegun]: https://www.npmjs.com/package/gluegun
[@friendly-tnsvue/cli]: https://www.npmjs.com/package/@friendly-tnsvue/cli
