@verdaccio/api 6.0.0-6-next.22 → 6.0.0-6-next.25
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 +72 -0
- package/package.json +12 -12
- package/test/integration/_helper.ts +2 -1
- package/test/integration/config/package.yaml +1 -1
- package/test/integration/config/ping.yaml +1 -1
- package/test/integration/config/publish.yaml +1 -1
- package/test/integration/config/user.yaml +1 -1
- package/test/integration/config/whoami.yaml +1 -1
- package/test/integration/publish.spec.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,77 @@
|
|
|
1
1
|
# @verdaccio/api
|
|
2
2
|
|
|
3
|
+
## 6.0.0-6-next.25
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [d43894e8]
|
|
8
|
+
- Updated dependencies [d08fe29d]
|
|
9
|
+
- @verdaccio/config@6.0.0-6-next.14
|
|
10
|
+
- @verdaccio/auth@6.0.0-6-next.22
|
|
11
|
+
- @verdaccio/hooks@6.0.0-6-next.13
|
|
12
|
+
- @verdaccio/store@6.0.0-6-next.22
|
|
13
|
+
- @verdaccio/core@6.0.0-6-next.5
|
|
14
|
+
- @verdaccio/logger@6.0.0-6-next.11
|
|
15
|
+
- @verdaccio/middleware@6.0.0-6-next.22
|
|
16
|
+
|
|
17
|
+
## 6.0.0-6-next.24
|
|
18
|
+
|
|
19
|
+
### Major Changes
|
|
20
|
+
|
|
21
|
+
- 82cb0f2b: feat!: config.logs throw an error, logging config not longer accept array or logs property
|
|
22
|
+
|
|
23
|
+
### 💥 Breaking change
|
|
24
|
+
|
|
25
|
+
This is valid
|
|
26
|
+
|
|
27
|
+
```yaml
|
|
28
|
+
log: { type: stdout, format: pretty, level: http }
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
This is invalid
|
|
32
|
+
|
|
33
|
+
```yaml
|
|
34
|
+
logs: { type: stdout, format: pretty, level: http }
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
or
|
|
38
|
+
|
|
39
|
+
```yaml
|
|
40
|
+
logs:
|
|
41
|
+
- [{ type: stdout, format: pretty, level: http }]
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Minor Changes
|
|
45
|
+
|
|
46
|
+
- 5167bb52: feat: ui search support for remote, local and private packages
|
|
47
|
+
|
|
48
|
+
The command `npm search` search globally and return all matches, with this improvement the user interface
|
|
49
|
+
is powered with the same capabilities.
|
|
50
|
+
|
|
51
|
+
The UI also tag where is the origin the package with a tag, also provide the latest version and description of the package.
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- Updated dependencies [82cb0f2b]
|
|
56
|
+
- Updated dependencies [5167bb52]
|
|
57
|
+
- @verdaccio/config@6.0.0-6-next.13
|
|
58
|
+
- @verdaccio/core@6.0.0-6-next.5
|
|
59
|
+
- @verdaccio/logger@6.0.0-6-next.11
|
|
60
|
+
- @verdaccio/store@6.0.0-6-next.21
|
|
61
|
+
- @verdaccio/auth@6.0.0-6-next.21
|
|
62
|
+
- @verdaccio/hooks@6.0.0-6-next.13
|
|
63
|
+
- @verdaccio/middleware@6.0.0-6-next.21
|
|
64
|
+
- @verdaccio/utils@6.0.0-6-next.11
|
|
65
|
+
|
|
66
|
+
## 6.0.0-6-next.23
|
|
67
|
+
|
|
68
|
+
### Patch Changes
|
|
69
|
+
|
|
70
|
+
- @verdaccio/auth@6.0.0-6-next.20
|
|
71
|
+
- @verdaccio/store@6.0.0-6-next.20
|
|
72
|
+
- @verdaccio/hooks@6.0.0-6-next.12
|
|
73
|
+
- @verdaccio/middleware@6.0.0-6-next.20
|
|
74
|
+
|
|
3
75
|
## 6.0.0-6-next.22
|
|
4
76
|
|
|
5
77
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdaccio/api",
|
|
3
|
-
"version": "6.0.0-6-next.
|
|
3
|
+
"version": "6.0.0-6-next.25",
|
|
4
4
|
"description": "loaders logic",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
},
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@verdaccio/auth": "6.0.0-6-next.
|
|
34
|
-
"@verdaccio/config": "6.0.0-6-next.
|
|
35
|
-
"@verdaccio/core": "6.0.0-6-next.
|
|
36
|
-
"@verdaccio/hooks": "6.0.0-6-next.
|
|
37
|
-
"@verdaccio/logger": "6.0.0-6-next.
|
|
38
|
-
"@verdaccio/middleware": "6.0.0-6-next.
|
|
39
|
-
"@verdaccio/store": "6.0.0-6-next.
|
|
40
|
-
"@verdaccio/utils": "6.0.0-6-next.
|
|
33
|
+
"@verdaccio/auth": "6.0.0-6-next.22",
|
|
34
|
+
"@verdaccio/config": "6.0.0-6-next.14",
|
|
35
|
+
"@verdaccio/core": "6.0.0-6-next.5",
|
|
36
|
+
"@verdaccio/hooks": "6.0.0-6-next.13",
|
|
37
|
+
"@verdaccio/logger": "6.0.0-6-next.11",
|
|
38
|
+
"@verdaccio/middleware": "6.0.0-6-next.22",
|
|
39
|
+
"@verdaccio/store": "6.0.0-6-next.22",
|
|
40
|
+
"@verdaccio/utils": "6.0.0-6-next.11",
|
|
41
41
|
"abortcontroller-polyfill": "1.7.3",
|
|
42
42
|
"cookies": "0.8.0",
|
|
43
43
|
"debug": "4.3.3",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/node": "16.11.21",
|
|
52
|
-
"@verdaccio/server": "6.0.0-6-next.
|
|
53
|
-
"@verdaccio/types": "11.0.0-6-next.
|
|
54
|
-
"@verdaccio/helper": "1.0.0",
|
|
52
|
+
"@verdaccio/server": "6.0.0-6-next.30",
|
|
53
|
+
"@verdaccio/types": "11.0.0-6-next.12",
|
|
54
|
+
"@verdaccio/test-helper": "1.1.0-6-next.0",
|
|
55
55
|
"supertest": "6.2.2"
|
|
56
56
|
},
|
|
57
57
|
"funding": {
|
|
@@ -6,9 +6,9 @@ import supertest from 'supertest';
|
|
|
6
6
|
import { Auth, IAuth } from '@verdaccio/auth';
|
|
7
7
|
import { Config, parseConfigFile } from '@verdaccio/config';
|
|
8
8
|
import { HEADERS, HEADER_TYPE, HTTP_STATUS } from '@verdaccio/core';
|
|
9
|
-
import { generatePackageMetadata } from '@verdaccio/helper';
|
|
10
9
|
import { errorReportingMiddleware, final, handleError } from '@verdaccio/middleware';
|
|
11
10
|
import { Storage } from '@verdaccio/store';
|
|
11
|
+
import { generatePackageMetadata } from '@verdaccio/test-helper';
|
|
12
12
|
|
|
13
13
|
import apiEndpoints from '../../src';
|
|
14
14
|
|
|
@@ -18,6 +18,7 @@ const getConf = (conf) => {
|
|
|
18
18
|
return parseConfigFile(configPath);
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
+
// TODO: replace by @verdaccio/test-helper
|
|
21
22
|
export async function initializeServer(configName): Promise<Application> {
|
|
22
23
|
const app = express();
|
|
23
24
|
const config = new Config(getConf(configName));
|
|
@@ -2,7 +2,7 @@ import supertest from 'supertest';
|
|
|
2
2
|
|
|
3
3
|
import { HTTP_STATUS } from '@verdaccio/core';
|
|
4
4
|
import { API_ERROR, API_MESSAGE, HEADERS, HEADER_TYPE } from '@verdaccio/core';
|
|
5
|
-
import { generatePackageMetadata } from '@verdaccio/helper';
|
|
5
|
+
import { generatePackageMetadata } from '@verdaccio/test-helper';
|
|
6
6
|
|
|
7
7
|
import { $RequestExtend, $ResponseExtend } from '../../types/custom';
|
|
8
8
|
import { initializeServer, publishVersion } from './_helper';
|