Skip to content

Commit 1f31fb2

Browse files
chore: Update packages version and ready for pnpm (#1333)
* Update eslint version and configuration for pnpm usage * Add missing @babel/plugin-proposal-private-property-in-object * Updated packages (update|move|add) with lint and format --------- Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>
1 parent 7d05b95 commit 1f31fb2

File tree

32 files changed

+16518
-157
lines changed

32 files changed

+16518
-157
lines changed

.eslintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ module.exports = {
2222
ignorePatterns: ['**/plays/index.js'],
2323

2424
rules: {
25+
// Note: you must disable the base rule as it can report incorrect errors
26+
"no-unused-vars": "off",
27+
"@typescript-eslint/no-unused-vars": "warn",
28+
2529
'import/extensions': 0,
2630

2731
'import/no-named-as-default-member': 0,

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ yarn.lock
3333

3434
# play index
3535
src/plays/index.js
36+
plays/index.js
37+
src/plays/index.json
38+
plays/index.json
39+
40+
41+
# play test
42+
cypress/e2e/play.cy.ts
43+
3644

3745
# vscode setting
38-
.vscode
46+
.vscode

package.json

Lines changed: 79 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -3,88 +3,84 @@
33
"version": "1.0.0",
44
"private": true,
55
"dependencies": {
6-
"@emotion/react": "^11.11.0",
6+
"@emotion/react": "^11.11.1",
77
"@emotion/styled": "^11.11.0",
8-
"@faker-js/faker": "^8.0.2",
9-
"@giscus/react": "^2.0.3",
10-
"@mui/icons-material": "^5.11.9",
11-
"@mui/joy": "^5.0.0-alpha.79",
12-
"@mui/material": "^5.9.1",
13-
"@mui/styles": "^5.9.3",
14-
"@nhost/react": "^0.9.0",
15-
"@reduxjs/toolkit": "^1.9.2",
16-
"@tensorflow-models/coco-ssd": "^2.2.2",
17-
"@tensorflow/tfjs": "^4.2.0",
18-
"@testing-library/jest-dom": "^5.16.5",
19-
"@testing-library/react": "^13.4.0",
20-
"@types/lodash": "^4.14.182",
21-
"@types/react": "^18.0.6",
22-
"@types/react-dom": "^18.0.2",
8+
"@faker-js/faker": "^8.1.0",
9+
"@giscus/react": "^2.3.0",
10+
"@mui/icons-material": "^5.14.13",
11+
"@mui/joy": "5.0.0-beta.10",
12+
"@mui/material": "^5.14.13",
13+
"@mui/styles": "^5.14.13",
14+
"@nhost/react": "^0.9.2",
15+
"@reduxjs/toolkit": "^1.9.7",
16+
"@tensorflow-models/coco-ssd": "^2.2.3",
17+
"@tensorflow/tfjs": "^4.11.0",
2318
"add": "^2.0.6",
24-
"axios": "^1.3.3",
25-
"browser-image-compression": "^2.0.0",
19+
"axios": "^1.5.1",
20+
"browser-image-compression": "^2.0.2",
2621
"classnames": "^2.3.2",
27-
"codemirror": "^5.65.7",
28-
"date-fns": "^2.28.0",
22+
"codemirror": "^5.65.15",
23+
"date-fns": "^2.30.0",
2924
"dom-to-image": "^2.6.0",
30-
"dompurify": "^3.0.3",
25+
"dompurify": "^3.0.6",
3126
"downloadjs": "^1.4.7",
3227
"file-saver": "^2.0.5",
3328
"firebase": "9.9.0",
3429
"git-repo-api": "^0.0.17",
35-
"graphql": "^16.5.0",
36-
"highlight.js": "^11.7.0",
37-
"html-to-image": "^1.9.0",
30+
"graphql": "^16.8.1",
31+
"highlight.js": "^11.9.0",
32+
"html-to-image": "^1.11.11",
3833
"html2canvas": "^1.4.1",
39-
"json-graphql-parser": "^0.1.8",
34+
"json-graphql-parser": "^0.1.9",
4035
"jspdf": "^2.5.1",
41-
"leaflet": "^1.9.3",
36+
"leaflet": "^1.9.4",
4237
"lodash": "^4.17.21",
43-
"mathjs": "^11.5.1",
38+
"lodash.memoize": "^4.1.2",
39+
"mathjs": "^11.11.2",
4440
"node-sass": "^8.0.0",
45-
"p5": "^1.5.0",
46-
"react": "^18.0.0",
47-
"react-codemirror2": "^7.2.1",
41+
"p5": "^1.7.0",
42+
"react": "^18.2.0",
43+
"react-codemirror2": "^7.3.0",
4844
"react-color": "^2.19.3",
4945
"react-confetti": "^6.1.0",
5046
"react-countdown": "^2.3.5",
51-
"react-dom": "^18.0.0",
47+
"react-dom": "^18.2.0",
5248
"react-dropzone": "^14.2.3",
5349
"react-error-boundary": "^3.1.4",
5450
"react-helmet": "^6.1.0",
55-
"react-hot-toast": "^2.3.0",
56-
"react-icons": "^4.3.1",
51+
"react-hot-toast": "^2.4.1",
52+
"react-icons": "^4.8.0",
5753
"react-infinite-scroll-component": "^6.1.0",
5854
"react-infinite-scroll-hook": "^4.1.1",
5955
"react-infinite-scroller": "^1.2.6",
60-
"react-leaflet": "^4.2.0",
56+
"react-leaflet": "^4.2.1",
6157
"react-loader-spinner": "~5.1.5",
62-
"react-organizational-chart": "^2.1.1",
63-
"react-p5": "^1.3.33",
64-
"react-qr-code": "^2.0.7",
65-
"react-redux": "^8.0.1",
66-
"react-router-dom": "^6.4.0",
58+
"react-organizational-chart": "^2.2.1",
59+
"react-p5": "^1.4.1",
60+
"react-qr-code": "^2.0.12",
61+
"react-redux": "^8.1.3",
62+
"react-router-dom": "^6.16.0",
6763
"react-scripts": "5.0.0",
6864
"react-shimmer-effect": "^1.0.9",
6965
"react-simple-maps": "^2.3.0",
70-
"react-toastify": "^9.0.8",
66+
"react-toastify": "^9.1.3",
7167
"react-twitter-widgets": "^1.11.0",
72-
"react-webcam": "^7.0.1",
73-
"redux": "^4.2.0",
68+
"react-webcam": "^7.1.1",
69+
"redux": "^4.2.1",
7470
"redux-persist": "^6.0.0",
7571
"remarkable": "^2.0.1",
76-
"reselect": "^4.1.5",
77-
"styled-components": "^6.0.8",
78-
"swiper": "^9.3.2",
79-
"url": "^0.11.0",
80-
"web-vitals": "^2.1.0",
72+
"reselect": "^4.1.8",
73+
"styled-components": "^6.1.0",
74+
"swiper": "^9.4.1",
75+
"url": "^0.11.3",
76+
"web-vitals": "^2.1.4",
8177
"workbox-cacheable-response": "^6.5.4",
82-
"workbox-core": "^6.5.4",
83-
"workbox-expiration": "^6.5.4",
84-
"workbox-precaching": "^6.5.4",
85-
"workbox-routing": "^6.5.4",
86-
"workbox-strategies": "^6.5.4",
87-
"workbox-window": "^6.5.4"
78+
"workbox-core": "^7.0.0",
79+
"workbox-expiration": "^7.0.0",
80+
"workbox-precaching": "^7.0.0",
81+
"workbox-routing": "^7.0.0",
82+
"workbox-strategies": "^7.0.0",
83+
"workbox-window": "^7.0.0"
8884
},
8985
"scripts": {
9086
"start:nolint": "npx --yes create-react-play@latest -p && react-scripts start",
@@ -126,30 +122,39 @@
126122
]
127123
},
128124
"devDependencies": {
129-
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
130-
"@types/dompurify": "^3.0.2",
131-
"@typescript-eslint/eslint-plugin": "^5.0.0",
132-
"@typescript-eslint/parser": "^5.41.0",
133-
"autoprefixer": "^10.4.7",
134-
"cypress": "^10.6.0",
135-
"eslint": "^8.0.1",
136-
"eslint-config-prettier": "^8.5.0",
137-
"eslint-config-standard-with-typescript": "^23.0.0",
138-
"eslint-import-resolver-typescript": "^3.5.2",
139-
"eslint-plugin-import": "^2.26.0",
140-
"eslint-plugin-n": "^15.0.0",
141-
"eslint-plugin-prettier": "^4.2.1",
142-
"eslint-plugin-promise": "^6.0.0",
143-
"eslint-plugin-react": "^7.31.10",
125+
"@babel/plugin-transform-private-property-in-object": "^7.22.11",
126+
"@tailwindcss/nesting": "0.0.0-insiders.565cd3e",
127+
"@testing-library/jest-dom": "^5.17.0",
128+
"@testing-library/react": "^13.4.0",
129+
"@types/dompurify": "^3.0.3",
130+
"@types/lodash": "^4.14.199",
131+
"@types/node": "^20.8.6",
132+
"@types/p5": "^1.7.0",
133+
"@types/react": "^18.2.28",
134+
"@types/react-dom": "^18.2.13",
135+
"@typescript-eslint/eslint-plugin": "6.4.0",
136+
"@typescript-eslint/parser": "^6.7.5",
137+
"autoprefixer": "^10.4.16",
138+
"cypress": "^10.11.0",
139+
"eslint": "^8.51.0",
140+
"eslint-config-prettier": "^9.0.0",
141+
"eslint-config-standard-with-typescript": "^39.1.1",
142+
"eslint-import-resolver-typescript": "^3.6.1",
143+
"eslint-plugin-import": "^2.28.1",
144+
"eslint-plugin-n": "^16.2.0",
145+
"eslint-plugin-prettier": "^5.0.1",
146+
"eslint-plugin-promise": "^6.1.1",
147+
"eslint-plugin-react": "^7.33.2",
144148
"eslint-plugin-react-hooks": "^4.6.0",
145149
"husky": "^8.0.3",
146-
"lint-staged": "^13.2.2",
147-
"postcss": "^8.4.13",
148-
"prettier": "^2.7.1",
149-
"puppeteer": "^13.7.0",
150+
"lint-staged": "^13.3.0",
151+
"postcss": "^8.4.31",
152+
"postcss-import": "^15.1.0",
153+
"prettier": "^3.0.3",
154+
"puppeteer": "^21.3.8",
150155
"react-snap": "^1.23.0",
151156
"tailwind-scrollbar": "^2.1.0",
152-
"tailwindcss": "^3.0.24",
153-
"typescript": "*"
157+
"tailwindcss": "^3.3.3",
158+
"typescript": "^5.2.2"
154159
}
155160
}

0 commit comments

Comments
 (0)