Skip to content

Commit 21eb921

Browse files
author
Dennis P
committed
fix(node): force latest napi-cli for zig linker support
1 parent 514134a commit 21eb921

8 files changed

Lines changed: 14 additions & 9 deletions

File tree

.github/workflows/release-sdk-nodejs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,18 +79,18 @@ jobs:
7979

8080
- name: Install @napi-rs/cli
8181
working-directory: sdks/nodejs
82-
run: npm install -g @napi-rs/cli
82+
run: npm install -g @napi-rs/cli@latest
8383

8484
- name: Build
8585
working-directory: sdks/nodejs
8686
shell: bash
8787
run: |
8888
if [ "${{ matrix.zig }}" = "true" ]; then
89-
napi build --platform --release --target ${{ matrix.target }} --zig
89+
npx @napi-rs/cli build --platform --release --target ${{ matrix.target }} --zig
9090
elif [ "${{ matrix.cross }}" = "true" ]; then
91-
napi build --platform --release --target ${{ matrix.target }} --use-napi-cross
91+
npx @napi-rs/cli build --platform --release --target ${{ matrix.target }} --use-napi-cross
9292
else
93-
napi build --platform --release --target ${{ matrix.target }}
93+
npx @napi-rs/cli build --platform --release --target ${{ matrix.target }}
9494
fi
9595
9696
- name: Upload artifact

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ members = [
1010
resolver = "2"
1111

1212
[workspace.package]
13-
version = "0.1.9"
13+
version = "0.1.10"

sdks/flutter/dart/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99

1010

1111

12+
13+
## 0.1.10
14+
15+
- Release 0.1.10.
16+
1217
## 0.1.9
1318

1419
- Release 0.1.9.

sdks/flutter/dart/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: checkgate_flutter
22
description: Checkgate feature-flag SDK for Flutter — local evaluation via Rust FFI.
3-
version: 0.1.9
3+
version: 0.1.10
44
homepage: https://github.com/thinkgrid-labs/checkgate
55

66
environment:

sdks/nodejs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@checkgate/node",
3-
"version": "0.1.9",
3+
"version": "0.1.10",
44
"description": "Checkgate feature-flag SDK for Node.js — local evaluation via Rust NAPI.",
55
"main": "index.js",
66
"types": "index.d.ts",

sdks/react-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@checkgate/react-native",
3-
"version": "0.1.9",
3+
"version": "0.1.10",
44
"description": "Checkgate feature-flag SDK for React Native — local evaluation via Rust JSI.",
55
"main": "index.js",
66
"license": "MIT",

sdks/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@checkgate/web",
3-
"version": "0.1.9",
3+
"version": "0.1.10",
44
"description": "Checkgate feature-flag SDK for the web — local evaluation via WebAssembly.",
55
"main": "index.js",
66
"module": "index.js",
54.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)