task-pipeliner 0.2.8 → 0.2.9
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 +1 -1
- package/README.md +1 -1
- package/dist/index.cjs +1 -1
- package/package.json +9 -5
package/README.ko.md
CHANGED
package/README.md
CHANGED
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.
|
|
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.
|
|
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.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"description": "A task pipeline runner with condition-based workflow execution",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"commander": "^11.1.0",
|
|
35
35
|
"dayjs": "^1.11.19",
|
|
36
36
|
"inquirer": "^8.2.6",
|
|
37
|
-
"log-update": "^
|
|
38
|
-
"ora": "^
|
|
37
|
+
"log-update": "^6.0.1",
|
|
38
|
+
"ora": "^5.4.1",
|
|
39
39
|
"yaml": "^2.3.4",
|
|
40
40
|
"zod": "^4.3.5"
|
|
41
41
|
},
|
|
@@ -73,10 +73,14 @@
|
|
|
73
73
|
"assets": [
|
|
74
74
|
"dist/**/*.node",
|
|
75
75
|
"package.json",
|
|
76
|
-
"node_modules/**/*"
|
|
76
|
+
"node_modules/chalk/**/*",
|
|
77
|
+
"node_modules/boxen/**/*",
|
|
78
|
+
"node_modules/yaml/**/*"
|
|
77
79
|
],
|
|
78
80
|
"scripts": [
|
|
79
|
-
"node_modules/**/*.js"
|
|
81
|
+
"node_modules/chalk/**/*.js",
|
|
82
|
+
"node_modules/boxen/**/*.js",
|
|
83
|
+
"node_modules/yaml/**/*.js"
|
|
80
84
|
],
|
|
81
85
|
"targets": [
|
|
82
86
|
"node18-macos-arm64",
|