Skip to content

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

Merged
merged 15 commits into from
Jul 26, 2024
Merged

Housekeeping #23

merged 15 commits into from
Jul 26, 2024

Conversation

nikku
Copy link
Member

@nikku nikku commented Jul 25, 2024

Proposed Changes

Modernizes the basic setup around this library:

  • Updates to ESM + CJS module
  • Bumps dependencies
  • Gets rid of a lot of cruft
  • Introduces GitHub CI action

Checklist

To ensure you provided everything we need to look at your PR:

  • Brief textual description of the changes present
  • Visual demo attached
  • Steps to try out present, i.e. using the @bpmn-io/sr tool
  • Related issue linked via Closes {LINK_TO_ISSUE} or Related to {LINK_TO_ISSUE}

@bpmn-io-tasks bpmn-io-tasks bot added the in progress Currently worked on label Jul 25, 2024
@nikku nikku requested review from a team, jarekdanielak and barmac and removed request for a team July 25, 2024 14:14
@nikku nikku marked this pull request as ready for review July 25, 2024 14:37
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed in progress Currently worked on labels Jul 25, 2024
@nikku
Copy link
Member Author

nikku commented Jul 25, 2024

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) diffpatch library. To be done another day.

Copy link
Contributor

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? 🤔

Copy link
Member Author

@nikku nikku Jul 26, 2024

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.

Copy link
Contributor

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. 🙂

Copy link
Contributor

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.

Copy link
Member Author

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.

Copy link
Member Author

@nikku nikku Jul 26, 2024

Choose a reason for hiding this comment

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

There you go: 8f465fd ✔️

nikku added 2 commits July 26, 2024 15:12
Smaller bundle size, get rid of legacy.
Latest [email protected] ships without cruft (:tm:)
@nikku nikku merged commit d5445ac into main Jul 26, 2024
4 checks passed
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Jul 26, 2024
@nikku nikku deleted the housekeeping branch July 26, 2024 13:23
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