@verdaccio/types 12.0.0-next.2 → 13.0.0-next-8.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 +51 -0
- package/package.json +1 -1
- package/src/configuration.ts +7 -1
- package/src/manifest.ts +13 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 13.0.0-next-8.1
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 6a8154c: feat: update logger pino to latest
|
|
8
|
+
|
|
9
|
+
## 13.0.0-next-8.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- chore: move v7 next to v8 next
|
|
14
|
+
|
|
15
|
+
## 12.0.0
|
|
16
|
+
|
|
17
|
+
### Major Changes
|
|
18
|
+
|
|
19
|
+
- 47f61c6: feat!: bump to v7
|
|
20
|
+
- e7ebccb: update major dependencies, remove old nodejs support
|
|
21
|
+
|
|
22
|
+
### Minor Changes
|
|
23
|
+
|
|
24
|
+
- f047cc8: refactor: auth with legacy sign support
|
|
25
|
+
- bd8703e: feat: add migrateToSecureLegacySignature and remove enhancedLegacySignature property
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- 10dd81f: feat: complete overhaul of web user interface
|
|
30
|
+
- 6e764e3: feat: add support for npm owner
|
|
31
|
+
- de6ff5c: fix: update fields for abbreviated manifest
|
|
32
|
+
- 117eb1c: fix: change bundleDependencies to array
|
|
33
|
+
|
|
34
|
+
## 12.0.0-next-7.5
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- 10dd81f: feat: complete overhaul of web user interface
|
|
39
|
+
|
|
40
|
+
## 12.0.0-next-7.4
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- 6e764e3: feat: add support for npm owner
|
|
45
|
+
- de6ff5c: fix: update fields for abbreviated manifest
|
|
46
|
+
- 117eb1c: fix: change bundleDependencies to array
|
|
47
|
+
|
|
48
|
+
## 12.0.0-next-7.3
|
|
49
|
+
|
|
50
|
+
### Minor Changes
|
|
51
|
+
|
|
52
|
+
- bd8703e: feat: add migrateToSecureLegacySignature and remove enhancedLegacySignature property
|
|
53
|
+
|
|
3
54
|
## 12.0.0-next.2
|
|
4
55
|
|
|
5
56
|
### Minor Changes
|
package/package.json
CHANGED
package/src/configuration.ts
CHANGED
|
@@ -83,6 +83,7 @@ export type PackageManagers = 'pnpm' | 'yarn' | 'npm';
|
|
|
83
83
|
export type CommonWebConf = {
|
|
84
84
|
title?: string;
|
|
85
85
|
logo?: string;
|
|
86
|
+
logoDark?: string;
|
|
86
87
|
favicon?: string;
|
|
87
88
|
gravatar?: boolean;
|
|
88
89
|
sort_packages?: string;
|
|
@@ -98,6 +99,7 @@ export type CommonWebConf = {
|
|
|
98
99
|
showFooter?: boolean;
|
|
99
100
|
showThemeSwitch?: boolean;
|
|
100
101
|
showDownloadTarball?: boolean;
|
|
102
|
+
showUplinks?: boolean;
|
|
101
103
|
hideDeprecatedVersions?: boolean;
|
|
102
104
|
primaryColor: string;
|
|
103
105
|
showRaw?: boolean;
|
|
@@ -182,17 +184,21 @@ export interface JWTVerifyOptions {
|
|
|
182
184
|
|
|
183
185
|
export interface APITokenOptions {
|
|
184
186
|
legacy: boolean;
|
|
187
|
+
/**
|
|
188
|
+
* Temporary flag to allow migration to the new legacy signature
|
|
189
|
+
*/
|
|
190
|
+
migrateToSecureLegacySignature: boolean;
|
|
185
191
|
jwt?: JWTOptions;
|
|
186
192
|
}
|
|
187
193
|
|
|
188
194
|
export interface Security {
|
|
189
|
-
enhancedLegacySignature?: boolean;
|
|
190
195
|
web: JWTOptions;
|
|
191
196
|
api: APITokenOptions;
|
|
192
197
|
}
|
|
193
198
|
|
|
194
199
|
export interface PublishOptions {
|
|
195
200
|
allow_offline: boolean;
|
|
201
|
+
check_owners: boolean;
|
|
196
202
|
}
|
|
197
203
|
|
|
198
204
|
export interface ListenAddress {
|
package/src/manifest.ts
CHANGED
|
@@ -123,7 +123,8 @@ export interface Version {
|
|
|
123
123
|
devDependencies?: Dependencies;
|
|
124
124
|
optionalDependencies?: Dependencies;
|
|
125
125
|
peerDependenciesMeta?: PeerDependenciesMeta;
|
|
126
|
-
bundleDependencies?:
|
|
126
|
+
bundleDependencies?: string[];
|
|
127
|
+
acceptDependencies?: Dependencies;
|
|
127
128
|
keywords?: string | string[];
|
|
128
129
|
nodeVersion?: string;
|
|
129
130
|
_id: string;
|
|
@@ -178,7 +179,9 @@ export interface FullRemoteManifest {
|
|
|
178
179
|
'dist-tags': GenericBody;
|
|
179
180
|
time: GenericBody;
|
|
180
181
|
versions: Versions;
|
|
182
|
+
/** store owners of this package */
|
|
181
183
|
maintainers?: Author[];
|
|
184
|
+
contributors?: Author[];
|
|
182
185
|
/** store the latest readme **/
|
|
183
186
|
readme?: string;
|
|
184
187
|
/** store star assigned to this packages by users */
|
|
@@ -223,7 +226,6 @@ export type AbbreviatedVersion = Pick<
|
|
|
223
226
|
Version,
|
|
224
227
|
| 'name'
|
|
225
228
|
| 'version'
|
|
226
|
-
| 'description'
|
|
227
229
|
| 'dependencies'
|
|
228
230
|
| 'devDependencies'
|
|
229
231
|
| 'bin'
|
|
@@ -231,6 +233,15 @@ export type AbbreviatedVersion = Pick<
|
|
|
231
233
|
| 'engines'
|
|
232
234
|
| 'funding'
|
|
233
235
|
| 'peerDependencies'
|
|
236
|
+
| 'cpu'
|
|
237
|
+
| 'deprecated'
|
|
238
|
+
| 'directories'
|
|
239
|
+
| 'hasInstallScript'
|
|
240
|
+
| 'optionalDependencies'
|
|
241
|
+
| 'os'
|
|
242
|
+
| 'peerDependenciesMeta'
|
|
243
|
+
| 'acceptDependencies'
|
|
244
|
+
| '_hasShrinkwrap'
|
|
234
245
|
>;
|
|
235
246
|
|
|
236
247
|
export interface AbbreviatedVersions {
|