@synergenius/flowweaver-pack-cicd 0.2.0

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.
Files changed (126) hide show
  1. package/dist/artifacts.d.ts +13 -0
  2. package/dist/artifacts.d.ts.map +1 -0
  3. package/dist/artifacts.js +26 -0
  4. package/dist/artifacts.js.map +1 -0
  5. package/dist/detection.d.ts +28 -0
  6. package/dist/detection.d.ts.map +1 -0
  7. package/dist/detection.js +81 -0
  8. package/dist/detection.js.map +1 -0
  9. package/dist/index.d.ts +20 -0
  10. package/dist/index.d.ts.map +1 -0
  11. package/dist/index.js +21 -0
  12. package/dist/index.js.map +1 -0
  13. package/dist/job-graph.d.ts +17 -0
  14. package/dist/job-graph.d.ts.map +1 -0
  15. package/dist/job-graph.js +185 -0
  16. package/dist/job-graph.js.map +1 -0
  17. package/dist/native-steps.d.ts +13 -0
  18. package/dist/native-steps.d.ts.map +1 -0
  19. package/dist/native-steps.js +30 -0
  20. package/dist/native-steps.js.map +1 -0
  21. package/dist/node-types/checkout.d.ts +12 -0
  22. package/dist/node-types/checkout.d.ts.map +1 -0
  23. package/dist/node-types/checkout.js +13 -0
  24. package/dist/node-types/checkout.js.map +1 -0
  25. package/dist/node-types/deploy-s3.d.ts +17 -0
  26. package/dist/node-types/deploy-s3.d.ts.map +1 -0
  27. package/dist/node-types/deploy-s3.js +18 -0
  28. package/dist/node-types/deploy-s3.js.map +1 -0
  29. package/dist/node-types/deploy-ssh.d.ts +16 -0
  30. package/dist/node-types/deploy-ssh.d.ts.map +1 -0
  31. package/dist/node-types/deploy-ssh.js +17 -0
  32. package/dist/node-types/deploy-ssh.js.map +1 -0
  33. package/dist/node-types/docker-build.d.ts +15 -0
  34. package/dist/node-types/docker-build.d.ts.map +1 -0
  35. package/dist/node-types/docker-build.js +16 -0
  36. package/dist/node-types/docker-build.js.map +1 -0
  37. package/dist/node-types/docker-login.d.ts +16 -0
  38. package/dist/node-types/docker-login.d.ts.map +1 -0
  39. package/dist/node-types/docker-login.js +17 -0
  40. package/dist/node-types/docker-login.js.map +1 -0
  41. package/dist/node-types/docker-push.d.ts +14 -0
  42. package/dist/node-types/docker-push.d.ts.map +1 -0
  43. package/dist/node-types/docker-push.js +15 -0
  44. package/dist/node-types/docker-push.js.map +1 -0
  45. package/dist/node-types/health-check.d.ts +17 -0
  46. package/dist/node-types/health-check.d.ts.map +1 -0
  47. package/dist/node-types/health-check.js +17 -0
  48. package/dist/node-types/health-check.js.map +1 -0
  49. package/dist/node-types/index.d.ts +16 -0
  50. package/dist/node-types/index.d.ts.map +1 -0
  51. package/dist/node-types/index.js +17 -0
  52. package/dist/node-types/index.js.map +1 -0
  53. package/dist/node-types/npm-build.d.ts +12 -0
  54. package/dist/node-types/npm-build.d.ts.map +1 -0
  55. package/dist/node-types/npm-build.js +13 -0
  56. package/dist/node-types/npm-build.js.map +1 -0
  57. package/dist/node-types/npm-install.d.ts +13 -0
  58. package/dist/node-types/npm-install.d.ts.map +1 -0
  59. package/dist/node-types/npm-install.js +17 -0
  60. package/dist/node-types/npm-install.js.map +1 -0
  61. package/dist/node-types/npm-test.d.ts +14 -0
  62. package/dist/node-types/npm-test.d.ts.map +1 -0
  63. package/dist/node-types/npm-test.js +14 -0
  64. package/dist/node-types/npm-test.js.map +1 -0
  65. package/dist/node-types/setup-node.d.ts +13 -0
  66. package/dist/node-types/setup-node.d.ts.map +1 -0
  67. package/dist/node-types/setup-node.js +14 -0
  68. package/dist/node-types/setup-node.js.map +1 -0
  69. package/dist/node-types/setup-python.d.ts +13 -0
  70. package/dist/node-types/setup-python.d.ts.map +1 -0
  71. package/dist/node-types/setup-python.js +14 -0
  72. package/dist/node-types/setup-python.js.map +1 -0
  73. package/dist/node-types/shell-command.d.ts +16 -0
  74. package/dist/node-types/shell-command.d.ts.map +1 -0
  75. package/dist/node-types/shell-command.js +16 -0
  76. package/dist/node-types/shell-command.js.map +1 -0
  77. package/dist/node-types/slack-notify.d.ts +15 -0
  78. package/dist/node-types/slack-notify.d.ts.map +1 -0
  79. package/dist/node-types/slack-notify.js +16 -0
  80. package/dist/node-types/slack-notify.js.map +1 -0
  81. package/dist/node-types/wait-for-url.d.ts +17 -0
  82. package/dist/node-types/wait-for-url.d.ts.map +1 -0
  83. package/dist/node-types/wait-for-url.js +17 -0
  84. package/dist/node-types/wait-for-url.js.map +1 -0
  85. package/dist/patterns/docker-build-push.d.ts +13 -0
  86. package/dist/patterns/docker-build-push.d.ts.map +1 -0
  87. package/dist/patterns/docker-build-push.js +14 -0
  88. package/dist/patterns/docker-build-push.js.map +1 -0
  89. package/dist/patterns/index.d.ts +2 -0
  90. package/dist/patterns/index.d.ts.map +1 -0
  91. package/dist/patterns/index.js +8 -0
  92. package/dist/patterns/index.js.map +1 -0
  93. package/dist/patterns/multi-env-deploy.d.ts +18 -0
  94. package/dist/patterns/multi-env-deploy.d.ts.map +1 -0
  95. package/dist/patterns/multi-env-deploy.js +19 -0
  96. package/dist/patterns/multi-env-deploy.js.map +1 -0
  97. package/dist/patterns/test-and-deploy.d.ts +15 -0
  98. package/dist/patterns/test-and-deploy.d.ts.map +1 -0
  99. package/dist/patterns/test-and-deploy.js +16 -0
  100. package/dist/patterns/test-and-deploy.js.map +1 -0
  101. package/dist/register.d.ts +9 -0
  102. package/dist/register.d.ts.map +1 -0
  103. package/dist/register.js +25 -0
  104. package/dist/register.js.map +1 -0
  105. package/dist/rules.d.ts +19 -0
  106. package/dist/rules.d.ts.map +1 -0
  107. package/dist/rules.js +247 -0
  108. package/dist/rules.js.map +1 -0
  109. package/dist/secrets-doc.d.ts +9 -0
  110. package/dist/secrets-doc.d.ts.map +1 -0
  111. package/dist/secrets-doc.js +47 -0
  112. package/dist/secrets-doc.js.map +1 -0
  113. package/dist/secrets.d.ts +19 -0
  114. package/dist/secrets.d.ts.map +1 -0
  115. package/dist/secrets.js +50 -0
  116. package/dist/secrets.js.map +1 -0
  117. package/dist/tag-handler.d.ts +12 -0
  118. package/dist/tag-handler.d.ts.map +1 -0
  119. package/dist/tag-handler.js +498 -0
  120. package/dist/tag-handler.js.map +1 -0
  121. package/dist/types.d.ts +90 -0
  122. package/dist/types.d.ts.map +1 -0
  123. package/dist/types.js +9 -0
  124. package/dist/types.js.map +1 -0
  125. package/flowweaver.manifest.json +514 -0
  126. package/package.json +44 -0
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Docker Build
5
+ * @color blue
6
+ * @icon layers
7
+ * @input context [order:0] - Build context path (default: ".")
8
+ * @input dockerfile [order:1] - Dockerfile path (default: "Dockerfile")
9
+ * @input tags [order:2] - Image tags (comma-separated)
10
+ * @output imageId [order:0] - Built image ID
11
+ */
12
+ export function dockerBuild(context = '.', dockerfile = 'Dockerfile', tags = 'latest') {
13
+ // Stub: CI/CD export maps this to docker/build-push-action@v6
14
+ return { imageId: `sha256:stub-${Date.now()}` };
15
+ }
16
+ //# sourceMappingURL=docker-build.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docker-build.js","sourceRoot":"","sources":["../../src/node-types/docker-build.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,UAAU,WAAW,CACzB,UAAkB,GAAG,EACrB,aAAqB,YAAY,EACjC,OAAe,QAAQ;IAEvB,8DAA8D;IAC9D,OAAO,EAAE,OAAO,EAAE,eAAe,IAAI,CAAC,GAAG,EAAE,EAAE,EAAE,CAAC;AAClD,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Docker Login
5
+ * @color blue
6
+ * @icon lock
7
+ * @input registry [order:0] - Registry URL (e.g., ghcr.io, docker.io)
8
+ * @input username [order:1] - Registry username
9
+ * @input password [order:2] - Registry password or token
10
+ * @input token [order:3] - Auth token (alternative to username/password)
11
+ * @output loggedIn [order:0] - Whether login succeeded
12
+ */
13
+ export declare function dockerLogin(registry?: string, username?: string, password?: string, token?: string): {
14
+ loggedIn: boolean;
15
+ };
16
+ //# sourceMappingURL=docker-login.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docker-login.d.ts","sourceRoot":"","sources":["../../src/node-types/docker-login.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CACzB,QAAQ,GAAE,MAAoB,EAC9B,QAAQ,CAAC,EAAE,MAAM,EACjB,QAAQ,CAAC,EAAE,MAAM,EACjB,KAAK,CAAC,EAAE,MAAM,GACb;IAAE,QAAQ,EAAE,OAAO,CAAA;CAAE,CAGvB"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Docker Login
5
+ * @color blue
6
+ * @icon lock
7
+ * @input registry [order:0] - Registry URL (e.g., ghcr.io, docker.io)
8
+ * @input username [order:1] - Registry username
9
+ * @input password [order:2] - Registry password or token
10
+ * @input token [order:3] - Auth token (alternative to username/password)
11
+ * @output loggedIn [order:0] - Whether login succeeded
12
+ */
13
+ export function dockerLogin(registry = 'docker.io', username, password, token) {
14
+ // Stub: CI/CD export maps this to docker/login-action@v3
15
+ return { loggedIn: true };
16
+ }
17
+ //# sourceMappingURL=docker-login.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docker-login.js","sourceRoot":"","sources":["../../src/node-types/docker-login.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,WAAW,CACzB,WAAmB,WAAW,EAC9B,QAAiB,EACjB,QAAiB,EACjB,KAAc;IAEd,yDAAyD;IACzD,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAC5B,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Docker Push
5
+ * @color blue
6
+ * @icon cloud_upload
7
+ * @input imageId [order:0] - Image ID to push
8
+ * @input tags [order:1] - Tags to push (comma-separated)
9
+ * @output digest [order:0] - Pushed image digest
10
+ */
11
+ export declare function dockerPush(imageId?: string, tags?: string): {
12
+ digest: string;
13
+ };
14
+ //# sourceMappingURL=docker-push.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docker-push.d.ts","sourceRoot":"","sources":["../../src/node-types/docker-push.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CACxB,OAAO,GAAE,MAAW,EACpB,IAAI,GAAE,MAAiB,GACtB;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAGpB"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Docker Push
5
+ * @color blue
6
+ * @icon cloud_upload
7
+ * @input imageId [order:0] - Image ID to push
8
+ * @input tags [order:1] - Tags to push (comma-separated)
9
+ * @output digest [order:0] - Pushed image digest
10
+ */
11
+ export function dockerPush(imageId = '', tags = 'latest') {
12
+ // Stub: CI/CD export maps this to docker/build-push-action@v6 with push: true
13
+ return { digest: `sha256:pushed-${Date.now()}` };
14
+ }
15
+ //# sourceMappingURL=docker-push.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docker-push.js","sourceRoot":"","sources":["../../src/node-types/docker-push.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,MAAM,UAAU,UAAU,CACxB,UAAkB,EAAE,EACpB,OAAe,QAAQ;IAEvB,8EAA8E;IAC9E,OAAO,EAAE,MAAM,EAAE,iBAAiB,IAAI,CAAC,GAAG,EAAE,EAAE,EAAE,CAAC;AACnD,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Health Check
5
+ * @color green
6
+ * @icon favorite
7
+ * @input url [order:0] - URL to check
8
+ * @input retries [order:1] - Number of retries (default: 10)
9
+ * @input delaySeconds [order:2] - Delay between retries in seconds (default: 5)
10
+ * @output healthy [order:0] - Whether the URL is healthy
11
+ * @output statusCode [order:1] - HTTP status code
12
+ */
13
+ export declare function healthCheck(url?: string, retries?: number, delaySeconds?: number): {
14
+ healthy: boolean;
15
+ statusCode: number;
16
+ };
17
+ //# sourceMappingURL=health-check.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health-check.d.ts","sourceRoot":"","sources":["../../src/node-types/health-check.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CACzB,GAAG,GAAE,MAAW,EAChB,OAAO,GAAE,MAAW,EACpB,YAAY,GAAE,MAAU,GACvB;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAG1C"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Health Check
5
+ * @color green
6
+ * @icon favorite
7
+ * @input url [order:0] - URL to check
8
+ * @input retries [order:1] - Number of retries (default: 10)
9
+ * @input delaySeconds [order:2] - Delay between retries in seconds (default: 5)
10
+ * @output healthy [order:0] - Whether the URL is healthy
11
+ * @output statusCode [order:1] - HTTP status code
12
+ */
13
+ export function healthCheck(url = '', retries = 10, delaySeconds = 5) {
14
+ // Stub: CI/CD export maps this to curl with retries
15
+ return { healthy: true, statusCode: 200 };
16
+ }
17
+ //# sourceMappingURL=health-check.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health-check.js","sourceRoot":"","sources":["../../src/node-types/health-check.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,WAAW,CACzB,MAAc,EAAE,EAChB,UAAkB,EAAE,EACpB,eAAuB,CAAC;IAExB,oDAAoD;IACpD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC;AAC5C,CAAC"}
@@ -0,0 +1,16 @@
1
+ export { checkout } from './checkout.js';
2
+ export { setupNode } from './setup-node.js';
3
+ export { setupPython } from './setup-python.js';
4
+ export { npmInstall } from './npm-install.js';
5
+ export { npmTest } from './npm-test.js';
6
+ export { npmBuild } from './npm-build.js';
7
+ export { dockerLogin } from './docker-login.js';
8
+ export { dockerBuild } from './docker-build.js';
9
+ export { dockerPush } from './docker-push.js';
10
+ export { shellCommand } from './shell-command.js';
11
+ export { deploySsh } from './deploy-ssh.js';
12
+ export { deployS3 } from './deploy-s3.js';
13
+ export { slackNotify } from './slack-notify.js';
14
+ export { healthCheck } from './health-check.js';
15
+ export { waitForUrl } from './wait-for-url.js';
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/node-types/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,17 @@
1
+ // Barrel export for all CI/CD node types
2
+ export { checkout } from './checkout.js';
3
+ export { setupNode } from './setup-node.js';
4
+ export { setupPython } from './setup-python.js';
5
+ export { npmInstall } from './npm-install.js';
6
+ export { npmTest } from './npm-test.js';
7
+ export { npmBuild } from './npm-build.js';
8
+ export { dockerLogin } from './docker-login.js';
9
+ export { dockerBuild } from './docker-build.js';
10
+ export { dockerPush } from './docker-push.js';
11
+ export { shellCommand } from './shell-command.js';
12
+ export { deploySsh } from './deploy-ssh.js';
13
+ export { deployS3 } from './deploy-s3.js';
14
+ export { slackNotify } from './slack-notify.js';
15
+ export { healthCheck } from './health-check.js';
16
+ export { waitForUrl } from './wait-for-url.js';
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/node-types/index.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label npm Build
5
+ * @color orange
6
+ * @icon build
7
+ * @output output [order:0] - Build output directory path
8
+ */
9
+ export declare function npmBuild(): {
10
+ output: string;
11
+ };
12
+ //# sourceMappingURL=npm-build.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"npm-build.d.ts","sourceRoot":"","sources":["../../src/node-types/npm-build.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,wBAAgB,QAAQ,IAAI;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAG7C"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label npm Build
5
+ * @color orange
6
+ * @icon build
7
+ * @output output [order:0] - Build output directory path
8
+ */
9
+ export function npmBuild() {
10
+ // Stub: CI/CD export maps this to `npm run build`
11
+ return { output: 'dist' };
12
+ }
13
+ //# sourceMappingURL=npm-build.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"npm-build.js","sourceRoot":"","sources":["../../src/node-types/npm-build.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,UAAU,QAAQ;IACtB,kDAAkD;IAClD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AAC5B,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label npm Install
5
+ * @color green
6
+ * @icon package
7
+ * @input npmToken [order:0] - NPM auth token (optional, for private packages)
8
+ * @output nodeModulesPath [order:0] - Path to node_modules
9
+ */
10
+ export declare function npmInstall(npmToken?: string): {
11
+ nodeModulesPath: string;
12
+ };
13
+ //# sourceMappingURL=npm-install.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"npm-install.d.ts","sourceRoot":"","sources":["../../src/node-types/npm-install.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG;IAAE,eAAe,EAAE,MAAM,CAAA;CAAE,CAMzE"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label npm Install
5
+ * @color green
6
+ * @icon package
7
+ * @input npmToken [order:0] - NPM auth token (optional, for private packages)
8
+ * @output nodeModulesPath [order:0] - Path to node_modules
9
+ */
10
+ export function npmInstall(npmToken) {
11
+ // Stub: CI/CD export maps this to `npm ci`
12
+ if (npmToken) {
13
+ // Would set NPM_TOKEN env var
14
+ }
15
+ return { nodeModulesPath: 'node_modules' };
16
+ }
17
+ //# sourceMappingURL=npm-install.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"npm-install.js","sourceRoot":"","sources":["../../src/node-types/npm-install.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,UAAU,UAAU,CAAC,QAAiB;IAC1C,2CAA2C;IAC3C,IAAI,QAAQ,EAAE,CAAC;QACb,8BAA8B;IAChC,CAAC;IACD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC;AAC7C,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label npm Test
5
+ * @color teal
6
+ * @icon check_circle
7
+ * @output exitCode [order:0] - Test exit code (0 = pass)
8
+ * @output testOutput [order:1] - Test output text
9
+ */
10
+ export declare function npmTest(): {
11
+ exitCode: number;
12
+ testOutput: string;
13
+ };
14
+ //# sourceMappingURL=npm-test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"npm-test.d.ts","sourceRoot":"","sources":["../../src/node-types/npm-test.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,wBAAgB,OAAO,IAAI;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAGlE"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label npm Test
5
+ * @color teal
6
+ * @icon check_circle
7
+ * @output exitCode [order:0] - Test exit code (0 = pass)
8
+ * @output testOutput [order:1] - Test output text
9
+ */
10
+ export function npmTest() {
11
+ // Stub: CI/CD export maps this to `npm test`
12
+ return { exitCode: 0, testOutput: 'All tests passed' };
13
+ }
14
+ //# sourceMappingURL=npm-test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"npm-test.js","sourceRoot":"","sources":["../../src/node-types/npm-test.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,UAAU,OAAO;IACrB,6CAA6C;IAC7C,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,UAAU,EAAE,kBAAkB,EAAE,CAAC;AACzD,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Setup Node.js
5
+ * @color green
6
+ * @icon terminal
7
+ * @input version [order:0] - Node.js version (e.g., "20", "18")
8
+ * @output nodeVersion [order:0] - Installed Node.js version
9
+ */
10
+ export declare function setupNode(version?: string): {
11
+ nodeVersion: string;
12
+ };
13
+ //# sourceMappingURL=setup-node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup-node.d.ts","sourceRoot":"","sources":["../../src/node-types/setup-node.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,OAAO,GAAE,MAAa,GAAG;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,CAGzE"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Setup Node.js
5
+ * @color green
6
+ * @icon terminal
7
+ * @input version [order:0] - Node.js version (e.g., "20", "18")
8
+ * @output nodeVersion [order:0] - Installed Node.js version
9
+ */
10
+ export function setupNode(version = '20') {
11
+ // Stub: CI/CD export maps this to actions/setup-node@v4
12
+ return { nodeVersion: version };
13
+ }
14
+ //# sourceMappingURL=setup-node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup-node.js","sourceRoot":"","sources":["../../src/node-types/setup-node.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,UAAU,SAAS,CAAC,UAAkB,IAAI;IAC9C,wDAAwD;IACxD,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC;AAClC,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Setup Python
5
+ * @color blue
6
+ * @icon terminal
7
+ * @input version [order:0] - Python version (e.g., "3.12", "3.11")
8
+ * @output pythonVersion [order:0] - Installed Python version
9
+ */
10
+ export declare function setupPython(version?: string): {
11
+ pythonVersion: string;
12
+ };
13
+ //# sourceMappingURL=setup-python.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup-python.d.ts","sourceRoot":"","sources":["../../src/node-types/setup-python.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,OAAO,GAAE,MAAe,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAG/E"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Setup Python
5
+ * @color blue
6
+ * @icon terminal
7
+ * @input version [order:0] - Python version (e.g., "3.12", "3.11")
8
+ * @output pythonVersion [order:0] - Installed Python version
9
+ */
10
+ export function setupPython(version = '3.12') {
11
+ // Stub: CI/CD export maps this to actions/setup-python@v5
12
+ return { pythonVersion: version };
13
+ }
14
+ //# sourceMappingURL=setup-python.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup-python.js","sourceRoot":"","sources":["../../src/node-types/setup-python.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,UAAU,WAAW,CAAC,UAAkB,MAAM;IAClD,0DAA0D;IAC1D,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,CAAC;AACpC,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Shell Command
5
+ * @color gray
6
+ * @icon terminal
7
+ * @input command [order:0] - Shell command to execute
8
+ * @input workingDirectory [order:1] - Working directory (default: repo root)
9
+ * @output stdout [order:0] - Standard output
10
+ * @output exitCode [order:1] - Exit code
11
+ */
12
+ export declare function shellCommand(command?: string, workingDirectory?: string): {
13
+ stdout: string;
14
+ exitCode: number;
15
+ };
16
+ //# sourceMappingURL=shell-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shell-command.d.ts","sourceRoot":"","sources":["../../src/node-types/shell-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAC1B,OAAO,GAAE,MAAuB,EAChC,gBAAgB,GAAE,MAAY,GAC7B;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAGtC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Shell Command
5
+ * @color gray
6
+ * @icon terminal
7
+ * @input command [order:0] - Shell command to execute
8
+ * @input workingDirectory [order:1] - Working directory (default: repo root)
9
+ * @output stdout [order:0] - Standard output
10
+ * @output exitCode [order:1] - Exit code
11
+ */
12
+ export function shellCommand(command = 'echo "hello"', workingDirectory = '.') {
13
+ // Stub: CI/CD export maps this to a `run:` step
14
+ return { stdout: '', exitCode: 0 };
15
+ }
16
+ //# sourceMappingURL=shell-command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shell-command.js","sourceRoot":"","sources":["../../src/node-types/shell-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,UAAU,YAAY,CAC1B,UAAkB,cAAc,EAChC,mBAA2B,GAAG;IAE9B,gDAAgD;IAChD,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC;AACrC,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Slack Notify
5
+ * @color yellow
6
+ * @icon chat
7
+ * @input webhookUrl [order:0] - Slack webhook URL
8
+ * @input message [order:1] - Message text
9
+ * @input channel [order:2] - Channel override (optional)
10
+ * @output sent [order:0] - Whether notification was sent
11
+ */
12
+ export declare function slackNotify(webhookUrl?: string, message?: string, channel?: string): {
13
+ sent: boolean;
14
+ };
15
+ //# sourceMappingURL=slack-notify.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slack-notify.d.ts","sourceRoot":"","sources":["../../src/node-types/slack-notify.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,CACzB,UAAU,GAAE,MAAW,EACvB,OAAO,GAAE,MAA4B,EACrC,OAAO,CAAC,EAAE,MAAM,GACf;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAGnB"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Slack Notify
5
+ * @color yellow
6
+ * @icon chat
7
+ * @input webhookUrl [order:0] - Slack webhook URL
8
+ * @input message [order:1] - Message text
9
+ * @input channel [order:2] - Channel override (optional)
10
+ * @output sent [order:0] - Whether notification was sent
11
+ */
12
+ export function slackNotify(webhookUrl = '', message = 'Pipeline complete', channel) {
13
+ // Stub: CI/CD export maps this to slackapi/slack-github-action@v1
14
+ return { sent: true };
15
+ }
16
+ //# sourceMappingURL=slack-notify.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slack-notify.js","sourceRoot":"","sources":["../../src/node-types/slack-notify.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,UAAU,WAAW,CACzB,aAAqB,EAAE,EACvB,UAAkB,mBAAmB,EACrC,OAAgB;IAEhB,kEAAkE;IAClE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AACxB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Wait for URL
5
+ * @color teal
6
+ * @icon schedule
7
+ * @input url [order:0] - URL to wait for
8
+ * @input timeoutSeconds [order:1] - Maximum wait time in seconds (default: 300)
9
+ * @input intervalSeconds [order:2] - Check interval in seconds (default: 10)
10
+ * @output available [order:0] - Whether the URL became available
11
+ * @output waitedSeconds [order:1] - How long we waited
12
+ */
13
+ export declare function waitForUrl(url?: string, timeoutSeconds?: number, intervalSeconds?: number): {
14
+ available: boolean;
15
+ waitedSeconds: number;
16
+ };
17
+ //# sourceMappingURL=wait-for-url.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wait-for-url.d.ts","sourceRoot":"","sources":["../../src/node-types/wait-for-url.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CACxB,GAAG,GAAE,MAAW,EAChB,cAAc,GAAE,MAAY,EAC5B,eAAe,GAAE,MAAW,GAC3B;IAAE,SAAS,EAAE,OAAO,CAAC;IAAC,aAAa,EAAE,MAAM,CAAA;CAAE,CAG/C"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @flowWeaver nodeType
3
+ * @expression
4
+ * @label Wait for URL
5
+ * @color teal
6
+ * @icon schedule
7
+ * @input url [order:0] - URL to wait for
8
+ * @input timeoutSeconds [order:1] - Maximum wait time in seconds (default: 300)
9
+ * @input intervalSeconds [order:2] - Check interval in seconds (default: 10)
10
+ * @output available [order:0] - Whether the URL became available
11
+ * @output waitedSeconds [order:1] - How long we waited
12
+ */
13
+ export function waitForUrl(url = '', timeoutSeconds = 300, intervalSeconds = 10) {
14
+ // Stub: CI/CD export maps this to a polling loop
15
+ return { available: true, waitedSeconds: 0 };
16
+ }
17
+ //# sourceMappingURL=wait-for-url.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wait-for-url.js","sourceRoot":"","sources":["../../src/node-types/wait-for-url.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,UAAU,CACxB,MAAc,EAAE,EAChB,iBAAyB,GAAG,EAC5B,kBAA0B,EAAE;IAE5B,iDAAiD;IACjD,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,EAAE,CAAC;AAC/C,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @flowWeaver pattern
3
+ * @name docker-build-push
4
+ * @description Docker pipeline: checkout, login, build image, push to registry
5
+ *
6
+ * @node co checkout [job: "docker"]
7
+ * @node login docker-login [job: "docker"]
8
+ * @node build docker-build [job: "docker"]
9
+ * @node push docker-push [job: "docker"]
10
+ *
11
+ * @path IN -> co -> login -> build -> push -> OUT
12
+ */
13
+ //# sourceMappingURL=docker-build-push.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docker-build-push.d.ts","sourceRoot":"","sources":["../../src/patterns/docker-build-push.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * @flowWeaver pattern
4
+ * @name docker-build-push
5
+ * @description Docker pipeline: checkout, login, build image, push to registry
6
+ *
7
+ * @node co checkout [job: "docker"]
8
+ * @node login docker-login [job: "docker"]
9
+ * @node build docker-build [job: "docker"]
10
+ * @node push docker-push [job: "docker"]
11
+ *
12
+ * @path IN -> co -> login -> build -> push -> OUT
13
+ */
14
+ //# sourceMappingURL=docker-build-push.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docker-build-push.js","sourceRoot":"","sources":["../../src/patterns/docker-build-push.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,2 @@
1
+ export declare const patterns: readonly ["test-and-deploy", "docker-build-push", "multi-env-deploy"];
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/patterns/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,uEAIX,CAAC"}
@@ -0,0 +1,8 @@
1
+ // Pattern files are annotation-only — they are consumed by fw_apply_pattern,
2
+ // not imported as TypeScript modules. This barrel lists them for discoverability.
3
+ export const patterns = [
4
+ 'test-and-deploy',
5
+ 'docker-build-push',
6
+ 'multi-env-deploy',
7
+ ];
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/patterns/index.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,kFAAkF;AAClF,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,iBAAiB;IACjB,mBAAmB;IACnB,kBAAkB;CACV,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @flowWeaver pattern
3
+ * @name multi-env-deploy
4
+ * @description Multi-environment deployment: test, deploy to staging, then production
5
+ *
6
+ * @node co checkout [job: "test"]
7
+ * @node setup setup-node [job: "test"]
8
+ * @node install npm-install [job: "test"]
9
+ * @node test npm-test [job: "test"]
10
+ * @node build npm-build [job: "build"]
11
+ * @node deploystg deploy-ssh [job: "deploy-staging" environment: "staging"]
12
+ * @node checkstg health-check [job: "deploy-staging"]
13
+ * @node deployprod deploy-ssh [job: "deploy-production" environment: "production"]
14
+ * @node checkprod health-check [job: "deploy-production"]
15
+ *
16
+ * @path IN -> co -> setup -> install -> test -> build -> deploystg -> checkstg -> deployprod -> checkprod -> OUT
17
+ */
18
+ //# sourceMappingURL=multi-env-deploy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"multi-env-deploy.d.ts","sourceRoot":"","sources":["../../src/patterns/multi-env-deploy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /**
3
+ * @flowWeaver pattern
4
+ * @name multi-env-deploy
5
+ * @description Multi-environment deployment: test, deploy to staging, then production
6
+ *
7
+ * @node co checkout [job: "test"]
8
+ * @node setup setup-node [job: "test"]
9
+ * @node install npm-install [job: "test"]
10
+ * @node test npm-test [job: "test"]
11
+ * @node build npm-build [job: "build"]
12
+ * @node deploystg deploy-ssh [job: "deploy-staging" environment: "staging"]
13
+ * @node checkstg health-check [job: "deploy-staging"]
14
+ * @node deployprod deploy-ssh [job: "deploy-production" environment: "production"]
15
+ * @node checkprod health-check [job: "deploy-production"]
16
+ *
17
+ * @path IN -> co -> setup -> install -> test -> build -> deploystg -> checkstg -> deployprod -> checkprod -> OUT
18
+ */
19
+ //# sourceMappingURL=multi-env-deploy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"multi-env-deploy.js","sourceRoot":"","sources":["../../src/patterns/multi-env-deploy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG"}