From 12ffcf15f822561fb4693d58bf1c2de53d4bc152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rychli=C5=84ski=20Arkadiusz?= Date: Wed, 27 Jan 2021 14:09:09 +0100 Subject: [PATCH 1/5] chore: AR fork --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 083cd6f7c..ee8007695 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ ], "repository": { "type": "git", - "url": "git://github.com/mapbox/node-sqlite3.git" + "url": "https://github.com/ark76r/node-sqlite3.git" }, "dependencies": { "node-addon-api": "^3.0.0", @@ -65,7 +65,8 @@ "install": "node-pre-gyp install --fallback-to-build", "pretest": "node test/support/createdb.js", "test": "mocha -R spec --timeout 480000", - "pack": "node-pre-gyp package" + "rebuild": "node-pre-gyp rebuild", + "pack": "node-pre-gyp package" }, "license": "BSD-3-Clause", "keywords": [ From 6b8039903713adbb8d0653459b84fedc7b483092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rychli=C5=84ski=20Arkadiusz?= Date: Wed, 27 Jan 2021 14:21:02 +0100 Subject: [PATCH 2/5] chore: AR set new host for pre-gyp downloads --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ee8007695..87bcded2b 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "binary": { "module_name": "node_sqlite3", "module_path": "./lib/binding/napi-v{napi_build_version}-{platform}-{arch}", - "host": "https://mapbox-node-binary.s3.amazonaws.com", + "host": "https://github.com/ark76r/node-sqlite3/releases/download/v5.0.1", "remote_path": "./{name}/v{version}/{toolset}/", "package_name": "napi-v{napi_build_version}-{platform}-{arch}.tar.gz", "napi_versions": [ From d80a0a4239556aadd186a2005d5f564e3b11684e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rychli=C5=84ski=20Arkadiusz?= Date: Wed, 27 Jan 2021 14:43:10 +0100 Subject: [PATCH 3/5] fix: Fixed remote_path --- package.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 87bcded2b..345fdbc51 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ "binary": { "module_name": "node_sqlite3", "module_path": "./lib/binding/napi-v{napi_build_version}-{platform}-{arch}", - "host": "https://github.com/ark76r/node-sqlite3/releases/download/v5.0.1", - "remote_path": "./{name}/v{version}/{toolset}/", + "host": "https://github.com/ark76r/node-sqlite3/releases/download", + "remote_path": "./v{version}", "package_name": "napi-v{napi_build_version}-{platform}-{arch}.tar.gz", "napi_versions": [ 3, @@ -42,6 +42,7 @@ }, "dependencies": { "node-addon-api": "^3.0.0", + "node-gyp": "3.x", "node-pre-gyp": "^0.11.0" }, "devDependencies": { @@ -62,11 +63,11 @@ "node-gyp": "3.x" }, "scripts": { - "install": "node-pre-gyp install --fallback-to-build", + "install": "node-pre-gyp install", "pretest": "node test/support/createdb.js", "test": "mocha -R spec --timeout 480000", "rebuild": "node-pre-gyp rebuild", - "pack": "node-pre-gyp package" + "pack": "node-pre-gyp package" }, "license": "BSD-3-Clause", "keywords": [ From 317f1791bc70014bb716bb23d8e01716b0667845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rychli=C5=84ski=20Arkadiusz?= Date: Wed, 27 Jan 2021 15:36:25 +0100 Subject: [PATCH 4/5] fix: restore fallback-tobuild in install script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 345fdbc51..26e870cd4 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "node-gyp": "3.x" }, "scripts": { - "install": "node-pre-gyp install", + "install": "node-pre-gyp install --fallback-to-build", "pretest": "node test/support/createdb.js", "test": "mocha -R spec --timeout 480000", "rebuild": "node-pre-gyp rebuild", From 2a8f549074420c20384938493ebe0bf838644f7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rychli=C5=84ski=20Arkadiusz?= Date: Fri, 5 Feb 2021 20:12:18 +0100 Subject: [PATCH 5/5] fix: Update in .npmignore --- .npmignore | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.npmignore b/.npmignore index 05b181283..9416cb350 100644 --- a/.npmignore +++ b/.npmignore @@ -1,7 +1,7 @@ .gitignore .npmignore node_modules -lib/binding +#lib/binding build test benchmark @@ -17,4 +17,12 @@ local.env setup.sh cloudformation/ci.template.js appveyor.yml -.vscode \ No newline at end of file +.vscode +#ark +build-tmp-napi-v3 +build-tmp-napi-v6 +deps +scripts +tools +Dockerfile +src \ No newline at end of file