Skip to content
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

feat: add example changes for test ParagonPlugin #549

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion example/.env.development
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
APP_ID='example'
MFE_CONFIG_API_URL='http://localhost:18000/api/mfe_config/v1'
BASE_URL='http://localhost:3000'
PORT=3000
LMS_BASE_URL=http://localhost:18000
LOGIN_URL=http://localhost:18000/login
LOGOUT_URL=http://localhost:18000/logout
REFRESH_ACCESS_TOKEN_ENDPOINT=http://localhost:18000/login_refresh
LOGO_URL=https://edx-cdn.org/v3/default/logo.svg
LOGO_TRADEMARK_URL=https://edx-cdn.org/v3/default/logo-trademark.svg
LOGO_WHITE_URL=https://edx-cdn.org/v3/default/logo-white.svg
FAVICON_URL=https://edx-cdn.org/v3/default/favicon.ico
TEST_VARIABLE='foo'
USER_INFO_COOKIE_NAME=edx-user-info
LANGUAGE_PREFERENCE_COOKIE_NAME=openedx-language-preference
ACCESS_TOKEN_COOKIE_NAME=edx-jwt-cookie-header-payload
3 changes: 0 additions & 3 deletions example/.eslintrc.js

This file was deleted.

1 change: 1 addition & 0 deletions example/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.config.js
25 changes: 25 additions & 0 deletions example/env.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,29 @@ module.exports = {
CORRECT_BOOL_VALUE: 'Good, false meant false. We did not cast a boolean to a string.',
INCORRECT_BOOL_VALUE: 'Why was a false boolean true?',
INTEGER_VALUE: 123,
PARAGON_THEME_URLS: {
core: {
urls: {
default: 'https://cdn.jsdelivr.net/combine/npm/@openedx/paragon@22.0.0-alpha.25/styles/css/themes/light/utility-classes.min.css,npm/@openedx/paragon@$paragonVersion/dist/core.min.css',
brandOverride: 'https://cdn.jsdelivr.net/npm/@edx/brand-edx.org@alpha/dist/core.min.css',
},
},
defaults: {
light: 'light',
},
variants: {
light: {
urls: {
default: 'https://cdn.jsdelivr.net/npm/@openedx/paragon@alpha/dist/light.min.css',
brandOverride: 'https://cdn.jsdelivr.net/npm/@edx/brand-edx.org@alpha/dist/light.min.css',
},
},
dark: {
urls: {
default: 'https://cdn.jsdelivr.net/npm/@openedx/paragon@v21.0.0-alpha.40/dist/light.min.css',
brandOverride: 'https://cdn.jsdelivr.net/npm/@edx/brand-edx.org@2.2.0-alpha.13/dist/light.min.css',
},
},
},
},
};
Loading