@verdaccio/api 6.0.0-6-next.21 → 6.0.0-6-next.24

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,72 @@
1
1
  # @verdaccio/api
2
2
 
3
+ ## 6.0.0-6-next.24
4
+
5
+ ### Major Changes
6
+
7
+ - 82cb0f2b: feat!: config.logs throw an error, logging config not longer accept array or logs property
8
+
9
+ ### 💥 Breaking change
10
+
11
+ This is valid
12
+
13
+ ```yaml
14
+ log: { type: stdout, format: pretty, level: http }
15
+ ```
16
+
17
+ This is invalid
18
+
19
+ ```yaml
20
+ logs: { type: stdout, format: pretty, level: http }
21
+ ```
22
+
23
+ or
24
+
25
+ ```yaml
26
+ logs:
27
+ - [{ type: stdout, format: pretty, level: http }]
28
+ ```
29
+
30
+ ### Minor Changes
31
+
32
+ - 5167bb52: feat: ui search support for remote, local and private packages
33
+
34
+ The command `npm search` search globally and return all matches, with this improvement the user interface
35
+ is powered with the same capabilities.
36
+
37
+ The UI also tag where is the origin the package with a tag, also provide the latest version and description of the package.
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies [82cb0f2b]
42
+ - Updated dependencies [5167bb52]
43
+ - @verdaccio/config@6.0.0-6-next.13
44
+ - @verdaccio/core@6.0.0-6-next.5
45
+ - @verdaccio/logger@6.0.0-6-next.11
46
+ - @verdaccio/store@6.0.0-6-next.21
47
+ - @verdaccio/auth@6.0.0-6-next.21
48
+ - @verdaccio/hooks@6.0.0-6-next.13
49
+ - @verdaccio/middleware@6.0.0-6-next.21
50
+ - @verdaccio/utils@6.0.0-6-next.11
51
+
52
+ ## 6.0.0-6-next.23
53
+
54
+ ### Patch Changes
55
+
56
+ - @verdaccio/auth@6.0.0-6-next.20
57
+ - @verdaccio/store@6.0.0-6-next.20
58
+ - @verdaccio/hooks@6.0.0-6-next.12
59
+ - @verdaccio/middleware@6.0.0-6-next.20
60
+
61
+ ## 6.0.0-6-next.22
62
+
63
+ ### Patch Changes
64
+
65
+ - Updated dependencies [aeff267d]
66
+ - @verdaccio/auth@6.0.0-6-next.19
67
+ - @verdaccio/hooks@6.0.0-6-next.12
68
+ - @verdaccio/middleware@6.0.0-6-next.19
69
+
3
70
  ## 6.0.0-6-next.21
4
71
 
5
72
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdaccio/api",
3
- "version": "6.0.0-6-next.21",
3
+ "version": "6.0.0-6-next.24",
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.18",
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.18",
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.21",
34
+ "@verdaccio/config": "6.0.0-6-next.13",
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.21",
39
+ "@verdaccio/store": "6.0.0-6-next.21",
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.26",
53
- "@verdaccio/types": "11.0.0-6-next.10",
54
- "@verdaccio/helper": "1.0.0",
52
+ "@verdaccio/server": "6.0.0-6-next.29",
53
+ "@verdaccio/types": "11.0.0-6-next.11",
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';