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

Update Node.js to supported version #742

Merged
merged 7 commits into from
Jun 21, 2023
Merged

Conversation

dchiller
Copy link
Collaborator

@dchiller dchiller commented Jun 20, 2023

As of this PR, the Node version with LTS is v18 (v20 is currently released but not yet "Active" -- an upgrade should be possible later this year). Closes #694.

Additionally, the version of the nginx base container pulled from Docker Hub is specified.

Explanation of Changes

  • The gulp package had to be upgraded to version 4.
    • gulp v4 made the run-sequence package obsolete. Instead, sequential tasks are registered using gulp.series. gulpfile.js was updated to include this change.
    • gulp v4 no longer allowed forward references in task registration. Tasks needed to be registered before they could be included as dependencies in other tasks. The order of task registration in gulpfile.js was modified to remove forward references.
  • The gulp-sass package had to be upgraded to version 5.
    • With version 5, a sass compiler is no longer bundled with gulp-sass by default. A compiler (in this case sass) had to be independently installed and passed to gulp-sass when imported into gulpfile.js.

In the process of this update, gulp had to be upgraded to v4. run-sequence
package was made irrelevant by the introduction of gulp.series in
gulp v4. Reorganization of the gulpfile.js was required due to changes
in task registration from gulp v3 to gulp v4 where gulp stopped allowing
forward references in task registration.
This also required the upgrade of gulp-sass to v5. A compiler is no
longer bundled with gulp-sass in v5, so sass had to be installed
independently.
@dchiller dchiller marked this pull request as ready for review June 20, 2023 21:45
@dchiller dchiller requested a review from jacobdgm June 21, 2023 13:16
@dchiller dchiller merged commit f187fea into DDMAL:main Jun 21, 2023
@dchiller dchiller deleted the update-nodejs branch June 21, 2023 20:40
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.

Nginx container uses unsupported version of node
2 participants