Fixed yarn fix command

- we no longer need to have subcommands because the Admin dependencies
  are in the top-level `node_modules` folder
This commit is contained in:
Daniel Lockyer 2022-08-03 16:06:13 +02:00
parent 2854f6151c
commit b12b1c9290
No known key found for this signature in database
GPG Key ID: D21186F0B47295AD

View File

@ -20,9 +20,7 @@
],
"scripts": {
"dev": "yarn workspace ghost run dev",
"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",
"fix": "yarn cache clean && rm -rf node_modules && yarn",
"knex-migrator": "yarn workspace ghost run knex-migrator",
"lint": "yarn workspaces run lint",
"setup": "yarn && yarn workspace ghost run setup",