npgsqlrest 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/postinstall.js +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "npgsqlrest",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Automatic REST API for PostgreSQL Databases Client Build",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"postinstall": "node postinstall.js",
|
|
7
7
|
"start": "npx npgsqlrest ./appsettings.json ./npgsqlrest.json"
|
|
8
8
|
},
|
|
9
|
-
"bin": "node_modules/.bin/npgsqlrest
|
|
9
|
+
"bin": "node_modules/.bin/npgsqlrest",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "git+https://github.com/vb-consulting/NpgsqlRest.git"
|
package/postinstall.js
CHANGED
|
@@ -39,7 +39,7 @@ if (osType === "Windows_NT") {
|
|
|
39
39
|
downloadTo = `${downloadDir}npgsqlrest.exe`;
|
|
40
40
|
} else if (osType === "Linux") {
|
|
41
41
|
downloadFileUrl = `${downloadFrom}npgsqlrest-linux64`;
|
|
42
|
-
downloadTo = `${downloadDir}npgsqlrest
|
|
42
|
+
downloadTo = `${downloadDir}npgsqlrest`;
|
|
43
43
|
} else {
|
|
44
44
|
console.error("Unsupported OS detected:", osType);
|
|
45
45
|
process.exit(1);
|