Documentation

Release

Build release artifacts and publish to npm and Chrome Web Store.

Release Artifacts

This repo ships two artifacts:

  • npm package: @malviyahimanshu/pier
  • Chrome Web Store upload ZIP for the built extension bundle

Release Prerequisites

  1. npm owner access for @malviyahimanshu/pier
  2. npm account 2FA enabled
  3. Chrome Web Store developer account
  4. Clean working tree recommended
  5. Version bumped in package.json (and changesets/changelog if used)

One-command Artifact Build

pnpm install
pnpm run release:artifacts

Artifacts produced:

  • ./malviyahimanshu-pier-<version>.tgz
  • ./artifacts/chrome-web-store/pier-extension-chrome-web-store-v<version>.zip
  • ./artifacts/chrome-web-store/pier-extension-chrome-web-store-v<version>.zip.sha256

npm Publish (Manual)

pnpm run release:npm:dry-run
npm publish --access public

Best practice: publish from a tagged commit and verify with npm view @malviyahimanshu/pier version.

npm Publish (GitHub Actions)

  • Tag release commit: git tag vX.Y.Z && git push origin vX.Y.Z
  • Add NPM_TOKEN in repository secrets
  • Workflow publishes with provenance and uploads release artifacts

Chrome Web Store Publish

  1. Run release artifacts command
  2. Open Chrome Web Store Developer Dashboard
  3. Upload extension ZIP from artifacts path
  4. Complete listing and privacy disclosures
  5. Submit for review and rollout

Quick Validation Commands

pnpm run build
pnpm run check
pnpm run pack:npm
pnpm run test:pack-smoke
pnpm run pack:extension