Description
The App Repositories all depend on @openedx/frontend-base at ^1.0.0 || 0.0.0-dev, which is where the conversions left them. Since then main has moved on to 2.0 prereleases, published to the alpha dist-tag, and four changes have landed that no App Repository consumes yet.
This epic covers taking every App Repository to ^2.0.0-alpha.N || 0.0.0-dev and adopting what 2.0 offers, so that 2.0.0 is cut against code that has already proven it.
What changed since 1.0
2.0.0-alpha.1 (#288) bumps react-intl to v10 and drops the deprecated injectIntl and intlShape shims, which nothing uses. 2.0.0-alpha.2 (#296) makes the shared ESLint config require semicolons between TypeScript type members. 2.0.0-alpha.3 (#289) makes updateSiteLanguage a public runtime API and adds optional defaultLanguage and supportedLanguages site config. 2.0.0-alpha.4 adds App.defaultConfig per ADR 0017.
The last one is the only one with real work behind it. defaultConfig holds the values an app author bundles and resolves below commonAppConfig, while config stays the operator's field, so every key an app leaves in config is a key the operator's site-wide /api/mfe_config/v1 can never supply. Each repository has to sort its bundled keys into genuine defaults, which move, and no-ops or placeholders, which go away.
Description
The App Repositories all depend on
@openedx/frontend-baseat^1.0.0 || 0.0.0-dev, which is where the conversions left them. Since thenmainhas moved on to 2.0 prereleases, published to thealphadist-tag, and four changes have landed that no App Repository consumes yet.This epic covers taking every App Repository to
^2.0.0-alpha.N || 0.0.0-devand adopting what 2.0 offers, so that 2.0.0 is cut against code that has already proven it.What changed since 1.0
2.0.0-alpha.1(#288) bumps react-intl to v10 and drops the deprecatedinjectIntlandintlShapeshims, which nothing uses.2.0.0-alpha.2(#296) makes the shared ESLint config require semicolons between TypeScript type members.2.0.0-alpha.3(#289) makesupdateSiteLanguagea public runtime API and adds optionaldefaultLanguageandsupportedLanguagessite config.2.0.0-alpha.4addsApp.defaultConfigper ADR 0017.The last one is the only one with real work behind it.
defaultConfigholds the values an app author bundles and resolves belowcommonAppConfig, whileconfigstays the operator's field, so every key an app leaves inconfigis a key the operator's site-wide/api/mfe_config/v1can never supply. Each repository has to sort its bundled keys into genuine defaults, which move, and no-ops or placeholders, which go away.