@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.
Files changed (48) hide show
  1. package/dist/index.d.ts +3 -0
  2. package/dist/index.js +500 -11
  3. package/dist/microsoft-store-package-acceptance.d.ts +54 -0
  4. package/dist/microsoft-store-package-acceptance.js +787 -0
  5. package/dist/microsoft-store-package-generation-contract.d.ts +129 -0
  6. package/dist/microsoft-store-package-generation-contract.js +3 -0
  7. package/dist/microsoft-store-package-generation-download.d.ts +22 -0
  8. package/dist/microsoft-store-package-generation-download.js +453 -0
  9. package/dist/microsoft-store-package-generation-input.d.ts +3 -0
  10. package/dist/microsoft-store-package-generation-input.js +384 -0
  11. package/dist/microsoft-store-package-generation-integrity.d.ts +5 -0
  12. package/dist/microsoft-store-package-generation-integrity.js +100 -0
  13. package/dist/microsoft-store-package-generation-manifest.d.ts +3 -0
  14. package/dist/microsoft-store-package-generation-manifest.js +67 -0
  15. package/dist/microsoft-store-package-generation-zip.d.ts +1 -0
  16. package/dist/microsoft-store-package-generation-zip.js +180 -0
  17. package/dist/microsoft-store-package-generation.d.ts +24 -0
  18. package/dist/microsoft-store-package-generation.js +430 -0
  19. package/dist/microsoft-store-starter.d.ts +28 -0
  20. package/dist/microsoft-store-starter.js +655 -0
  21. package/dist/microsoft-store-submission.d.ts +79 -0
  22. package/dist/microsoft-store-submission.js +952 -0
  23. package/dist/microsoft-store-supported-locales.d.ts +1 -0
  24. package/dist/microsoft-store-supported-locales.js +33 -0
  25. package/dist/production-target-readiness.js +3 -1
  26. package/package.json +9 -8
  27. package/templates/phaser-game/.agents/skills/release-microsoft-store/SKILL.md +60 -0
  28. package/templates/phaser-game/.agents/skills/release-microsoft-store/agents/openai.yaml +4 -0
  29. package/templates/phaser-game/.agents/skills/use-mpgd-kit/SKILL.md +45 -0
  30. package/templates/phaser-game/.agents/skills/use-mpgd-kit/agents/openai.yaml +4 -0
  31. package/templates/phaser-game/AGENTS.md +34 -0
  32. package/templates/phaser-game/README.md +88 -25
  33. package/templates/phaser-game/agent/acceptance.md +8 -0
  34. package/templates/phaser-game/agent/brief.md +13 -1
  35. package/templates/phaser-game/agent/game-manifest.json +7 -0
  36. package/templates/phaser-game/apps/target-ait/granite.config.ts +35 -0
  37. package/templates/phaser-game/apps/target-ait/index.html +15 -0
  38. package/templates/phaser-game/apps/target-ait/package.json +33 -0
  39. package/templates/phaser-game/apps/target-ait/src/main.ts +34 -0
  40. package/templates/phaser-game/apps/target-ait/src/styles.css +33 -0
  41. package/templates/phaser-game/apps/target-ait/tsconfig.json +8 -0
  42. package/templates/phaser-game/apps/target-ait/vite.config.ts +53 -0
  43. package/templates/phaser-game/docs/MPGD_KIT_WORKFLOWS.md +128 -0
  44. package/templates/phaser-game/gitignore +7 -0
  45. package/templates/phaser-game/mpgd.microsoft-store.json +29 -0
  46. package/templates/phaser-game/mpgd.targets.json +9 -2
  47. package/templates/phaser-game/package.json +11 -9
  48. package/templates/phaser-game/vite.shared.ts +13 -0
@@ -0,0 +1,79 @@
1
+ export declare const microsoftStoreSubmissionSchemaVersion: 1;
2
+ export interface MicrosoftStoreSubmissionConfig {
3
+ readonly schemaVersion: 1;
4
+ readonly productIdentity: {
5
+ readonly packageId: string;
6
+ readonly publisherId: string;
7
+ readonly publisherDisplayName: string;
8
+ readonly reservedName: string;
9
+ };
10
+ readonly listing: {
11
+ readonly category: 'Games';
12
+ readonly supportUrl: string;
13
+ readonly personalData: {
14
+ readonly accessedOrTransmitted: boolean;
15
+ readonly privacyPolicyUrl?: string;
16
+ };
17
+ readonly locales: Readonly<Record<string, {
18
+ readonly description: string;
19
+ readonly screenshots: readonly string[];
20
+ }>>;
21
+ };
22
+ readonly ageRating: {
23
+ readonly questionnaireCompleted: true;
24
+ readonly iarcId?: string;
25
+ };
26
+ readonly commerce: {
27
+ readonly mode: 'disabled';
28
+ };
29
+ }
30
+ export interface MicrosoftStoreSubmissionEvidence {
31
+ readonly schemaVersion: 1;
32
+ readonly target: 'microsoft-store';
33
+ readonly configFile: string;
34
+ readonly artifactRoot: string;
35
+ readonly productIdentity: MicrosoftStoreSubmissionConfig['productIdentity'];
36
+ readonly manifest: {
37
+ readonly file: string;
38
+ readonly sha256: string;
39
+ readonly id: string;
40
+ readonly name: string;
41
+ readonly shortName: string;
42
+ readonly startUrl: string;
43
+ readonly scope: string;
44
+ readonly iconCount: number;
45
+ readonly icons: readonly {
46
+ readonly file: string;
47
+ readonly sha256: string;
48
+ readonly width: number;
49
+ readonly height: number;
50
+ }[];
51
+ };
52
+ readonly listing: {
53
+ readonly category: 'Games';
54
+ readonly supportUrl: string;
55
+ readonly personalData: MicrosoftStoreSubmissionConfig['listing']['personalData'];
56
+ readonly locales: Readonly<Record<string, {
57
+ readonly description: string;
58
+ readonly screenshots: readonly {
59
+ readonly file: string;
60
+ readonly sha256: string;
61
+ readonly width: number;
62
+ readonly height: number;
63
+ }[];
64
+ }>>;
65
+ };
66
+ readonly ageRating: MicrosoftStoreSubmissionConfig['ageRating'];
67
+ readonly commerce: MicrosoftStoreSubmissionConfig['commerce'];
68
+ readonly warnings: readonly string[];
69
+ }
70
+ export interface RunMicrosoftStoreSubmissionPreflightInput {
71
+ readonly gameRoot: string;
72
+ readonly artifactRoot: string;
73
+ readonly configFile: string;
74
+ readonly jsonFile: string;
75
+ readonly markdownFile: string;
76
+ }
77
+ export declare function runMicrosoftStoreSubmissionPreflight(input: RunMicrosoftStoreSubmissionPreflightInput): MicrosoftStoreSubmissionEvidence;
78
+ export declare function parseMicrosoftStoreSubmissionConfig(input: unknown): MicrosoftStoreSubmissionConfig;
79
+ export declare function renderMicrosoftStoreSubmissionMarkdown(evidence: MicrosoftStoreSubmissionEvidence): string;