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

refactor: update pkg with the latest updates of upstream #8

Merged
merged 64 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
97e273e
build: start releasing alpha packages
arbrandes Mar 20, 2024
04bd5bd
chore(deps): update dependency @openedx/frontend-build to v13.0.29
renovate[bot] Mar 25, 2024
dc6d8b9
chore(deps): update dependency core-js to v3.36.1
renovate[bot] Mar 25, 2024
de09872
fix(deps): update dependency react-intl to v6.6.3
renovate[bot] Mar 25, 2024
d05c294
fix(deps): update dependency react-intl to v6.6.5
renovate[bot] Apr 22, 2024
464fd63
chore(deps): update dependency @openedx/frontend-build to v13.1.4
renovate[bot] Apr 22, 2024
6d965c2
chore(deps): update dependency @openedx/paragon to v22.2.2
renovate[bot] Apr 22, 2024
ccb86f2
chore(deps): update dependency core-js to v3.37.0
renovate[bot] Apr 22, 2024
3d9e0b1
build(deps): bump follow-redirects from 1.15.3 to 1.15.6 (#674)
dependabot[bot] Apr 22, 2024
f5934aa
build(deps-dev): bump webpack-dev-middleware from 5.3.3 to 5.3.4 (#676)
dependabot[bot] Apr 22, 2024
19991c9
build(deps-dev): bump express from 4.18.2 to 4.19.2 (#677)
dependabot[bot] Apr 22, 2024
76fe63b
build(deps): bump axios from 0.27.2 to 0.28.0 (#675)
dependabot[bot] Apr 22, 2024
f066ecb
feat: updated jest to v29 & frontend-build major version upgrade (#661)
BilalQamar95 Apr 22, 2024
9ecd462
fix(deps): update dependency axios to v0.28.1
renovate[bot] Apr 29, 2024
3f04b46
chore(deps): update dependency @openedx/paragon to v22.3.1
renovate[bot] Apr 29, 2024
07cfdf8
chore(deps): update dependency react-router-dom to v6.23.0
renovate[bot] Apr 29, 2024
9086fe7
chore(deps): update jamesives/github-pages-deploy-action action to v4…
renovate[bot] Apr 29, 2024
421c689
chore(deps): update dependency @openedx/paragon to v22.3.2
renovate[bot] May 6, 2024
5e1e9d7
chore(deps): update dependency @testing-library/jest-dom to v6.4.5
renovate[bot] May 6, 2024
3a398e3
chore(deps): update dependency jsdoc to v4.0.3
renovate[bot] May 6, 2024
05e6820
fix(deps): update dependency react-intl to v6.6.6
renovate[bot] May 6, 2024
8f6b08f
chore(deps): update dependency react-router-dom to v6.23.1
renovate[bot] May 13, 2024
fce8a3b
chore(deps): update dependency @openedx/paragon to v22.4.0
renovate[bot] May 13, 2024
768eb69
build: upgrade codecov from v3 to v3, use secret (#692)
kdmccormick May 15, 2024
c155686
fix: updated peerDependency for prop-type to resolve dependency confl…
BilalQamar95 May 17, 2024
abca058
chore(deps): update dependency core-js to v3.37.1
renovate[bot] May 20, 2024
5a054ea
chore(deps): update jamesives/github-pages-deploy-action action to v4…
renovate[bot] May 20, 2024
8196fa4
chore(deps): update dependency nodemon to v3.1.2
renovate[bot] Jun 3, 2024
9d2e727
fix(deps): update dependency react-intl to v6.6.8
renovate[bot] Jun 3, 2024
cc75fc9
chore(deps): update dependency @openedx/paragon to v22.6.0
renovate[bot] Jun 10, 2024
8775cbc
chore(deps): update dependency nodemon to v3.1.3
renovate[bot] Jun 10, 2024
b9958bd
chore(deps): update dependency @openedx/frontend-build to v14.0.9
renovate[bot] Jun 17, 2024
77f11bb
chore(deps): update dependency @testing-library/jest-dom to v6.4.6
renovate[bot] Jun 17, 2024
5c1b87d
chore: replace 'global' with 'globalThis' (#701)
bradenmacdonald Jun 18, 2024
f920fa1
chore: convert i18n data imports to import syntax (#700)
bradenmacdonald Jun 18, 2024
744d1bc
chore: bump frontend-build to update base eslint config (#710)
adamstankiewicz Jun 21, 2024
73bc7cc
chore(deps): update dependency @openedx/paragon to v22.6.1
renovate[bot] Jun 24, 2024
bc9c233
chore(deps): update dependency nodemon to v3.1.4
renovate[bot] Jun 24, 2024
8a28be3
feat: add ability to dynamically load theme overrides
adamstankiewicz May 20, 2023
4727a2f
fix: remove duplicate import
adamstankiewicz May 27, 2023
0eb957e
docs: update docs
adamstankiewicz May 29, 2023
02b9b08
chore: clean up package-lock
adamstankiewicz Jun 1, 2023
17c0b8c
fix: brand overrides
adamstankiewicz Jun 5, 2023
cd88107
feat: support dark mode
dcoa Jul 21, 2023
b64c154
fix: update dependenices and AppProvider test
dcoa May 8, 2024
d934ec7
style: fix variable name and funtion
dcoa May 10, 2024
d170103
test: add useParagonTheme test
dcoa May 11, 2024
89104fd
docs: update scope of paragon and brand for openedx
dcoa May 14, 2024
0445ee2
refactor: allow multiple replacement in version replacement
dcoa May 17, 2024
33aba81
refactor: update webpack dev config
dcoa May 22, 2024
5dd20a1
refactor: avoid duplicated links if the theme varian is preloaded
dcoa May 23, 2024
ba3f639
refactor: update useParagonTheme when some variables are missing
dcoa May 23, 2024
4c0ea76
test: add new test csse for useParagonThemeCore
dcoa May 23, 2024
3d64842
docs: change @edx for @openedx in the package management and docs
dcoa May 23, 2024
57dd0e0
refactor: use modules for config file
dcoa May 23, 2024
bd5aea0
fix: fallback url
dcoa May 28, 2024
9feadfd
style: fix imports order
dcoa May 28, 2024
bd0fa5e
refactor: create isEmptyObject and fallbackThemeUrl utils
dcoa May 28, 2024
6d4acc9
test: refactor testing fot app provider, theme core hook, theme varia…
dcoa May 28, 2024
2085ab7
docs: improve themening documentation
dcoa Jun 3, 2024
837858e
chore: update dependencies and regenerate package-lock
dcoa Jun 26, 2024
10171c2
chore: expand frontend-build peer deps
bra-i-am Aug 9, 2024
82c9d41
refactor: update edunext scope
dcoa Aug 20, 2024
bdf3efd
refactor: upgrade package version
bra-i-am Aug 22, 2024
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
4 changes: 2 additions & 2 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ STUDIO_BASE_URL=http://localhost:18010
MARKETING_SITE_BASE_URL=http://localhost:18000
ORDER_HISTORY_URL=http://localhost:1996/orders
REFRESH_ACCESS_TOKEN_ENDPOINT=http://localhost:18000/login_refresh
SEGMENT_KEY=''
SEGMENT_KEY=
SITE_NAME=localhost
USER_INFO_COOKIE_NAME=edx-user-info
LOGO_URL=https://edx-cdn.org/v3/default/logo.svg
Expand All @@ -27,4 +27,4 @@ FAVICON_URL=https://edx-cdn.org/v3/default/favicon.ico
IGNORED_ERROR_REGEX=
MFE_CONFIG_API_URL=
APP_ID=
SUPPORT_URL=https://support.edx.org
SUPPORT_URL=https://support.edx.org
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,7 @@ jobs:
run: npm run docs

- name: Run Coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
5 changes: 4 additions & 1 deletion .github/workflows/manual-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ jobs:
- name: Test
run: npm run test
- name: Coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
- name: Build
run: npm run build
# NPM expects to be authenticated for publishing. This step will fail CI if NPM is not authenticated
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- master
- alpha

jobs:
release:
Expand Down Expand Up @@ -38,7 +39,7 @@ jobs:
run: npm run docs

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.5.0
uses: JamesIves/github-pages-deploy-action@v4.6.1
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs/api/@edx/frontend-platform/1.0.0-semantically-released # The folder the action should deploy.
Expand Down
5 changes: 4 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"branch": "master",
"branches": [
"master",
{name: "alpha", prerelease: true}
],
"tagFormat": "v${version}",
"verifyConditions": [
{
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[![Build Status](https://github.com/openedx/frontend-platform/actions/workflows/ci.yml/badge.svg)](https://github.com/openedx/frontend-platform/actions/workflows/ci.yml)
[![Codecov](https://img.shields.io/codecov/c/github/edx/frontend-platform)](https://codecov.io/gh/edx/frontend-platform)
[![NPM Version](https://img.shields.io/npm/v/@edx/frontend-platform.svg)](https://www.npmjs.com/package/@edx/frontend-platform)
[![npm_downloads](https://img.shields.io/npm/dt/@edx/frontend-platform.svg)](https://www.npmjs.com/package/@edx/frontend-platform)
[![license](https://img.shields.io/npm/l/@edx/frontend-platform.svg)](https://github.com/openedx/frontend-platform/blob/master/LICENSE)
[![NPM Version](https://img.shields.io/npm/v/@openedx/frontend-platform.svg)](https://www.npmjs.com/package/@openedx/frontend-platform)
[![npm_downloads](https://img.shields.io/npm/dt/@openedx/frontend-platform.svg)](https://www.npmjs.com/package/@opeedx/frontend-platform)
[![license](https://img.shields.io/npm/l/@openedx/frontend-platform.svg)](https://github.com/openedx/frontend-platform/blob/master/LICENSE)
[![semantic release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

# Overview
Expand All @@ -13,11 +13,11 @@ frontend-platform is a modest application framework for Open edX micro-frontend

| Service | Module location |
|------------------------------------|----------------------------------|
| Analytics | @edx/frontend-platform/analytics |
| Logging | @edx/frontend-platform/logging |
| Authenticated API client (auth) | @edx/frontend-platform/auth |
| Internationalization (i18n) | @edx/frontend-platform/i18n |
| Misc (init, config, pubSub, utils) | @edx/frontend-platform |
| Analytics | @openedx/frontend-platform/analytics |
| Logging | @openedx/frontend-platform/logging |
| Authenticated API client (auth) | @openedx/frontend-platform/auth |
| Internationalization (i18n) | @openedx/frontend-platform/i18n |
| Misc (init, config, pubSub, utils) | @openedx/frontend-platform |

-------------------------------------------------------------------------

Expand Down Expand Up @@ -101,7 +101,7 @@ initialize({
When using runtime configuration via `mergeConfig` noted above, `getConfig` must be called within a component's render lifecycle for the added keys and values to be returned in the configuration object. If `getConfig` is called outside of a component's render lifecycle, the custom configuration key/value pairs will not initially be part of the object returned by `getConfig`. For example:

```jsx
import { getConfig } from '@edx/frontend-platform/config';
import { getConfig } from '@openedx/frontend-platform/config';

// The runtime configuration `CUSTOM_VARIABLE` added in the above code snippet will not appear here. This is
// because `getConfig` is called before `mergeConfig` is executed to add the custom runtime configuration.
Expand Down
Binary file added docs/how_tos/assets/paragon-theme-loader.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading