repository-provider-cli-support 2.2.41 → 2.2.43
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 +11 -15
- package/types/setup-provider.d.mts +0 -23
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "repository-provider-cli-support",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.43",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
7
7
|
},
|
|
8
|
+
"packageManager": "npm@11.6.0+sha512.77f3fb0dbbd881835d7bd1217deabdf7ed77fc4ec4f363df64fc3cb986404abf6c437661041080f5c5d225103508e7c9ea30cb2742b7e942675d05a10af2d7b9",
|
|
8
9
|
"types": "./types/setup-provider.d.mts",
|
|
9
10
|
"exports": {
|
|
10
11
|
".": {
|
|
11
|
-
"types": "./types/setup-provider.d.mts",
|
|
12
12
|
"default": "./src/setup-provider.mjs"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
@@ -24,34 +24,30 @@
|
|
|
24
24
|
],
|
|
25
25
|
"license": "0BSD",
|
|
26
26
|
"scripts": {
|
|
27
|
-
"prepare": "node --run prepare:typescript",
|
|
28
|
-
"prepare:typescript": "tsc --allowJs --declaration --emitDeclarationOnly --declarationDir types --resolveJsonModule --target esnext -m esnext --module nodenext --moduleResolution nodenext --rootDir src ./src**/*.mjs",
|
|
29
27
|
"test": "node --run test:ava",
|
|
30
28
|
"test:ava": "ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs",
|
|
31
29
|
"cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp",
|
|
32
30
|
"docs": "documentation readme --section=API ./src**/*.mjs",
|
|
33
|
-
"lint": "node --run lint:docs
|
|
34
|
-
"lint:docs": "documentation lint ./src**/*.mjs"
|
|
35
|
-
"lint:typescript": "tsc --allowJs --checkJs --noEmit --resolveJsonModule --target esnext -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs"
|
|
31
|
+
"lint": "node --run lint:docs",
|
|
32
|
+
"lint:docs": "documentation lint ./src**/*.mjs"
|
|
36
33
|
},
|
|
37
34
|
"dependencies": {
|
|
38
|
-
"aggregation-repository-provider": "^7.0.
|
|
39
|
-
"etag-cache-leveldb": "^2.1.
|
|
35
|
+
"aggregation-repository-provider": "^7.0.40",
|
|
36
|
+
"etag-cache-leveldb": "^2.1.16",
|
|
40
37
|
"leveldown": "^6.1.1",
|
|
41
38
|
"levelup": "^5.1.1"
|
|
42
39
|
},
|
|
43
40
|
"devDependencies": {
|
|
44
|
-
"@types/node": "^24.
|
|
41
|
+
"@types/node": "^24.5.2",
|
|
45
42
|
"ava": "^6.4.1",
|
|
46
43
|
"c8": "^10.1.3",
|
|
47
|
-
"commander": "^14.0.
|
|
44
|
+
"commander": "^14.0.1",
|
|
48
45
|
"documentation": "^14.0.3",
|
|
49
|
-
"github-repository-provider": "^9.
|
|
50
|
-
"semantic-release": "^24.2.
|
|
51
|
-
"typescript": "^5.9.2"
|
|
46
|
+
"github-repository-provider": "^9.3.0",
|
|
47
|
+
"semantic-release": "^24.2.9"
|
|
52
48
|
},
|
|
53
49
|
"engines": {
|
|
54
|
-
"node": ">=22.
|
|
50
|
+
"node": ">=22.19.5"
|
|
55
51
|
},
|
|
56
52
|
"repository": {
|
|
57
53
|
"type": "git",
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param {*} program
|
|
4
|
-
* @param {Object} properties
|
|
5
|
-
* @returns {Promise<{provider: AggregationProvider, options: Object, cache: ETagCacheLevelDB|undefined}>}
|
|
6
|
-
*/
|
|
7
|
-
export function initializeRepositoryProvider(program: any, properties: any): Promise<{
|
|
8
|
-
provider: AggregationProvider;
|
|
9
|
-
options: any;
|
|
10
|
-
cache: ETagCacheLevelDB | undefined;
|
|
11
|
-
}>;
|
|
12
|
-
/**
|
|
13
|
-
* Add extra cli options.
|
|
14
|
-
* @param {*} program
|
|
15
|
-
*/
|
|
16
|
-
export function initializeCommandLine(program: any): void;
|
|
17
|
-
/**
|
|
18
|
-
* Retrieve repository url from a directory.
|
|
19
|
-
* @param {string} dir
|
|
20
|
-
* @returns {string?}
|
|
21
|
-
*/
|
|
22
|
-
export function repositoryUrl(dir: string): string | null;
|
|
23
|
-
import { ETagCacheLevelDB } from "etag-cache-leveldb";
|