@dragonaxe/ts-logger
TypeScript icon, indicating that this package has built-in type declarations

1.9.0 • Public • Published

Summary

An out-of-the-box logger for typescript projects.

Usage

. Set these env variables:

TSLOGGER_NAME=
TSLOGGER_SENTRYIO_DSN=
TSLOGGER_SENTRYIO_ENV=

Dev

. Set the proper configurations:

package name, private or public, keywords, url, version, etc.

. Build:

npm run build

. Login to npmjs.org (if using npmjs and publishing from the local machine):

npm login

. Or set the npm and github tokens (if publishing from Github):

NPM_TOKEN, NODE_AUTH_TOKEN, GH_TOKEN

. Publish (if publishing from the local machine):

npm publish

. To test the workflow using Act:

 act -j lint-and-test --secret-file act.secrets.test
 act -j publish --secret-file act.secrets.publish

Readme

Keywords

none

Package Sidebar

Install

npm i @dragonaxe/ts-logger

Weekly Downloads

7

Version

1.9.0

License

proprietary

Unpacked Size

12.1 kB

Total Files

18

Last publish

Collaborators

  • dragonaxe