1.1.0 • Published 3 years ago
@miaou/railway-pipeline v1.1.0
@miaou/railway-pipeline Double railway pipeline
Install
yarn add --exact @miaou/railway-pipelineGet started
import { pipe } from '@miaou/railway-pipeline'
const result = await pipe(1)
.next(value => value + 1)
.next(value => Promise.resolve(value + 10))
.end()
console.log(result) // { tag: 'success', success: 12 }Development
How to use
yarn installTest
You can use yarn link to debug the module
Release commit semantic
The release is automated by release-semantic plugin. When merge to master:
- Generate tag version
- Automate library versioning based on commit history
- Generate changelog based on commit history
<type>(<scope>): <short summary>
│ │ │
│ │ └─⫸ Summary in present tense. Not capitalized. No period at the end.
│ │
│ └─⫸ Commit Scope: animations|bazel|benchpress|common|compiler|compiler-cli|core|ect.
│
└─⫸ Commit Type: build|ci|docs|feat|fix|perf|refactor|testUsage
fix: testing patch releasesfeat: testing minor releasesfeat: testing major releases
BREAKING CHANGE: This is a breaking change.