Release Artifacts
This repo ships two artifacts:
- npm package:
@malviyahimanshu/pier - Chrome Web Store upload ZIP for the built extension bundle
Release Prerequisites
- npm owner access for @malviyahimanshu/pier
- npm account 2FA enabled
- Chrome Web Store developer account
- Clean working tree recommended
- Version bumped in package.json (and changesets/changelog if used)
One-command Artifact Build
pnpm install
pnpm run release:artifactsArtifacts 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 publicBest 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
- Run release artifacts command
- Open Chrome Web Store Developer Dashboard
- Upload extension ZIP from artifacts path
- Complete listing and privacy disclosures
- 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