-
Notifications
You must be signed in to change notification settings - Fork 18
Housekeeping #23
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
Housekeeping #23
Conversation
There is more stuff to be done, i.e. to turn this library into a true dual ESM/CommonJS module. But that would require to fix the upstream (broken, bundling wise) |
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.
bpmn-moddle 8 or 9? 🤔
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.
v9
does not fly yet, because the diffpatch
library we use is a fake ESM module, we cannot move to ESM testing, but bpmn-moddle@9 does not work with emulation via esm
anymore.
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.
I was asking because the commit message and the actual version weren't matching. 🙂
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.
Otherwise this PR looks good and could be merged.
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.
bpmn-io/diffpatch#2 should enable (once released and integrated) the update to bpmn-moddle@9
.
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.
There you go: 8f465fd ✔️
Smaller bundle size, get rid of legacy.
Latest [email protected] ships without cruft (:tm:)
Proposed Changes
Modernizes the basic setup around this library:
Checklist
To ensure you provided everything we need to look at your PR:
@bpmn-io/sr
toolCloses {LINK_TO_ISSUE}
orRelated to {LINK_TO_ISSUE}