1.8.0 • Published 2 years ago

inp-client v1.8.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

inp-client

Integration platform API client

Setup and creating demo integration

  1. run npm i to install dependencies
  2. copy .env.example to .env and update to your values, keep as is for local development
  3. copy examples/on-demand-endpoint to your destination, note that folder local is in .gitignore so you can copy it here: cp -R examples/on-demand-endpoint local
  4. create a demo integration with npm run inp-client -- -c local/on-demand-endpoint
  5. see file created: local/on-demand-endpoint/created-integration.json which contains all created resources

Updating scripts

  1. change something in local/scripts/hello-world.js, modify result or add logging
  2. run npm run inp-client -- -u local/on-demand-endpoint/, it will load saved integration created-integration.json and lookup for endpoints and scripts and will update all found.

Local development

There are various ways to develop and test local or unreleased version of inp-client. All requires some change in the target project my preferred way is to remove inp-client from package.json and then use globally installed inp-client.

  1. In the target project (where the new version will be tested/used) npm remove inp-client
  2. In the inp-client project npm run update:local which uses npm link and npm unlink to update inp-client global installation without publishing inp-client to npm registry.
1.8.0

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago