update package.json to use repo test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
---
|
||||
'@backstage/create-app': patch
|
||||
---
|
||||
|
||||
Updated the root `test` scripts to use `backstage-cli repo test`.
|
||||
|
||||
To apply this change to an existing app, make the following change to the root `package.json`:
|
||||
|
||||
```diff
|
||||
- "test": "backstage-cli test",
|
||||
- "test:all": "lerna run test -- --coverage",
|
||||
+ "test": "backstage-cli repo test",
|
||||
+ "test:all": "backstage-cli repo test --coverage",
|
||||
```
|
||||
+2
-2
@@ -15,8 +15,8 @@
|
||||
"tsc": "tsc",
|
||||
"tsc:full": "backstage-cli repo clean && tsc --skipLibCheck false --incremental false",
|
||||
"clean": "backstage-cli repo clean",
|
||||
"test": "backstage-cli test",
|
||||
"test:all": "lerna run test -- --coverage",
|
||||
"test": "backstage-cli repo test",
|
||||
"test:all": "backstage-cli repo test --coverage",
|
||||
"lint": "backstage-cli repo lint --since origin/master",
|
||||
"lint:docs": "node ./scripts/check-docs-quality",
|
||||
"lint:all": "backstage-cli repo lint",
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
"tsc": "tsc",
|
||||
"tsc:full": "tsc --skipLibCheck false --incremental false",
|
||||
"clean": "backstage-cli repo clean",
|
||||
"test": "backstage-cli test",
|
||||
"test:all": "lerna run test -- --coverage",
|
||||
"test": "backstage-cli repo test",
|
||||
"test:all": "backstage-cli repo test --coverage",
|
||||
"lint": "backstage-cli repo lint --since origin/master",
|
||||
"lint:all": "backstage-cli repo lint",
|
||||
"prettier:check": "prettier --check .",
|
||||
|
||||
Reference in New Issue
Block a user