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 support for node 16 #395

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iamsobanjaved
Copy link

@iamsobanjaved iamsobanjaved commented Mar 8, 2022

  • Added support for node 16
  • Replaced node-sass with sass
  • Replaced extract-text-webpack-plugin with mini-css-extract-plugin
  • Upgraded edx/paragon
  • Transform SVG file in jest to fix tests

Ticket: BOM-3222

@codecov
Copy link

codecov bot commented Mar 11, 2022

Codecov Report

Merging #395 (338859c) into master (343e913) will not change coverage.
The diff coverage is n/a.

❗ Current head 338859c differs from pull request most recent head 26690a4. Consider uploading reports for the commit 26690a4 to get more accurate results

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #395   +/-   ##
=======================================
  Coverage   75.00%   75.00%           
=======================================
  Files           3        3           
  Lines          96       96           
  Branches       22       22           
=======================================
  Hits           72       72           
  Misses         19       19           
  Partials        5        5           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 343e913...26690a4. Read the comment docs.

- Replaced node-sass with sass
- Replaced extract-text-webpack-plugin with mini-css-extract-plugin
- Upgraded edx/paragon
- Transform svg file in jest to fix tests
@@ -102,6 +102,10 @@
"jest": {
"testEnvironment": "jest-environment-jsdom-global",
"testURL": "http://localhost/",
"transform": {
"^.+\\.jsx?$": "babel-jest",
"^.+\\.svg$": "./src/svgTransform.js"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Introduced this to fix tests, from here: https://stackoverflow.com/a/59062195

@@ -0,0 +1,9 @@
module.exports = {
process() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe worth a comment here on why this change?

Copy link

@binodpant binodpant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking fine to me with the svg fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants