@github-actions-workflow-ts/cli 2.0.0-alpha.2 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +127 -0
- package/bin/gwf.js +10 -10
- package/dist/commands/build.d.ts +4 -4
- package/dist/commands/build.d.ts.map +1 -1
- package/dist/commands/build.js +1 -1
- package/dist/commands/build.js.map +1 -1
- package/dist/commands/types/build.d.ts +5 -7
- package/dist/commands/types/build.d.ts.map +1 -1
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# @github-actions-workflow-ts/cli
|
|
2
|
+
|
|
3
|
+
CLI to generate GitHub Actions YAML workflow files from TypeScript.
|
|
4
|
+
|
|
5
|
+
Stop writing workflows in YAML and use TypeScript instead!
|
|
6
|
+
|
|
7
|
+
<p align="center"><img src="https://github.com/emmanuelnk/github-actions-workflow-ts/assets/19330930/9121bb33-cd51-41f3-830f-9b4bd1117320" alt="github-actions-workflow-ts-logo" width="400"/></p>
|
|
8
|
+
|
|
9
|
+
<p align="center">
|
|
10
|
+
<a href="https://github.com/emmanuelnk/github-actions-workflow-ts">
|
|
11
|
+
<img src="https://raw.githubusercontent.com/ellerbrock/open-source-badges/master/badges/open-source-v1/open-source.png" alt="love opensource">
|
|
12
|
+
</a>
|
|
13
|
+
<a href="https://github.com/emmanuelnk/github-actions-workflow-ts/blob/master/LICENSE">
|
|
14
|
+
<img src="https://img.shields.io/badge/license-MIT-green.svg" alt="license">
|
|
15
|
+
</a>
|
|
16
|
+
<a href="https://www.npmjs.com/package/@github-actions-workflow-ts/cli">
|
|
17
|
+
<img src="https://img.shields.io/npm/v/@github-actions-workflow-ts/cli.svg" alt="npm version">
|
|
18
|
+
</a>
|
|
19
|
+
</p>
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
Install both the library and CLI:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npm install --save-dev @github-actions-workflow-ts/lib @github-actions-workflow-ts/cli
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
|
|
31
|
+
### 1. Write your workflow in TypeScript
|
|
32
|
+
|
|
33
|
+
Create a `*.wac.ts` file (e.g., `deploy.wac.ts`) anywhere in your project:
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
import { Workflow, NormalJob, Step } from '@github-actions-workflow-ts/lib'
|
|
37
|
+
|
|
38
|
+
const checkoutStep = new Step({
|
|
39
|
+
name: 'Checkout',
|
|
40
|
+
uses: 'actions/checkout@v3',
|
|
41
|
+
})
|
|
42
|
+
|
|
43
|
+
const testJob = new NormalJob('Test', {
|
|
44
|
+
'runs-on': 'ubuntu-latest',
|
|
45
|
+
'timeout-minutes': 2
|
|
46
|
+
})
|
|
47
|
+
|
|
48
|
+
// IMPORTANT: Export the workflow to generate the YAML file
|
|
49
|
+
export const exampleWorkflow = new Workflow('example-filename', {
|
|
50
|
+
name: 'Example',
|
|
51
|
+
on: {
|
|
52
|
+
workflow_dispatch: {}
|
|
53
|
+
}
|
|
54
|
+
})
|
|
55
|
+
|
|
56
|
+
testJob.addStep(checkoutStep)
|
|
57
|
+
exampleWorkflow.addJob(testJob)
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### 2. Generate the YAML files
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
npx gwf build
|
|
64
|
+
|
|
65
|
+
# OR
|
|
66
|
+
|
|
67
|
+
npx generate-workflow-files build
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
This will generate `.github/workflows/example-filename.yml` from your TypeScript workflow definition.
|
|
71
|
+
|
|
72
|
+
## CLI Commands
|
|
73
|
+
|
|
74
|
+
| Command | Alias | Description |
|
|
75
|
+
|---------|-------|-------------|
|
|
76
|
+
| `gwf build` | `generate-workflow-files build`, `gawts build` | Generate YAML workflow files from `*.wac.ts` files |
|
|
77
|
+
|
|
78
|
+
## Configuration
|
|
79
|
+
|
|
80
|
+
Create a `wac.config.json` file in your project root to customize generation:
|
|
81
|
+
|
|
82
|
+
```json
|
|
83
|
+
{
|
|
84
|
+
"refs": false,
|
|
85
|
+
"headerText": [
|
|
86
|
+
"# Auto-generated from <source-file-path>",
|
|
87
|
+
"# Do not edit this file directly"
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
| Property | Description | Default |
|
|
93
|
+
|----------|-------------|---------|
|
|
94
|
+
| `refs` | Convert duplicate objects into YAML references | `false` |
|
|
95
|
+
| `headerText` | Custom header text for generated files. Use `<source-file-path>` as placeholder. | Default header |
|
|
96
|
+
| `dumpOptions` | Options for js-yaml dump function | Default options |
|
|
97
|
+
|
|
98
|
+
## Integration with Husky
|
|
99
|
+
|
|
100
|
+
For seamless automation, integrate with [husky](https://github.com/typicode/husky):
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
npm install --save-dev husky
|
|
104
|
+
npx husky-init
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Add to `package.json`:
|
|
108
|
+
```json
|
|
109
|
+
{
|
|
110
|
+
"scripts": {
|
|
111
|
+
"build:workflows": "npx gwf build && git add .github/workflows/*.yml"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Add pre-commit hook:
|
|
117
|
+
```bash
|
|
118
|
+
npx husky add .husky/pre-commit "npm run build:workflows"
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## Documentation
|
|
122
|
+
|
|
123
|
+
For full documentation, examples, and API reference, visit the [main repository](https://github.com/emmanuelnk/github-actions-workflow-ts).
|
|
124
|
+
|
|
125
|
+
## License
|
|
126
|
+
|
|
127
|
+
MIT
|
package/bin/gwf.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { spawn } from 'child_process'
|
|
3
|
-
import { fileURLToPath } from 'url'
|
|
4
|
-
import { dirname, join } from 'path'
|
|
2
|
+
import { spawn } from 'child_process'
|
|
3
|
+
import { fileURLToPath } from 'url'
|
|
4
|
+
import { dirname, join } from 'path'
|
|
5
5
|
|
|
6
|
-
const __filename = fileURLToPath(import.meta.url)
|
|
7
|
-
const __dirname = dirname(__filename)
|
|
6
|
+
const __filename = fileURLToPath(import.meta.url)
|
|
7
|
+
const __dirname = dirname(__filename)
|
|
8
8
|
|
|
9
9
|
// Path to the actual CLI entry point
|
|
10
|
-
const cliPath = join(__dirname, '..', 'dist', 'bin.js')
|
|
10
|
+
const cliPath = join(__dirname, '..', 'dist', 'bin.js')
|
|
11
11
|
|
|
12
12
|
// Path to tsx in our own node_modules
|
|
13
|
-
const tsxPath = join(__dirname, '..', 'node_modules', '.bin', 'tsx')
|
|
13
|
+
const tsxPath = join(__dirname, '..', 'node_modules', '.bin', 'tsx')
|
|
14
14
|
|
|
15
15
|
// Spawn tsx with the CLI script and pass through all arguments
|
|
16
16
|
const child = spawn(tsxPath, [cliPath, ...process.argv.slice(2)], {
|
|
17
17
|
stdio: 'inherit',
|
|
18
18
|
shell: process.platform === 'win32',
|
|
19
|
-
})
|
|
19
|
+
})
|
|
20
20
|
|
|
21
21
|
child.on('close', (code) => {
|
|
22
|
-
process.exit(code ?? 0)
|
|
23
|
-
})
|
|
22
|
+
process.exit(code ?? 0)
|
|
23
|
+
})
|
package/dist/commands/build.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Workflow } from '@github-actions-workflow-ts/lib';
|
|
2
|
-
import type {
|
|
2
|
+
import type { WacConfig } from './types/index.js';
|
|
3
3
|
/**
|
|
4
4
|
* Comment indicating the file should not be modified.
|
|
5
5
|
* @type {string}
|
|
@@ -16,7 +16,7 @@ export declare const relativePath: (p: string) => string;
|
|
|
16
16
|
* Returns the config file
|
|
17
17
|
* @returns { Record<string, any> | undefined} - The config file as an object
|
|
18
18
|
*/
|
|
19
|
-
export declare const getConfig: () =>
|
|
19
|
+
export declare const getConfig: () => WacConfig | undefined;
|
|
20
20
|
/**
|
|
21
21
|
* Retrieves the file paths of all workflow files in the project.
|
|
22
22
|
*
|
|
@@ -36,10 +36,10 @@ export declare const importWorkflowFile: (filePath: string) => Promise<Record<st
|
|
|
36
36
|
*
|
|
37
37
|
* @param {Record<string, Workflow>} workflowJSON - The workflow data in JSON format.
|
|
38
38
|
* @param {string} workflowFilePath - The path to the workflow file.
|
|
39
|
-
* @param {
|
|
39
|
+
* @param {WacConfig} config - Command line arguments.
|
|
40
40
|
* @returns {number} - The number of workflows written.
|
|
41
41
|
*/
|
|
42
|
-
export declare const writeWorkflowJSONToYamlFiles: (workflowJSON: Record<string, Workflow>, workflowFilePath: string, config:
|
|
42
|
+
export declare const writeWorkflowJSONToYamlFiles: (workflowJSON: Record<string, Workflow>, workflowFilePath: string, config: WacConfig) => number;
|
|
43
43
|
/**
|
|
44
44
|
* Creates the .github/workflows directory if it doesn't exist.
|
|
45
45
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAEjD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,UAK/B,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,GAAG,MAAM,KAAG,MACR,CAAA;AAEjC;;;GAGG;AACH,eAAO,MAAM,SAAS,QAAO,SAAS,GAAG,SAgBxC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,QAAO,MAAM,EAAE,GAAG,SA0BlD,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAC7B,UAAU,MAAM,KACf,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAQlC,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,4BAA4B,GACvC,cAAc,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,EACtC,kBAAkB,MAAM,EACxB,QAAQ,SAAS,KAChB,MAoCF,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,uBAAuB,QAAO,IAS1C,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,GAChC,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC5B,OAAO,CAAC,IAAI,CAsBd,CAAA"}
|
package/dist/commands/build.js
CHANGED
|
@@ -73,7 +73,7 @@ export const importWorkflowFile = async (filePath) => {
|
|
|
73
73
|
*
|
|
74
74
|
* @param {Record<string, Workflow>} workflowJSON - The workflow data in JSON format.
|
|
75
75
|
* @param {string} workflowFilePath - The path to the workflow file.
|
|
76
|
-
* @param {
|
|
76
|
+
* @param {WacConfig} config - Command line arguments.
|
|
77
77
|
* @returns {number} - The number of workflows written.
|
|
78
78
|
*/
|
|
79
79
|
export const writeWorkflowJSONToYamlFiles = (workflowJSON, workflowFilePath, config) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.js","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,OAAO,KAAK,EAAE,MAAM,IAAI,CAAA;AACxB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAA;AAC5B,OAAO,KAAK,MAAM,MAAM,SAAS,CAAA;AACjC,OAAO,EAAE,MAAM,WAAW,CAAA;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAA;AAInC;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,mDAAmD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,kFAAkF,CACnF,CAAA;QACD,EAAE,CAAC,SAAS,CAAC,YAAY,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;IACjD,CAAC;AACH,CAAC,CAAA;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,KAAK,EACxC,IAA6B,EACd,EAAE;IACjB,MAAM,MAAM,GAAG,SAAS,EAAE,IAAI,EAAE,CAAA;IAChC,MAAM,iBAAiB,GAAG,oBAAoB,EAAE,IAAI,EAAE,CAAA;IACtD,IAAI,aAAa,GAAG,CAAC,CAAA;IAErB,uBAAuB,EAAE,CAAA;IAEzB,KAAK,MAAM,QAAQ,IAAI,iBAAiB,EAAE,CAAC;QACzC,MAAM,SAAS,GAAG,MAAM,kBAAkB,CAAC,QAAQ,CAAC,CAAA;QACpD,aAAa,IAAI,4BAA4B,CAC3C,SAAS,EACT,YAAY,CAAC,QAAQ,CAAC,EACtB;YACE,GAAG,IAAI;YACP,GAAG,MAAM;SACG,CACf,CAAA;IACH,CAAC;IAED,OAAO,CAAC,GAAG,CACT,uDAAuD,aAAa,mBAAmB,CACxF,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
}
|
|
1
|
+
export type WacConfig = {
|
|
2
|
+
refs?: boolean;
|
|
3
|
+
headerText?: string[];
|
|
4
|
+
dumpOptions?: Record<string, unknown>;
|
|
5
|
+
};
|
|
8
6
|
//# sourceMappingURL=build.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../src/commands/types/build.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../src/commands/types/build.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACtC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@github-actions-workflow-ts/cli",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-beta.1",
|
|
4
4
|
"description": "CLI to generate GitHub Actions YAML from TypeScript workflow files",
|
|
5
5
|
"author": "Emmanuel N Kyeyune",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"js-yaml": "^4.1.0",
|
|
35
35
|
"tsx": "^4.19.3",
|
|
36
36
|
"yargs": "^17.7.2",
|
|
37
|
-
"@github-actions-workflow-ts/lib": "2.0.0-
|
|
37
|
+
"@github-actions-workflow-ts/lib": "2.0.0-beta.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@jest/globals": "^29.7.0",
|