edx / frontend-component-header-edx Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Affero General Public License v3.0
License: GNU Affero General Public License v3.0
Abstract
Node 16's support will end on September 11, 2023. So we have to upgrade node JS to v18 before that.
Extras
Project should use .nvmrc
to have a consistent node version
We have to update Readme accordingly.
This repo is currently using React JS v16. We need to upgrade it to React 17 before moving to latest React version(v18).
React 17 doesn’t add any new developer-facing features, so its upgrade might not cause any breaking changes. Our end goal is to upgrade React to v18 but v18 no longer support enzyme, so we are upgrading to React 17 and then we’ll migrate from enzyme.
AC:
See a sample failure here:
https://tools-edx-jenkins.edx.org/job/translations/job/frontend-component-footer-edx-push_translations/1150/console
17:46:35 npm run-script i18n_extract
17:46:36
17:46:36 > @edx/[email protected] i18n_extract
17:46:36 > BABEL_ENV=i18n fedx-scripts babel src --quiet > /dev/null
17:46:36
17:46:37 # Gathering JSON messages into one file...
17:46:37 ./node_modules/.bin/transifex-utils.js ./temp/babel-plugin-react-intl ./src/i18n/transifex_input.json
17:46:37 /edx/var/jenkins/jobs/translations/jobs/frontend-component-footer-edx-push_translations/workspace/ecommerce-scripts/frontend-component-footer-edx/node_modules/@edx/frontend-platform/i18n/scripts/transifex-utils.js:54
17:46:37 throw new Error('Found no messages');
17:46:37 ^
17:46:37
17:46:37 Error: Found no messages
17:46:37 at Object.<anonymous> (/edx/var/jenkins/jobs/translations/jobs/frontend-component-footer-edx-push_translations/workspace/ecommerce-scripts/frontend-component-footer-edx/node_modules/@edx/frontend-platform/i18n/scripts/transifex-utils.js:54:9)
17:46:37 at Module._compile (node:internal/modules/cjs/loader:1105:14)
17:46:37 at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
17:46:37 at Module.load (node:internal/modules/cjs/loader:981:32)
17:46:37 at Function.Module._load (node:internal/modules/cjs/loader:822:12)
17:46:37 at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
17:46:37 at node:internal/main/run_main_module:17:47
17:46:37 Makefile:31: recipe for target 'i18n.concat' failed
17:46:37 make: *** [i18n.concat] Error 1
17:46:39 Traceback (most recent call last):
17:46:39 File "transifex/push.py", line 82, in <module>
17:46:39 push(args.clone_url, args.repo_owner, merge_method=args.merge_method, skip_commit=args.skip_commit,
17:46:39 File "transifex/push.py", line 34, in push
17:46:39 repo.extract_translations()
17:46:39 File "/edx/var/jenkins/jobs/translations/jobs/frontend-component-footer-edx-push_translations/workspace/ecommerce-scripts/transifex/utils.py", line 218, in extract_translations
17:46:39 subprocess.run(['make', 'extract_translations'], check=True)
17:46:39 File "/usr/lib/python3.8/subprocess.py", line 516, in run
17:46:39 raise CalledProcessError(retcode, process.args,
17:46:39 subprocess.CalledProcessError: Command '['make', 'extract_translations']' returned non-zero exit status 2.
17:46:39 Build step 'Execute shell' marked build as failure
17:46:39 Archiving artifacts
17:46:44 Sending e-mails to: [email protected]
17:46:45 Finished: FAILURE
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Location: renovate.json
Error type: Invalid JSON (parsing failed)
Message: Syntax error near ],
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are awaiting their schedule. Click on a checkbox to get an update now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
react
, react-dom
, react-test-renderer
)@testing-library/dom
, @testing-library/jest-dom
, @testing-library/react
).github/workflows/ci.yml
actions/checkout v4
actions/setup-node v4
codecov/codecov-action v3
.github/workflows/commitlint.yml
.github/workflows/lockfileversion-check.yml
.github/workflows/release.yml
actions/checkout v4
actions/setup-node v4
codecov/codecov-action v3
cycjimmy/semantic-release-action v2
package.json
@edx/frontend-enterprise-utils 9.1.0
@fortawesome/fontawesome-svg-core 6.5.2
@fortawesome/free-brands-svg-icons 6.5.2
@fortawesome/free-regular-svg-icons 6.5.2
@fortawesome/free-solid-svg-icons 6.5.2
@fortawesome/react-fontawesome ^0.2.0
@openedx/paragon ^21.11.0
@reduxjs/toolkit 1.9.7
axios-mock-adapter 1.22.0
babel-polyfill 6.26.0
classnames 2.5.1
core-js 3.37.0
lodash 4.17.21
react-redux 7.2.9
react-responsive 9.0.2
react-transition-group 4.4.5
regenerator-runtime 0.14.1
rosie 2.1.1
timeago.js 4.0.2
@edx/brand 2.1.2
@edx/browserslist-config 1.2.0
@edx/frontend-platform 8.0.2
@edx/reactifex 2.2.0
@openedx/frontend-build 14.0.3
@testing-library/dom 9.3.4
@testing-library/jest-dom 5.17.0
@testing-library/react 10.4.9
husky 8.0.3
jest 29.7.0
jest-chain 1.1.6
prop-types 15.8.1
react 17.0.2
react-dom 17.0.2
react-redux 7.2.9
react-router-dom 6.23.1
react-test-renderer 17.0.2
reactifex 1.1.1
redux 4.2.1
redux-saga 1.3.0
@edx/frontend-platform ^7.0.1 || ^8.0.0
@openedx/paragon ^21.11.0
prop-types ^15.5.10
react ^16.9.0 || ^17.0.0
react-dom ^16.9.0 || ^17.0.0
.nvmrc
node 18
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.