-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: export configs from package #93
Conversation
This is going to break the way CLI imports the tool: https://github.com/dhis2/cli/blob/master/packages/main/src/index.js#L9 |
Ah, hmm. Is that fixable? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is going to break the way CLI imports the tool:
command.config = configObject()
command.command = command
module.exports = command
It's self referencing.. But at least it's backwards compatible for the time being?
Yeah, it's a trivial fix: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
# [4.1.0](v4.0.0...v4.1.0) (2019-07-15) ### Features * export configs from package ([#93](#93)) ([55fd0f9](55fd0f9))
🎉 This PR is included in version 4.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Implemented your suggestion, @ismay. It could look something like this.