task-pipeliner 0.2.9 → 0.2.11

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.ko.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > 조건 기반 작업 파이프라인 실행기로 아름다운 CLI 출력을 제공합니다
4
4
 
5
- **버전:** 0.2.9
5
+ **버전:** 0.2.11
6
6
 
7
7
  ![fox2](https://github.com/user-attachments/assets/fdf8d786-6a91-4d2d-9dc1-72be6f3ccd98)
8
8
 
@@ -33,6 +33,8 @@
33
33
  - 🎨 **[시각적 생성기](https://task-pipeliner-generator.racgoo.com/)** - 브라우저에서 시각적으로 워크플로우 생성
34
34
  - 💻 **[GitHub](https://github.com/racgoo/task-pipeliner)** - 소스 코드 및 이슈 추적
35
35
  - 📦 **[npm](https://www.npmjs.com/package/task-pipeliner)** - npm 레지스트리 패키지
36
+ - 🍺 **[Homebrew](https://github.com/racgoo/homebrew-task-pipeliner)** - macOS/Linux용 Homebrew 탭
37
+ - 🪟 **[Scoop](https://github.com/racgoo/scoop-task-pipeliner)** - Windows용 Scoop 버킷
36
38
  > **CLI 명령어**:
37
39
  ```bash
38
40
  tp run workflow.yaml # 워크플로우 실행
@@ -50,9 +52,61 @@
50
52
 
51
53
  ### 설치
52
54
 
53
- #### 전역 설치
55
+ #### Homebrew (macOS/Linux)
54
56
 
55
- 전역으로 설치하면 `task-pipeliner` 또는 `tp` 명령을 직접 사용할 수 있습니다:
57
+ macOS와 Linux에서 가장 쉬운 설치 방법은 Homebrew를 사용하는 것입니다:
58
+
59
+ ```bash
60
+ # 탭(저장소) 추가
61
+ brew tap racgoo/task-pipeliner
62
+
63
+ # task-pipeliner 설치
64
+ brew install task-pipeliner
65
+ ```
66
+
67
+ 설치 후 다음 명령으로 실행할 수 있습니다:
68
+ ```bash
69
+ task-pipeliner run workflow.yaml
70
+ # 또는 짧은 별칭 사용
71
+ tp run workflow.yaml
72
+ ```
73
+
74
+ **업데이트:**
75
+ ```bash
76
+ # 먼저 Homebrew의 패키지 레지스트리를 업데이트합니다
77
+ brew update
78
+
79
+ # 그 다음 task-pipeliner를 업그레이드합니다
80
+ brew upgrade task-pipeliner
81
+ ```
82
+
83
+ #### Scoop (Windows)
84
+
85
+ Windows에서 Scoop을 사용하여 설치:
86
+
87
+ ```bash
88
+ # 버킷(저장소) 추가
89
+ scoop bucket add task-pipeliner https://github.com/racgoo/scoop-task-pipeliner
90
+
91
+ # task-pipeliner 설치
92
+ scoop install task-pipeliner
93
+ ```
94
+
95
+ 설치 후 다음 명령으로 실행할 수 있습니다:
96
+ ```bash
97
+ task-pipeliner run workflow.yaml
98
+ # 또는 짧은 별칭 사용
99
+ tp run workflow.yaml
100
+ ```
101
+
102
+ **업데이트:**
103
+ ```bash
104
+ scoop update task-pipeliner
105
+ ```
106
+
107
+ #### 전역 설치 (npm)
108
+
109
+ npm을 사용하여 전역으로 설치하면 `task-pipeliner` 또는 `tp` 명령을 직접 사용할 수 있습니다:
56
110
 
57
111
  ```bash
58
112
  npm install -g task-pipeliner
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > A powerful, condition-based task pipeline runner with beautiful CLI output
4
4
 
5
- **Version:** 0.2.9
5
+ **Version:** 0.2.11
6
6
 
7
7
  ![fox2](https://github.com/user-attachments/assets/fdf8d786-6a91-4d2d-9dc1-72be6f3ccd98)
8
8
 
@@ -33,6 +33,8 @@
33
33
  - 🎨 **[Visual Generator](https://task-pipeliner-generator.racgoo.com/)** - Create workflows visually in your browser
34
34
  - 💻 **[GitHub](https://github.com/racgoo/task-pipeliner)** - Source code and issue tracking
35
35
  - 📦 **[npm](https://www.npmjs.com/package/task-pipeliner)** - Package on npm registry
36
+ - 🍺 **[Homebrew](https://github.com/racgoo/homebrew-task-pipeliner)** - Homebrew tap for macOS/Linux
37
+ - 🪟 **[Scoop](https://github.com/racgoo/scoop-task-pipeliner)** - Scoop bucket for Windows
36
38
  - 💻 **CLI Commands**:
37
39
  ```bash
38
40
  tp run workflow.yaml # Run a workflow
@@ -50,9 +52,61 @@
50
52
 
51
53
  ### Installation
52
54
 
53
- #### Global Installation
55
+ #### Homebrew (macOS/Linux)
54
56
 
55
- Install globally to use `task-pipeliner` or `tp` commands directly:
57
+ Install using Homebrew for the easiest setup on macOS and Linux:
58
+
59
+ ```bash
60
+ # Add the tap (repository)
61
+ brew tap racgoo/task-pipeliner
62
+
63
+ # Install task-pipeliner
64
+ brew install task-pipeliner
65
+ ```
66
+
67
+ After installation, you can run:
68
+ ```bash
69
+ task-pipeliner run workflow.yaml
70
+ # or use the short alias
71
+ tp run workflow.yaml
72
+ ```
73
+
74
+ **Updating:**
75
+ ```bash
76
+ # Update Homebrew's package registry first
77
+ brew update
78
+
79
+ # Then upgrade task-pipeliner
80
+ brew upgrade task-pipeliner
81
+ ```
82
+
83
+ #### Scoop (Windows)
84
+
85
+ Install using Scoop on Windows:
86
+
87
+ ```bash
88
+ # Add the bucket (repository)
89
+ scoop bucket add task-pipeliner https://github.com/racgoo/scoop-task-pipeliner
90
+
91
+ # Install task-pipeliner
92
+ scoop install task-pipeliner
93
+ ```
94
+
95
+ After installation, you can run:
96
+ ```bash
97
+ task-pipeliner run workflow.yaml
98
+ # or use the short alias
99
+ tp run workflow.yaml
100
+ ```
101
+
102
+ **Updating:**
103
+ ```bash
104
+ scoop update task-pipeliner
105
+ ```
106
+
107
+ #### Global Installation (npm)
108
+
109
+ Install globally using npm to use `task-pipeliner` or `tp` commands directly:
56
110
 
57
111
  ```bash
58
112
  npm install -g task-pipeliner
package/dist/index.cjs CHANGED
@@ -17,7 +17,7 @@ ${o}`)}throw r}}extractStepLineNumbers(e){let t=new Map,r=e.split(`
17
17
  `),o=0,s=!1;for(let a=0;a<r.length;a++){let i=r[a].trim();if(i==="steps:"||i.startsWith("steps:")){s=!0;continue}s&&i.startsWith("-")&&t.set(o++,a+1)}return t}},oe=class{parse(e){let t;try{t=JSON.parse(e)}catch(r){throw new Error(`Invalid JSON format: ${r instanceof Error?r.message:String(r)}`)}if(t&&typeof t=="object"&&"steps"in t){let r=t;Array.isArray(r.steps)&&(r.steps=r.steps.map(o=>se(o)))}try{return re(t)}catch(r){if(r instanceof ne.ZodError){let o=r.issues.map(s=>{let a=s.path.length>0?` at ${s.path.join(".")}`:"";return` - ${s.message}${a}`}).join(`
18
18
  `);throw new Error(`Invalid workflow structure:
19
19
  ${o}`)}throw r}}extractStepLineNumbers(e){let t=new Map,r=e.split(`
20
- `),o=0,s=!1,a=!1;for(let i=0;i<r.length;i++){let c=r[i].trim();if(c.startsWith('"steps"')||c.startsWith("'steps'")){s=!0,c.includes("[")&&(a=!0);continue}if(s&&c==="["){a=!0;continue}if(a&&c==="]"){a=!1,s=!1;continue}a&&c.startsWith("{")&&t.set(o++,i+1)}return t}};function ye(n){switch(n.toLowerCase().split(".").pop()){case"yaml":case"yml":return new X;case"json":return new oe;default:return new X}}var W=require("fs"),x=require("path"),ae=require("url"),Se={};function xe(){console.log=()=>{},console.error=()=>{},console.warn=()=>{},console.info=()=>{},process.stdout.write=()=>!0,process.stderr.write=()=>!0}function ke(){return"0.2.9"}var Ue=(0,$e.promisify)(ve.exec),O=new Ee.Command;O.name("task-pipeliner").description(`A powerful task pipeline runner with condition-based workflow execution.
20
+ `),o=0,s=!1,a=!1;for(let i=0;i<r.length;i++){let c=r[i].trim();if(c.startsWith('"steps"')||c.startsWith("'steps'")){s=!0,c.includes("[")&&(a=!0);continue}if(s&&c==="["){a=!0;continue}if(a&&c==="]"){a=!1,s=!1;continue}a&&c.startsWith("{")&&t.set(o++,i+1)}return t}};function ye(n){switch(n.toLowerCase().split(".").pop()){case"yaml":case"yml":return new X;case"json":return new oe;default:return new X}}var W=require("fs"),x=require("path"),ae=require("url"),Se={};function xe(){console.log=()=>{},console.error=()=>{},console.warn=()=>{},console.info=()=>{},process.stdout.write=()=>!0,process.stderr.write=()=>!0}function ke(){return"0.2.11"}var Ue=(0,$e.promisify)(ve.exec),O=new Ee.Command;O.name("task-pipeliner").description(`A powerful task pipeline runner with condition-based workflow execution.
21
21
 
22
22
  Define workflows in YAML or JSON files with conditional execution, parallel tasks,
23
23
  interactive prompts, and variable substitution.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "task-pipeliner",
3
- "version": "0.2.9",
3
+ "version": "0.2.11",
4
4
  "description": "A task pipeline runner with condition-based workflow execution",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -34,7 +34,7 @@
34
34
  "commander": "^11.1.0",
35
35
  "dayjs": "^1.11.19",
36
36
  "inquirer": "^8.2.6",
37
- "log-update": "^6.0.1",
37
+ "log-update": "^4.0.0",
38
38
  "ora": "^5.4.1",
39
39
  "yaml": "^2.3.4",
40
40
  "zod": "^4.3.5"