
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@dotgov/bpmn
Advanced tools
* [Getting started](#getting-started) * [Roadmap](#roadmap) * [API](#api) * [Custom styles](#custom-styles) * [Custom themes](#custom-themes) * [Exports](#exports) * [Contributors](#contributors) * [Development](#development)
Library is under active development and may have breaking changes until stable 2.0.0 release or subsequent major versions after 2.0.0.
bpmnnpm install --save @dotgov/bpmn
Consider that every DotGov Module including bpmn must be imported next/in same context as DGSCoreModule.
import { DGSCoreModule, DGSEnvironment } from '@dotgov/core';
import { BPMNModule } from '@dotgov/bpmn';
import { FormBuilderModule } from '@dotgov/formbuilder';
const dgsEnvironment: DGSEnvironment = {
debug: environment.debug,
apiUrl: environment.apiUrl,
defaultLanguage: {
Name: 'English',
Code: 'en',
Icon: 'fa fa-globe',
},
languages: [{
Name: 'English',
Code: 'en',
Icon: 'fa fa-globe',
}],
lowerCaseTranslates: true,
};
@NgModule({
declarations: [AppComponent],
imports: [
DGSCoreModule.forRoot(dgsEnvironment),
BPMNModule.forRoot(dgsEnvironment),
FormBuilderModule.forRoot(dgsEnvironment),
],
bootstrap: [AppComponent]
})
export class AppModule {}
To load assets like themes and pdf viewer its ncessary to include assets. IF you're using the Angular CLI, you can add this to your angular-cli.json.
Note: Path to bpmn bundle must set relative to basepath inside angular-cli.json.
"apps": {
...any,
"assets": [
...any,
{
"glob": "**/*",
"input": "../node_modules/@dotgov/bpmn/assets/",
"output": "./assets/"
}
],
...any,
}
| Input | Type | Default | Required | Description |
|---|---|---|---|---|
| url | string | - | yes | Target url to be working with ( key for modeler to work ). |
| preview | boolean | true | no | Render as preview or editable way. |
| Output | Type | Description |
|---|---|---|
| (onSave) | event | Fired when user try to save modeler. |
| Contributor Name | Contributor Page |
|---|---|
| Grigore Meleca | grigoreme |
| Mihail Racila | mracila25 |
Open ng-package.json and setup dest to location where you want your build to go. (example: ../myProject/node_modules/@dotgov/bpmn)
npm run build
For more information read docs/developer_guide.md
Use CI/CD for that.
Or just run npm run old_school_release, of course if you have permissions ;)
FAQs
* [Getting started](#getting-started) * [Roadmap](#roadmap) * [API](#api) * [Custom styles](#custom-styles) * [Custom themes](#custom-themes) * [Exports](#exports) * [Contributors](#contributors) * [Development](#development)
We found that @dotgov/bpmn demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.