0.1.0 • Published 2 months ago

@enapter/teams-reporter v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

Enapter Teams Reporter

Requirements

Install

npm i --save-dev @enapter/teams-reporter
yarn add -D @enapter/teams-reporter

This package should be listed inside devDependencies in package.json.

How To Use

// template – message template function
// data – message content data

reportToTeams(<template>, <data>)
import { reportToTeams, SimpleReportCard } from 'zmnv-teams-reporter-test';

reportToTeams(SimpleReportCard, {
    environment: 'release',
    title: 'Awesome Build',
    message: 'This build consists awesome changes',
    projectVersion: '7.77.7',
    authorName: 'Saint Paul Lorale',

    potentialActionTitle: 'Open',
    potentialActionUrl: 'https://enapter.com',
});

Templates

Useful Links

SimpleReportCard

Simple variant of data presentation. See sources.

BuildReportCard

This template uses CI_* environment variables to describe a meta info like the last commit hash, branch name, author and etc. Tested with Gitlab CI. See sources.

Custom Template

You can easily create your own template as function. See Create Custom Template Instructions.

0.1.0

2 months ago

0.0.7

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.6

5 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago

0.0.0

8 months ago