{"_id":"@6edesign/cicd-core","_rev":"4-50a628ff2c271ca3b6b4d736c7835b7a","name":"@6edesign/cicd-core","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@6edesign/cicd-core","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"@6edesign/cicd-core@1.0.0","maintainers":[{"name":"6edesign","email":"jon@6eDesign.net"}],"dist":{"shasum":"3cb6cc8d786d113c6554277d276d41776052c2c2","tarball":"https://registry.npmjs.org/@6edesign/cicd-core/-/cicd-core-1.0.0.tgz","fileCount":20,"integrity":"sha512-oy4XqIC5NjOZzRlTtV7kejCUo3yJplcmJzsJGieS/+FORu1JlBPMgonl4WaLepIqbt79dpmraT1zibI8CtHmMw==","signatures":[{"sig":"MEUCIQDipyYFB+1dBM85wsxTHc9Fga4LlJpj99iyfzXfK2dO8gIgPELxGOTghTi6/hVbOCXnhL+4um2dAF/GamG1k4ryLCg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1055910},"main":"./dist/index.js","type":"module","_from":"file:6edesign-cicd-core-1.0.0.tgz","types":"./dist/index.d.ts","scripts":{"dev":"tsdown --watch --sourcemap","build":"tsdown --sourcemap"},"_npmUser":{"name":"6edesign","email":"jon@6eDesign.net"},"_resolved":"/tmp/e128c5a94d32c660caae2b7597ec693b/6edesign-cicd-core-1.0.0.tgz","_integrity":"sha512-oy4XqIC5NjOZzRlTtV7kejCUo3yJplcmJzsJGieS/+FORu1JlBPMgonl4WaLepIqbt79dpmraT1zibI8CtHmMw==","_npmVersion":"10.8.2","description":"This package provides the foundational utilities and types for building CI/CD plugins within the Stacker monorepo. It defines the core `createPlugin` function and common Zod schemas used across various deployment plugins.","directories":{},"_nodeVersion":"20.19.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.0.5","tsdown":"^0.13.0","typescript":"^5.8.3","@6edesign/tsconfig":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cicd-core_1.0.0_1755413586776_0.009273382542988928","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@6edesign/cicd-core","version":"1.0.1","keywords":[],"author":"","license":"ISC","_id":"@6edesign/cicd-core@1.0.1","maintainers":[{"name":"6edesign","email":"jon@6eDesign.net"}],"dist":{"shasum":"2c5add5059c88e408796bcce41983958c1d96cf5","tarball":"https://registry.npmjs.org/@6edesign/cicd-core/-/cicd-core-1.0.1.tgz","fileCount":10,"integrity":"sha512-vcXQV5YeGRE0u+Jsck7i84WsFvpj8TwDnHge846muqSpoVjVEatttaph+oJ5ZDo+rYVz327Fya5h9rgRXb0irQ==","signatures":[{"sig":"MEYCIQCxahO3MvGoaSEW3VxpIqp4LxO/aKLKkFK3AwrcWy+bGwIhAM3j+FB9Ip7n/887zesHQ5+RCTOQr8FFPBxW2PuEDGMh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1054670},"main":"./dist/index.js","type":"module","_from":"file:6edesign-cicd-core-1.0.1.tgz","types":"./dist/index.d.ts","scripts":{"dev":"tsdown --watch --sourcemap","build":"tsdown --sourcemap"},"_npmUser":{"name":"6edesign","email":"jon@6eDesign.net"},"_resolved":"/tmp/02d492166a0ad1ad905082e1f765fb59/6edesign-cicd-core-1.0.1.tgz","_integrity":"sha512-vcXQV5YeGRE0u+Jsck7i84WsFvpj8TwDnHge846muqSpoVjVEatttaph+oJ5ZDo+rYVz327Fya5h9rgRXb0irQ==","_npmVersion":"10.8.2","description":"This package provides the foundational utilities and types for building CI/CD plugins within the Stacker monorepo. It defines the core `createPlugin` function and common Zod schemas used across various deployment plugins.","directories":{},"_nodeVersion":"20.19.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.0.5","tsdown":"^0.13.0","typescript":"^5.8.3","@6edesign/tsconfig":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cicd-core_1.0.1_1755448455080_0.5094383471762383","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@6edesign/cicd-core","version":"1.0.2","keywords":[],"author":"","license":"ISC","_id":"@6edesign/cicd-core@1.0.2","maintainers":[{"name":"6edesign","email":"jon@6eDesign.net"}],"dist":{"shasum":"89ca316062780b877ffa56088aae71a84d2edbf4","tarball":"https://registry.npmjs.org/@6edesign/cicd-core/-/cicd-core-1.0.2.tgz","fileCount":10,"integrity":"sha512-N0AB64uYby+0gEnctwvV8IHcnbTCfRdJSKZi9iG7Jg1vz5M6PwHelwY6JalR7q+127D42In52Ed9TTn003Jm8w==","signatures":[{"sig":"MEYCIQCF/Ab3hose+NIDqwhBYnfkOKsoESizCpAA6WydOdAQ2wIhAKXwZh0xqZd0Cn3SfvHi4nVHHPFJO4t4Oj0O70XD0MvD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1054721},"main":"./dist/index.js","type":"module","_from":"file:6edesign-cicd-core-1.0.2.tgz","types":"./dist/index.d.ts","scripts":{"dev":"tsdown --watch --sourcemap","build":"tsdown --sourcemap"},"_npmUser":{"name":"6edesign","email":"jon@6eDesign.net"},"_resolved":"/tmp/d6c491391ad41c6d16590999fa44781c/6edesign-cicd-core-1.0.2.tgz","_integrity":"sha512-N0AB64uYby+0gEnctwvV8IHcnbTCfRdJSKZi9iG7Jg1vz5M6PwHelwY6JalR7q+127D42In52Ed9TTn003Jm8w==","_npmVersion":"10.8.2","description":"This package provides the foundational utilities and types for building CI/CD plugins within the Stacker monorepo. It defines the core `createPlugin` function and common Zod schemas used across various deployment plugins.","directories":{},"_nodeVersion":"20.19.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.0.5","tsdown":"^0.13.0","typescript":"^5.8.3","@6edesign/tsconfig":"0.0.2"},"_npmOperationalInternal":{"tmp":"tmp/cicd-core_1.0.2_1755449274637_0.21396648339030477","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@6edesign/cicd-core","version":"1.0.3","description":"This package provides the foundational utilities and types for building CI/CD plugins within the Stacker monorepo. It defines the core `createPlugin` function and common Zod schemas used across various deployment plugins.","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","publishConfig":{"access":"public"},"keywords":[],"author":"","license":"ISC","devDependencies":{"tsdown":"^0.13.0","typescript":"^5.8.3","zod":"^4.0.5","@6edesign/tsconfig":"0.0.3"},"scripts":{"dev":"tsdown --watch --sourcemap","build":"tsdown --sourcemap"},"_id":"@6edesign/cicd-core@1.0.3","_integrity":"sha512-Qpjc+1SnZey2TooZ8a53NEFFdGMd+4llDAGKQ9UgUDImUVo/BdCMunIMsKDNSRURGC0d1rvqjwruzpzIx0E3CQ==","_resolved":"/tmp/557d118e92fe86697396d9c92a2bb1f0/6edesign-cicd-core-1.0.3.tgz","_from":"file:6edesign-cicd-core-1.0.3.tgz","_nodeVersion":"20.19.4","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Qpjc+1SnZey2TooZ8a53NEFFdGMd+4llDAGKQ9UgUDImUVo/BdCMunIMsKDNSRURGC0d1rvqjwruzpzIx0E3CQ==","shasum":"9fb882d051170bb8ab292bbd4229e08d442c4bfb","tarball":"https://registry.npmjs.org/@6edesign/cicd-core/-/cicd-core-1.0.3.tgz","fileCount":10,"unpackedSize":1054772,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFtuzmdqa04KzYOl0wIgV/Hdkfi/59vs/7LbXq2qivu+AiAsMDNKLaGWnadCNMZYiYcfffqt7eCnskegnfeEhRzwXw=="}]},"_npmUser":{"name":"6edesign","email":"jon@6eDesign.net"},"directories":{},"maintainers":[{"name":"6edesign","email":"jon@6eDesign.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cicd-core_1.0.3_1755459081018_0.5827521905213184"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-17T06:53:06.684Z","modified":"2025-08-17T19:31:21.443Z","1.0.0":"2025-08-17T06:53:07.019Z","1.0.1":"2025-08-17T16:34:15.370Z","1.0.2":"2025-08-17T16:47:54.945Z","1.0.3":"2025-08-17T19:31:21.264Z"},"license":"ISC","keywords":[],"description":"This package provides the foundational utilities and types for building CI/CD plugins within the Stacker monorepo. It defines the core `createPlugin` function and common Zod schemas used across various deployment plugins.","maintainers":[{"name":"6edesign","email":"jon@6eDesign.net"}],"readme":"# @6edesign/cicd-core\n\nThis package provides the foundational utilities and types for building CI/CD plugins within the Stacker monorepo. It defines the core `createPlugin` function and common Zod schemas used across various deployment plugins.\n\n## Features\n\n*   **`createPlugin` Function:** A utility function to easily define new CI/CD plugins with input schemas, required secrets, and a `deployHandler`.\n*   **Core Zod Schemas:** Reusable Zod schemas for common plugin configurations and data validation.\n*   **Plugin Types:** TypeScript type definitions for various plugin components.\n\n## Usage\n\nThis package is primarily consumed by other CI/CD-related packages, such as `@6edesign/cicd`, to build specific deployable plugins. Developers extending the CI/CD capabilities will use `createPlugin` to define new deployment logic.\n\n### Example `createPlugin` Usage\n\n```typescript\n// Example of how createPlugin is used in other packages\nimport { createPlugin, z } from '@6edesign/cicd-core';\n\nexport const examplePlugin = createPlugin({\n  // Define the input schema for this plugin using Zod\n  input: z.object({\n    message: z.string().describe('A message to display.'),\n    count: z.number().optional().describe('Number of times to display the message.'),\n  }),\n  // Declare any secrets required by this plugin\n  requiredSecrets: ['API_KEY'],\n  // The core logic for this plugin\n  deployHandler: async (config, context) => {\n    const { message, count = 1 } = config;\n    for (let i = 0; i < count; i++) {\n      console.log(`[${context.dryRun ? 'DRY RUN' : 'EXEC'}] ${message}`);\n    }\n    // Return any outputs from the deployment\n    return { status: 'completed' };\n  },\n});\n```\n\n## Development\n\nWhen creating new CI/CD plugins, import `createPlugin` and `z` from this package. Define your plugin's input schema, required secrets, and `deployHandler` using the provided utilities.\n","readmeFilename":"README.md"}