root: add yarn fix

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-09-06 20:08:56 +02:00
parent 3494c502ab
commit 4606e005df
3 changed files with 16 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
---
'@backstage/create-app': patch
---
Added the new `repo fix` command to the project too.
To apply this change to an existing app, make the following change to your root `package.json`:
```diff
"test": "backstage-cli repo test",
"test:all": "backstage-cli repo test --coverage",
+ "fix": "backstage-cli repo fix",
"lint": "backstage-cli repo lint --since origin/master",
```
+1
View File
@@ -18,6 +18,7 @@
"clean": "backstage-cli repo clean",
"test": "backstage-cli repo test",
"test:all": "backstage-cli repo test --coverage",
"fix": "backstage-cli repo fix",
"lint": "backstage-cli repo lint --since origin/master",
"lint:docs": "node ./scripts/check-docs-quality",
"lint:all": "backstage-cli repo lint",
@@ -17,6 +17,7 @@
"clean": "backstage-cli repo clean",
"test": "backstage-cli repo test",
"test:all": "backstage-cli repo test --coverage",
"fix": "backstage-cli repo fix",
"lint": "backstage-cli repo lint --since origin/{{defaultBranch}}",
"lint:all": "backstage-cli repo lint",
"prettier:check": "prettier --check .",