0.20.14 • Published 9 months ago

@spacefill/integration-framework v0.20.14

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
9 months ago

Integration framework

The spacefill's integration framework contains a toolkit to build edi integration connectors.

Use the framework

See ./docs/UserGuide.md.

Contribute to the framework

Getting started

Build with NodeJS 18.12.

yarn install
  • examples/ contains scripts implementing the framework to generate or load files.
  • All scripts have a -h argument allowing to display the scripts usage.

    • eg.:
    ~/integration-framework/examples/load_file_example$ ./LoadOrderAcknowledgeTaskExample.mts -h
    Usage: ./LoadOrderAcknowledgeTaskExample.mts [OPTIONS]
    
    Options:
      -h, --help                              Console this help and exit.
      --debug                                 Force log level to DEBUG.
      --env                                   Path to environment variables file. e.g: --env=.env
      --print-config                          Display the environment variables values and exit.
      --print-statistics                      Display the resource usage at the end of the process
      --disable-events                        Disable edi events emit

Tests

See ./tests/README.md

Dev tools

Prettier

  • Make prettier watch and correct changes

    $ yarn run prettier-watch
  • Or with VS Code, you can install the Formatting Toggle extension.

  • Fix all .ts files from ./src

    $ yarn prettier src/**/*.ts --write

FAQ

How to update the SDK ?

To update the sdk with the latest Spacefill API version, you simply need to run the dedicated script:

$ cd scripts/
$ ./generateApiType.mts

How to publish a new spacefill@integration-framework package version ?

  • Update the package version in package.json:

    :warning: Please notice that the package version must respect SemVer 2.0.

    {
      "name": "@spacefill/integration-framework",
      "type": "module",
      "version": "0.13.0", // <-- version to update
      "main": "dist/index.js",
     ...
    }
  • Update the CHANGELOGS.md.

  • Request approval and merge your PR.

  • Create a tag and push it.

  • The CI will automatically publish the new package version.

0.20.1

9 months ago

0.19.8

9 months ago

0.20.0

9 months ago

0.19.0

10 months ago

0.19.1

10 months ago

0.19.2

10 months ago

0.19.3

10 months ago

0.19.4

10 months ago

0.19.5

10 months ago

0.19.6

10 months ago

0.19.7

9 months ago

0.18.0

10 months ago

0.20.13

9 months ago

0.20.14

9 months ago

0.20.11

9 months ago

0.20.12

9 months ago

0.20.10

9 months ago

0.20.9

9 months ago

0.20.8

9 months ago

0.20.7

9 months ago

0.20.6

9 months ago

0.20.5

9 months ago

0.20.4

9 months ago

0.20.3

9 months ago

0.20.2

9 months ago

0.17.2

11 months ago

0.17.0

11 months ago

0.17.1

11 months ago

0.16.2

11 months ago

0.15.6

1 year ago

0.15.7

1 year ago

0.15.8

1 year ago

0.15.9

1 year ago

0.16.0

1 year ago

0.16.1

12 months ago

0.15.5

1 year ago

0.15.4

1 year ago