Skip to content

Commit

Permalink
feat: change paragon to use @openedx/paragon (#47)
Browse files Browse the repository at this point in the history
* feat: replace @edx/paragon with @openedx/paragon

BREAKING CHANGE:
- replace @edx/paragon in favor of @openedx/paragon because @edx/paragon is moved https://www.npmjs.com/package/@edx/paragon
- remove react-intl. It should use intl from @edx/frontend-platform

* chore: replace @edx/frontend-build with @openedx/frontend-build

* chore: update test

* chore: remove babel polyfill
  • Loading branch information
leangseu-edx authored Mar 26, 2024
1 parent b84a138 commit ce3677d
Show file tree
Hide file tree
Showing 14 changed files with 13,325 additions and 16,243 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// eslint-disable-next-line import/no-extraneous-dependencies
const { createConfig } = require('@edx/frontend-build');
const { createConfig } = require('@openedx/frontend-build');

module.exports = createConfig('eslint');
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { createConfig } = require('@edx/frontend-build');
const { createConfig } = require('@openedx/frontend-build');

module.exports = createConfig('jest', {
// setupFilesAfterEnv is used after the jest environment has been loaded. In general this is what you want.
Expand Down
6 changes: 3 additions & 3 deletions module.config.js.example
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ module.exports = {
**********************************************************************************************/

// { moduleName: '@edx/brand', dir: '../brand-openedx' }, // replace with your brand checkout
// { moduleName: '@edx/paragon/scss/core', dir: '../paragon', dist: 'scss/core' },
// { moduleName: '@edx/paragon/icons', dir: '../paragon', dist: 'icons' },
// { moduleName: '@edx/paragon', dir: '../paragon', dist: 'dist' },
// { moduleName: '@openedx/paragon/scss/core', dir: '../paragon', dist: 'scss/core' },
// { moduleName: '@openedx/paragon/icons', dir: '../paragon', dist: 'icons' },
// { moduleName: '@openedx/paragon', dir: '../paragon', dist: 'dist' },
// { moduleName: '@edx/frontend-platform', dir: '../frontend-platform', dist: 'dist' },
],
};
Loading

0 comments on commit ce3677d

Please sign in to comment.