forked from openedx/frontend-app-learning
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nuez): add css support and cdn compatibility (#14)
* feat: allow runtime configuration (openedx#955) Allows frontend-app-learning to be configured at runtime using the LMS's new MFE Configuration API. Part of openedx/wg-frontend#103 * refactor: install alpha dependencies and update lint rules * refactor: update code according with paragon alpha 22 * fix: test wasn't passing correctly * chore: fix header alias --------- Co-authored-by: bra-i-am <[email protected]>
- Loading branch information
Showing
46 changed files
with
12,434 additions
and
14,163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
const { createConfig } = require('@edx/frontend-build'); | ||
|
||
module.exports = createConfig('eslint', { | ||
overrides: [{ | ||
files: ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)", "setupTest.js"], | ||
rules: { | ||
'import/named': 'off', | ||
'import/no-extraneous-dependencies': 'off', | ||
}, | ||
}], | ||
rules: { | ||
'import/named': 'off', | ||
'import/no-extraneous-dependencies': 'off', | ||
'no-restricted-exports': 'off', | ||
'react-hooks/exhaustive-deps': 'off', | ||
'react-hooks/rules-of-hooks': 'off', | ||
'react/function-component-definition': 'off', | ||
'react/jsx-no-useless-fragment': 'off', | ||
'react/no-unstable-nested-components': 'off', | ||
'react/jsx-no-constructed-context-values': 'off', | ||
'react/jsx-no-bind': 'off', | ||
'react/prop-types': 'off', | ||
'react/no-unknown-property': 'off', | ||
}, | ||
}); |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,8 @@ | |
"prepare": "husky install", | ||
"snapshot": "fedx-scripts jest --updateSnapshot", | ||
"start": "fedx-scripts webpack-dev-server --progress", | ||
"test": "fedx-scripts jest --coverage --passWithNoTests" | ||
"test": "fedx-scripts jest --coverage --passWithNoTests", | ||
"replace-variables": "paragon replace-variables -p src -t usage" | ||
}, | ||
"author": "edX", | ||
"license": "AGPL-3.0", | ||
|
@@ -30,11 +31,11 @@ | |
}, | ||
"dependencies": { | ||
"@edx/brand": "npm:@edx/[email protected]", | ||
"@edx/frontend-component-footer": "10.2.2", | ||
"@edx/frontend-component-header": "2.4.6", | ||
"@edx/frontend-lib-special-exams": "1.16.3", | ||
"@edx/frontend-platform": "1.15.6", | ||
"@edx/paragon": "19.14.1", | ||
"@edx/frontend-component-footer": "npm:@edunext/[email protected]", | ||
"@edx/frontend-component-header": "npm:@edunext/frontend-component-header@^3.1.0-alpha.1", | ||
"@edx/frontend-lib-special-exams": "npm:@edunext/[email protected]", | ||
"@edx/frontend-platform": "npm:@edunext/[email protected]", | ||
"@edx/paragon": "22.0.0-alpha.13", | ||
"@fortawesome/fontawesome-svg-core": "1.3.0", | ||
"@fortawesome/free-brands-svg-icons": "5.15.4", | ||
"@fortawesome/free-regular-svg-icons": "5.15.4", | ||
|
@@ -62,7 +63,7 @@ | |
}, | ||
"devDependencies": { | ||
"@edx/browserslist-config": "1.0.2", | ||
"@edx/frontend-build": "9.1.4", | ||
"@edx/frontend-build": "github:edunext/frontend-build#ednx-release/css-variables-12", | ||
"@edx/reactifex": "1.1.0", | ||
"@pact-foundation/pact": "9.17.3", | ||
"@testing-library/jest-dom": "5.16.4", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.