@verdaccio/types 11.0.0-6-next.20 → 11.0.0-6-next.22
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 +2 -2
- package/package.json +2 -2
- package/src/configuration.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 11.0.0-6-next.22
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- dc571aab: feat: add forceEnhancedLegacySignature
|
|
8
|
+
|
|
9
|
+
## 11.0.0-6-next.21
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 4fc21146: fix: missing logo on header
|
|
14
|
+
|
|
3
15
|
## 11.0.0-6-next.20
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/build/configuration.d.ts
CHANGED
|
@@ -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
|
/**
|
|
@@ -149,6 +148,7 @@ export interface APITokenOptions {
|
|
|
149
148
|
jwt?: JWTOptions;
|
|
150
149
|
}
|
|
151
150
|
export interface Security {
|
|
151
|
+
enhancedLegacySignature?: boolean;
|
|
152
152
|
web: JWTOptions;
|
|
153
153
|
api: APITokenOptions;
|
|
154
154
|
}
|
|
@@ -219,7 +219,6 @@ export interface ConfigYaml {
|
|
|
219
219
|
server?: ServerSettingsConf;
|
|
220
220
|
flags?: FlagsConfig;
|
|
221
221
|
userRateLimit?: RateLimit;
|
|
222
|
-
config_path?: string;
|
|
223
222
|
configPath?: string;
|
|
224
223
|
}
|
|
225
224
|
/**
|
|
@@ -231,6 +230,7 @@ export interface Config extends Omit<ConfigYaml, 'packages' | 'security' | 'conf
|
|
|
231
230
|
server_id: string;
|
|
232
231
|
secret: string;
|
|
233
232
|
configPath: string;
|
|
233
|
+
self_path?: string;
|
|
234
234
|
packages: PackageList;
|
|
235
235
|
security: Security;
|
|
236
236
|
checkSecretKey(token: string): string;
|
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.22",
|
|
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
|
@@ -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
|
|
|
@@ -186,6 +185,7 @@ export interface APITokenOptions {
|
|
|
186
185
|
}
|
|
187
186
|
|
|
188
187
|
export interface Security {
|
|
188
|
+
enhancedLegacySignature?: boolean;
|
|
189
189
|
web: JWTOptions;
|
|
190
190
|
api: APITokenOptions;
|
|
191
191
|
}
|
|
@@ -267,8 +267,6 @@ export interface ConfigYaml {
|
|
|
267
267
|
flags?: FlagsConfig;
|
|
268
268
|
userRateLimit?: RateLimit;
|
|
269
269
|
// internal objects, added by internal yaml to JS config parser
|
|
270
|
-
// @deprecated use configPath instead
|
|
271
|
-
config_path?: string;
|
|
272
270
|
// save the configuration file path
|
|
273
271
|
configPath?: string;
|
|
274
272
|
}
|
|
@@ -283,6 +281,8 @@ export interface Config extends Omit<ConfigYaml, 'packages' | 'security' | 'conf
|
|
|
283
281
|
secret: string;
|
|
284
282
|
// save the configuration file path, it's fails without thi configPath
|
|
285
283
|
configPath: string;
|
|
284
|
+
// @deprecated use configPath
|
|
285
|
+
self_path?: string;
|
|
286
286
|
// packages from yaml file looks different from packages inside the config file
|
|
287
287
|
packages: PackageList;
|
|
288
288
|
// security object defaults is added by the config file but optional in the yaml file
|