Package Exports
- acao
- acao/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (acao) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Ação
(/a'sɐ̃ʊ̃/, action in Portuguese)
🎬 Automate your software workflows with javascript. Make code reviews, branch management, and issue triaging work the way you want.
Features
🧲 Eesy way to tansform stdout and inject to the global context
🕹️ Supports specifying particular jobs for execution
💻 Fully operational in your local environment
🎳 Support multiple type of config files, powered by c12
🎁 Friendly usage and help docs, powered by citty
Installation
pnpm add acao -DUsage
Create acao.config.ts
// acao.config.ts
import { defineConfig, run } from './src/index'
export default defineConfig({})You can use acao.config.{js,cjs,mjs,ts,mts,cts} to specify configuration.
Example
// acao.config.ts
import { defineConfig, run } from './src/index'
export default defineConfig({
jobs: {
ci: {
steps: [
run('Hello acao', { stdio: 'inherit' }),
],
},
},
})Options
options.jobs
- Type:
Record<string, Job> - Default:
{}
options.jobs.<key>.steps
- Type:
(() => Promise<string>)[] - Default:
[]