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

Generator generates webpack.config.js that adds version number to bun… #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

extremobemo
Copy link

CB-164 Adding version number to bundled OWA file name

Description of what I changed

yeoman generator now generates a webpack.config.js file that appends the version number to an OWA when bundled. Can be turned on and off with boolean packageIncludesVersionNumber.

Another PR in openmrs-module-owa by the same name (CB-164) removes the version number from the OWA URL.

Issue I worked on

see https://issues.openmrs.org/browse/CB-164

Checklist:

  • My pull request only contains ONE single commit
    (the number above, next to the 'Commits' tab is 1).

  • My IDE is configured to follow the code style of this project.

  • I have added tests to cover my changes. (If you refactored
    existing code that was well tested you do not have to add tests)

  • I ran mvn clean package right before creating this pull request and
    added all formatting changes to my commit.

  • All new and existing tests passed.

  • My pull request is based on the latest changes of the master branch.

…dled OWA

- Generates new webpack.config file that can add version number to bundled OWA
- Version number can be toggled with boolean
- This PR is dependent on another PR in `openmrs-module-owa` by the same name, `CB-164`, which removes version number from OWA URL.
@extremobemo
Copy link
Author

npm test fails when run by Travis CI, but passes on our local machines. I believe this to be an issue with the tests, not the code we changed.

Can anyone comment on why this might be happening? Is there something else we need to do?

Thanks.

@dkayiwa
Copy link
Member

dkayiwa commented Apr 16, 2019

Have you looked at the travis error log details?

@extremobemo
Copy link
Author

extremobemo commented Apr 16, 2019 via email

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.

2 participants