Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sqlite3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
node-sqlite3
Commits
b0332e78
Commit
b0332e78
authored
Apr 17, 2020
by
Jim Schlight
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update package.json for N-API builds
parent
5fc6fed8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
.gitignore
.gitignore
+2
-2
binding.gyp
binding.gyp
+2
-2
package.json
package.json
+5
-2
No files found.
.gitignore
View file @
b0332e78
...
...
@@ -24,4 +24,5 @@ test/nw/app.nw
local.env
.mason
.eslintrc.js
setup.sh
\ No newline at end of file
setup.sh
/build-tmp-napi-v3
binding.gyp
View file @
b0332e78
...
...
@@ -49,7 +49,7 @@
"src/node_sqlite3.cc",
"src/statement.cc"
],
"defines": [ "NAPI_VERSION=
3
", "NAPI_DISABLE_CPP_EXCEPTIONS=1" ]
"defines": [ "NAPI_VERSION=
<(napi_build_version)
", "NAPI_DISABLE_CPP_EXCEPTIONS=1" ]
},
{
"target_name": "action_after_build",
...
...
@@ -71,7 +71,7 @@
"destination": "<(module_path)"
}
],
"defines": [ "NAPI_VERSION=
3
", "NAPI_DISABLE_CPP_EXCEPTIONS=1" ]
"defines": [ "NAPI_VERSION=
<(napi_build_version)
", "NAPI_DISABLE_CPP_EXCEPTIONS=1" ]
}
]
}
package.json
View file @
b0332e78
...
...
@@ -9,10 +9,13 @@
},
"binary"
:
{
"module_name"
:
"node_sqlite3"
,
"module_path"
:
"./lib/binding/
{node_abi
}-{platform}-{arch}"
,
"module_path"
:
"./lib/binding/
napi-v{napi_build_version
}-{platform}-{arch}"
,
"host"
:
"https://mapbox-node-binary.s3.amazonaws.com"
,
"remote_path"
:
"./{name}/v{version}/{toolset}/"
,
"package_name"
:
"{node_abi}-{platform}-{arch}.tar.gz"
"package_name"
:
"napi-v{napi_build_version}-{platform}-{arch}.tar.gz"
,
"napi_versions"
:
[
3
]
},
"contributors"
:
[
"Konstantin Käfer <mail@kkaefer.com>"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment