Skip to content

Commit

Permalink
feat: React 19
Browse files Browse the repository at this point in the history
  • Loading branch information
frantic1048 committed Apr 28, 2024
1 parent b6d588e commit aa11242
Show file tree
Hide file tree
Showing 6 changed files with 148 additions and 81 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Typecheck
run: pnpm run test

- name: Build
run: pnpm build

Expand Down
15 changes: 11 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"scripts": {
"fix": "pnpm run fix:prettier",
"fix:prettier": "prettier --write .",
"test": "tsc --noEmit",
"build": "webpack build --config webpack.config.prod.js",
"dev": "webpack serve --open --config webpack.config.dev.js"
},
Expand All @@ -18,9 +19,9 @@
"csx": "10.0.2",
"cytoscape": "3.28.1",
"cytoscape-cose-bilkent": "4.1.0",
"react": "18.3.1",
"react": "19.0.0-beta-94eed63c49-20240425",
"react-cytoscapejs": "2.0.0",
"react-dom": "18.3.1",
"react-dom": "19.0.0-beta-94eed63c49-20240425",
"react-helmet-async": "2.0.4",
"react-router-dom": "6.22.2",
"typescript": "5.3.3",
Expand All @@ -29,9 +30,9 @@
"devDependencies": {
"@swc/core": "1.5.2",
"@types/cytoscape": "3.21.0",
"@types/react": "18.3.1",
"@types/react": "npm:types-react@19.0.0-alpha.5",
"@types/react-cytoscapejs": "1.2.5",
"@types/react-dom": "18.3.0",
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
"cz-conventional-changelog": "3.3.0",
"html-webpack-plugin": "5.6.0",
"inject-body-webpack-plugin": "1.3.0",
Expand All @@ -42,6 +43,12 @@
"webpack-dev-server": "5.0.4",
"webpack-merge": "5.10.0"
},
"pnpm": {
"overrides": {
"@types/react": "$@types/react",
"@types/react-dom": "$@types/react-dom"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
Expand Down
Loading

0 comments on commit aa11242

Please sign in to comment.