Skip to content

Document macOS support and harden npm pack checks#6

Merged
devinoldenburg merged 2 commits into
mainfrom
macos-docs-and-pack
Jul 17, 2026
Merged

Document macOS support and harden npm pack checks#6
devinoldenburg merged 2 commits into
mainfrom
macos-docs-and-pack

Conversation

@devinoldenburg

Copy link
Copy Markdown
Owner

Summary

  • Add docs/supported-platforms.md describing the macOS 27.0+ requirement and the fail-fast error text.
  • Point the README Requirements section at that doc.
  • Declare "os": ["darwin"] in package.json.
  • Add npm run check:pack (wired into prepack) so a missing files entry cannot ship a broken tarball.

Depends on #5 for the runtime gate itself.

Test plan

Add supported-platforms docs, mark the package as darwin-only, and verify
every runtime import is present in the packed tarball before publish.
Doctor remains available on older macOS so it can report the latest
supported version; document check:pack in the release guide.
@devinoldenburg

Copy link
Copy Markdown
Owner Author

Self-review:

  • Documents macOS 27.0+ requirement and the fail-fast error text.
  • Clarifies that doctor still runs on older hosts for diagnostics.
  • "os": ["darwin"] marks the package macOS-only on npm.
  • check:pack walks runtime imports and verifies the packed tarball (uses --ignore-scripts to avoid prepack recursion).
  • Rebased onto main after Enforce macOS 27+ before launching fm benchmarks #5.

Waiting on CI, then merging.

@devinoldenburg
devinoldenburg merged commit c2ceb85 into main Jul 17, 2026
1 check passed
@devinoldenburg
devinoldenburg deleted the macos-docs-and-pack branch July 17, 2026 14:50
@devinoldenburg devinoldenburg mentioned this pull request Jul 17, 2026
4 tasks
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