Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add basic gyp support #106

Merged
merged 22 commits into from
Jan 29, 2024
Merged

feat: add basic gyp support #106

merged 22 commits into from
Jan 29, 2024

Conversation

toyobayashi
Copy link
Owner

#23

@toyobayashi
Copy link
Owner Author

Known issue: static library doesn't work

nodejs/gyp-next#222

@toyobayashi toyobayashi merged commit d9ac1b5 into main Jan 29, 2024
5 checks passed
@toyobayashi toyobayashi deleted the basic-node-gyp-support branch January 29, 2024 16:00
Brooooooklyn referenced this pull request in napi-rs/node-rs Feb 2, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@emnapi/runtime](https://togithub.com/toyobayashi/emnapi) | [`^0.45.0` -> `^1.0.0`](https://renovatebot.com/diffs/npm/@emnapi%2fruntime/0.45.0/1.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@emnapi%2fruntime/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@emnapi%2fruntime/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@emnapi%2fruntime/0.45.0/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@emnapi%2fruntime/0.45.0/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>toyobayashi/emnapi (@&#8203;emnapi/runtime)</summary>

### [`v1.0.0`](https://togithub.com/toyobayashi/emnapi/releases/tag/v1.0.0)

[Compare Source](https://togithub.com/toyobayashi/emnapi/compare/v0.45.0...v1.0.0)

#### What's Changed

-   refactor: migrate `@emnapi/core` to typescript by [@&#8203;toyobayashi](https://togithub.com/toyobayashi) in [https://github.com/toyobayashi/emnapi/pull/100](https://togithub.com/toyobayashi/emnapi/pull/100)
-   fix: improve `getUnsharedTextDecoderView` by [@&#8203;toyobayashi](https://togithub.com/toyobayashi) in [https://github.com/toyobayashi/emnapi/pull/101](https://togithub.com/toyobayashi/emnapi/pull/101)
-   feat: add a prepare script by [@&#8203;mmomtchev](https://togithub.com/mmomtchev) in [https://github.com/toyobayashi/emnapi/pull/104](https://togithub.com/toyobayashi/emnapi/pull/104)
-   fix: truncate number in `napi_get_value_{int32,uint32,int64}` by [@&#8203;toyobayashi](https://togithub.com/toyobayashi) in [https://github.com/toyobayashi/emnapi/pull/105](https://togithub.com/toyobayashi/emnapi/pull/105)
-   feat: add basic gyp support by [@&#8203;toyobayashi](https://togithub.com/toyobayashi) in [https://github.com/toyobayashi/emnapi/pull/106](https://togithub.com/toyobayashi/emnapi/pull/106)
-   build: add `wasm64-emscripten` prebuilt libraries by [@&#8203;toyobayashi](https://togithub.com/toyobayashi) in [https://github.com/toyobayashi/emnapi/pull/106](https://togithub.com/toyobayashi/emnapi/pull/106)

#### Breaking Changes

The headers location is changed from `node_modules/emnapi/include` to `node_modules/emnapi/include/node`

```bash

### old
### emcc ... -Inode_modules/emnapi/include

### new
emcc ... -Inode_modules/emnapi/include/node
```

#### New Contributors

-   [@&#8203;mmomtchev](https://togithub.com/mmomtchev) made their first contribution in [https://github.com/toyobayashi/emnapi/pull/104](https://togithub.com/toyobayashi/emnapi/pull/104)

**Full Changelog**: toyobayashi/emnapi@v0.45.0...v1.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/napi-rs/node-rs).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
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