@verdaccio/types 12.0.0-next.2 → 13.0.0-next-8.0

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 CHANGED
@@ -1,5 +1,50 @@
1
1
  # Change Log
2
2
 
3
+ ## 13.0.0-next-8.0
4
+
5
+ ### Major Changes
6
+
7
+ - chore: move v7 next to v8 next
8
+
9
+ ## 12.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - 47f61c6: feat!: bump to v7
14
+ - e7ebccb: update major dependencies, remove old nodejs support
15
+
16
+ ### Minor Changes
17
+
18
+ - f047cc8: refactor: auth with legacy sign support
19
+ - bd8703e: feat: add migrateToSecureLegacySignature and remove enhancedLegacySignature property
20
+
21
+ ### Patch Changes
22
+
23
+ - 10dd81f: feat: complete overhaul of web user interface
24
+ - 6e764e3: feat: add support for npm owner
25
+ - de6ff5c: fix: update fields for abbreviated manifest
26
+ - 117eb1c: fix: change bundleDependencies to array
27
+
28
+ ## 12.0.0-next-7.5
29
+
30
+ ### Patch Changes
31
+
32
+ - 10dd81f: feat: complete overhaul of web user interface
33
+
34
+ ## 12.0.0-next-7.4
35
+
36
+ ### Patch Changes
37
+
38
+ - 6e764e3: feat: add support for npm owner
39
+ - de6ff5c: fix: update fields for abbreviated manifest
40
+ - 117eb1c: fix: change bundleDependencies to array
41
+
42
+ ## 12.0.0-next-7.3
43
+
44
+ ### Minor Changes
45
+
46
+ - bd8703e: feat: add migrateToSecureLegacySignature and remove enhancedLegacySignature property
47
+
3
48
  ## 12.0.0-next.2
4
49
 
5
50
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdaccio/types",
3
- "version": "12.0.0-next.2",
3
+ "version": "13.0.0-next-8.0",
4
4
  "description": "verdaccio types definitions",
5
5
  "keywords": [
6
6
  "private",
@@ -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?: Dependencies;
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 {