@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

3

Version

0.0.220

License

ISC

Unpacked Size

207 kB

Total Files

65

Last publish

Collaborators

  • minhsked
  • jameswarr
  • hha2024
  • tdaosked
  • trangpham
  • skedadmin
  • ghilton
  • son.tieu
  • adtennant
  • willthames_sked
  • ehollonds
  • skedsondang
  • cong.le
  • harryj-skedulo
  • drsk
  • sgassmann
  • sophiewheeler
  • jnovak
  • antran.skedulo
  • sked-dev-uk
  • yurychislov
  • clucas-skedulo
  • zoestewart
  • mnpetersen-skedulo
  • son.bui
  • davidsetyanugraha
  • nedmules
  • dsavagesked
  • leto-skedulo
  • lap.tran
  • tomwright
  • james.bassett
  • bbeuth-skedulo
  • abyerly
  • patsimonsked
  • krystlel
  • edwardsmatt
  • hoangmphung
  • alopez
  • jahrens
  • skeddevvn
  • codeth
  • cuong_skedulo