@verdaccio/types 13.0.2 → 13.0.5
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/package.json +18 -18
- package/src/manifest.ts +16 -0
package/package.json
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdaccio/types",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.5",
|
|
4
4
|
"description": "Verdaccio Type Definitions",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"private",
|
|
7
|
-
"package",
|
|
8
|
-
"repository",
|
|
9
|
-
"registry",
|
|
10
6
|
"enterprise",
|
|
11
7
|
"modules",
|
|
8
|
+
"package",
|
|
9
|
+
"private",
|
|
12
10
|
"proxy",
|
|
11
|
+
"registry",
|
|
12
|
+
"repository",
|
|
13
13
|
"server",
|
|
14
14
|
"verdaccio"
|
|
15
15
|
],
|
|
16
|
-
"author": "Juan Picado <juanpicado19@gmail.com>",
|
|
17
|
-
"license": "MIT",
|
|
18
16
|
"homepage": "https://verdaccio.org",
|
|
19
|
-
"
|
|
20
|
-
"
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/verdaccio/verdaccio/issues"
|
|
21
19
|
},
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"author": "Juan Picado <juanpicado19@gmail.com>",
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "https",
|
|
24
24
|
"url": "https://github.com/verdaccio/verdaccio",
|
|
25
25
|
"directory": "packages/core/types"
|
|
26
26
|
},
|
|
27
|
-
"
|
|
28
|
-
"
|
|
27
|
+
"funding": {
|
|
28
|
+
"type": "opencollective",
|
|
29
|
+
"url": "https://opencollective.com/verdaccio"
|
|
29
30
|
},
|
|
31
|
+
"main": "src/types.ts",
|
|
32
|
+
"types": "src/types.ts",
|
|
30
33
|
"publishConfig": {
|
|
31
34
|
"access": "public"
|
|
32
35
|
},
|
|
33
|
-
"main": "src/types.ts",
|
|
34
|
-
"types": "src/types.ts",
|
|
35
36
|
"devDependencies": {
|
|
36
37
|
"@types/jsonwebtoken": "9.0.6",
|
|
37
38
|
"@types/ms": "2.1.0",
|
|
38
39
|
"typedoc": "0.28.14"
|
|
39
40
|
},
|
|
40
41
|
"typedoc": {
|
|
42
|
+
"displayName": "@verdaccio/types",
|
|
41
43
|
"entryPoint": "./src/types.ts",
|
|
42
|
-
"readmeFile": "./README.md"
|
|
43
|
-
"displayName": "@verdaccio/types"
|
|
44
|
+
"readmeFile": "./README.md"
|
|
44
45
|
},
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"url": "https://opencollective.com/verdaccio"
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=18"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"clean": "rimraf ./build",
|
package/src/manifest.ts
CHANGED
|
@@ -263,6 +263,12 @@ export type AbbreviatedManifest = Pick<Manifest, 'name' | 'dist-tags' | 'time'>
|
|
|
263
263
|
*/
|
|
264
264
|
export type UnPublishManifest = Omit<Manifest, '_attachments' | '_distfiles' | '_uplinks'>;
|
|
265
265
|
|
|
266
|
+
export interface Publisher {
|
|
267
|
+
name: string;
|
|
268
|
+
groups?: string[];
|
|
269
|
+
real_groups?: string[];
|
|
270
|
+
}
|
|
271
|
+
|
|
266
272
|
export interface PublishManifest {
|
|
267
273
|
/**
|
|
268
274
|
* The `_attachments` object has different usages:
|
|
@@ -283,6 +289,16 @@ export interface PublishManifest {
|
|
|
283
289
|
* Note: This field is removed when the package is accesed through the web user interface.
|
|
284
290
|
* */
|
|
285
291
|
_attachments: AttachMents;
|
|
292
|
+
/**
|
|
293
|
+
* The publisher of the package
|
|
294
|
+
*
|
|
295
|
+
* This field is added when the package is published or unpublished using the notify batch service.
|
|
296
|
+
*
|
|
297
|
+
* Note: Using `_publisher` or `_publishedPackage` would break existing handlebar templates.
|
|
298
|
+
*/
|
|
299
|
+
publisher?: Publisher;
|
|
300
|
+
publishedPackage?: string;
|
|
301
|
+
publishType?: 'publish' | 'unpublish';
|
|
286
302
|
}
|
|
287
303
|
|
|
288
304
|
/**
|