Skip to content

feat(scripts): port 1-click deploy and npm trust tooling with lib/tools structure - #11

Merged
ryanleecode merged 1 commit into
masterfrom
feat/release-publish-and-trust
Aug 21, 2026
Merged

feat(scripts): port 1-click deploy and npm trust tooling with lib/tools structure#11
ryanleecode merged 1 commit into
masterfrom
feat/release-publish-and-trust

Conversation

@younna-ai-opencode

Copy link
Copy Markdown
Collaborator

Summary

Automates the one-time npm OIDC bootstrap and registry verification by porting publish-and-setup-npm-trust and check-publish from systemfsoftware/systemfsoftware, adapted to handle generated platform binary packages rather than workspace-discovered packages.

  • Delineates scripts/ into scripts/lib/ (pure manifest generators, CLI parsers, targets table, distribution set helpers) and scripts/tools/ (executable CLI tools with scoped shebang permissions).
  • Implements scripts/tools/publish-and-setup-npm-trust.ts to discover the root launcher plus the 5 platform packages generated from targets.json, stage debut placeholders, and register npm trust github OIDC publishers.
  • Implements scripts/tools/check-publish.ts to report live registry presence and provenance attestations with --preflight and --check validation gates.
  • Replaces deleted docs/publishing/ manuals with a concise CONTRIBUTING.md reference.
  • Updates .github/workflows/release.yml and scripts/deno.jsonc tasks for the lib/ and tools/ structure.

Validation

  • deno task lint passing across all 9 script files.
  • deno task check-matrix passes with .github/workflows/release.yml.
  • deno task check:publish successfully queries registry.npmjs.org and reports status for all 6 packages.
  • deno task publish:unpublished --dry-run plans the staging and trust sequence for debut packages.
  • pnpm lint and pnpm typecheck passing in workspace.

…ls structure

- Port publish-and-setup-npm-trust and check-publish tools adapted for generated packages
- Delineate scripts/ into lib/ (pure helpers, manifest generators) and tools/ (CLI commands)
- Declare strict, scoped permission shebangs on all tool scripts
- Remove docs/publishing/ runbooks in favor of automated scripts and CONTRIBUTING.md
- Update release.yml and repo documentation for the new script paths
@ryanleecode
ryanleecode merged commit 42819ff into master Aug 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants