Commit Graph

21 Commits

Author SHA1 Message Date
Nico Rehwaldt 3c895e08ae chore(project): build pre-packaged distros with Rollup
* enables tree-shaking
* simplifies build
2018-04-03 18:09:52 +02:00
Nico Rehwaldt 56a644177d chore(project): build using ES6 ready deps
* diagram-js@1
* updated utils
2018-04-03 16:30:05 +02:00
Nico Rehwaldt 4a9e129b53 chore(tasks): log distro config on test:distro failures 2018-03-21 13:46:16 +01:00
Nico Rehwaldt 37d70a19ca chore(ci): update examples during release 2018-02-06 12:06:41 +01:00
Nico Rehwaldt 68bfa10351 chore(ci): don't update pre-built + seed anymore
Related to #760
2018-02-06 12:06:41 +01:00
Nico Rehwaldt da2a8be7e5 chore(project): es5ify scripts
...until we decide to switch to ES2015+
2018-02-02 11:24:00 +01:00
Nico Rehwaldt 5b2b053230 chore(distro): add integration test
Add a test that ensures the distribution works.

Related to #725
2018-02-02 11:24:00 +01:00
Nico Rehwaldt f1082a563f chore(distro): build bower distro using new scripts 2018-02-02 11:24:00 +01:00
Nico Rehwaldt da4f321284 chore(project): use external bpmn-font
This is a breaking change for users that may rely on `assets/bpmn-font`
being present in the library.

BREAKING CHANGE:

* use `bpmn-font` package, specifically `bpmn-font/dist` if you need the
font previously contained in the assets directory.
2018-02-02 11:24:00 +01:00
Nico Rehwaldt 1184cbd271 chore(distro): apply envify transform 2018-02-02 11:24:00 +01:00
Nico Rehwaldt ea17632311 chore(distro): rename dist files and omit .map
This renames distribution files to:

  {variant}.development.js
  {variant}.production.min.js

Additional changes:

* drops .map file; users should use .development bundle
  for easier debugging

Related to #725

BREAKING CHANGE:

* distribution files have been renamed; users must update their
  apps accordingly if they'd like to use newer bpmn-js dists
2018-02-02 11:24:00 +01:00
Nico Rehwaldt d9d0d9dcdb chore(distro): consolidate into single task 2018-02-02 11:24:00 +01:00
Nico Rehwaldt e3bf356461 chore(project): drop grunt + bundle assets to dist directory
* replace grunt with npm scripts
* copy static assets to dist directory
* build and copy library variants to dist directory

Related to #725
2018-02-02 11:24:00 +01:00
Nico Rehwaldt cfcf5ddd41 chore(project): shrink bundle sizes
Reduces the size of bpmn-js {Viewer, NavigatedViewer, Modeler}
bundles by roughly eight percent:

* module concat / tree-shake produced production bundle
* bump diagram-js version to fix <this> used in ManhattanLayout
  utility
2017-11-20 15:04:37 +01:00
Nico Rehwaldt 0227eb2d3c chore(tasks/stages): attempt fix 2017-11-15 08:46:18 +01:00
Nico Rehwaldt abddbb0889 chore(release): update bower.json version when publishing bundle 2017-11-06 23:29:49 +01:00
Nico Rehwaldt 1dc84c500f chore(project): add release build stages
* configure build stages on release tags

  + publish bpmn-io/bower-bpmn-js
  + update bpmn-io/bpmn-js-seed
  + update bpmn-io/bpmn-js-integration
2017-10-27 22:05:52 +02:00
Nico Rehwaldt 9ab576d27c chore(project): update year in license header 2017-10-07 09:19:07 +02:00
Nico Rehwaldt 2985908357 chore(project): update dev dependencies 2016-01-27 13:31:17 +01:00
Nico Rehwaldt ae49bb719b chore(bower): hide bpmn-js internals in bundle
Related to #188
2015-02-06 09:56:18 +01:00
Nico Rehwaldt 92141ccd43 feat(bpmn-js): build modeler / navigated viewer bundle
Closes #154
2015-01-12 12:02:51 +01:00