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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package choreography library like bpmn.js #35

Closed
friedow opened this issue Nov 22, 2018 · 0 comments 路 Fixed by #36
Closed

Package choreography library like bpmn.js #35

friedow opened this issue Nov 22, 2018 · 0 comments 路 Fixed by #36
Assignees
Labels
feature New feature or request

Comments

@friedow
Copy link
Collaborator

friedow commented Nov 22, 2018

Hey there,

I did spike into the code last night and managed to use the choreography library in another project 馃帀! Here is how it looked like in the end:
image

After I managed to do that, I gave the idea of packaging this library like bpmn.js a lot of thought. Here are the steps that have to be taken in order turn the choreography library into an own package:

  1. Create a package.json inside the sub directory (under app)
  2. Note all necessary dependencies in that package.json
  3. Move fonts to this sub directory too in order to include it in the packaged version

That should be the smallest working solution in order to turn the library into a npm package. Anyway, it would be a lot cleaner to move the whole library (sub directory under app) into an own repository. Afterwards you would use git submodules to use the library like you do now.

I will implement the minimal working solution in the next few days and update this thread accordingly. 馃槉

@friedow friedow added the feature New feature or request label Nov 22, 2018
@friedow friedow self-assigned this Nov 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant