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

Modernize frontend build #295

Merged
merged 8 commits into from
Oct 26, 2022

Conversation

jandd
Copy link
Contributor

@jandd jandd commented May 20, 2022

This PR minimizes the frontend build system to the bare minimum to reproduce our current CSS and JavaScript.

The goal of the PR is to reduce dependencies. The build has been updated to Gulp 4, a recent nodejs release and updated versions of most dependencies. The PR fixes all critical vulnerabilities found by GitHub's dependency analysis.

Browsersync and watch functionality has been removed because it did not make sense with our setup (no static HTML to test with) anyway.

jandd added 7 commits May 17, 2022 17:39
- update/remove gulp dependencies
- reduce vulnerabilities by reducing the used dependencies
- restructure gulp build to work with gulp 4
This commit removes the date output from the generated CSS to allow
reproducible builds.
@coveralls
Copy link

coveralls commented May 20, 2022

Pull Request Test Coverage Report for Build 3327642989

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 97.119%

Totals Coverage Status
Change from base Build 3327635596: 0.0%
Covered Lines: 3840
Relevant Lines: 3957

💛 - Coveralls

@jandd jandd requested a review from MIME-MMS October 11, 2022 08:39
@jandd jandd added frontend Design, HTML, CSS, JS build Docker, run.sh labels Oct 11, 2022
Copy link
Contributor

@jenslauterbach jenslauterbach left a comment

Choose a reason for hiding this comment

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

LGTM.

Only issue is: when I ran this locally and checked the start page, everything looked fine. But when I further inspected the developer console I got the following error:

Failed to load resource: the server responded with a status of 404 (Not Found) http://0.0.0.0:8000/static/js/bootstrap.js.map

This won't break functionality, but might be a regression.

@jandd jandd merged commit 4f1bb92 into devdaydresden:development Oct 26, 2022
@jandd jandd deleted the modernize-frontend-build branch October 26, 2022 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Docker, run.sh frontend Design, HTML, CSS, JS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants