Skip to content

Commit c262689

Browse files
authored
Merge pull request #172 from noahbald/fix/171-fix-napi-pipeline
fix: #171 fix napi config
2 parents b36a9ea + 5f43a0c commit c262689

File tree

5 files changed

+51
-23
lines changed

5 files changed

+51
-23
lines changed

packages/napi/npm/darwin-arm64/package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22
"name": "@oxvg/napi-darwin-arm64",
33
"version": "0.0.3",
44
"repository": {
5-
"url": "https://github.com/noahbald/oxvg"
5+
"url": "git+https://github.com/noahbald/oxvg.git"
66
},
7-
"os": ["darwin"],
8-
"cpu": ["x64"],
7+
"os": [
8+
"darwin"
9+
],
10+
"cpu": [
11+
"x64"
12+
],
913
"main": "napi.darwin-arm64.node",
10-
"files": ["napi.darwin-arm64.node"],
14+
"files": [
15+
"napi.darwin-arm64.node"
16+
],
1117
"license": "MIT",
1218
"engines": {
1319
"node": ">= 10"

packages/napi/npm/darwin-x64/package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
{
22
"name": "@oxvg/napi-darwin-x64",
33
"version": "0.0.3",
4-
"os": ["darwin"],
4+
"os": [
5+
"darwin"
6+
],
57
"repository": {
6-
"url": "https://github.com/noahbald/oxvg"
8+
"url": "git+https://github.com/noahbald/oxvg.git"
79
},
8-
"cpu": ["x64"],
10+
"cpu": [
11+
"x64"
12+
],
913
"main": "napi.darwin-x64.node",
10-
"files": ["napi.darwin-x64.node"],
14+
"files": [
15+
"napi.darwin-x64.node"
16+
],
1117
"license": "MIT",
1218
"engines": {
1319
"node": ">= 10"
Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
{
22
"name": "@oxvg/napi-linux-x64-gnu",
33
"version": "0.0.3",
4-
"os": ["linux"],
4+
"os": [
5+
"linux"
6+
],
57
"repository": {
6-
"url": "https://github.com/noahbald/oxvg"
8+
"url": "git+https://github.com/noahbald/oxvg.git"
79
},
8-
"cpu": ["x64"],
10+
"cpu": [
11+
"x64"
12+
],
913
"main": "napi.linux-x64-gnu.node",
10-
"files": ["napi.linux-x64-gnu.node"],
14+
"files": [
15+
"napi.linux-x64-gnu.node"
16+
],
1117
"license": "MIT",
1218
"engines": {
1319
"node": ">= 10"
1420
},
15-
"libc": ["glibc"]
21+
"libc": [
22+
"glibc"
23+
]
1624
}

packages/napi/npm/win32-x64-msvc/package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
{
22
"name": "@oxvg/napi-win32-x64-msvc",
33
"version": "0.0.3",
4-
"os": ["win32"],
4+
"os": [
5+
"win32"
6+
],
57
"repository": {
6-
"url": "https://github.com/noahbald/oxvg"
8+
"url": "git+https://github.com/noahbald/oxvg.git"
79
},
8-
"cpu": ["x64"],
10+
"cpu": [
11+
"x64"
12+
],
913
"main": "napi.win32-x64-msvc.node",
10-
"files": ["napi.win32-x64-msvc.node"],
14+
"files": [
15+
"napi.win32-x64-msvc.node"
16+
],
1117
"license": "MIT",
1218
"engines": {
1319
"node": ">= 10"

packages/napi/package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,20 @@
1414
"version": "napi version"
1515
},
1616
"repository": {
17-
"url": "https://github.com/noahbald/oxvg",
17+
"url": "git+https://github.com/noahbald/oxvg.git",
1818
"type": "git"
1919
},
2020
"keywords": [],
2121
"author": "",
2222
"license": "MIT",
2323
"napi": {
24-
"name": "oxvg",
25-
"triples": {
26-
"defaults": true,
27-
"additional": ["aarch64-apple-darwin"]
28-
}
24+
"binaryName": "oxvg",
25+
"targets": [
26+
"x86_64-apple-darwin",
27+
"aarch64-apple-darwin",
28+
"x86_64-unknown-linux-gnu",
29+
"x86_64-pc-windows-msvc"
30+
]
2931
},
3032
"packageManager": "[email protected]",
3133
"devDependencies": {

0 commit comments

Comments
 (0)