Skip to content

fix(package): normalize publish metadata#19

Merged
NhanAZ merged 1 commit into
mainfrom
fix/npm-package-metadata
Jun 10, 2026
Merged

fix(package): normalize publish metadata#19
NhanAZ merged 1 commit into
mainfrom
fix/npm-package-metadata

Conversation

@NhanAZ

@NhanAZ NhanAZ commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

What changed

Normalized the npm binary path and repository URL in package.json to the canonical forms npm publishes.

Why

The initial publish attempt was blocked by OTP and also reported that npm had auto-corrected the binary metadata. Committing the canonical values prevents publish-time mutation and makes the package contents deterministic.

Testing

  • npm run lint - passed.
  • npm test - passed; 62 tests passed.
  • npm pack --dry-run - passed with 43 package files and no metadata correction warning.
  • Installed the generated tarball into a temporary directory.
  • Verified the installed opk executable reports version 0.3.0.
  • Verified the installed executable scans an empty directory with zero findings and exit code 0.

Risks

This changes package metadata only. The executable target and repository remain unchanged.

Follow-up

Publish openpolicykit@0.3.0 after this PR is merged and mark the npm roadmap item complete only after registry verification.

@NhanAZ NhanAZ marked this pull request as ready for review June 10, 2026 00:58
@NhanAZ NhanAZ merged commit 2ccb8bc into main Jun 10, 2026
3 checks passed
@NhanAZ NhanAZ deleted the fix/npm-package-metadata branch June 10, 2026 00:59
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.

1 participant