npgsqlrest 1.2.0 → 1.2.2
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 +31 -31
- package/postinstall.js +1 -1
- package/readme.md +18 -4
package/package.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "npgsqlrest",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"description": "Automatic REST API for PostgreSQL Databases Client Build",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"postinstall": "node postinstall.js",
|
|
7
|
-
"uninstall": "node uninstall.js",
|
|
8
|
-
"start": "npx npgsqlrest ./appsettings.json ./npgsqlrest.json"
|
|
9
|
-
},
|
|
10
|
-
"bin": {
|
|
11
|
-
"npgsqlrest": "node_modules/.bin/npgsqlrest",
|
|
12
|
-
"npgsqlrest-config-copy": "./config-copy.js"
|
|
13
|
-
},
|
|
14
|
-
"repository": {
|
|
15
|
-
"type": "git",
|
|
16
|
-
"url": "git+https://github.com/vb-consulting/NpgsqlRest.git"
|
|
17
|
-
},
|
|
18
|
-
"keywords": [
|
|
19
|
-
"postgresql",
|
|
20
|
-
"server",
|
|
21
|
-
"rest",
|
|
22
|
-
"api",
|
|
23
|
-
"automatic"
|
|
24
|
-
],
|
|
25
|
-
"author": "vb-consulting",
|
|
26
|
-
"license": "MIT",
|
|
27
|
-
"bugs": {
|
|
28
|
-
"url": "https://github.com/vb-consulting/NpgsqlRest/issues"
|
|
29
|
-
},
|
|
30
|
-
"homepage": "https://github.com/vb-consulting/NpgsqlRest/blob/master/npm/readme.md"
|
|
31
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "npgsqlrest",
|
|
3
|
+
"version": "1.2.2",
|
|
4
|
+
"description": "Automatic REST API for PostgreSQL Databases Client Build",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"postinstall": "node postinstall.js",
|
|
7
|
+
"uninstall": "node uninstall.js",
|
|
8
|
+
"start": "npx npgsqlrest ./appsettings.json ./npgsqlrest.json"
|
|
9
|
+
},
|
|
10
|
+
"bin": {
|
|
11
|
+
"npgsqlrest": "node_modules/.bin/npgsqlrest",
|
|
12
|
+
"npgsqlrest-config-copy": "./config-copy.js"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/vb-consulting/NpgsqlRest.git"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"postgresql",
|
|
20
|
+
"server",
|
|
21
|
+
"rest",
|
|
22
|
+
"api",
|
|
23
|
+
"automatic"
|
|
24
|
+
],
|
|
25
|
+
"author": "vb-consulting",
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/vb-consulting/NpgsqlRest/issues"
|
|
29
|
+
},
|
|
30
|
+
"homepage": "https://github.com/vb-consulting/NpgsqlRest/blob/master/npm/readme.md"
|
|
31
|
+
}
|
package/postinstall.js
CHANGED
|
@@ -6,7 +6,7 @@ const os = require("os");
|
|
|
6
6
|
const https = require("https");
|
|
7
7
|
|
|
8
8
|
const downloadDir = "../.bin/";
|
|
9
|
-
const downloadFrom = "https://github.com/vb-consulting/NpgsqlRest/releases/download/v2.8.
|
|
9
|
+
const downloadFrom = "https://github.com/vb-consulting/NpgsqlRest/releases/download/v2.8.1-client-v1.2.1/";
|
|
10
10
|
|
|
11
11
|
function download(url, to, done) {
|
|
12
12
|
https.get(url, (response) => {
|
package/readme.md
CHANGED
|
@@ -100,13 +100,19 @@ $ npx npgsqlrest appsettings.json project-config.json
|
|
|
100
100
|
|
|
101
101
|
See the detailed change log here: [NpgsqlRest Changelog](https://vb-consulting.github.io/npgsqlrest/changelog/)
|
|
102
102
|
|
|
103
|
-
### 1.
|
|
103
|
+
### 1.2.2
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
```console
|
|
106
|
+
Versions:
|
|
107
|
+
Client Build 1.2.1.0
|
|
108
|
+
Npgsql 2.8.1.0
|
|
109
|
+
NpgsqlRest.HttpFiles 1.0.2.0
|
|
110
|
+
NpgsqlRest.TsClient 1.7.0.0
|
|
111
|
+
```
|
|
106
112
|
|
|
107
|
-
|
|
113
|
+
### 1.2.1
|
|
108
114
|
|
|
109
|
-
|
|
115
|
+
Fix readme
|
|
110
116
|
|
|
111
117
|
### 1.2.0
|
|
112
118
|
|
|
@@ -118,6 +124,14 @@ NpgsqlRest.HttpFiles 1.0.2.0
|
|
|
118
124
|
NpgsqlRest.TsClient 1.7.0.0
|
|
119
125
|
```
|
|
120
126
|
|
|
127
|
+
### 1.1.8
|
|
128
|
+
|
|
129
|
+
Changed the download target from `./node_modules/npgsqlrest/.bin/` to shared bin: `./node_modules/.bin/`.
|
|
130
|
+
|
|
131
|
+
The reason is that when using the `./node_modules/npgsqlrest/.bin/` directory, I have to use the node spawn process wrapper which slows down the startup time. When the executable is in the `./node_modules/.bin/` it can be invoked directly which is an extremely fast, almost instant startup (a couple of milliseconds).
|
|
132
|
+
|
|
133
|
+
But now, I have to use the uninstall script too, to ensure the proper cleanup on the install.
|
|
134
|
+
|
|
121
135
|
### 1.1.7
|
|
122
136
|
|
|
123
137
|
Update readme.
|