mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Added quick commands for resetting yarn
- We keep having test issues caused by yarn, these fix commands help quickly check it's not a yarn problem - Have renamed fixmodulenotrequired to fix:client to make a nice consistent naming pattern that's easy to remember and type
This commit is contained in:
parent
dc91eabe3c
commit
0ef9a7e415
@ -33,7 +33,9 @@
|
||||
"lint:code": "yarn lint:server && yarn lint:shared && yarn lint:frontend",
|
||||
"lint": "yarn lint:server && yarn lint:shared && yarn lint:frontend && yarn lint:test",
|
||||
"posttest": "yarn lint",
|
||||
"fixmodulenotdefined": "yarn cache clean && cd core/client && rm -rf node_modules tmp dist && yarn && cd ../../"
|
||||
"fix:client": "yarn cache clean && cd core/client && rm -rf node_modules tmp dist && yarn && cd ../../",
|
||||
"fix:server": "yarn cache clean && rm -rf node_modules && yarn",
|
||||
"fix": "yarn fix:client && yarn fix:server"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^12.22.1 || ^14.16.1",
|
||||
|
Loading…
Reference in New Issue
Block a user