@verdaccio/types 11.0.0-6-next.19 → 11.0.0-6-next.21
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 +12 -0
- package/build/configuration.d.ts +3 -3
- package/build/plugins/index.d.ts +1 -1
- package/build/plugins/storage.d.ts +2 -2
- package/build/types.d.ts +5 -5
- package/package.json +2 -2
- package/src/configuration.ts +3 -3
- package/src/plugins/index.ts +1 -1
- package/src/plugins/storage.ts +2 -2
- package/src/types.ts +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 11.0.0-6-next.21
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4fc21146: fix: missing logo on header
|
|
8
|
+
|
|
9
|
+
## 11.0.0-6-next.20
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 45c03819: refactor: render html middleware
|
|
14
|
+
|
|
3
15
|
## 11.0.0-6-next.19
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/build/configuration.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PackageAccess, PackageList } from '
|
|
1
|
+
import { PackageAccess, PackageList } from '@verdaccio/types/src/manifest';
|
|
2
2
|
export type TypeToken = 'Bearer' | 'Basic';
|
|
3
3
|
export interface Logger {
|
|
4
4
|
child: (conf: any) => any;
|
|
@@ -101,7 +101,6 @@ export type TemplateUIOptions = {
|
|
|
101
101
|
base: string;
|
|
102
102
|
primaryColor: string;
|
|
103
103
|
version?: string;
|
|
104
|
-
logoURI?: string;
|
|
105
104
|
flags: FlagsConfig;
|
|
106
105
|
} & CommonWebConf;
|
|
107
106
|
/**
|
|
@@ -205,6 +204,7 @@ export interface ConfigYaml {
|
|
|
205
204
|
store?: any;
|
|
206
205
|
listen?: ListenAddress;
|
|
207
206
|
https?: HttpsConf;
|
|
207
|
+
user_agent?: string;
|
|
208
208
|
http_proxy?: string;
|
|
209
209
|
plugins?: string | void | null;
|
|
210
210
|
https_proxy?: string;
|
|
@@ -217,6 +217,7 @@ export interface ConfigYaml {
|
|
|
217
217
|
url_prefix?: string;
|
|
218
218
|
server?: ServerSettingsConf;
|
|
219
219
|
flags?: FlagsConfig;
|
|
220
|
+
userRateLimit?: RateLimit;
|
|
220
221
|
config_path?: string;
|
|
221
222
|
configPath?: string;
|
|
222
223
|
}
|
|
@@ -226,7 +227,6 @@ export interface ConfigYaml {
|
|
|
226
227
|
* @extends {ConfigYaml}
|
|
227
228
|
*/
|
|
228
229
|
export interface Config extends Omit<ConfigYaml, 'packages' | 'security' | 'configPath'> {
|
|
229
|
-
user_agent: string;
|
|
230
230
|
server_id: string;
|
|
231
231
|
secret: string;
|
|
232
232
|
configPath: string;
|
package/build/plugins/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '@verdaccio/types/src/plugins/storage';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Callback, CallbackAction } from '
|
|
2
|
-
import { Manifest, Token } from '
|
|
1
|
+
import { Callback, CallbackAction } from '@verdaccio/types/src/commons';
|
|
2
|
+
import { Manifest, Token } from '@verdaccio/types/src/manifest';
|
|
3
3
|
export type StorageList = string[];
|
|
4
4
|
export interface ILocalStorage {
|
|
5
5
|
add(name: string): void;
|
package/build/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
1
|
+
export * from '@verdaccio/types/src/plugins';
|
|
2
|
+
export * from '@verdaccio/types/src/manifest';
|
|
3
|
+
export * from '@verdaccio/types/src/search';
|
|
4
|
+
export * from '@verdaccio/types/src/commons';
|
|
5
|
+
export * from '@verdaccio/types/src/configuration';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdaccio/types",
|
|
3
|
-
"version": "11.0.0-6-next.
|
|
3
|
+
"version": "11.0.0-6-next.21",
|
|
4
4
|
"description": "verdaccio types definitions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"private",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"types": "build/types.d.ts",
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "16.18.10",
|
|
37
|
-
"typedoc": "0.23.
|
|
37
|
+
"typedoc": "0.23.25"
|
|
38
38
|
},
|
|
39
39
|
"typedoc": {
|
|
40
40
|
"entryPoint": "./src/types.ts",
|
package/src/configuration.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PackageAccess, PackageList } from '
|
|
1
|
+
import { PackageAccess, PackageList } from '@verdaccio/types/src/manifest';
|
|
2
2
|
|
|
3
3
|
export type TypeToken = 'Bearer' | 'Basic';
|
|
4
4
|
|
|
@@ -128,7 +128,6 @@ export type TemplateUIOptions = {
|
|
|
128
128
|
base: string;
|
|
129
129
|
primaryColor: string;
|
|
130
130
|
version?: string;
|
|
131
|
-
logoURI?: string;
|
|
132
131
|
flags: FlagsConfig;
|
|
133
132
|
} & CommonWebConf;
|
|
134
133
|
|
|
@@ -252,6 +251,7 @@ export interface ConfigYaml {
|
|
|
252
251
|
store?: any;
|
|
253
252
|
listen?: ListenAddress;
|
|
254
253
|
https?: HttpsConf;
|
|
254
|
+
user_agent?: string;
|
|
255
255
|
http_proxy?: string;
|
|
256
256
|
plugins?: string | void | null;
|
|
257
257
|
https_proxy?: string;
|
|
@@ -264,6 +264,7 @@ export interface ConfigYaml {
|
|
|
264
264
|
url_prefix?: string;
|
|
265
265
|
server?: ServerSettingsConf;
|
|
266
266
|
flags?: FlagsConfig;
|
|
267
|
+
userRateLimit?: RateLimit;
|
|
267
268
|
// internal objects, added by internal yaml to JS config parser
|
|
268
269
|
// @deprecated use configPath instead
|
|
269
270
|
config_path?: string;
|
|
@@ -277,7 +278,6 @@ export interface ConfigYaml {
|
|
|
277
278
|
* @extends {ConfigYaml}
|
|
278
279
|
*/
|
|
279
280
|
export interface Config extends Omit<ConfigYaml, 'packages' | 'security' | 'configPath'> {
|
|
280
|
-
user_agent: string;
|
|
281
281
|
server_id: string;
|
|
282
282
|
secret: string;
|
|
283
283
|
// save the configuration file path, it's fails without thi configPath
|
package/src/plugins/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '@verdaccio/types/src/plugins/storage';
|
package/src/plugins/storage.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Callback, CallbackAction } from '
|
|
2
|
-
import { Manifest, Token } from '
|
|
1
|
+
import { Callback, CallbackAction } from '@verdaccio/types/src/commons';
|
|
2
|
+
import { Manifest, Token } from '@verdaccio/types/src/manifest';
|
|
3
3
|
|
|
4
4
|
export type StorageList = string[];
|
|
5
5
|
|
package/src/types.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
1
|
+
export * from '@verdaccio/types/src/plugins';
|
|
2
|
+
export * from '@verdaccio/types/src/manifest';
|
|
3
|
+
export * from '@verdaccio/types/src/search';
|
|
4
|
+
export * from '@verdaccio/types/src/commons';
|
|
5
|
+
export * from '@verdaccio/types/src/configuration';
|