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

Node 16 Upgrade #30354

Merged
merged 2 commits into from
May 16, 2022
Merged

Node 16 Upgrade #30354

merged 2 commits into from
May 16, 2022

Conversation

aht007
Copy link
Member

@aht007 aht007 commented May 9, 2022

Description

This PR adds node 16 support to edx-platform and also updates the dependent packages in package.json
Tested these changes by creating Sandbox with Node 16 configurations as well as on Sandbox with node 12 configuration.
Related PR to move prod to Node16 will be merged later on

@aht007 aht007 force-pushed the aht007/Node-Upgrade branch 2 times, most recently from 3668f2f to c5f46e8 Compare May 13, 2022 10:47
@aht007 aht007 changed the title Node Test Node 16 Upgrade May 13, 2022
@aht007 aht007 force-pushed the aht007/Node-Upgrade branch from 68ec055 to 9af43a5 Compare May 16, 2022 10:45
@aht007 aht007 requested a review from a team May 16, 2022 11:29
@aht007 aht007 merged commit f4c3c3f into master May 16, 2022
@aht007 aht007 deleted the aht007/Node-Upgrade branch May 16, 2022 11:53
aht007 added a commit that referenced this pull request May 16, 2022
@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been rolled back from the production environment.

connorhaugh pushed a commit that referenced this pull request May 16, 2022
@aht007 aht007 restored the aht007/Node-Upgrade branch May 17, 2022 09:58
@aht007 aht007 mentioned this pull request May 17, 2022
@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

jawad-khan pushed a commit that referenced this pull request Jun 14, 2022
* feat: Node16 upgrade
jawad-khan pushed a commit that referenced this pull request Jun 14, 2022
@@ -57,6 +57,7 @@
"redux-thunk": "2.2.0",
"requirejs": "2.3.5",
"rtlcss": "2.2.1",
"sass": "^1.49.10",
Copy link
Member

Choose a reason for hiding this comment

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

@aht007 Can you help me understand why you removed node-sass and installed sass as part of this upgrade?

Copy link
Member Author

Choose a reason for hiding this comment

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

node-sass has been deprecated for a long time now and we faced several issues with it when moving towards node16. Also dart-sass(sass) is the recommended replacement for it which works nicely with node16 and hence the change.
Reference Docs:

Screenshot 2023-01-18 at 11 58 23 PM

)

Copy link
Member

Choose a reason for hiding this comment

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

Got it, thank you!

For context, the edx-platform build pipeline still uses libsass-python (which is deprecated as well). I am currently looking into replacing with, either with node-sass or dart-sass. There's discussion in #wg-developer-experience if you're curious.

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.

5 participants