Skip to content

Commit

Permalink
refactor: upgrade Redux deps
Browse files Browse the repository at this point in the history
  • Loading branch information
will-stone committed Dec 16, 2023
1 parent 3d2cbb7 commit 5198883
Show file tree
Hide file tree
Showing 14 changed files with 194 additions and 158 deletions.
197 changes: 110 additions & 87 deletions package-lock.json

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

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@electron-forge/plugin-base": "^7.2.0",
"@electron-forge/plugin-webpack": "^7.2.0",
"@electron-forge/shared-types": "^7.2.0",
"@reduxjs/toolkit": "^1.9.7",
"@reduxjs/toolkit": "^2.0.1",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
"@timfish/forge-externals-plugin": "^0.2.1",
Expand All @@ -70,7 +70,7 @@
"cross-env": "^7.0.3",
"css-loader": "^6.8.1",
"cssnano": "^6.0.2",
"electron": "^27.1.0",
"electron": "^28.0.0",
"electron-log": "^5.0.1",
"eslint": "^8.56.0",
"fast-deep-equal": "^3.1.3",
Expand All @@ -86,14 +86,14 @@
"node-loader": "^2.0.0",
"picocolors": "^1.0.0",
"postcss": "^8.4.32",
"postcss-cli": "^10.1.0",
"postcss-cli": "^11.0.0",
"postcss-import": "^15.1.0",
"postcss-loader": "^7.3.3",
"prettier": "^3.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.1.3",
"redux": "^4.2.1",
"react-redux": "^9.0.4",
"redux": "^5.0.0",
"rimraf": "^5.0.5",
"style-loader": "^3.3.3",
"tailwindcss": "^3.3.6",
Expand Down
6 changes: 3 additions & 3 deletions src/main/state/actions.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { Rectangle } from 'electron/main'
import type { CombinedState } from 'redux'

import type { AppName } from '../../config/apps'
import type { Data } from '../../shared/state/reducer.data'
Expand All @@ -20,8 +19,9 @@ const startedScanning = main('installed-apps/scanning')

const retrievedInstalledApps = main<AppName[]>('installed-apps/retrieved')

const receivedRendererStartupSignal =
main<CombinedState<{ data: Data; storage: Storage }>>('sync-reducers')
const receivedRendererStartupSignal = main<{ data: Data; storage: Storage }>(
'sync-reducers',
)

const gotDefaultBrowserStatus = main<boolean>('default-browser-status/got')

Expand Down
Loading

0 comments on commit 5198883

Please sign in to comment.