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

Feature/ADF-1417/Upgrade to Node 18 #3794

Merged
merged 21 commits into from
May 11, 2023
Merged

Conversation

jsconan
Copy link
Contributor

@jsconan jsconan commented May 2, 2023

Related to: ADF-1417 and ADF-1418

Requires:

Summary

Update the dependencies in order to support further versions of Node

Details

To properly support Node 18, the dev dependencies had to be updated and aligned.

BREAKING CHANGE:

  • The package now requires Node.js 14.17+
  • Replace Node-Sass with Dart-Sass

Note: The lock file was generated with npm@6 so it would also work seamlessly with Node 14.

How to test

  • make sure to have Node 18 installed (you can use nvm.sh for managing multiple versions)
  • install the package:
    cd tao/views
    npm i
    cd build
    npm i
    npx grunt taosass
    npx grunt taobundle
    npx grunt connect:dev taotest
    

Note After switching to Node 18, you may need to erase the node_module folder, otherwise the error >> Error: Could not locate the bindings file may arise.

@codecov-commenter
Copy link

codecov-commenter commented May 2, 2023

Codecov Report

Merging #3794 (4df745d) into develop (2ef7f1f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop    #3794   +/-   ##
==========================================
  Coverage      28.14%   28.14%           
  Complexity     10949    10949           
==========================================
  Files            922      922           
  Lines          32906    32906           
==========================================
  Hits            9260     9260           
  Misses         23646    23646           

Copy link
Contributor

@shaveko shaveko left a comment

Choose a reason for hiding this comment

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

Looks good, thnaks for the demo

@jsconan jsconan force-pushed the feature/ADF-1417/upgrade-to-node18 branch from 05a584c to 3a803bf Compare May 11, 2023 15:08
jsconan added 2 commits May 11, 2023 17:26
 Conflicts:
	views/js/loader/tao.min.js
	views/js/loader/tao.min.js.map
@github-actions
Copy link

Version

🚨 Your pull request contains a BREAKING CHANGE, please be sure to communicate it.

Target Version 53.0.0
Last version 52.3.0

There are 1 BREAKING CHANGE, 0 feature, 3 fixes

@jsconan jsconan merged commit a94a696 into develop May 11, 2023
@jsconan jsconan deleted the feature/ADF-1417/upgrade-to-node18 branch May 11, 2023 15:44
@jsconan jsconan restored the feature/ADF-1417/upgrade-to-node18 branch May 11, 2023 17:01
@jsconan jsconan deleted the feature/ADF-1417/upgrade-to-node18 branch May 11, 2023 17:12
@jsconan jsconan restored the feature/ADF-1417/upgrade-to-node18 branch May 11, 2023 17:12
@jsconan jsconan deleted the feature/ADF-1417/upgrade-to-node18 branch May 12, 2023 15:18
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.

4 participants