Skip to content

Commit

Permalink
feat: update frontend platform to version 3
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
- We are no longer support frontend-platform@2
- We are no longer support default import.
  - please use `import { Footer } from '@edx/frontend-component-footer';`
  • Loading branch information
leangseu-edx committed Dec 14, 2022
1 parent 8a24675 commit a7e2b85
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@edx/brand": "npm:@edx/[email protected]",
"@edx/browserslist-config": "^1.1.1",
"@edx/frontend-build": "12.4.0",
"@edx/frontend-platform": "^2.0.0 || ^3.0.0",
"@edx/frontend-platform": "^3.2.0",
"@edx/paragon": "20.20.0",
"@edx/reactifex": "2.1.1",
"codecov": "3.8.3",
Expand All @@ -60,7 +60,7 @@
"@fortawesome/react-fontawesome": "0.2.0"
},
"peerDependencies": {
"@edx/frontend-platform": "^2.0.0 || ^3.0.0",
"@edx/frontend-platform": "^3.0.0",
"prop-types": "^15.7.0",
"react": "^16.9.0 || ^17.0.0",
"react-dom": "^16.9.0 || ^17.0.0"
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { default, default as Footer, EVENT_NAMES } from './components/Footer'; // eslint-disable-line no-restricted-exports
export { default as Footer, EVENT_NAMES } from './components/Footer';
export { default as messages } from './i18n/index';

0 comments on commit a7e2b85

Please sign in to comment.