@verdaccio/types 10.2.2 → 10.4.1
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 -0
- package/index.d.ts +22 -12
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 10.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- aaf0da4: fix: self_path correct property
|
|
8
|
+
|
|
9
|
+
## 10.4.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 00e4afd: feat: update configuration types
|
|
14
|
+
|
|
15
|
+
## 10.3.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- 803c518: chore: update core dependencies
|
|
20
|
+
|
|
3
21
|
## 10.2.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/index.d.ts
CHANGED
|
@@ -347,39 +347,49 @@ declare module '@verdaccio/types' {
|
|
|
347
347
|
api: APITokenOptions;
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
-
type
|
|
351
|
-
|
|
350
|
+
export type ServerSettingsConf = {
|
|
351
|
+
// express-rate-limit settings
|
|
352
352
|
rateLimit: RateLimit;
|
|
353
|
+
keepAliveTimeout?: number;
|
|
353
354
|
};
|
|
354
355
|
|
|
355
|
-
interface
|
|
356
|
-
user_agent?: string | boolean;
|
|
357
|
-
userRateLimit: RateLimit;
|
|
358
|
-
server_id: any;
|
|
356
|
+
interface ConfigYaml {
|
|
359
357
|
_debug?: boolean;
|
|
360
|
-
server?: Server;
|
|
361
358
|
storage?: string | void;
|
|
362
|
-
plugins?: string | void;
|
|
363
|
-
secret: string;
|
|
364
|
-
self_path: string;
|
|
365
359
|
packages: PackageList;
|
|
366
360
|
uplinks: UpLinksConfList;
|
|
367
|
-
|
|
361
|
+
// FUTURE: log should be mandatory
|
|
362
|
+
logs?: LoggerConfItem;
|
|
368
363
|
web?: WebConf;
|
|
369
364
|
auth?: AuthConf;
|
|
370
365
|
security: Security;
|
|
371
366
|
publish?: PublishOptions;
|
|
372
|
-
url_prefix?: string;
|
|
373
367
|
store?: any;
|
|
374
368
|
listen?: ListenAddress;
|
|
375
369
|
https?: HttpsConf;
|
|
376
370
|
http_proxy?: string;
|
|
371
|
+
plugins?: string | void;
|
|
377
372
|
https_proxy?: string;
|
|
378
373
|
no_proxy?: string;
|
|
379
374
|
max_body_size?: string;
|
|
380
375
|
notifications?: Notifications;
|
|
376
|
+
notify?: Notifications | Notifications[];
|
|
381
377
|
middlewares?: any;
|
|
382
378
|
filters?: any;
|
|
379
|
+
url_prefix?: string;
|
|
380
|
+
server?: ServerSettingsConf;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
interface ConfigRuntime extends ConfigYaml {
|
|
384
|
+
// @deprecated on v6 this is config_path
|
|
385
|
+
self_path: string;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
interface Config extends ConfigYaml, ConfigRuntime {
|
|
389
|
+
user_agent: string;
|
|
390
|
+
server_id: string;
|
|
391
|
+
secret: string;
|
|
392
|
+
// deprecated
|
|
383
393
|
checkSecretKey(token: string): string;
|
|
384
394
|
getMatchedPackagesSpec(storage: string): PackageAccess | void;
|
|
385
395
|
[key: string]: any;
|