-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paragon CLI install-theme
doesn't reset back to original @edx/brand
after usage
#2644
Comments
Two possible approaches for the fix:
|
PR: #2768 |
@PKulkoRaccoonGang I'm curious if you explored option 1 (i.e., "Automatically revert back to @edx/brand-openedx upon killing dev server.")? |
@adamstankiewicz Yes, I didn’t spend a lot of time researching this problem, but I tried running |
@viktorrusakov suggested an implementation using the following command: |
Improvements
The Paragon CLI tool's
install-theme
command works great to override the@edx/brand
NPM alias during local development without risking modifying/committing code. Testing the command in the frontend-template-application MFE, it appears that after usingparagon install-theme
, the provided NPM package (e.g.,@edx/brand-edx.org@latest
) remains installed even when I revert back to using the default/standardnpm start
command instead ofnpm run start:with-theme
.Testing instructions
@edx/paragon
into an MFE.start:with-theme
, which runsparagon install-theme && npm start
.npm run start:with-theme
and provide@edx/brand-edx.org@latest
as input.npm start
instead.@edx/brand-edx.org@latest
theme is still installed even though I would have expected the default Paragon theme to be applicable again.npm install
to reset back to original theme@edx/brand-openedx
.The text was updated successfully, but these errors were encountered: