40 Commits

Author SHA1 Message Date
Nico Rehwaldt
88fbe05ae4 chore(project): remove browserify bundle
Bundling must be done by users of the library in some way anyway.
All those that do not bundle it will use the bower version.

Removing the bundle function to keep the build slim.
2014-08-21 15:34:37 +02:00
Nico Rehwaldt
cb21721210 fix(build): correctly generate source maps 2014-08-06 09:30:02 +02:00
Nico Rehwaldt
3166c6a74f fix(bower): correctly expose nested dependencies 2014-08-05 08:15:41 +02:00
jdotzki
113126ca9f chore(build): remove grunt-jasmine 2014-07-30 16:26:08 +02:00
Nico Rehwaldt
07fe97df35 chore(Gruntfile): use debug:true during karma run 2014-06-23 14:50:23 +02:00
Nico Rehwaldt
c74b81bba5 fix(bower): export as BpmnJS in bower bundle 2014-06-19 17:17:45 +02:00
Nico Rehwaldt
de0b0a411a chore(project): cleanup dependencies 2014-06-14 13:09:05 +02:00
Nico Rehwaldt
42b14c97e2 feat(bower): use exposify to build bower bundle
This commit uses exposify to perform a quick replace on web dependency
require() statements before browserify can process them.

This way we access our external dependencies (jquery, lodash, snapsvg,
sax) via window globals in a standalone bower bundle.

Closes #63
2014-06-13 16:55:31 +02:00
Nico Rehwaldt
73fbeb3d27 feat(modeler): add label editing
Related to #7
2014-06-11 15:08:45 +02:00
Nico Rehwaldt
832cd864e0 chore(build): speedup by using only one browserify target 2014-06-02 15:37:50 +02:00
Nico Rehwaldt
e50ca1bfac chore(project): upgrade browserify + cleanup dependencies 2014-06-02 14:29:21 +02:00
Nico Rehwaldt
e37bddf3a4 chore(distro): align exports with project name
The distribution exports the components via their node-module names.

BREAKING CHANGE:

require('bpmn/*') -> require('bpmn-js/*')
require('bpmn/Model') -> require('bpmn-moddle')
2014-05-28 15:36:41 +02:00
Nico Rehwaldt
027c4278fd chore(viewer): remove brfs dependency
This commit removes the build dependency on brfs by inlining the bpmn-js
logo directly into the source code.

Because of that users have an easier time integrating the library.
2014-05-26 09:15:07 +02:00
Nico Rehwaldt
150fc62ab9 chore(project): add grunt-release config 2014-05-08 08:52:14 +02:00
Nico Rehwaldt
daeed80b49 feat(project): add license
Closes #43
2014-05-06 14:33:12 +02:00
Nico Rehwaldt
ca0e0fbd97 chore(build): uglify dist files during watch 2014-05-06 09:59:21 +02:00
Nico Rehwaldt
c17204356c chore(project): move to karma-bro for test preprocessing 2014-04-30 01:57:54 +02:00
Nico Rehwaldt
01ba328eb7 chore(build): use watchify for auto-building
(significant build speedup ahead)
2014-04-28 15:36:14 +02:00
Nico Rehwaldt
0878841b0f chore(build): exclude 'fs' from build via pkg.json browser field
BREAKING CHANGE:

This commit requires that you upgrade your browserify version to >=
3.44.0.
2014-04-25 13:28:40 +02:00
Nico Rehwaldt
0c48002ada chore(project): upgrade grunt-jasmine-node 2014-04-09 15:07:35 +02:00
Nico Rehwaldt
0cc8599b56 chore(Gruntfile): remove jasmine_node (not needed atm) 2014-04-08 13:41:27 +02:00
Nico Rehwaldt
008015b227 feat(Viewer): embed and show project logo
The project logo now properly embeds in the Viewer and links to bpmn.io.
This way, we are able to ship it as part of a bpmn-js bundle.

In addition to that change this commit upgrades to the latest diagram-js
release, too which adds support for Diagram#destroy().

Closes #15
2014-04-08 13:41:24 +02:00
Nico Rehwaldt
bd6aa53662 chore(project): pull out bpmn model
This commit removes the bpmn model specific parts that have been
outsourced to the project bpmn-io/bpmn-moddle.

In addition it removes BPMN 2.0 diagrams that were crafted
especially for tests of that functionality.

Closes #25
2014-04-03 19:34:17 +02:00
Nico Rehwaldt
c485f478df chore(build): configure browsers under test via env.TEST_BROWSERS 2014-04-03 11:51:56 +02:00
Nico Rehwaldt
2eedfcbd2c fix(build): correct jshint errors 2014-04-01 14:17:13 +02:00
Nico Rehwaldt
779312b8b6 chore(build): update to new grunt-browserify 2014-03-31 15:54:45 +02:00
Nico Rehwaldt
fdab2321e2 feat(build): minify using uglify-js 2014-03-31 15:53:31 +02:00
Nico Rehwaldt
42b63d7111 feat(Viewer): expose #on to add listeners 2014-03-26 17:45:04 +01:00
Nico Rehwaldt
b0517a5957 chore(build): refactor build task 2014-03-25 14:06:52 +01:00
Nico Rehwaldt
7e119dc402 feat(BpmnRenderer): basic render events and activities
Related to #1
2014-03-20 16:18:23 +01:00
Nico Rehwaldt
0954398c8d feat(example): update renderer/modeler example
This commit updates the example to accompain a renderer AND modeler
component.
2014-03-18 17:01:24 +01:00
Nico Rehwaldt
1ab6b2b13b chore(build): generate api docs to docs/api 2014-03-17 15:11:15 +01:00
Nico Rehwaldt
ee83bf9c9c fix(build/browserify): do not include global vars
This allows us to create smaller builds by NOT including common NodeJS
variables (Buffer, __filename, __dirname, ...).
2014-03-17 11:13:04 +01:00
jdotzki
4628566124 fix(gruntfile): 'auto-build' task copy index.html to dist 2014-03-17 09:57:47 +01:00
Nico Rehwaldt
cc1e91f37f fix(build): remove bowerify dependency 2014-03-14 17:52:30 +01:00
Nico Rehwaldt
5a4d0b566a feat(import): import bpmn shapes
We are able to import shapes based on BPMNDI.

Related to #1
2014-03-13 16:06:30 +01:00
Nico Rehwaldt
423c757f1d chore(testsuite): organize tests into node/browser
This commit introduces a clean separation of node and browser tests.

ALL tests should be organized according to where they are run

non browser (áka node tests): `test/spec/node`
browser tests: `test/spec/browser`
2014-03-13 11:33:25 +01:00
jdotzki
dadf0ae1a5 chore(Gruntfile): add auto-build task 2014-03-12 14:48:15 +01:00
Nico Rehwaldt
5b5225450d feat(example): add browser integration sample 2014-03-11 16:24:31 +01:00
Nico Rehwaldt
01a5f28e2d chore(project): initial import 2014-03-11 15:54:36 +01:00