Skip to content

fix(packaging): prepare native library for npm distribution - #6

Merged
MalcolmTomisin merged 4 commits into
mainfrom
fix-publishing-requirements
Sep 19, 2026
Merged

MalcolmTomisin merged 4 commits into
mainfrom
fix-publishing-requirements

Conversation

@MalcolmTomisin

Copy link
Copy Markdown
Owner

Summary

  • Include vendored ARCore and GLM dependencies in the npm package.
  • Resolve Android headers relative to the installed library.
  • Align podspec source tags with v-prefixed releases.
  • Remove the stale react-native.config.js package entry.
  • Add package-content validation to CI.

Validation

  • Package build, content checks, and negative cases passed.
  • Lint and TypeScript checks passed.
  • Independent Android consumer build passed.
  • iOS autolinking and CocoaPods passed; compilation blocked by the existing deployment-target incompatibility.

- Ship ARCore and GLM headers, inline implementations, and licenses.
- Remove the nonexistent react-native.config.js entry.
Remove the dependency on the example project’s directory layout.
Use v${version} tags consistently with release-it.
- Add yarn check:package.
- Require entry points, bindings, native sources, headers, and assets.
- Reject development artifacts and report missing or unexpected files.
@MalcolmTomisin
MalcolmTomisin merged commit d39f3b2 into main Sep 19, 2026
6 checks passed
MalcolmTomisin added a commit that referenced this pull request Sep 24, 2026
* fix(packaging): include vendored native dependencies

- Ship ARCore and GLM headers, inline implementations, and licenses.
- Remove the nonexistent react-native.config.js entry.

* fix(android): resolve ARCore headers relative to the library

Remove the dependency on the example project’s directory layout.

* fix(ios): align podspec source tags with release tags

Use v${version} tags consistently with release-it.

* ci(packaging): validate npm package contents after build

- Add yarn check:package.
- Require entry points, bindings, native sources, headers, and assets.
- Reject development artifacts and report missing or unexpected files.
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