@unownplain/anthelion-komac 0.0.59 → 0.0.60
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/index.d.ts +11 -26
- package/package.json +10 -10
package/index.d.ts
CHANGED
|
@@ -10,9 +10,9 @@ export declare class Komac {
|
|
|
10
10
|
/** Create a reusable client. If omitted, `githubToken` falls back to `GITHUB_TOKEN`. */
|
|
11
11
|
constructor(options?: KomacOptions | undefined | null)
|
|
12
12
|
/** Download and analyze one installer artifact. */
|
|
13
|
-
analyzeInstaller(
|
|
13
|
+
analyzeInstaller(installer: string | InstallerSource): Promise<AnalyzedArtifact>
|
|
14
14
|
/** Download and analyze several installer artifacts concurrently. */
|
|
15
|
-
analyzeInstallers(
|
|
15
|
+
analyzeInstallers(installers: Array<string | InstallerSource>): Promise<Array<AnalyzedArtifact>>
|
|
16
16
|
/** Find an existing pull request for a package version. */
|
|
17
17
|
findPullRequest(query: PullRequestQuery): Promise<PullRequest | null>
|
|
18
18
|
/** Fetch normalized notes from a GitHub release. */
|
|
@@ -37,6 +37,8 @@ export interface AnalyzedArtifact {
|
|
|
37
37
|
|
|
38
38
|
/** Installer information detected during analysis. */
|
|
39
39
|
export interface AnalyzedInstaller {
|
|
40
|
+
/** Version metadata detected from this installer. */
|
|
41
|
+
versions: DetectedVersions
|
|
40
42
|
/** Installer locale, if present. */
|
|
41
43
|
locale?: string
|
|
42
44
|
/** Installer architecture. */
|
|
@@ -53,18 +55,6 @@ export interface AnalyzedInstaller {
|
|
|
53
55
|
scope?: string
|
|
54
56
|
}
|
|
55
57
|
|
|
56
|
-
/** Options for analyzing one installer artifact. */
|
|
57
|
-
export interface AnalyzeInstallerRequest {
|
|
58
|
-
/** Artifact to download and analyze. */
|
|
59
|
-
installer: string | InstallerSource
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/** Options for analyzing several installer artifacts in one concurrent operation. */
|
|
63
|
-
export interface AnalyzeInstallersRequest {
|
|
64
|
-
/** Artifacts to download and analyze. */
|
|
65
|
-
installers: Array<string | InstallerSource>
|
|
66
|
-
}
|
|
67
|
-
|
|
68
58
|
/** Apps and Features / ARP metadata detected during analysis. */
|
|
69
59
|
export interface AppsAndFeaturesEntry {
|
|
70
60
|
displayName?: string
|
|
@@ -187,13 +177,13 @@ export interface UpdatedPackage {
|
|
|
187
177
|
export interface UpdatePackageRequest {
|
|
188
178
|
/** Package identifier, for example `Microsoft.VisualStudioCode`. */
|
|
189
179
|
packageIdentifier: string
|
|
190
|
-
/**
|
|
191
|
-
version: string
|
|
192
|
-
/** New installer artifacts. */
|
|
193
|
-
installers: Array<string | InstallerSource>
|
|
194
|
-
/** Release notes fields for the default locale manifest. */
|
|
195
|
-
releaseNotes?: ReleaseNotesInput
|
|
196
|
-
/** Existing version to remove in the same pull request. */
|
|
180
|
+
/** Explicit package version, or `display`, `product`, `file`, or `fontVersion` to use detected metadata. */
|
|
181
|
+
version: string
|
|
182
|
+
/** New installer artifacts. */
|
|
183
|
+
installers: Array<string | InstallerSource>
|
|
184
|
+
/** Release notes fields for the default locale manifest. */
|
|
185
|
+
releaseNotes?: ReleaseNotesInput
|
|
186
|
+
/** Existing version to remove in the same pull request. */
|
|
197
187
|
replace?: { target: 'latest' } | { target: 'version'; value: string }
|
|
198
188
|
/** Package layout. Defaults to `auto`, which probes standard manifests before fonts. */
|
|
199
189
|
packageKind?: 'auto' | 'standard' | 'font'
|
|
@@ -208,8 +198,3 @@ export interface UpdatePackageResult {
|
|
|
208
198
|
/** Present only when `mode` was `submit` and pull-request creation succeeded. */
|
|
209
199
|
pullRequest?: CreatedPullRequest
|
|
210
200
|
}
|
|
211
|
-
|
|
212
|
-
/** Installer-derived package version selection. */
|
|
213
|
-
export interface VersionSelection {
|
|
214
|
-
source: 'display' | 'product' | 'file' | 'fontVersion'
|
|
215
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unownplain/anthelion-komac",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.60",
|
|
4
4
|
"description": "komac JS bindings for Anthelion",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
6
6
|
"repository": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"version": "napi version"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@napi-rs/cli": "3.8.
|
|
25
|
+
"@napi-rs/cli": "3.8.6"
|
|
26
26
|
},
|
|
27
27
|
"napi": {
|
|
28
28
|
"binaryName": "anthelion-komac",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"node": ">=22.0.0"
|
|
42
42
|
},
|
|
43
43
|
"optionalDependencies": {
|
|
44
|
-
"@unownplain/anthelion-komac-win32-x64-msvc": "0.0.
|
|
45
|
-
"@unownplain/anthelion-komac-darwin-x64": "0.0.
|
|
46
|
-
"@unownplain/anthelion-komac-linux-x64-gnu": "0.0.
|
|
47
|
-
"@unownplain/anthelion-komac-linux-x64-musl": "0.0.
|
|
48
|
-
"@unownplain/anthelion-komac-darwin-arm64": "0.0.
|
|
49
|
-
"@unownplain/anthelion-komac-linux-arm64-gnu": "0.0.
|
|
50
|
-
"@unownplain/anthelion-komac-linux-arm64-musl": "0.0.
|
|
51
|
-
"@unownplain/anthelion-komac-win32-arm64-msvc": "0.0.
|
|
44
|
+
"@unownplain/anthelion-komac-win32-x64-msvc": "0.0.60",
|
|
45
|
+
"@unownplain/anthelion-komac-darwin-x64": "0.0.60",
|
|
46
|
+
"@unownplain/anthelion-komac-linux-x64-gnu": "0.0.60",
|
|
47
|
+
"@unownplain/anthelion-komac-linux-x64-musl": "0.0.60",
|
|
48
|
+
"@unownplain/anthelion-komac-darwin-arm64": "0.0.60",
|
|
49
|
+
"@unownplain/anthelion-komac-linux-arm64-gnu": "0.0.60",
|
|
50
|
+
"@unownplain/anthelion-komac-linux-arm64-musl": "0.0.60",
|
|
51
|
+
"@unownplain/anthelion-komac-win32-arm64-msvc": "0.0.60"
|
|
52
52
|
}
|
|
53
53
|
}
|