@mpgd/cli 0.13.0 → 0.15.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/dist/index.d.ts +3 -0
- package/dist/index.js +500 -11
- package/dist/microsoft-store-package-acceptance.d.ts +54 -0
- package/dist/microsoft-store-package-acceptance.js +787 -0
- package/dist/microsoft-store-package-generation-contract.d.ts +129 -0
- package/dist/microsoft-store-package-generation-contract.js +3 -0
- package/dist/microsoft-store-package-generation-download.d.ts +22 -0
- package/dist/microsoft-store-package-generation-download.js +453 -0
- package/dist/microsoft-store-package-generation-input.d.ts +3 -0
- package/dist/microsoft-store-package-generation-input.js +384 -0
- package/dist/microsoft-store-package-generation-integrity.d.ts +5 -0
- package/dist/microsoft-store-package-generation-integrity.js +100 -0
- package/dist/microsoft-store-package-generation-manifest.d.ts +3 -0
- package/dist/microsoft-store-package-generation-manifest.js +67 -0
- package/dist/microsoft-store-package-generation-zip.d.ts +1 -0
- package/dist/microsoft-store-package-generation-zip.js +180 -0
- package/dist/microsoft-store-package-generation.d.ts +24 -0
- package/dist/microsoft-store-package-generation.js +430 -0
- package/dist/microsoft-store-starter.d.ts +28 -0
- package/dist/microsoft-store-starter.js +655 -0
- package/dist/microsoft-store-submission.d.ts +79 -0
- package/dist/microsoft-store-submission.js +952 -0
- package/dist/microsoft-store-supported-locales.d.ts +1 -0
- package/dist/microsoft-store-supported-locales.js +33 -0
- package/dist/production-target-readiness.js +3 -1
- package/package.json +9 -8
- package/templates/phaser-game/.agents/skills/release-microsoft-store/SKILL.md +60 -0
- package/templates/phaser-game/.agents/skills/release-microsoft-store/agents/openai.yaml +4 -0
- package/templates/phaser-game/.agents/skills/use-mpgd-kit/SKILL.md +45 -0
- package/templates/phaser-game/.agents/skills/use-mpgd-kit/agents/openai.yaml +4 -0
- package/templates/phaser-game/AGENTS.md +34 -0
- package/templates/phaser-game/README.md +88 -25
- package/templates/phaser-game/agent/acceptance.md +8 -0
- package/templates/phaser-game/agent/brief.md +13 -1
- package/templates/phaser-game/agent/game-manifest.json +7 -0
- package/templates/phaser-game/apps/target-ait/granite.config.ts +35 -0
- package/templates/phaser-game/apps/target-ait/index.html +15 -0
- package/templates/phaser-game/apps/target-ait/package.json +33 -0
- package/templates/phaser-game/apps/target-ait/src/main.ts +34 -0
- package/templates/phaser-game/apps/target-ait/src/styles.css +33 -0
- package/templates/phaser-game/apps/target-ait/tsconfig.json +8 -0
- package/templates/phaser-game/apps/target-ait/vite.config.ts +53 -0
- package/templates/phaser-game/docs/MPGD_KIT_WORKFLOWS.md +128 -0
- package/templates/phaser-game/gitignore +7 -0
- package/templates/phaser-game/mpgd.microsoft-store.json +29 -0
- package/templates/phaser-game/mpgd.targets.json +9 -2
- package/templates/phaser-game/package.json +11 -9
- package/templates/phaser-game/vite.shared.ts +13 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export declare const microsoftStorePackageAcceptanceSchemaVersion: 1;
|
|
2
|
+
export interface MicrosoftStorePackageIdentity {
|
|
3
|
+
readonly name: string;
|
|
4
|
+
readonly publisher: string;
|
|
5
|
+
readonly version: string;
|
|
6
|
+
}
|
|
7
|
+
export interface MicrosoftStorePackageAcceptanceEvidence {
|
|
8
|
+
readonly schemaVersion: 1;
|
|
9
|
+
readonly target: 'microsoft-store';
|
|
10
|
+
readonly submissionEvidenceFile: string;
|
|
11
|
+
readonly submissionEvidenceSha256: string;
|
|
12
|
+
readonly productIdentity: {
|
|
13
|
+
readonly packageId: string;
|
|
14
|
+
readonly publisherId: string;
|
|
15
|
+
readonly publisherDisplayName: string;
|
|
16
|
+
readonly reservedName: string;
|
|
17
|
+
};
|
|
18
|
+
readonly packages: readonly {
|
|
19
|
+
readonly file: string;
|
|
20
|
+
readonly sizeBytes: number;
|
|
21
|
+
readonly sha256: string;
|
|
22
|
+
readonly identity: MicrosoftStorePackageIdentity;
|
|
23
|
+
readonly payloadIdentities: readonly MicrosoftStorePackageIdentity[];
|
|
24
|
+
readonly certification: {
|
|
25
|
+
readonly result: 'NOT_RUN';
|
|
26
|
+
} | {
|
|
27
|
+
readonly result: 'PASS';
|
|
28
|
+
readonly reportFile: string;
|
|
29
|
+
readonly reportSha256: string;
|
|
30
|
+
};
|
|
31
|
+
}[];
|
|
32
|
+
}
|
|
33
|
+
export interface RunMicrosoftStorePackageAcceptanceInput {
|
|
34
|
+
readonly gameRoot: string;
|
|
35
|
+
readonly submissionEvidenceFile: string;
|
|
36
|
+
readonly packageFiles: readonly string[];
|
|
37
|
+
readonly outputDir: string;
|
|
38
|
+
}
|
|
39
|
+
export interface MicrosoftStorePackageAcceptanceRuntime {
|
|
40
|
+
readonly platform: NodeJS.Platform;
|
|
41
|
+
readonly appCertExecutable?: string;
|
|
42
|
+
readonly makeAppxExecutable: string;
|
|
43
|
+
readonly runCommand: (command: string, args: readonly string[]) => void;
|
|
44
|
+
}
|
|
45
|
+
export interface CreateMicrosoftStorePackageAcceptanceRuntimeInput {
|
|
46
|
+
readonly appCertExecutable?: string;
|
|
47
|
+
readonly makeAppxExecutable?: string;
|
|
48
|
+
}
|
|
49
|
+
export declare function createMicrosoftStorePackageAcceptanceRuntime(input?: CreateMicrosoftStorePackageAcceptanceRuntimeInput): MicrosoftStorePackageAcceptanceRuntime;
|
|
50
|
+
export declare function findMicrosoftStoreMakeAppxExecutable(windowsKitsDir: string, architecture: NodeJS.Architecture): string;
|
|
51
|
+
export declare function runMicrosoftStorePackageAcceptance(input: RunMicrosoftStorePackageAcceptanceInput, runtime?: MicrosoftStorePackageAcceptanceRuntime): MicrosoftStorePackageAcceptanceEvidence;
|
|
52
|
+
export declare function parseMicrosoftStorePackageIdentity(xml: string): MicrosoftStorePackageIdentity;
|
|
53
|
+
export declare function parseWindowsAppCertificationResult(xml: string): 'PASS' | 'FAIL';
|
|
54
|
+
export declare function renderMicrosoftStorePackageAcceptanceMarkdown(evidence: MicrosoftStorePackageAcceptanceEvidence): string;
|