Skip to content

Commit a12c610

Browse files
committed
update again
1 parent e519553 commit a12c610

File tree

7 files changed

+692
-477
lines changed

7 files changed

+692
-477
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This project is initialized with [Create React App](https://github.com/facebook/
88

99
- TypeScript
1010
- React (v16.8.0+, *tested up to v16.13.1*)
11-
- react-scripts (react-scripts v3.0.1+, *tested up to v3.0.1*, from createReactApp)
11+
- react-scripts (react-scripts v3.1.0, *tested up to v3.1.0, from createReactApp)
1212
- react-testing-library (not Enzyme)
1313
- Yarn Workspaces (multiple packages architecture)
1414
- Lerna (tool for managing the monorepo packages)
@@ -20,7 +20,7 @@ This project is initialized with [Create React App](https://github.com/facebook/
2020

2121
The project now consists of 3 packages.
2222

23-
- **www**: create-react-app with TypeScript (react v16.13.1+, react-scripts v3.0.1+)
23+
- **www**: create-react-app with TypeScript (react v16.13.1+, react-scripts v3.1.0)
2424
- **shared**: react components with TypeScript (react v16.13.1+)
2525
- **utils**: shared functions with TypeScript
2626

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"test:www": "lerna run test --scope=\"@web/shared\" --scope=\"@web/utils\" --scope=\"@web/www\" --stream",
1919
"lint:www": "lerna run lint --scope=\"@web/shared\" --scope=\"@web/utils\" --scope=\"@web/www\" --stream",
2020
"lint:fix:www": "lerna run lint:fix --scope=\"@web/shared\" --scope=\"@web/utils\" --scope=\"@web/www\" --stream",
21-
"clean": "lerna clean"
21+
"clean": "lerna clean",
22+
"clean:update": "lerna clean && lerna bootstrap"
2223
},
2324
"devDependencies": {
2425
"@testing-library/jest-dom": "^5.7.0",
@@ -38,12 +39,12 @@
3839
"prettier": "^2.0.5",
3940
"react": "^16.13.1",
4041
"react-dom": "^16.13.1",
41-
"react-scripts": "3.0.1",
42+
"react-scripts": "3.1.2",
4243
"typescript": "~3.7.2"
4344
},
4445
"workspaces": {
4546
"packages": [
4647
"packages/*"
4748
]
4849
}
49-
}
50+
}

packages/shared/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
],
2828
"exclude": [
2929
"**/node_modules/**",
30+
"node_modules",
3031
"build"
3132
]
3233
}

packages/utils/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
],
2828
"exclude": [
2929
"**/node_modules/**",
30+
"node_modules",
3031
"build"
3132
]
3233
}

packages/www/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
],
2525
"exclude": [
2626
"**/node_modules/**",
27+
"node_modules",
2728
"build"
2829
]
2930
}

tsconfig.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"compilerOptions": {
33
"target": "es5",
4-
"lib": ["dom", "dom.iterable", "esnext"],
4+
"lib": [
5+
"dom",
6+
"dom.iterable",
7+
"esnext"
8+
],
59
"allowJs": true,
610
"skipLibCheck": true,
711
"esModuleInterop": true,
@@ -15,5 +19,13 @@
1519
"noEmit": true,
1620
"jsx": "preserve"
1721
},
18-
"include": ["packages/*/src"]
19-
}
22+
"include": [
23+
"packages/*/src"
24+
],
25+
"exclude": [
26+
"**/node_modules/**",
27+
"node_modules",
28+
"**/build/**",
29+
"build"
30+
]
31+
}

0 commit comments

Comments
 (0)