refactor(cli): rename the emigrate package to @emigrate/cli to be more in line with other tools

This commit is contained in:
Joakim Carlstein 2023-11-15 14:41:25 +01:00
parent 9f5abf727d
commit 0b78d5cf32
16 changed files with 34 additions and 11 deletions

View file

@ -1,13 +1,13 @@
# emigrate
# @emigrate/cli
Emigrate is a tool for managing database migrations. It is designed to be simple yet support advanced setups, modular and extensible.
## Installation
Install Emigrate in your project:
Install the Emigrate CLI in your project:
```bash
npm install --save-dev emigrate
npm install --save-dev @emigrate/cli
```
## Usage

View file

@ -1,5 +1,5 @@
{
"name": "emigrate",
"name": "@emigrate/cli",
"version": "0.2.1",
"publishConfig": {
"access": "public"
@ -35,8 +35,8 @@
"@emigrate/tsconfig": "workspace:*"
},
"author": "Aboviq AB <dev@aboviq.com> (https://www.aboviq.com)",
"homepage": "https://github.com/aboviq/emigrate/tree/main/packages/emigrate#readme",
"repository": "https://github.com/aboviq/emigrate/tree/main/packages/emigrate",
"homepage": "https://github.com/aboviq/emigrate/tree/main/packages/cli#readme",
"repository": "https://github.com/aboviq/emigrate/tree/main/packages/cli",
"bugs": "https://github.com/aboviq/emigrate/issues",
"license": "MIT",
"dependencies": {

View file

@ -94,5 +94,5 @@ export type PluginType = 'storage' | 'generator';
export type PluginFromType<T extends PluginType> = T extends 'storage'
? StoragePlugin
: T extends 'generator'
? GeneratorPlugin
: never;
? GeneratorPlugin
: never;