Upgraded boilerplate all package to latest version #90
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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