Skip to content

Make grunt working again. #221

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

Merged
merged 2 commits into from
Jul 11, 2020
Merged

Make grunt working again. #221

merged 2 commits into from
Jul 11, 2020

Conversation

mafiosso
Copy link
Contributor

@mafiosso mafiosso commented Jul 9, 2020

This solves first step of mentioned maintenance -1. Fix things so that development is smooth again. Upgraded grunt and its dev-dependencies. Note that tests are executed via puppeteer now which uses Chromium. Puppeteer freezes on old minified/uglyfied files, but works well on firefox manully. When running npm dist everything works smooth then. I am not sure if commit products of npm dist for now - possible lost of backward compatibility for user of latest version.

@jgonggrijp
Copy link
Contributor

Reference to the issue mentioned above: #220.

Copy link
Contributor

@jgonggrijp jgonggrijp left a comment

Choose a reason for hiding this comment

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

@mafiosso Do I understand correctly that grunt test works fine if you first run grunt dist?

In what way do the newly generated uglified+minified files differ from the committed uglified+minified files?

Co-authored-by: Julian Gonggrijp <[email protected]>
@mafiosso mafiosso closed this Jul 10, 2020
@jgonggrijp
Copy link
Contributor

@mafiosso Please reopen. I meant that the contents of /dist should stay as-is, but I'd like to merge your changes to the package.json and the Gruntfile.js.

@mafiosso mafiosso reopened this Jul 10, 2020
@joshuacc
Copy link
Contributor

The changes look fine. However, I found that when running npm test, puppeteer would hang even on the unminified and unconcatenated source. Are either of you seeing this issue?

@joshuacc
Copy link
Contributor

Looks like that was a temporary fluke on my machine. These changes look good. Thanks!

@joshuacc joshuacc merged commit c833814 into documentcloud:master Jul 11, 2020
@jgonggrijp
Copy link
Contributor

Thanks for checking and for merging, @joshuacc!

jgonggrijp added a commit to jgonggrijp/underscore-contrib that referenced this pull request Aug 24, 2020
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.

3 participants