workflow-resolver-relative

2.0.0 • Public • Published

Workflow resolver for Relative paths

Workflow resolver for resolving flows relative to a given path. When using this resolver, workflow will resolve flows relative to the given path argument.

Installation

npm install --save workflow-resolver-relative

Usage in Workflow config.js.

import { WorkflowResolverRelative } from "workflow-resolver-relative";

export const config = {
  resolvers: [
    new WorkflowResolverRelative({
      path: "/path/to/dir", // path to resolve relative to.
      filter: /regex/       // regex filter on possible matches e.g. /.*.js$/
    })
  ],
 ...
};

This example will resolve workflow Example.js to /path/to/dir/Example.js.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i workflow-resolver-relative

      Weekly Downloads

      1

      Version

      2.0.0

      License

      MIT

      Unpacked Size

      5.35 kB

      Total Files

      5

      Last publish

      Collaborators

      • havardh