Skip to content

Commit

Permalink
bump react
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou committed Dec 29, 2024
1 parent cdc2a35 commit c4414f4
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 46 deletions.
68 changes: 45 additions & 23 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,30 @@
"build:playground": "PLAYGROUND=true vite build"
},
"dependencies": {
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redux": "^3.7.2",
"react-redux": "^5.1.2"
"react-redux": "^5.1.2",
"react-intl": "^2.9.0",
"prop-types": "^15.8.1",
"react-contextmenu": "^2.14.0",
"react-draggable": "^3.3.2",
"react-modal": "^3.16.3",
"react-popover": "^0.5.10",
"react-responsive": "^5.0.0",
"react-style-proptype": "^3.2.2",
"react-tabs": "^2.3.1",
"react-tooltip": "^4.5.1",
"redux-throttle": "^0.1.1"
},
"devDependencies": {
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"react-virtualized": "^9.22.5",
"typescript": "^5.7.2",
"react-intl": "^2.9.0",
"@evex-dev/scratch-paint": "^0.1.1",
"@turbowarp/types": "^0.0.12",
"@types/bun": "latest",
"@types/react": "^19.0.2",
"@vitejs/plugin-react-swc": "^3.7.2",
"esbuild": "^0.24.2",
"jest": "21.2.1",
Expand All @@ -70,18 +81,7 @@
"minilog": "^3.1.0",
"omggif": "^1.0.10",
"papaparse": "^5.4.1",
"prop-types": "^15.8.1",
"query-string": "^5.1.1",
"react-contextmenu": "^2.14.0",
"react-draggable": "^3.3.2",
"react-modal": "^3.16.3",
"react-popover": "^0.5.10",
"react-responsive": "^5.0.0",
"react-style-proptype": "^3.2.2",
"react-tabs": "^2.3.1",
"react-tooltip": "^4.5.1",
"redux-throttle": "^0.1.1",
"regenerator-runtime": "^0.14.1",
"scratch-audio": "^2.0.36",
"scratch-l10n": "^5.0.61",
"scratch-render": "^2.0.68",
Expand Down
1 change: 0 additions & 1 deletion src/components/connection-modal/update-peripheral-step.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'regenerator-runtime/runtime';
import {FormattedMessage} from 'react-intl';
import PropTypes from 'prop-types';
import classNames from 'classnames';
Expand Down
8 changes: 2 additions & 6 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defineConfig, type ResolvedConfig, type Plugin, type UserConfig } from
import { reactVirtualized } from './plugins/reactVirtualized.ts'
import * as path from 'node:path'
import react from '@vitejs/plugin-react-swc'
import packageJSON from './package.json' with { type: 'json' }

const scratchGuiPlugin = (): Plugin => {
let resolvedConfig!: ResolvedConfig
Expand Down Expand Up @@ -91,12 +92,7 @@ export default defineConfig((env) => {
},
minify: false,
rollupOptions: {
external: [
'react',
'react-dom',
'redux',
'react-redux'
],
external: Object.keys(packageJSON.dependencies)
}
},
optimizeDeps: {
Expand Down

0 comments on commit c4414f4

Please sign in to comment.