@verdaccio/node-api 7.0.0-next.4 → 7.0.0-next.5
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/CHANGELOG.md +18 -7
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @verdaccio/node-api
|
|
2
2
|
|
|
3
|
+
## 7.0.0-next.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [f047cc8]
|
|
8
|
+
- @verdaccio/server@7.0.0-next.5
|
|
9
|
+
- @verdaccio/core@7.0.0-next.5
|
|
10
|
+
- @verdaccio/config@7.0.0-next.5
|
|
11
|
+
- @verdaccio/logger@7.0.0-next.5
|
|
12
|
+
- @verdaccio/server-fastify@7.0.0-next.5
|
|
13
|
+
|
|
3
14
|
## 7.0.0-next.4
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -204,12 +215,12 @@
|
|
|
204
215
|
- 8f43bf17d: feat: node api new structure based on promise
|
|
205
216
|
|
|
206
217
|
```js
|
|
207
|
-
import { runServer } from
|
|
218
|
+
import { runServer } from "@verdaccio/node-api";
|
|
208
219
|
// or
|
|
209
|
-
import { runServer } from
|
|
220
|
+
import { runServer } from "verdaccio";
|
|
210
221
|
|
|
211
222
|
const app = await runServer(); // default configuration
|
|
212
|
-
const app = await runServer(
|
|
223
|
+
const app = await runServer("./config/config.yaml");
|
|
213
224
|
const app = await runServer({ configuration });
|
|
214
225
|
app.listen(4000, (event) => {
|
|
215
226
|
// do something
|
|
@@ -1087,14 +1098,14 @@
|
|
|
1087
1098
|
- 5c5057fc: feat: node api new structure based on promise
|
|
1088
1099
|
|
|
1089
1100
|
```js
|
|
1090
|
-
import { runServer } from
|
|
1101
|
+
import { runServer } from "@verdaccio/node-api";
|
|
1091
1102
|
// or
|
|
1092
|
-
import { runServer } from
|
|
1103
|
+
import { runServer } from "verdaccio";
|
|
1093
1104
|
|
|
1094
1105
|
const app = await runServer(); // default configuration
|
|
1095
|
-
const app = await runServer(
|
|
1106
|
+
const app = await runServer("./config/config.yaml");
|
|
1096
1107
|
const app = await runServer({ configuration });
|
|
1097
|
-
app.listen(4000, event => {
|
|
1108
|
+
app.listen(4000, (event) => {
|
|
1098
1109
|
// do something
|
|
1099
1110
|
});
|
|
1100
1111
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdaccio/node-api",
|
|
3
|
-
"version": "7.0.0-next.
|
|
3
|
+
"version": "7.0.0-next.5",
|
|
4
4
|
"description": "node API",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -29,20 +29,20 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@verdaccio/
|
|
33
|
-
"@verdaccio/
|
|
34
|
-
"@verdaccio/logger": "7.0.0-next.
|
|
35
|
-
"@verdaccio/server": "7.0.0-next.
|
|
36
|
-
"@verdaccio/server-fastify": "7.0.0-next.
|
|
37
|
-
"core-js": "3.
|
|
32
|
+
"@verdaccio/config": "7.0.0-next.5",
|
|
33
|
+
"@verdaccio/core": "7.0.0-next.5",
|
|
34
|
+
"@verdaccio/logger": "7.0.0-next.5",
|
|
35
|
+
"@verdaccio/server": "7.0.0-next.5",
|
|
36
|
+
"@verdaccio/server-fastify": "7.0.0-next.5",
|
|
37
|
+
"core-js": "3.35.0",
|
|
38
38
|
"debug": "4.3.4",
|
|
39
39
|
"lodash": "4.17.21"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@verdaccio/types": "12.0.0-next.
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
42
|
+
"@verdaccio/types": "12.0.0-next.2",
|
|
43
|
+
"jest": "29.7.0",
|
|
44
|
+
"selfsigned": "2.4.1",
|
|
45
|
+
"supertest": "6.3.3"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|