Skip to content

Commit 890b044

Browse files
committed
Rename package
1 parent 5f49f19 commit 890b044

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Directus CLI Extension: Schema Sync
1+
# Directus CLI Extension: Schema Merge
22

3-
This extension adds the cli command `schema-sync` to the directus except it uses a modified .yml format which should cause fewer merge conflicts during git merges.
3+
This extension adds the cli command `schema-merge` to the directus except it uses a modified .yml format which should cause fewer merge conflicts during git merges.
44

55
**Note:** This extension is very much under development.
66
Even though I've tested it, I haven't had it in production for a long time.
@@ -9,5 +9,5 @@ And it is touching your database 🤷🏻‍♂️.
99
## Usage:
1010

1111
1. Install the extension: `npm install directus-extension-schema-sync`.
12-
2. Export your schema: `directus schema-sync snapshot --output schema.yml`:
13-
3. Import your schema `directus schema-sync apply schema.yml`
12+
2. Export your schema: `directus schema-merge snapshot --output schema.yml`:
13+
3. Import your schema `directus schema-merge apply schema.yml`

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "directus-extension-schema-sync",
2+
"name": "directus-extension-schema-merge",
33
"description": "The directus schema command but it avoids git conflicts",
44
"icon": "extension",
55
"version": "0.9.0",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import hash from "object-hash";
77
export default defineHook(async ({init}, {services, database, logger}) => {
88
init('cli.after', ({program}: any) => {
99

10-
const syncCommand = program.command('schema-sync');
10+
const syncCommand = program.command('schema-merge');
1111

1212
syncCommand
1313
.command('apply')

0 commit comments

Comments
 (0)