I already try to run these commands to ensure that could work well.
yarn start
yarn lint
yarn package
yarn make
and check things going well
Issue & Reference
electron-forge
Becasue electron-forge upgarde, we should add devContentSecurityPolicy into forge config, allow electron app load react logo from remote url for this boilerplate.
if you just want to add specific url into whitelist, you could do this:
Because react and @types/react also upgrade to v18, and styled-component's type package not compatible the lastest version of @types/react, it will leads the createGlobalStyle api error in typescript like below image.
Descriptio
Upgraded boilerplate to latest version and update some api & config
Change
main
entry point inpakcage.json
Package upgrade/update
I upgrade all package from
current
tolastest
.and replace
eslint-plugin-node
witheslint-plugin-n
for eslint-config-standard.Testing
I already try to run these commands to ensure that could work well.
and check things going well
Issue & Reference
electron-forge
Becasue electron-forge upgarde, we should add
devContentSecurityPolicy
into forge config, allow electron app load react logo from remote url for this boilerplate.if you just want to add specific url into whitelist, you could do this:
Refs:
React 18
Upgrading react from v17 to v18, should update the render api
Refs:
styled-component
Because
react
and@types/react
also upgrade to v18, and styled-component's type package not compatible the lastest version of@types/react
, it will leads thecreateGlobalStyle
api error in typescript like below image.However, it's not affect the app running.
eslint-config-standard
Sinece eslint-config-standard v17.0.0, it require
eslint-plugin-n
instead ofeslint-plugin-node
.Refs:
System Info