Skip to content

Commit 22642e2

Browse files
committed
Add docs and force node version with fnm and nvm
1 parent f9ebe45 commit 22642e2

File tree

5 files changed

+211
-154
lines changed

5 files changed

+211
-154
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v14.21.1
1+
v16.18.1

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ A template of a monorepo to create a react application.
3333
- [x] Auto update typescript project references([Update-ts-references](https://github.com/eBayClassifiedsGroup/update-ts-references))
3434
- [x] Generator to create packages in the monorepo ([Hygen](https://github.com/jondot/hygen))
3535
- [x] Graphql schema validation and type checking ([eslint-plugin-graphql](https://github.com/apollostack/eslint-plugin-graphql)) and ([apollo-tooling](https://github.com/apollographql/apollo-tooling))
36+
- [x] Automatic create PRs to upgrade versions ([renovatebot])
37+
- [x] Automatic use correct node version ([.nvmrc])
3638
- [ ] Automatic create and validate the graphql schema on pipeline
3739
- [ ] Jest shared configs easily
3840
- [ ] Jest with recommend rules for react/node projects

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@
55
"workspaces": [
66
"packages/*"
77
],
8+
"engines": {
9+
"node": "=16"
10+
},
811
"resolutions": {
912
"@types/react": "17.0.52",
10-
"@types/react-dom": "17.0.18"
13+
"@types/react-dom": "17.0.18",
14+
"ts-node": "10.9.1"
1115
},
1216
"dependencies": {
1317
"@apollo/client": "3.7.1",
@@ -47,12 +51,12 @@
4751
"css-loader": "6.7.2",
4852
"cypress": "8.7.0",
4953
"dedubcheck": "0.0.8",
50-
"eslint": "7.32.0",
54+
"eslint": "8.28.0",
5155
"eslint-config-prettier": "8.5.0",
5256
"eslint-plugin-cypress": "2.12.1",
5357
"eslint-plugin-graphql": "4.0.0",
5458
"eslint-plugin-import": "2.26.0",
55-
"eslint-plugin-jest-dom": "3.9.4",
59+
"eslint-plugin-jest-dom": "4.0.3",
5660
"eslint-plugin-jsx-a11y": "6.6.1",
5761
"eslint-plugin-prettier": "4.2.1",
5862
"eslint-plugin-react": "7.31.11",

0 commit comments

Comments
 (0)