Skip to content

refactor: update build scripts and replace deno scripts with node.js …#25

Merged
DjDeveloperr merged 8 commits intomainfrom
fix-napi/ci
Feb 6, 2026
Merged

refactor: update build scripts and replace deno scripts with node.js …#25
DjDeveloperr merged 8 commits intomainfrom
fix-napi/ci

Conversation

@DjDeveloperr
Copy link
Collaborator

…for metadata generation, add CI that actually works

  • Changed the metagen script from Deno to Node.js in package.json.
  • Added new build scripts for libffi and metagen in package.json.
  • Updated CMakeLists to reflect the change from Deno to Node.js for metadata writing.
  • Removed obsolete Deno scripts related to build_libffi and metagen.
  • Deleted GitHub workflows for npm release and pull requests as part of the cleanup.

…for metadata generation, add CI that actually works

- Changed the `metagen` script from Deno to Node.js in `package.json`.
- Added new build scripts for `libffi` and `metagen` in `package.json`.
- Updated CMakeLists to reflect the change from Deno to Node.js for metadata writing.
- Removed obsolete Deno scripts related to `build_libffi` and `metagen`.
- Deleted GitHub workflows for npm release and pull requests as part of the cleanup.
- Removed the `prepare` script from `package.json`.
- Added a name to the CI workflow in `.github/workflows/ci.yml`.
- Updated `@nativescript/objc-node-api` dependency version to `^1.0.0-alpha.7` in both `packages/ios/package.json` and `packages/macos/package.json`.
…nd path management

- Refactored the script to use a helper function for path resolution, improving readability and maintainability.
- Updated environment variable handling to ensure consistent usage across commands.
- Added error handling for the configuration step to run autogen if necessary.
- Adjusted file copy operations to utilize the new path helper for better clarity.
@DjDeveloperr DjDeveloperr merged commit 68c2bfc into main Feb 6, 2026
1 check passed
@DjDeveloperr DjDeveloperr deleted the fix-napi/ci branch February 6, 2026 15:55
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