Upgrade 0.60 to 0.61
- Change
startupjsand all@startupjs/*dependencies in yourpackage.jsonto^0.61 - Switch from using
@startupjs/uitostartupjs-uiversion^0.1.6
Notable Changes
- Add offline support with persisting to local storage (web and
react-native). It's on by default when there is no server
(
features.enableServer: falseinstartupjs.config.js). - Remove
@startupjs/ui- usestartupjs-uiinstead. - Remove
mdxanddocs. Use@startupjs-ui/mdxand@startupjs-ui/docsinstead.
Migration
All UI components were moved out into a separate package startupjs-ui with its
own monorepo: https://github.com/startupjs/startupjs-ui
-
in
package.jsonchange"@startupjs/ui"to"startupjs-ui": "^0.1.6" -
in the project make a global search on
@startupjs/uiand change all imports from'@startupjs/ui'to'startupjs-ui' -
Change components
<H1>-<H6>to<Span h1>-<Span h6>(make a global search in the project on H1, H2, H3, H4, H5, H6) -
Change component
<Row>to<Div row>(make a global search in the project onRow) -
Change component
<Multiselect>to<MultiSelect>(the name was changed) -
Upgrade
startupjsandexpoto the latest versions by manually changing"startupjs"and"expo"to the latest ones, then doyarnand then donpx startupjs install --fixto upgrade all dependencies.