@punks/cli 4.0.1 → 4.0.2

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 (27) hide show
  1. package/dist/BASELINE_CHANGELOG.md +10 -0
  2. package/dist/CHANGELOG.md +7 -0
  3. package/dist/baseline/scaffold-baseline/baseline.json +5 -5
  4. package/dist/baseline/scaffold-baseline/data/catalog/packs.json +2 -2
  5. package/dist/baseline/scaffold-baseline/data/catalog/skills.json +8 -0
  6. package/dist/baseline/scaffold-baseline/skills/agnostic/research/parallel-research/DURABLE-REPORT.md +5 -12
  7. package/dist/baseline/scaffold-baseline/skills/agnostic/research/parallel-research/SKILL.md +7 -8
  8. package/dist/baseline/scaffold-baseline/skills/agnostic/security/architect-pipeline/SKILL.md +97 -0
  9. package/dist/baseline/scaffold-baseline/skills/agnostic/security/architect-pipeline/agents/openai.yaml +4 -0
  10. package/dist/baseline/scaffold-baseline/skills/agnostic/security/architect-pipeline/references/infrastructure-deployment.md +29 -0
  11. package/dist/baseline/scaffold-baseline/skills/agnostic/security/architect-pipeline/references/security-by-design.md +22 -0
  12. package/dist/baseline/scaffold-baseline/skills/frameworks/pulumi/provider-upgrade/SKILL.md +10 -7
  13. package/dist/baseline/scaffold-baseline/skills/frameworks/pulumi/pulumi-best-practices/SKILL.md +18 -50
  14. package/dist/baseline/scaffold-baseline/skills/frameworks/pulumi/pulumi-component/SKILL.md +34 -74
  15. package/dist/baseline/scaffold-baseline.json +5 -5
  16. package/dist/baseline/scaffold-baseline.tgz +0 -0
  17. package/dist/index.js +2 -2
  18. package/dist/skills/agnostic/research/parallel-research/DURABLE-REPORT.md +5 -12
  19. package/dist/skills/agnostic/research/parallel-research/SKILL.md +7 -8
  20. package/dist/skills/agnostic/security/architect-pipeline/SKILL.md +97 -0
  21. package/dist/skills/agnostic/security/architect-pipeline/agents/openai.yaml +4 -0
  22. package/dist/skills/agnostic/security/architect-pipeline/references/infrastructure-deployment.md +29 -0
  23. package/dist/skills/agnostic/security/architect-pipeline/references/security-by-design.md +22 -0
  24. package/dist/skills/frameworks/pulumi/provider-upgrade/SKILL.md +10 -7
  25. package/dist/skills/frameworks/pulumi/pulumi-best-practices/SKILL.md +10 -42
  26. package/dist/skills/frameworks/pulumi/pulumi-component/SKILL.md +18 -58
  27. package/package.json +1 -1
@@ -8,7 +8,9 @@ description: Guide for authoring Pulumi ComponentResource classes. Use when crea
8
8
 
9
9
  A ComponentResource groups related infrastructure resources into a reusable, logical unit. Components make infrastructure easier to understand, reuse, and maintain. Components appear as a single node with children nested underneath in `pulumi preview`/`pulumi up` output and in the Pulumi Cloud console.
10
10
 
11
- This skill covers the full component authoring lifecycle. For general Pulumi coding patterns (Output handling, secrets, aliases, preview workflows), use the `pulumi-best-practices` skill instead.
11
+ This skill covers the full component authoring lifecycle. For general Pulumi coding patterns
12
+ (Output handling, secrets, aliases, and preview semantics), use `pulumi-best-practices`.
13
+ For the containing CI/CD or release workflow, use `$architect-pipeline`.
12
14
 
13
15
  ## When to Use This Skill
14
16
 
@@ -749,13 +751,12 @@ For a complete working example across all languages, see https://github.com/mikh
749
751
 
750
752
  Choose a distribution method based on your audience:
751
753
 
752
- | Audience | Method | How |
753
- | ------------------ | ---------------- | --------------------------------------------- |
754
- | Same project | Direct import | Standard language import |
755
- | Same organization | Private registry | `pulumi package publish` to Pulumi Cloud |
756
- | Same organization | Git repository | `pulumi package add <repo>` with version tags |
757
- | Language ecosystem | Package manager | Publish to npm, PyPI, NuGet, or Maven |
758
- | Public community | Pulumi Registry | Submit via pulumi/registry GitHub repo |
754
+ | Audience | Method | How |
755
+ | ----------------- | ---------------- | --------------------------------------------- |
756
+ | Same project | Direct import | Standard language import |
757
+ | Same organization | Private registry | `pulumi package publish` to Pulumi Cloud |
758
+ | Same organization | Git repository | `pulumi package add <repo>` with version tags |
759
+ | Public community | Pulumi Registry | Submit via pulumi/registry GitHub repo |
759
760
 
760
761
  ### Pulumi Private Registry
761
762
 
@@ -767,60 +768,28 @@ Publish a component to the private registry:
767
768
  pulumi package publish https://github.com/myorg/my-component --publisher myorg
768
769
  ```
769
770
 
770
- Version components using git tags with a `v` prefix:
771
-
772
- ```bash
773
- git tag v1.0.0
774
- git push origin v1.0.0
775
- ```
776
-
777
771
  A README file is required when publishing. Pulumi uses it as the component's documentation page in the registry.
778
772
 
779
- Automate publishing from GitHub Actions using OIDC authentication:
780
-
781
- ```yaml
782
- name: Publish Component
783
- on:
784
- push:
785
- tags:
786
- - "v*"
787
-
788
- permissions:
789
- id-token: write
790
- contents: read
791
-
792
- jobs:
793
- publish:
794
- runs-on: ubuntu-latest
795
- env:
796
- PULUMI_ORG: myorg
797
- steps:
798
- - uses: actions/checkout@v4
799
- with:
800
- fetch-depth: 0
801
- - uses: pulumi/auth-actions@v1
802
- with:
803
- organization: ${{ env.PULUMI_ORG }}
804
- requested-token-type: urn:pulumi:token-type:access_token:organization
805
- - run: pulumi package publish https://github.com/${{ github.repository }} --publisher ${{ env.PULUMI_ORG }}
806
- ```
807
-
808
- **Prerequisites**: Configure GitHub OIDC integration with Pulumi Cloud before using this workflow.
809
-
810
- The registry supports private GitHub and GitLab repositories. For non-OIDC setups, authenticate with `GITHUB_TOKEN` or `GITLAB_TOKEN` environment variables.
773
+ The registry supports private GitHub and GitLab repositories. Pulumi Cloud authentication is
774
+ Pulumi-specific: use CLI login or supported automation; `pulumi/auth-actions@v1` can exchange
775
+ workflow OIDC for an organization token; and `GITHUB_TOKEN` or `GITLAB_TOKEN` can authenticate
776
+ private source repositories where supported. Pulumi Cloud OIDC organization configuration,
777
+ registry behavior, and package command syntax remain here. Generic trust-boundary, trigger,
778
+ job, and publishing workflow design belong to `$architect-pipeline`.
811
779
 
812
780
  The private registry automatically generates SDK documentation for each published component. Enrich the generated docs by adding type annotations to your component's inputs and outputs (JSDoc in TypeScript, docstrings in Python, `Annotate()` methods in Go).
813
781
 
814
- **Reference**: https://www.pulumi.com/docs/idp/get-started/private-registry/
782
+ **References**:
815
783
 
816
- ### Git Repository Distribution
784
+ - https://www.pulumi.com/docs/idp/get-started/private-registry/
785
+ - https://www.pulumi.com/docs/pulumi-cloud/access-management/oidc/
786
+ - https://github.com/pulumi/auth-actions
817
787
 
818
- Tag releases for consumers to pin versions:
788
+ ### Git Repository Distribution
819
789
 
820
- ```bash
821
- git tag v1.0.0
822
- git push origin v1.0.0
823
- ```
790
+ Consumers install a repository-backed component with `pulumi package add`. The repository
791
+ URL may include a version tag or other supported version ref; use an immutable version for
792
+ repeatable consumer resolution.
824
793
 
825
794
  Consumers install with:
826
795
 
@@ -828,15 +797,6 @@ Consumers install with:
828
797
  pulumi package add https://github.com/myorg/my-component@v1.0.0
829
798
  ```
830
799
 
831
- ### Package Manager Distribution
832
-
833
- Publish language-specific packages for native dependency management:
834
-
835
- - **npm**: `npm publish` for TypeScript/JavaScript
836
- - **PyPI**: `twine upload` for Python
837
- - **NuGet**: `dotnet nuget push` for .NET
838
- - **Maven Central**: Standard Maven publishing for Java
839
-
840
800
  **Reference**: https://www.pulumi.com/docs/iac/using-pulumi/pulumi-packages/
841
801
 
842
802
  ---
@@ -859,17 +819,17 @@ Publish language-specific packages for native dependency management:
859
819
 
860
820
  ## Quick Reference
861
821
 
862
- | Topic | Key Point |
863
- | --------------- | ----------------------------------------------------------------------- |
864
- | Type URN | `<package>:<module>:<type>`, module usually `index` |
865
- | Constructor | `super(type, name, {}, opts)` then children then `registerOutputs()` |
866
- | Child resources | Always `{ parent: this }`, derive name from `${name}-suffix` |
867
- | Args interface | Wrap in `Input<T>`, no unions, no functions, flat structure |
868
- | Outputs | Public readonly `Output<T>` properties, expose only essentials |
869
- | Defaults | Use `??` operator to apply sensible defaults in constructor |
870
- | Composition | Lower-level components composed into higher-level ones |
871
- | Multi-language | `PulumiPlugin.yaml` + entry point; consumers use `pulumi package add` |
872
- | Distribution | Private registry, git tags, package managers, or public Pulumi Registry |
822
+ | Topic | Key Point |
823
+ | --------------- | --------------------------------------------------------------------- |
824
+ | Type URN | `<package>:<module>:<type>`, module usually `index` |
825
+ | Constructor | `super(type, name, {}, opts)` then children then `registerOutputs()` |
826
+ | Child resources | Always `{ parent: this }`, derive name from `${name}-suffix` |
827
+ | Args interface | Wrap in `Input<T>`, no unions, no functions, flat structure |
828
+ | Outputs | Public readonly `Output<T>` properties, expose only essentials |
829
+ | Defaults | Use `??` operator to apply sensible defaults in constructor |
830
+ | Composition | Lower-level components composed into higher-level ones |
831
+ | Multi-language | `PulumiPlugin.yaml` + entry point; consumers use `pulumi package add` |
832
+ | Distribution | Private registry, repository version refs, or public Pulumi Registry |
873
833
 
874
834
  ## Related Skills
875
835
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "channel": "stable",
4
- "version": "2026.08.27-3fa9f3ef",
5
- "tag": "baseline/stable/2026.08.27-3fa9f3ef",
6
- "commit": "3fa9f3efa578fc81f1cb2d6d38acc74c3518fd11",
4
+ "version": "2026.08.27-b0c53c25",
5
+ "tag": "baseline/stable/2026.08.27-b0c53c25",
6
+ "commit": "b0c53c2552e3c0a1ab34519e7486a9bfe11d1fbb",
7
7
  "archive": "scaffold-baseline.tgz",
8
- "archiveSha256": "bc8dfb3d985696f0b61bd4e6ad620ea884c57b11f3e663a00c555c87f8206332",
8
+ "archiveSha256": "8e7cc1efabcc54407be899b6fcfa1f66f40e19f5a6b14434b4dd1c85642de748",
9
9
  "compatibility": {
10
- "cliVersionRange": ">=4.0.1 <4.1.0"
10
+ "cliVersionRange": ">=4.0.2 <4.1.0"
11
11
  }
12
12
  }
Binary file