Package detail

rollup-plugin-bpmnlint

nikku34.1kMIT0.4.1

Convert bpmnlint config files to consumable modules

bpmnlint, browser-pack, rollup-plugin

readme

rollup-plugin-bpmnlint

CI

Convert bpmnlint config files to consumable modules.

import { Linter } from 'bpmnlint';

import linterConfig from './.bpmnlintrc';

const linter = new Linter(linterConfig);

Installation

npm i rollup-plugin-bpmnlint -D

Usage

import { rollup } from 'rollup';

import bpmnlint from 'rollup-plugin-bpmnlint';

import nodeResolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';

rollup({
  input: 'main.js',
  plugins: [
    nodeResolve(),
    commonjs(),
    bpmnlint({
      // matching .bpmnlintrc files per default
      include: '**/.bpmnlintrc',

      // undefined per default
      exclude: [ ],

      // an compiler that transforms a .bpmnlintrc
      // file into the actual bpmnlint configuration
      compileConfig: null
    })
  ]
});

License

MIT

changelog

Changelog

All notable changes to rollup-plugin-bpmnlint are documented here. We use semantic versioning for releases.

Unreleased

_Note: Yet to be released changes appear here._

0.4.1

  • FIX: resolve local bpmnlint

0.4.0

  • FEAT: lazy resolve bpmnlint
  • FEAT: allow to specify compileConfig helper through plug-in options

0.3.1

  • DEPS: support bpmnlint>=8

0.3.0

  • FEAT: throw with meaningful error if bpmnlint cannot be found

0.2.0

  • FIX: require bpmnlint from local path

0.1.5

  • DEPS: support bpmnlint@7

0.1.4

  • DEPS: support bpmnlint@6

0.1.3

  • CHORE: improve JSON parse error messages

0.1.2

  • DEPS: support bpmnlint@5

0.1.1

  • DEPS: support bpmnlint@4

0.1.0

  • FEAT: initial release :tada: