@verdaccio/types 10.5.2 → 10.6.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,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 10.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f8d763c: feat: add abbreviated versions support
8
+
3
9
  ## 10.5.2
4
10
 
5
11
  ### Patch Changes
@@ -63,7 +63,6 @@ export interface PackageUsers {
63
63
  export interface Version {
64
64
  name: string;
65
65
  version: string;
66
- devDependencies?: string;
67
66
  directories?: any;
68
67
  dist: Dist;
69
68
  author: string | Author;
@@ -84,7 +83,11 @@ export interface Version {
84
83
  scripts?: any;
85
84
  homepage?: string;
86
85
  etag?: string;
87
- dependencies: any;
86
+ dependencies?: Dependencies;
87
+ peerDependencies?: Dependencies;
88
+ devDependencies?: Dependencies;
89
+ optionalDependencies?: Dependencies;
90
+ bundleDependencies?: Dependencies;
88
91
  keywords?: string | string[];
89
92
  nodeVersion?: string;
90
93
  _id: string;
@@ -92,10 +95,33 @@ export interface Version {
92
95
  _npmUser: Author;
93
96
  _hasShrinkwrap?: boolean;
94
97
  deprecated?: string;
98
+ funding?: {
99
+ type: string;
100
+ url: string;
101
+ };
102
+ engines?: Engines;
103
+ hasInstallScript?: boolean;
104
+ }
105
+ export interface Dependencies {
106
+ [key: string]: string;
107
+ }
108
+ export interface Engines {
109
+ [key: string]: string;
95
110
  }
96
111
  export interface Versions {
97
112
  [key: string]: Version;
98
113
  }
114
+ export declare type AbbreviatedVersion = Pick<Version, 'name' | 'version' | 'description' | 'dependencies' | 'devDependencies' | 'bin' | 'dist' | 'engines' | 'funding' | 'peerDependencies'>;
115
+ export interface AbbreviatedVersions {
116
+ [key: string]: AbbreviatedVersion;
117
+ }
118
+ /**
119
+ *
120
+ */
121
+ export declare type AbbreviatedManifest = Pick<Manifest, 'name' | 'dist-tags' | 'time'> & {
122
+ modified: string;
123
+ versions: AbbreviatedVersions;
124
+ };
99
125
  export declare type Package = Manifest;
100
126
  export interface Manifest {
101
127
  _id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdaccio/types",
3
- "version": "10.5.2",
3
+ "version": "10.6.0",
4
4
  "description": "verdaccio types definitions",
5
5
  "keywords": [
6
6
  "verdaccio",
@@ -27,7 +27,7 @@
27
27
  "@types/node": "12.12.6",
28
28
  "typedoc": "^0.23.0",
29
29
  "typedoc-plugin-missing-exports": "^0.23.0",
30
- "typedoc-umlclass": "^0.6.1"
30
+ "typedoc-umlclass": "^0.7.0"
31
31
  },
32
32
  "funding": {
33
33
  "type": "opencollective",