Skip to content

Commit

Permalink
chore!: move paragon to peer dependency using @openedx scope and upgr…
Browse files Browse the repository at this point in the history
…ade frontend-platform (#367)

BREAKING CHANGE: consuming applications must now provide paragon from the @openedx scope

* refactor: replace @edx/paragon and @edx/frontend-build

* fix: fixed package issues

* fix: updated dependency

* fix: updated package lock file to fix ci issue

* refactor: updated frontend-platform to v7 along with peer Dependencies

---------

Co-authored-by: mashal-m <[email protected]>
Co-authored-by: Muhammad Abdullah Waheed <[email protected]>
Co-authored-by: Bilal Qamar <[email protected]>
  • Loading branch information
4 people authored Feb 12, 2024
1 parent e6eb23b commit d121d67
Show file tree
Hide file tree
Showing 32 changed files with 13,458 additions and 10,375 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@ To install a new NPM module in all workspace packages, use the `--workspaces` ar

::

npm install @edx/paragon@latest --workspaces
npm install @openedx/paragon@latest --workspaces

To install a new NPM module in one or more specific workspace package(s), use the `--workspace` argument, e.g.:

::

npm install -D @edx/paragon@latest --workspace=@edx/frontend-enterprise-catalog-search
npm install -D @openedx/paragon@latest --workspace=@edx/frontend-enterprise-catalog-search


Installing local monorepo package(s) into an Open edX micro-frontend
-----

For any micro-frontend using `@edx/frontend-build <https://github.com/openedx/frontend-build>` that consumes any packages from this monorepo may want to use a local copy of one or more packages during development rather than relying solely on the published NPM packages. To do this, you may modify your module.config.js file (create module.config.js if it does not already exist) to create Webpack aliases to your local checkout of the monorepo packages:
For any micro-frontend using `@openedx/frontend-build <https://github.com/openedx/frontend-build>` that consumes any packages from this monorepo may want to use a local copy of one or more packages during development rather than relying solely on the published NPM packages. To do this, you may modify your module.config.js file (create module.config.js if it does not already exist) to create Webpack aliases to your local checkout of the monorepo packages:

::

Expand Down
Loading

0 comments on commit d121d67

Please sign in to comment.