@dragonaxe/ts-logger
v1.9.0
Published
An out-of-the-box logger for TypeScript projects
Downloads
30
Readme
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