@skedulo/horizon-work-actions-common
TypeScript icon, indicating that this package has built-in type declarations

0.0.220 • Public • Published

Horizon Work Actions Common

Development

Install dependencies

yarn bootstrap

Running a Local Server for Development

To facilitate local development and debugging, you can set up a local server to run API functions.

Remember every API request needs to be authenticated, so you will need to provide a valid JWT token in the Authorization header of your requests as well as the api url in the sked-api-server header.

Start the local development server with the following command:

yarn start

This command will launch the server, and you should see some output in the terminal indicating that the server is running.

After the server has started, you can make API requests to the available functions and endpoints defined in the src/devRoutes.ts file.

To test you can send a GET request to http://localhost:7654/ping which should return 'pong'.

Note: The server will typically run on localhost at port 7654, but can be also customised by setting it on the env variable HTTP_PORT.

How to publish

Changes to this package should come along with changes to the version.

Check the version

List all the versions of the package to know the next version available

npm view @skedulo/horizon-work-actions-common versions

Releasing a new version

The command below will update the version of the package and publish it to npm.

yarn release-package <newversion>

Readme

Keywords

none

Package Sidebar

Install

npm i @skedulo/horizon-work-actions-common

Weekly Downloads

36

Version

0.0.220

License

ISC

Unpacked Size

207 kB

Total Files

65

Last publish

Collaborators

  • hoangmphung
  • alopez
  • jahrens
  • zoestewart
  • skeddevvn
  • edwardsmatt
  • severinkehding
  • cuong_skedulo
  • filipeskedulo
  • patsimonsked
  • sked-dev-uk
  • bbeuth-skedulo
  • abyerly
  • james.bassett
  • drsk
  • krystlel
  • clucas-skedulo
  • lap.tran
  • leto-skedulo
  • dsavagesked
  • nedmules
  • davidsetyanugraha
  • son.bui
  • harryj-skedulo
  • adtennant
  • yurychislov
  • antran.skedulo
  • jameswarr
  • trangpham
  • ehollonds
  • cong.le
  • skedsondang
  • skedadmin
  • simon_filipiak
  • tdaosked
  • minhsked
  • son.tieu
  • hha2024
  • willthames_sked
  • dhayesskedulo
  • jnovak
  • sophiewheeler
  • sgassmann
  • skedlephan
  • krista-b
  • taylorskedulo
  • ngahoang
  • bezzer
  • doonleith