@miaou/railway-pipeline
v1.1.0
Published
Double railway pipeline
Downloads
5
Readme
@miaou/railway-pipeline
Double railway pipeline
Install
yarn add --exact @miaou/railway-pipeline
Get 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 install
Test
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|test
Usage
fix: testing patch releases
feat: testing minor releases
feat: testing major releases
BREAKING CHANGE: This is a breaking change.