@verdaccio/types 11.0.0-6-next.21 → 11.0.0-6-next.23
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 -1
- package/package.json +1 -1
- package/src/configuration.ts +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 11.0.0-6-next.23
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 974cd8c1: fix: startup messages improved and logs support on types
|
|
8
|
+
|
|
9
|
+
## 11.0.0-6-next.22
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- dc571aab: feat: add forceEnhancedLegacySignature
|
|
14
|
+
|
|
3
15
|
## 11.0.0-6-next.21
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/build/configuration.d.ts
CHANGED
|
@@ -148,6 +148,7 @@ export interface APITokenOptions {
|
|
|
148
148
|
jwt?: JWTOptions;
|
|
149
149
|
}
|
|
150
150
|
export interface Security {
|
|
151
|
+
enhancedLegacySignature?: boolean;
|
|
151
152
|
web: JWTOptions;
|
|
152
153
|
api: APITokenOptions;
|
|
153
154
|
}
|
|
@@ -197,6 +198,7 @@ export interface ConfigYaml {
|
|
|
197
198
|
packages: PackageList;
|
|
198
199
|
uplinks: UpLinksConfList;
|
|
199
200
|
log?: LoggerConfItem;
|
|
201
|
+
logs?: LoggerConfItem;
|
|
200
202
|
web?: WebConf;
|
|
201
203
|
auth?: AuthConf;
|
|
202
204
|
security: Security;
|
|
@@ -218,7 +220,6 @@ export interface ConfigYaml {
|
|
|
218
220
|
server?: ServerSettingsConf;
|
|
219
221
|
flags?: FlagsConfig;
|
|
220
222
|
userRateLimit?: RateLimit;
|
|
221
|
-
config_path?: string;
|
|
222
223
|
configPath?: string;
|
|
223
224
|
}
|
|
224
225
|
/**
|
|
@@ -230,6 +231,7 @@ export interface Config extends Omit<ConfigYaml, 'packages' | 'security' | 'conf
|
|
|
230
231
|
server_id: string;
|
|
231
232
|
secret: string;
|
|
232
233
|
configPath: string;
|
|
234
|
+
self_path?: string;
|
|
233
235
|
packages: PackageList;
|
|
234
236
|
security: Security;
|
|
235
237
|
checkSecretKey(token: string): string;
|
package/package.json
CHANGED
package/src/configuration.ts
CHANGED
|
@@ -185,6 +185,7 @@ export interface APITokenOptions {
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
export interface Security {
|
|
188
|
+
enhancedLegacySignature?: boolean;
|
|
188
189
|
web: JWTOptions;
|
|
189
190
|
api: APITokenOptions;
|
|
190
191
|
}
|
|
@@ -244,6 +245,8 @@ export interface ConfigYaml {
|
|
|
244
245
|
packages: PackageList;
|
|
245
246
|
uplinks: UpLinksConfList;
|
|
246
247
|
log?: LoggerConfItem;
|
|
248
|
+
// @deprecated deprecation path from 5.x
|
|
249
|
+
logs?: LoggerConfItem;
|
|
247
250
|
web?: WebConf;
|
|
248
251
|
auth?: AuthConf;
|
|
249
252
|
security: Security;
|
|
@@ -266,8 +269,6 @@ export interface ConfigYaml {
|
|
|
266
269
|
flags?: FlagsConfig;
|
|
267
270
|
userRateLimit?: RateLimit;
|
|
268
271
|
// internal objects, added by internal yaml to JS config parser
|
|
269
|
-
// @deprecated use configPath instead
|
|
270
|
-
config_path?: string;
|
|
271
272
|
// save the configuration file path
|
|
272
273
|
configPath?: string;
|
|
273
274
|
}
|
|
@@ -282,6 +283,8 @@ export interface Config extends Omit<ConfigYaml, 'packages' | 'security' | 'conf
|
|
|
282
283
|
secret: string;
|
|
283
284
|
// save the configuration file path, it's fails without thi configPath
|
|
284
285
|
configPath: string;
|
|
286
|
+
// @deprecated use configPath
|
|
287
|
+
self_path?: string;
|
|
285
288
|
// packages from yaml file looks different from packages inside the config file
|
|
286
289
|
packages: PackageList;
|
|
287
290
|
// security object defaults is added by the config file but optional in the yaml file
|