Skip to content

core-server 2.1.13

Install from the command line:
Learn more about npm packages
$ npm install @amplement/core-server@2.1.13
Install via package.json:
"@amplement/core-server": "2.1.13"

About this version

CORE-SERVER

Tools shared between our backend services

Release

npm version patch|minor|major && git push && git push --tags

CircleCI

import * as coreServer from '@amplement/core-server'

Databases

Databases related tools.

Redis

Redis doc

Rethinkdb

Rethinkdb doc

Constants

Constants doc

Tools

Tools doc

ENV

Environment variable handled.

  • SENTRY_START_ERROR_CODE: optional to prevent reporting of errors under a particular status code (default: "500")
  • DEBUG_APP_NAME: optional the name to display in loggers (default: "app")
  • DEBUG_LEVEL: required the debug level to limit logger verbosity
  • NODE_INSTANCE_ID: optional instance id of the service using the core server
  • NODE_ENV: optional environment to use

Pre-release

To be able to test the package in a service, you can publish pre-release packages, here's a how-to.

For instance, we are on an app version 1.4.23 Prepare the pre-release version according to the level you want (patch, minor, major).

npm version prepatch

The version will become: 1.4.24-0

Then, if you want to bump this version, do:

npm version prerelease

The version will become: 1.4.24-1

Don't change this when merging, it will be replaced automatically on the next step.

When everything has been merging correctly, you can bump the version.

npm version patch

The version will become: 1.4.24

Details


Assets

  • core-server-2.1.13.tgz

Download activity

  • Total downloads 9
  • Last 30 days 0
  • Last week 0
  • Today 0