Commit Graph

16 Commits

Author SHA1 Message Date
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