mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-22 19:32:54 +03:00
Added knex-migrator
script to top-level package.json
- now we've switched to a monorepo, commands like `knex-migrator health` won't work from the top-level directory because they expect to be run alongside the MigratorConfig.js file - this commit adds a `knex-migrator` script in the top-level package.json so you can run `yarn knex-migrator ...` - whilst this is only a bandaid, it should give a route forwards for running knex-migrator commands from your top-level directory
This commit is contained in:
parent
532f9ee984
commit
9f08264e0d
@ -17,6 +17,7 @@
|
||||
"fix:admin": "yarn cache clean && cd ghost/core/core/admin && rm -rf node_modules tmp dist && yarn && cd ../../../..",
|
||||
"fix:backend": "yarn cache clean && rm -rf node_modules && yarn",
|
||||
"fix": "yarn fix:admin && yarn fix:backend",
|
||||
"knex-migrator": "yarn workspace ghost run knex-migrator",
|
||||
"lint": "yarn workspaces run lint",
|
||||
"setup": "yarn && yarn workspace ghost run setup",
|
||||
"start": "yarn workspace ghost run start",
|
||||
|
Loading…
Reference in New Issue
Block a user