Skip to content

Commit 8b4d30a

Browse files
committed
update setup for react-testing-lib
1 parent 7336d9f commit 8b4d30a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ After that you can setup your project how you like it.
5858
(you can also extend the custom scripts from the main `package.json`<br>
5959
or already include in as dependency for another package).
6060

61-
After changing the packages run `yarn clean && npx lerna bootstrap` to clean & reinit the workspaces.
61+
After changing the packages run `yarn clean:update` to clean & reinit the workspaces.
62+
63+
After changing the external libraries or peerDependencies it is good to clean the repo<br>
64+
by removing the node_modules folder `rm -rf node_modules` and reinstalling `yarn install`.
65+
And after that run `yarn clean:update` to clean & reinit the workspaces.
6266

6367
## Development Scripts
6468

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
"scripts": {
1010
"start": "lerna run start --parallel",
1111
"build": "lerna run build --parallel",
12-
"test": "lerna run test --parallel",
12+
"test": "CI=true lerna run test --parallel",
1313
"typecheck": "lerna run typecheck --parallel",
1414
"lint": "lerna run lint --parallel",
1515
"lint:fix": "lerna run lint:fix --parallel",
1616
"start:www": "lerna run start --scope=\"@web/shared\" --scope=\"@web/utils\" --scope=\"@web/www\" --parallel",
1717
"build:www": "lerna run build --scope=\"@web/shared\" --scope=\"@web/utils\" --scope=\"@web/www\" --parallel",
18-
"test:www": "lerna run test --scope=\"@web/shared\" --scope=\"@web/utils\" --scope=\"@web/www\" --parallel",
18+
"test:www": "CI=true lerna run test --scope=\"@web/shared\" --scope=\"@web/utils\" --scope=\"@web/www\" --parallel",
1919
"lint:www": "lerna run lint --scope=\"@web/shared\" --scope=\"@web/utils\" --scope=\"@web/www\" --parallel",
2020
"lint:fix:www": "lerna run lint:fix --scope=\"@web/shared\" --scope=\"@web/utils\" --scope=\"@web/www\" --parallel",
2121
"clean": "lerna clean",

0 commit comments

Comments
 (0)