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