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

Use @openwebwork/mathquill from npm instead of directly using github. #1117

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

drgrice1
Copy link
Member

@drgrice1 drgrice1 commented Sep 6, 2024

A beta version of an @openwebwork/mathquill package has been published on npm. This switches to using that instead of from github. Before the next release, a non-beta version will be published and this updated to use that version.

The github repository will also be updated to not include the distribution build anymore. This fixes the mess of always needing to reubild the dist files for every change to the mathquill code. That is a real pain when different pull requests are made, particularly unrelated pull requests, as they have to be put in order with sequential builds.

@pstaabp
Copy link
Member

pstaabp commented Sep 6, 2024

I had to do a nom ci to get mathquill pulled down from npm.

@drgrice1
Copy link
Member Author

drgrice1 commented Sep 6, 2024

Generally anytime anything in the htdocs directory is changed (other than the helpFiles), you need to run npm ci to make changes take effect. I didn't mention it, because I though by now that would be obvious.

A beta version of an `@openwebwork/mathquill` package has been published
on npm.  This switches to using that instead of from github.

The github repository will also be updated to not include the
distribution build anymore.  This fixes the mess of always needing to
reubild the `dist` files for every change to the mathquill code.  That
is a real pain when different pull requests are made, particularly
unrelated pull requests, as they have to be put in order with sequential
builds.
@somiaj
Copy link
Contributor

somiaj commented Oct 1, 2024

Two approvals so I'll merge. Works in my testing in both using MathQuill and past answers.

@somiaj somiaj merged commit c46669d into openwebwork:develop Oct 1, 2024
3 checks passed
@drgrice1
Copy link
Member Author

drgrice1 commented Oct 1, 2024

Since this is merged, openwebwork/mathquill#32 should also be reviewed and merged since this technically depends on that.

@drgrice1 drgrice1 deleted the mathquill-npm branch October 21, 2024 21: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.

3 participants