docs(commands): use more idiomatic commands per package manager

This commit is contained in:
Joakim Carlstein 2023-12-18 14:21:30 +01:00 committed by Joakim Carlstein
parent 418737f97d
commit bf52bd0d3c
4 changed files with 8 additions and 8 deletions

View file

@ -20,12 +20,12 @@ It then sorts the migrations by filename in ascending order and outputs them and
</TabItem>
<TabItem label="pnpm">
```bash
pnpm exec emigrate list [options]
pnpm emigrate list [options]
```
</TabItem>
<TabItem label="yarn">
```bash
yarn exec emigrate -- list [options]
yarn emigrate list [options]
```
</TabItem>
<TabItem label="package.json">

View file

@ -19,12 +19,12 @@ The migration file can be based on a template, generated by a [generator plugin]
</TabItem>
<TabItem label="pnpm">
```bash
pnpm exec emigrate new [options] <name>
pnpm emigrate new [options] <name>
```
</TabItem>
<TabItem label="yarn">
```bash
yarn exec emigrate -- new [options] <name>
yarn emigrate new [options] <name>
```
</TabItem>
<TabItem label="package.json">

View file

@ -17,12 +17,12 @@ The `remove` command is used to remove a migration from the history. This is use
</TabItem>
<TabItem label="pnpm">
```bash
pnpm exec emigrate remove [options] <name>
pnpm emigrate remove [options] <name>
```
</TabItem>
<TabItem label="yarn">
```bash
yarn exec emigrate -- remove [options] <name>
yarn emigrate remove [options] <name>
```
</TabItem>
<TabItem label="package.json">

View file

@ -22,12 +22,12 @@ If any of the migrations fail, the command will be aborted and the rest of the m
</TabItem>
<TabItem label="pnpm">
```bash
pnpm exec emigrate up [options]
pnpm emigrate up [options]
```
</TabItem>
<TabItem label="yarn">
```bash
yarn exec emigrate -- up [options]
yarn emigrate up [options]
```
</TabItem>
<TabItem label="package.json">