@punks/cli 4.0.0 → 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.
- package/AGENTS.md +1 -1
- package/dist/BASELINE_CHANGELOG.md +11 -0
- package/dist/CHANGELOG.md +13 -0
- package/dist/baseline/scaffold-baseline/baseline.json +5 -5
- package/dist/baseline/scaffold-baseline/data/catalog/packs.json +8 -5
- package/dist/baseline/scaffold-baseline/data/catalog/skills.json +16 -0
- package/dist/baseline/scaffold-baseline/data/subagents/manifest.mjs +1 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/SKILL.md +57 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/agents/openai.yaml +4 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/references/audit-portfolio.md +47 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/references/implement-suite.md +40 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/references/route-api-design.md +21 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/references/user-journey-design.md +21 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/parallel-research/DURABLE-REPORT.md +5 -12
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/parallel-research/SKILL.md +7 -8
- package/dist/baseline/scaffold-baseline/skills/agnostic/security/architect-pipeline/SKILL.md +97 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/security/architect-pipeline/agents/openai.yaml +4 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/security/architect-pipeline/references/infrastructure-deployment.md +29 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/security/architect-pipeline/references/security-by-design.md +22 -0
- package/dist/baseline/scaffold-baseline/skills/frameworks/pulumi/provider-upgrade/SKILL.md +10 -7
- package/dist/baseline/scaffold-baseline/skills/frameworks/pulumi/pulumi-best-practices/SKILL.md +18 -50
- package/dist/baseline/scaffold-baseline/skills/frameworks/pulumi/pulumi-component/SKILL.md +34 -74
- package/dist/baseline/scaffold-baseline.json +5 -5
- package/dist/baseline/scaffold-baseline.tgz +0 -0
- package/dist/data/subagents/manifest.mjs +1 -0
- package/dist/index.js +2 -2
- package/dist/skills/agnostic/quality/make-tsuite/SKILL.md +57 -0
- package/dist/skills/agnostic/quality/make-tsuite/agents/openai.yaml +4 -0
- package/dist/skills/agnostic/quality/make-tsuite/references/audit-portfolio.md +47 -0
- package/dist/skills/agnostic/quality/make-tsuite/references/implement-suite.md +40 -0
- package/dist/skills/agnostic/quality/make-tsuite/references/route-api-design.md +21 -0
- package/dist/skills/agnostic/quality/make-tsuite/references/user-journey-design.md +21 -0
- package/dist/skills/agnostic/research/parallel-research/DURABLE-REPORT.md +5 -12
- package/dist/skills/agnostic/research/parallel-research/SKILL.md +7 -8
- package/dist/skills/agnostic/security/architect-pipeline/SKILL.md +97 -0
- package/dist/skills/agnostic/security/architect-pipeline/agents/openai.yaml +4 -0
- package/dist/skills/agnostic/security/architect-pipeline/references/infrastructure-deployment.md +29 -0
- package/dist/skills/agnostic/security/architect-pipeline/references/security-by-design.md +22 -0
- package/dist/skills/frameworks/pulumi/provider-upgrade/SKILL.md +10 -7
- package/dist/skills/frameworks/pulumi/pulumi-best-practices/SKILL.md +10 -42
- package/dist/skills/frameworks/pulumi/pulumi-component/SKILL.md +18 -58
- 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
|
|
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
|
|
|
@@ -698,7 +700,6 @@ Choose a distribution method based on your audience:
|
|
|
698
700
|
| Same project | Direct import | Standard language import |
|
|
699
701
|
| Same organization | Private registry | `pulumi package publish` to Pulumi Cloud |
|
|
700
702
|
| Same organization | Git repository | `pulumi package add <repo>` with version tags |
|
|
701
|
-
| Language ecosystem | Package manager | Publish to npm, PyPI, NuGet, or Maven |
|
|
702
703
|
| Public community | Pulumi Registry | Submit via pulumi/registry GitHub repo |
|
|
703
704
|
|
|
704
705
|
### Pulumi Private Registry
|
|
@@ -711,60 +712,28 @@ Publish a component to the private registry:
|
|
|
711
712
|
pulumi package publish https://github.com/myorg/my-component --publisher myorg
|
|
712
713
|
```
|
|
713
714
|
|
|
714
|
-
Version components using git tags with a `v` prefix:
|
|
715
|
-
|
|
716
|
-
```bash
|
|
717
|
-
git tag v1.0.0
|
|
718
|
-
git push origin v1.0.0
|
|
719
|
-
```
|
|
720
|
-
|
|
721
715
|
A README file is required when publishing. Pulumi uses it as the component's documentation page in the registry.
|
|
722
716
|
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
tags:
|
|
730
|
-
- "v*"
|
|
731
|
-
|
|
732
|
-
permissions:
|
|
733
|
-
id-token: write
|
|
734
|
-
contents: read
|
|
735
|
-
|
|
736
|
-
jobs:
|
|
737
|
-
publish:
|
|
738
|
-
runs-on: ubuntu-latest
|
|
739
|
-
env:
|
|
740
|
-
PULUMI_ORG: myorg
|
|
741
|
-
steps:
|
|
742
|
-
- uses: actions/checkout@v4
|
|
743
|
-
with:
|
|
744
|
-
fetch-depth: 0
|
|
745
|
-
- uses: pulumi/auth-actions@v1
|
|
746
|
-
with:
|
|
747
|
-
organization: ${{ env.PULUMI_ORG }}
|
|
748
|
-
requested-token-type: urn:pulumi:token-type:access_token:organization
|
|
749
|
-
- run: pulumi package publish https://github.com/${{ github.repository }} --publisher ${{ env.PULUMI_ORG }}
|
|
750
|
-
```
|
|
751
|
-
|
|
752
|
-
**Prerequisites**: Configure GitHub OIDC integration with Pulumi Cloud before using this workflow.
|
|
753
|
-
|
|
754
|
-
The registry supports private GitHub and GitLab repositories. For non-OIDC setups, authenticate with `GITHUB_TOKEN` or `GITLAB_TOKEN` environment variables.
|
|
717
|
+
The registry supports private GitHub and GitLab repositories. Pulumi Cloud authentication is
|
|
718
|
+
Pulumi-specific: use CLI login or supported automation; `pulumi/auth-actions@v1` can exchange
|
|
719
|
+
workflow OIDC for an organization token; and `GITHUB_TOKEN` or `GITLAB_TOKEN` can authenticate
|
|
720
|
+
private source repositories where supported. Pulumi Cloud OIDC organization configuration,
|
|
721
|
+
registry behavior, and package command syntax remain here. Generic trust-boundary, trigger,
|
|
722
|
+
job, and publishing workflow design belong to `$architect-pipeline`.
|
|
755
723
|
|
|
756
724
|
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).
|
|
757
725
|
|
|
758
|
-
**
|
|
726
|
+
**References**:
|
|
759
727
|
|
|
760
|
-
|
|
728
|
+
- https://www.pulumi.com/docs/idp/get-started/private-registry/
|
|
729
|
+
- https://www.pulumi.com/docs/pulumi-cloud/access-management/oidc/
|
|
730
|
+
- https://github.com/pulumi/auth-actions
|
|
761
731
|
|
|
762
|
-
|
|
732
|
+
### Git Repository Distribution
|
|
763
733
|
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
```
|
|
734
|
+
Consumers install a repository-backed component with `pulumi package add`. The repository
|
|
735
|
+
URL may include a version tag or other supported version ref; use an immutable version for
|
|
736
|
+
repeatable consumer resolution.
|
|
768
737
|
|
|
769
738
|
Consumers install with:
|
|
770
739
|
|
|
@@ -772,15 +741,6 @@ Consumers install with:
|
|
|
772
741
|
pulumi package add https://github.com/myorg/my-component@v1.0.0
|
|
773
742
|
```
|
|
774
743
|
|
|
775
|
-
### Package Manager Distribution
|
|
776
|
-
|
|
777
|
-
Publish language-specific packages for native dependency management:
|
|
778
|
-
|
|
779
|
-
- **npm**: `npm publish` for TypeScript/JavaScript
|
|
780
|
-
- **PyPI**: `twine upload` for Python
|
|
781
|
-
- **NuGet**: `dotnet nuget push` for .NET
|
|
782
|
-
- **Maven Central**: Standard Maven publishing for Java
|
|
783
|
-
|
|
784
744
|
**Reference**: https://www.pulumi.com/docs/iac/using-pulumi/pulumi-packages/
|
|
785
745
|
|
|
786
746
|
---
|
|
@@ -813,7 +773,7 @@ Publish language-specific packages for native dependency management:
|
|
|
813
773
|
| Defaults | Use `??` operator to apply sensible defaults in constructor |
|
|
814
774
|
| Composition | Lower-level components composed into higher-level ones |
|
|
815
775
|
| Multi-language | `PulumiPlugin.yaml` + entry point; consumers use `pulumi package add` |
|
|
816
|
-
| Distribution | Private registry,
|
|
776
|
+
| Distribution | Private registry, repository version refs, or public Pulumi Registry |
|
|
817
777
|
|
|
818
778
|
## Related Skills
|
|
819
779
|
|