Closed aaronccasanova closed 2 years ago
global-nav/package.json
library|app
ThemeProvider
If the library|app is NOT dependent on v9 breaking changes:
peerDependencies
package.json
"@shopify/polaris": "^8.0.0 || ^9.0.0"
If the library|app IS dependent on v9 breaking changes:
yarn add @shopify/polaris@9.0.0-rc.2
type-check
build
yarn link
yalc
Web Polaris v9 upgrade branch
web
Closed in PR: https://github.com/Shopify/global-nav/pull/978
global-nav/package.json
Upgrade steps:
library|app
is dependent on any of the v9 breaking changes (e.g. Using theThemeProvider
, using deprecated component props, etc.)If the
library|app
is NOT dependent on v9 breaking changes:peerDependencies
section of thelibrary|app
'spackage.json
to:"@shopify/polaris": "^8.0.0 || ^9.0.0"
If the
library|app
IS dependent on v9 breaking changes:library|app
yarn add @shopify/polaris@9.0.0-rc.2
library|app
with the v9 breaking changestype-check
,build
, and resolve any errors Once you've successfully completed a build:yarn link
oryalc
yourlibrary|app
s build with theWeb Polaris v9 upgrade branch
web