Skip to content

chore(op-sqlite): add files allowlist to package.json#21

Merged
msluszniak merged 1 commit into
mainfrom
@ms/op-sqlite-files-allowlist
May 26, 2026
Merged

chore(op-sqlite): add files allowlist to package.json#21
msluszniak merged 1 commit into
mainfrom
@ms/op-sqlite-files-allowlist

Conversation

@msluszniak

Copy link
Copy Markdown
Contributor

Summary

Add a `files` allowlist to packages/op-sqlite/package.json restricting the published tarball to `src/` and `README.md`. Brings op-sqlite in line with how the root package controls its tarball contents and prevents accidental dev/build leakage.

Why now

`@react-native-rag/op-sqlite@0.9.0` is stuck on a Sigstore/Rekor transparency-log conflict from the first failed publish attempt against the `v0.9.0` tag. The Rekor entry is immutable, so a republish from the same commit produces the same tarball hash → 409. This small content change is a real hygiene fix that also alters the tarball bytes enough for Rekor to accept a fresh entry.

Publishing plan after merge

  • Tag the merge commit as `op-sqlite/v0.9.0` (per-package namespaced tag; leaves `v0.9.0` pointing at `7f064b0` so the existing published `react-native-rag@0.9.0` and `@react-native-rag/executorch@0.9.0` provenance attestations stay consistent).
  • Run the publish workflow from tag `op-sqlite/v0.9.0`, package `@react-native-rag/op-sqlite`, version `0.9.0`.

Restrict the published tarball to src/ and README.md so the build
output, test fixtures, and stray dev files in the package directory
don't leak into the npm package. Matches the intent of the root
package's files allowlist.
@msluszniak msluszniak merged commit 8f881f4 into main May 26, 2026
4 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.

1 participant