3.3.2 • Published 7 months ago

buildstamp v3.3.2

Weekly downloads
41
License
MIT
Repository
github
Last release
7 months ago

buildstamp

A small utility for gathering build details

Install

yarn add buildstamp
# or
npm i buildstamp

Usage

JS/TS API

import {buildstamp} from '@qiwi/buildstamp'

await buildstamp({
  output: 'buildstamp.json',  // filepath or `console` or `false` to disable
  git: true,                  // to capture git digest
  ci: true,                   // to collect basic CICD info
  date: true,                 // to attach the current iso8601 date
  extra: {                    // Object.assign mixin
    foo: 'bar'
  }
})
// returns a plain object, so you're able to process it in any way

CLI

npx buildstamp --output='buildstamp.json' --extra='{"foo": "bar"}'
FlagDescriptionDefault
--output, -oBuildstamp file destinationbuildstamp.json
--cwdWorking directoryprocess.cwd()
--gitCollect git infotrue
--ciCapture CI digesttrue
--dateAttach ISO8601 datetrue
--extraJSON mixin to inject{}
--helpPrint help info

License

MIT

3.3.1

8 months ago

3.3.2

7 months ago

3.3.0

10 months ago

3.0.3

10 months ago

3.2.0

10 months ago

3.0.2

10 months ago

3.1.0

10 months ago

3.0.1

10 months ago

3.0.0

10 months ago

2.1.2

10 months ago

2.1.4

10 months ago

2.1.1

1 year ago

2.1.0

2 years ago

2.0.0

2 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.1.0

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago