0.1.44 • Published 3 years ago
@atomist/skill-entry-point v0.1.44
Installation
npm install @atomist/skill-entry-pointstart(handler)
Start a CloudRun skill handler function
Examples:
const api = require("@atomist/skill-entry-point")
api.start(async payload => {
payload.logger.info(`skill id: ${payload.skill.id}`)
return {status: {code: 0, reason: "hey"}}
});Params:
- Function handler async callback which will receive the skill payload
Return:
- Object js Object should have a
statuskey to report back on the skill processing.
prStr(obj)
create an application/edn string.
Examples:
var obj = {"a/b": BigInt("123456")}
prStr(obj)Params:
- Object obj the js Object to serialize to
application/edn.
Return:
- String
application/ednstring with BigInts serialized with tags
readString(s)
read a js Object from an application/edn string.
Examples:
var s = prStr({"a/b": BigInt("123456")})
var obj = readString(s)Params:
- String s the
application/ednstring.
Return:
- Object js Object
Building
- working dir must be clean
- the HEAD commit must not have a tag
- the last reachable tag from the HEAD commit must be a valid semver
- that semver should be the current latest release
Create a new release using the command below.
bb release0.1.44
3 years ago
0.1.41
3 years ago
0.1.40
3 years ago
0.1.39
3 years ago
0.1.38
3 years ago
0.1.35
3 years ago
0.1.34
3 years ago
0.1.33
3 years ago
0.1.32
3 years ago
0.1.31
3 years ago
0.1.30
3 years ago
0.1.29
3 years ago
0.1.28
3 years ago
0.1.27
3 years ago
0.1.26
3 years ago
0.1.25
3 years ago
0.1.24
3 years ago
0.1.23
3 years ago
0.1.22
3 years ago
0.1.21
3 years ago
0.1.20
3 years ago
0.1.19
3 years ago
0.1.18
4 years ago
0.1.17
4 years ago
0.1.16
4 years ago
0.1.15
4 years ago
0.1.14
4 years ago
0.1.13
4 years ago
0.1.12
4 years ago
0.1.11
4 years ago
0.1.10
4 years ago
0.1.9
4 years ago
0.1.8
4 years ago
0.1.7
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.4
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago