@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 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.22",
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.19",
34
- "@verdaccio/config": "6.0.0-6-next.12",
35
- "@verdaccio/core": "6.0.0-6-next.4",
36
- "@verdaccio/hooks": "6.0.0-6-next.12",
37
- "@verdaccio/logger": "6.0.0-6-next.10",
38
- "@verdaccio/middleware": "6.0.0-6-next.19",
39
- "@verdaccio/store": "6.0.0-6-next.19",
40
- "@verdaccio/utils": "6.0.0-6-next.10",
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.27",
53
- "@verdaccio/types": "11.0.0-6-next.10",
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));
@@ -18,7 +18,7 @@ publish:
18
18
 
19
19
  uplinks:
20
20
 
21
- logs: { type: stdout, format: pretty, level: trace }
21
+ log: { type: stdout, format: pretty, level: trace }
22
22
 
23
23
  packages:
24
24
  '@*/*':
@@ -11,7 +11,7 @@ web:
11
11
 
12
12
  uplinks:
13
13
 
14
- logs: { type: stdout, format: pretty, level: trace }
14
+ log: { type: stdout, format: pretty, level: trace }
15
15
 
16
16
  packages:
17
17
  '@*/*':
@@ -18,7 +18,7 @@ publish:
18
18
 
19
19
  uplinks:
20
20
 
21
- logs: { type: stdout, format: pretty, level: trace }
21
+ log: { type: stdout, format: pretty, level: trace }
22
22
 
23
23
  packages:
24
24
  '@*/*':
@@ -17,7 +17,7 @@ uplinks:
17
17
  npmjs:
18
18
  url: https://registry.npmjs.org/
19
19
 
20
- logs: { type: stdout, format: pretty, level: trace }
20
+ log: { type: stdout, format: pretty, level: trace }
21
21
 
22
22
  packages:
23
23
  '@*/*':
@@ -17,7 +17,7 @@ uplinks:
17
17
  npmjs:
18
18
  url: https://registry.npmjs.org/
19
19
 
20
- logs: { type: stdout, format: pretty, level: trace }
20
+ log: { type: stdout, format: pretty, level: trace }
21
21
 
22
22
  packages:
23
23
  '@*/*':
@@ -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';