Tags: microsoft/PromptKit
Tags
Fix npm publish: remove broken self-upgrade step (#196) * Bump version to 0.6.0 Updated version numbers in: - manifest.yaml (0.4.0 -> 0.6.0) - cli/package.json (0.5.0 -> 0.6.0) - cli/package-lock.json (0.5.0 -> 0.6.0) - cli/specs/requirements.md (0.4.0 -> 0.6.0) - cli/specs/validation.md (0.4.0 -> 0.6.0) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix npm publish: remove self-upgrade step The 'npm install -g npm@latest' step fails on Node 22.22.2 with: Cannot find module 'promise-retry' This is a known issue where npm corrupts its own module tree during a global self-upgrade. The bundled npm 10.9.7 already supports OIDC trusted publishing (provenance), so the upgrade is unnecessary. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Alan Jowett <alan.jowett@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
chore: bump CLI version to 0.5.0 (#150) BREAKING: The 'assemble' command has been removed. Prompt assembly is now handled entirely by the LLM via bootstrap.md. The 'list' command and 'interactive' command (default) are unchanged. Changes since 0.4.0: - Remove assemble command and assembly engine (assemble.js) - Remove manifest resolution module (manifest.js) - Simplify CLI to two commands: interactive (default) + list - Add verbatim inclusion rule to bootstrap.md assembly process - Add 24 automated tests using Node.js built-in test runner - Update error messages (no assemble fallback, show content path) - Validate both bootstrap.md and manifest.yaml on startup Co-authored-by: Alan Jowett <alan.jowett@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add npm publish workflow with trusted publishing (#33) * Add npm publish workflow with trusted publishing - Use OIDC trusted publishing instead of NPM_TOKEN secret (no secrets needed) - Requires Node 22 + latest npm for trusted publishing support - Scope package as @alan-jowett/promptkit - Update README references to scoped package name - Workflow: syncs version from tag, bundles content, verifies, publishes Setup: configure trusted publisher at npmjs.com/package/@alan-jowett/promptkit/access pointing to this repo's publish-npm.yml workflow. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Address review: provenance flag, tag parsing, publishConfig - Add --provenance to npm publish for explicit provenance attestation - Use github.event.release.tag_name instead of GITHUB_REF parsing - Add publishConfig.access: public to package.json for consistency Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Alan Jowett <alan.jowett@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>