Skip to content

Commit 37b3fc6

Browse files
authored
Merge pull request #712 from zeromq/cmake-ts
fix: update cmake-ts to v0.5.3 + reduce indirect dependencies
2 parents 995973d + 796067f commit 37b3fc6

File tree

6 files changed

+50
-558
lines changed

6 files changed

+50
-558
lines changed

.github/workflows/CI.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ jobs:
132132
if: ${{ matrix.native }}
133133
run: pnpm run build.js
134134

135-
- name: Install Node 10
135+
- name: Install Node 12
136136
if: ${{ matrix.native && matrix.os != 'macos-14' }}
137137
uses: actions/setup-node@v4
138138
with:
139-
node-version: 10
139+
node-version: 12
140140
architecture: ${{ env.setup_node_arch }}
141141

142142
- name: Build Native
@@ -146,7 +146,7 @@ jobs:
146146
- name: Build Native Windows 32
147147
if: ${{ matrix.os == 'windows-2019' && matrix.node_arch == 'ia32' }}
148148
run:
149-
node ./node_modules/@aminya/cmake-ts/build/main.js named-configs
149+
node ./node_modules/cmake-ts/build/main.js named-configs
150150
windows-x86
151151

152152
- name: Use Node 20
@@ -292,7 +292,7 @@ jobs:
292292
- windows-2022
293293
- macos-13
294294
node-version:
295-
- 10
295+
- 12
296296
- 22
297297

298298
include:
@@ -305,7 +305,7 @@ jobs:
305305
node-version: ${{ matrix.node-version }}
306306

307307
- name: Install Yarn 1
308-
if: matrix.node-version == 10
308+
if: matrix.node-version == 12
309309
run: |
310310
npm i -g yarn@^1
311311
@@ -315,7 +315,7 @@ jobs:
315315
npm i -g yarn@latest
316316
317317
- name: Install Pnpm 5
318-
if: matrix.node-version == 10
318+
if: matrix.node-version == 12
319319
uses: pnpm/action-setup@v4
320320
with:
321321
version: 5

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ npm install zeromq
6767

6868
Supported versions:
6969

70-
- Node.js v10+ (requires a [N-API](https://nodejs.org/api/n-api.html))
70+
- Node.js v12+ (requires a [N-API](https://nodejs.org/api/n-api.html))
7171

7272
## Examples
7373

@@ -326,7 +326,7 @@ during build, you can build this package from source.
326326
Make sure you have the following installed before attempting to build from
327327
source:
328328

329-
- Node.js 10+ or Electron
329+
- Node.js 12+ or Electron
330330
- C++17 compiler toolchain (e.g. LLVM, GCC, MSVC)
331331
- Python 3
332332
- CMake 3.16+

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"homepage": "http://zeromq.github.io/zeromq.js/",
2121
"dependencies": {
22-
"@aminya/cmake-ts": "^0.3.0-aminya.7",
22+
"cmake-ts": "^0.5.3",
2323
"node-addon-api": "^8.3.0"
2424
},
2525
"devDependencies": {
@@ -67,7 +67,7 @@
6767
"which": "^5.0.0"
6868
},
6969
"engines": {
70-
"node": ">= 10",
70+
"node": ">= 12",
7171
"pnpm": ">= 9"
7272
},
7373
"overrides": {
@@ -254,4 +254,4 @@
254254
],
255255
"license": "MIT AND MPL-2.0",
256256
"author": "Amin Yahyaabadi <aminyahyaabadi74@gmail.com>, Rolf Timmermans <rolf@zxcv.nl>"
257-
}
257+
}

0 commit comments

Comments
 (0)