@seriousgaming/sdk-tools 1.9.0 → 1.11.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 (178) hide show
  1. package/dist/agent/guidance.md +31 -23
  2. package/dist/{cli-KJV3GGBA.js → cli-226ZJ72R.js} +1 -1
  3. package/dist/{cli-VRGVHSXH.js → cli-25SJZI7N.js} +44 -9
  4. package/dist/{cli-YI3WZF3C.js → cli-27TQVLVF.js} +11 -11
  5. package/dist/cli-27Z5T52R.js +30 -0
  6. package/dist/cli-3VLBFWHN.js +36 -0
  7. package/dist/{cli-DXHPYN4N.js → cli-44CM2AH2.js} +1 -1
  8. package/dist/{cli-2PMLR6WG.js → cli-4F24FUW6.js} +15 -15
  9. package/dist/{cli-6GDPO5VU.js → cli-4FJL3KQZ.js} +2 -2
  10. package/dist/{cli-2BF7KBBJ.js → cli-5ATO27Z4.js} +15 -15
  11. package/dist/{cli-AA5GMEUL.js → cli-5EH4WTH4.js} +4 -4
  12. package/dist/{cli-MPWTXNF6.js → cli-5M6KDNVX.js} +2 -2
  13. package/dist/{cli-J2OTL6JH.js → cli-5O7XENQY.js} +5 -5
  14. package/dist/{cli-XA4IL7IM.js → cli-5RRPUL6V.js} +11 -11
  15. package/dist/{cli-JEMWAIAA.js → cli-5TTJWM2R.js} +15 -15
  16. package/dist/{cli-S3YIYAXC.js → cli-5UKWX3IU.js} +12 -12
  17. package/dist/{cli-AEAFLZGY.js → cli-5VZBFMCK.js} +5 -1
  18. package/dist/{cli-AGYCXRPR.js → cli-5Z4D3F6Y.js} +3 -3
  19. package/dist/{cli-ZHFHOWJI.js → cli-6AMK3DYS.js} +11 -11
  20. package/dist/{cli-G7JTIP5G.js → cli-6BLVI2JM.js} +11 -7
  21. package/dist/{cli-SBKTGFY4.js → cli-6JWDFCUV.js} +17 -17
  22. package/dist/{cli-7OCEVQQN.js → cli-6O7YCK2M.js} +2 -2
  23. package/dist/{cli-GZE4V7RC.js → cli-6P6V2EHY.js} +19 -19
  24. package/dist/{cli-KD2RQS35.js → cli-77T4LJQF.js} +22 -19
  25. package/dist/{cli-IC5FOT2J.js → cli-7JUNA74L.js} +1 -1
  26. package/dist/{cli-2FXZZLCL.js → cli-AH6AMAIB.js} +1 -1
  27. package/dist/{cli-NTI22MRE.js → cli-ATAJSIXH.js} +16 -16
  28. package/dist/{cli-OOTGO3KW.js → cli-ATHATKI5.js} +49 -49
  29. package/dist/{cli-QWO3XJR3.js → cli-ATWJCB2G.js} +4 -4
  30. package/dist/{cli-QIHVXDMW.js → cli-B2QAJ5RQ.js} +15 -15
  31. package/dist/{cli-MN7X4UG2.js → cli-B3EFE7ZF.js} +1 -1
  32. package/dist/{cli-HJPNNORV.js → cli-BC67QHD5.js} +2 -2
  33. package/dist/cli-BINVO5R7.js +36 -0
  34. package/dist/{cli-PJO4BKSV.js → cli-BJFYGVJV.js} +16 -16
  35. package/dist/{cli-C45A5VX6.js → cli-BQ36DV5C.js} +3 -3
  36. package/dist/{cli-IJPRZSJ5.js → cli-BZOKZ7LP.js} +24 -22
  37. package/dist/{cli-GHIMH6JU.js → cli-C32Q5E5I.js} +1 -1
  38. package/dist/{cli-35K37SYY.js → cli-D3S7NJZ3.js} +14 -14
  39. package/dist/{cli-KGJHEDR2.js → cli-DBMEH4Y5.js} +23 -21
  40. package/dist/{cli-A7PITFRR.js → cli-DH35TZ2Q.js} +5 -3
  41. package/dist/{cli-A3P3PO6Z.js → cli-DQE7ITIR.js} +15 -15
  42. package/dist/{cli-BV7MX7JE.js → cli-EEO5ZPAZ.js} +3 -3
  43. package/dist/{cli-3RMP4HKZ.js → cli-ERJNDBDH.js} +2 -2
  44. package/dist/{cli-2JEICVMA.js → cli-F3YJKP6D.js} +3 -3
  45. package/dist/{cli-2VV5IPSY.js → cli-FT3X3D4P.js} +15 -15
  46. package/dist/{cli-LZFUSEJT.js → cli-FYPW25VD.js} +13 -13
  47. package/dist/{cli-CVOLMK3Z.js → cli-G2GLW5Z4.js} +1 -1
  48. package/dist/{cli-BYXNPBVG.js → cli-G3TU6CP6.js} +15 -15
  49. package/dist/{cli-4L7S27XO.js → cli-GO64NABP.js} +1 -1
  50. package/dist/{cli-XRVH5WV6.js → cli-GSOV26O5.js} +13 -13
  51. package/dist/{cli-2UOUIVHW.js → cli-H6PP2MZT.js} +24 -12
  52. package/dist/{cli-6Y4XIVQS.js → cli-HGCOEL5T.js} +3 -3
  53. package/dist/cli-HLI5UEKX.js +36 -0
  54. package/dist/{cli-B5LZEFLU.js → cli-HMDYG6PS.js} +15 -15
  55. package/dist/{cli-7CW2BBJG.js → cli-HNDFANQG.js} +1 -1
  56. package/dist/{cli-MSSJLABW.js → cli-IKSLPAZN.js} +3 -3
  57. package/dist/{cli-AJ5CABGJ.js → cli-JHLWBRXB.js} +15 -15
  58. package/dist/{cli-5PTCQTS6.js → cli-JXQLHJO2.js} +1 -1
  59. package/dist/{cli-H7T6E7OA.js → cli-K4HSQWXC.js} +2 -2
  60. package/dist/{cli-WJO75KP7.js → cli-KIZTASLL.js} +3 -3
  61. package/dist/{cli-MX7GFQ6N.js → cli-KJA6GLZI.js} +14 -14
  62. package/dist/{cli-KINJAQTJ.js → cli-L7F4XKCB.js} +19 -19
  63. package/dist/{cli-BC4KKNLA.js → cli-LHMRUJVN.js} +4 -2
  64. package/dist/{cli-CQUSM3SF.js → cli-LPFSJ625.js} +19 -19
  65. package/dist/{cli-BNN36WZJ.js → cli-MDVC5ZNM.js} +13 -13
  66. package/dist/{cli-TLRTLTGK.js → cli-MSNSXVGF.js} +18 -18
  67. package/dist/{cli-5BPQ73OM.js → cli-NKKCDO6K.js} +15 -15
  68. package/dist/{cli-L5ZKQNMI.js → cli-OBLEROSC.js} +15 -15
  69. package/dist/cli-OF36EA62.js +36 -0
  70. package/dist/{cli-MZM4MW7C.js → cli-OM32UURE.js} +19 -19
  71. package/dist/{cli-J75EBRAJ.js → cli-OMTHTWYJ.js} +17 -17
  72. package/dist/{cli-K6M6YB67.js → cli-OTBCA54D.js} +1 -1
  73. package/dist/cli-OVIJRBFI.js +36 -0
  74. package/dist/{cli-IVZ7AHUJ.js → cli-OXLOGXT3.js} +3 -3
  75. package/dist/{cli-NU4SCD5D.js → cli-P3NUTOPK.js} +1 -1
  76. package/dist/{cli-D6AC3ZCX.js → cli-PNS4KWWC.js} +22 -19
  77. package/dist/{cli-7N7WFRWA.js → cli-PXQYY6KM.js} +0 -0
  78. package/dist/{cli-MTAGL3QE.js → cli-Q7QSWNY2.js} +15 -15
  79. package/dist/{cli-7V6GUIIS.js → cli-QDBYFITU.js} +2 -2
  80. package/dist/{cli-QK2OD24J.js → cli-QEFYDXMH.js} +9 -2
  81. package/dist/{cli-MYBDWJP7.js → cli-QPV3TYOM.js} +20 -20
  82. package/dist/{cli-W4BHSBAX.js → cli-QTCTWYCM.js} +3 -3
  83. package/dist/{cli-HCMVZXWK.js → cli-R5SNTPND.js} +17 -17
  84. package/dist/{cli-RHYQYXE2.js → cli-REAM7LSC.js} +18 -18
  85. package/dist/{cli-GHQIATHP.js → cli-RHL4B4H7.js} +6 -5
  86. package/dist/{cli-RL5EBZL7.js → cli-RKPQLB7J.js} +3 -3
  87. package/dist/{cli-E77R7ZYB.js → cli-RMD5WSUQ.js} +15 -15
  88. package/dist/{cli-OX3254NS.js → cli-S3NHXAJM.js} +17 -17
  89. package/dist/{cli-6COAU7JR.js → cli-SRXDLMXY.js} +17 -17
  90. package/dist/{cli-DMKRP33X.js → cli-TCQJL2GY.js} +1 -1
  91. package/dist/{cli-KO26S2CL.js → cli-TEBV2OIW.js} +31 -14
  92. package/dist/{cli-USBJQAYI.js → cli-TI2FOFPA.js} +13 -13
  93. package/dist/{cli-7RLZIWFP.js → cli-TLSTSZAC.js} +19 -19
  94. package/dist/{cli-2CSI2UU2.js → cli-UEQMK4WX.js} +1 -1
  95. package/dist/cli-UIYKPSIY.js +36 -0
  96. package/dist/{cli-2I6UN6C3.js → cli-UQC46YSV.js} +3 -3
  97. package/dist/{cli-BF6L37O3.js → cli-UULZSQBV.js} +3 -3
  98. package/dist/{cli-OK6XWVIN.js → cli-UVIURDZC.js} +17 -17
  99. package/dist/{cli-6KL5B7EC.js → cli-VXLHOZSO.js} +15 -15
  100. package/dist/{cli-UR63LFVK.js → cli-W3RG2MRI.js} +2 -2
  101. package/dist/{cli-G54355N5.js → cli-WJVPSVF2.js} +22 -19
  102. package/dist/{cli-YD4SBAHQ.js → cli-WNBP3LOD.js} +19 -19
  103. package/dist/{cli-DJCQ5XFR.js → cli-WNHMJM3Z.js} +15 -15
  104. package/dist/{cli-CL3KF5KS.js → cli-WQ7JBZNW.js} +2 -2
  105. package/dist/{cli-VTLFQHDO.js → cli-WW54THXN.js} +1 -1
  106. package/dist/cli-WZNIW6ZO.js +16 -0
  107. package/dist/{cli-BT47H36C.js → cli-X3TSTTYI.js} +2 -2
  108. package/dist/{cli-ICLCA6VD.js → cli-X52TXCNF.js} +19 -19
  109. package/dist/{cli-ZZSPFLTK.js → cli-X64BNBQH.js} +26 -4
  110. package/dist/{cli-CKV44U7P.js → cli-XJ7JESC2.js} +19 -19
  111. package/dist/{cli-EDZF5Q2E.js → cli-XKAIDYIE.js} +14 -14
  112. package/dist/{cli-CPX4YA3P.js → cli-XNOAO6DY.js} +11 -11
  113. package/dist/{cli-R6YAZP6E.js → cli-XOYUTNER.js} +19 -19
  114. package/dist/{cli-3VV2JLHX.js → cli-XW3JLRSA.js} +1 -1
  115. package/dist/{cli-S7PLSPGE.js → cli-YYXAGJQR.js} +15 -15
  116. package/dist/{cli-LFUKHLHI.js → cli-ZGCG6C22.js} +17 -17
  117. package/dist/{cli-QRAYIXNE.js → cli-ZJW6HQ6N.js} +5 -5
  118. package/dist/{cli-Y33ULHYO.js → cli-ZNQBF4Z3.js} +1 -1
  119. package/dist/cli.js +52 -52
  120. package/dist/client/index.d.ts +1 -1
  121. package/dist/client/test-session.d.ts +44 -6
  122. package/dist/client.js +100 -12
  123. package/dist/dev/console/assets/{index-CVNjiRUh.js → index-Ch6HHb2T.js} +1 -1
  124. package/dist/dev/console/index.html +1 -1
  125. package/dist/dev/surfaces.d.ts +8 -2
  126. package/dist/docs/api/index.md +3 -1
  127. package/dist/docs/api/sdk-tools-client.md +38 -6
  128. package/dist/docs/api/sdk-tools-vite.md +21 -0
  129. package/dist/docs/api/sdk.md +2 -0
  130. package/dist/docs/changelog.md +49 -0
  131. package/dist/docs/cli-error-codes.md +41 -39
  132. package/dist/docs/cli-reference.md +2 -1
  133. package/dist/docs/guides/endpoints.md +1 -1
  134. package/dist/docs/guides/engine-testing.md +49 -14
  135. package/dist/docs/guides/engine.md +2 -2
  136. package/dist/docs/guides/scenario-editor.md +1 -1
  137. package/dist/docs/guides/setup.md +22 -5
  138. package/dist/docs/guides/testing.md +3 -8
  139. package/dist/docs/guides/upgrading.md +15 -0
  140. package/dist/docs/page-index.md +6 -5
  141. package/dist/docs/recipes/create-game.md +1 -1
  142. package/dist/docs/recipes/fix-duplicate-packages.md +8 -19
  143. package/dist/docs/recipes/give-setup-a-menu.md +7 -1
  144. package/dist/docs/recipes/write-setup-notes.md +2 -2
  145. package/dist/host/protocol.d.ts +8 -5
  146. package/dist/oxlint/logic.json +184 -0
  147. package/dist/playwright.js +100 -12
  148. package/dist/runtime/manifest-version.d.ts +1 -1
  149. package/dist/runtime.js +1 -1
  150. package/dist/schema.json +20 -0
  151. package/dist/templates/package/README.md.liquid +1 -0
  152. package/dist/templates/package/claude/rules/workflow-create-engine.md +1 -1
  153. package/dist/templates/package/claude/rules/workflow-create-user-interface.md +1 -1
  154. package/dist/templates/package/claude/rules/workflow-test-engine-or-ui.md +1 -1
  155. package/dist/templates/package/claude/rules/workflow-update-sdk-version.md +2 -2
  156. package/dist/templates/package/claude/settings.json.template +1 -0
  157. package/dist/templates/package/oxfmtrc.json.template +8 -1
  158. package/dist/templates/package/oxlintrc.json.template +1 -180
  159. package/dist/templates/package/package.json.liquid +1 -0
  160. package/dist/templates/package/vite.config.ts.liquid +2 -8
  161. package/dist/templates/package/vitest.config.ts.liquid +2 -8
  162. package/dist/templates/starter-game/package.json +2 -1
  163. package/dist/templates/starter-game/testing/engine/game.engine.test.ts +62 -37
  164. package/dist/templates/starter-game/vite.config.ts +2 -8
  165. package/dist/templates/starter-game/vitest.config.ts +4 -3
  166. package/dist/utils/error-codes.d.ts +6 -2
  167. package/dist/utils/resource-scan.d.ts +5 -0
  168. package/dist/vite/index.d.ts +30 -0
  169. package/dist/vite.js +12 -0
  170. package/package.json +12 -4
  171. package/dist/cli-3I6AI4AA.js +0 -36
  172. package/dist/cli-3YGNWZC6.js +0 -30
  173. package/dist/cli-4X3X4HB2.js +0 -16
  174. package/dist/cli-6ZBQELF2.js +0 -36
  175. package/dist/cli-CUZUIYCQ.js +0 -36
  176. package/dist/cli-DNCJURUU.js +0 -36
  177. package/dist/cli-UKC7KXWU.js +0 -36
  178. package/dist/cli-WA2PDQUB.js +0 -36
@@ -207,7 +207,11 @@ export declare const ERROR_CODES: {
207
207
  };
208
208
  readonly SETUP_NOTES_UNCONFIGURED: {
209
209
  readonly category: "package";
210
- readonly description: "A warning: the setup notes name a setting the setup UI does not `configures`, so a host refuses the change they describe.";
210
+ readonly description: "A warning: the setup notes name a setting the setup UI neither `configures` nor lists in `settings`, so a host refuses the change they describe and the setup UI cannot see it.";
211
+ };
212
+ readonly EDITOR_SETTINGS_CONFIGURED: {
213
+ readonly category: "package";
214
+ readonly description: "A warning: a settings editor lists a settings resource in both `configures` and `settings`. Configuring a resource already sends it, so the `settings` entry does nothing.";
211
215
  };
212
216
  readonly SETTINGS_UNGATED: {
213
217
  readonly category: "package";
@@ -368,7 +372,7 @@ export type ErrorCode = keyof typeof ERROR_CODES;
368
372
  * failure's `error.code` says what kind of failure it was; its diagnostics say
369
373
  * what was found and where. LOGIC_ERROR is only ever a diagnostic.
370
374
  */
371
- export declare const DIAGNOSTIC_CODES: readonly ["PACKAGE_INVALID", "SCHEMA_INVALID", "JSON_INVALID", "BUNDLE_MISSING", "REMOVED_FIELD", "LAYOUT_OUTDATED", "FEATURE_UNSUPPORTED", "FEATURE_UNDECLARED", "REFERENCE_UNKNOWN", "SETTINGS_UNKNOWN", "SETTINGS_UNKNOWN_KEY", "SETTINGS_INVALID", "SETTINGS_RESERVED", "SETTINGS_LOCKED", "GAME_CONSTRAINT_INVALID", "GAME_CONSTRAINT_VIOLATED", "LOGIC_EXPORT_MISSING", "LOGIC_NODE_BUILTIN", "LOGIC_BUNDLE_FAILED", "READ_NEVER_WRITTEN", "NO_TERMINATION", "SCENARIO_EDITOR_UNREACHABLE", "SCENARIO_REFUSED", "SCENARIO_WARNING", "SETTINGS_UNGATED", "SETUP_NOTES_UNCONFIGURED", "EDITOR_ENDPOINT_NOT_SCENARIO", "SCENARIO_ENDPOINT_STATEFUL", "EXTERNAL_REQUEST_NOT_OBJECT", "ENDPOINT_UNREQUESTED", "LOGIC_ERROR"];
375
+ export declare const DIAGNOSTIC_CODES: readonly ["PACKAGE_INVALID", "SCHEMA_INVALID", "JSON_INVALID", "BUNDLE_MISSING", "REMOVED_FIELD", "LAYOUT_OUTDATED", "FEATURE_UNSUPPORTED", "FEATURE_UNDECLARED", "REFERENCE_UNKNOWN", "SETTINGS_UNKNOWN", "SETTINGS_UNKNOWN_KEY", "SETTINGS_INVALID", "SETTINGS_RESERVED", "SETTINGS_LOCKED", "GAME_CONSTRAINT_INVALID", "GAME_CONSTRAINT_VIOLATED", "LOGIC_EXPORT_MISSING", "LOGIC_NODE_BUILTIN", "LOGIC_BUNDLE_FAILED", "READ_NEVER_WRITTEN", "NO_TERMINATION", "SCENARIO_EDITOR_UNREACHABLE", "SCENARIO_REFUSED", "SCENARIO_WARNING", "SETTINGS_UNGATED", "SETUP_NOTES_UNCONFIGURED", "EDITOR_SETTINGS_CONFIGURED", "EDITOR_ENDPOINT_NOT_SCENARIO", "SCENARIO_ENDPOINT_STATEFUL", "EXTERNAL_REQUEST_NOT_OBJECT", "ENDPOINT_UNREQUESTED", "LOGIC_ERROR"];
372
376
  export type DiagnosticCode = (typeof DIAGNOSTIC_CODES)[number];
373
377
  export declare function categoryOf(code: ErrorCode): ErrorCategory;
374
378
  export declare function exitCodeOf(code: ErrorCode): number;
@@ -37,3 +37,8 @@ export declare function resourceNames(packagePath: string, meta: ResourceMeta):
37
37
  export declare function bundlePaths(packagePath: string, meta: ResourceMeta): string[];
38
38
  /** The absolute path to one resource's bundle, or undefined when it is absent. */
39
39
  export declare function findBundleFile(packagePath: string, type: ResourceType, identifier?: string): string | undefined;
40
+ /**
41
+ * What to tell someone who named a resource that is not there: the ones of
42
+ * that type the package does hold, or how to make the first.
43
+ */
44
+ export declare function existingResourcesHint(packagePath: string, type: ResourceType): string;
@@ -0,0 +1,30 @@
1
+ /**
2
+ * What a game's Vite and Vitest configs need from the SDK.
3
+ *
4
+ * Imported from `@seriousgaming/sdk-tools/vite` by a `vite.config.ts` or a
5
+ * `vitest.config.ts`, so it stays free of the CLI and the dev server: a config
6
+ * file is loaded on every run.
7
+ */
8
+ /**
9
+ * Every package that holds React context a surface reads, for
10
+ * `resolve.dedupe`.
11
+ *
12
+ * A second copy of one of these brings contexts of its own, so a hook finds
13
+ * none of the providers the host set up: React's 'Invalid hook call' when a
14
+ * dependency bundles its own React, or an SDK hook in a shared package of
15
+ * yours that reads empty data. `sdk build` dedupes them itself; a
16
+ * `vite.config.ts` and a `vitest.config.ts` ask for the same single copies:
17
+ *
18
+ * ```ts
19
+ * import { REACT_CONTEXT_PACKAGES } from '@seriousgaming/sdk-tools/vite';
20
+ * import { defineConfig } from 'vite';
21
+ *
22
+ * export default defineConfig({
23
+ * resolve: { dedupe: [...REACT_CONTEXT_PACKAGES] },
24
+ * });
25
+ * ```
26
+ *
27
+ * The list grows when the SDK gains a package that holds context, which is why
28
+ * a game reads it from here rather than keeping a copy.
29
+ */
30
+ export declare const REACT_CONTEXT_PACKAGES: readonly string[];
package/dist/vite.js ADDED
@@ -0,0 +1,12 @@
1
+ // cli/vite/index.ts
2
+ var REACT_CONTEXT_PACKAGES = [
3
+ "react",
4
+ "react-dom",
5
+ "@emotion/react",
6
+ "@emotion/styled",
7
+ "@seriousgaming/sdk",
8
+ "@seriousgaming/deck"
9
+ ];
10
+ export {
11
+ REACT_CONTEXT_PACKAGES
12
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seriousgaming/sdk-tools",
3
- "version": "1.9.0",
3
+ "version": "1.11.0",
4
4
  "description": "SDK tooling for building Serious Gaming games",
5
5
  "homepage": "https://sdk.seriousgaming.com/",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -24,6 +24,9 @@
24
24
  ],
25
25
  "runtime": [
26
26
  "./dist/runtime/index.d.ts"
27
+ ],
28
+ "vite": [
29
+ "./dist/vite/index.d.ts"
27
30
  ]
28
31
  }
29
32
  },
@@ -36,6 +39,10 @@
36
39
  "types": "./dist/client/playwright.d.ts",
37
40
  "default": "./dist/playwright.js"
38
41
  },
42
+ "./vite": {
43
+ "types": "./dist/vite/index.d.ts",
44
+ "default": "./dist/vite.js"
45
+ },
39
46
  "./host": {
40
47
  "types": "./dist/host/index.d.ts",
41
48
  "default": "./dist/host.js"
@@ -45,6 +52,7 @@
45
52
  "default": "./dist/runtime.js"
46
53
  },
47
54
  "./schema.json": "./dist/schema.json",
55
+ "./oxlint/logic.json": "./dist/oxlint/logic.json",
48
56
  "./package.json": "./package.json"
49
57
  },
50
58
  "dependencies": {
@@ -74,7 +82,7 @@
74
82
  "@mui/icons-material": "^9.5.0",
75
83
  "@mui/material": "^9.5.0",
76
84
  "@playwright/test": "^1.64.1",
77
- "@seriousgaming/sdk": "1.9.0",
85
+ "@seriousgaming/sdk": "1.11.0",
78
86
  "@testing-library/jest-dom": "^7.0.1",
79
87
  "@testing-library/react": "^16.3.3",
80
88
  "@types/express": "^5.0.6",
@@ -103,7 +111,7 @@
103
111
  },
104
112
  "peerDependencies": {
105
113
  "@playwright/test": ">=1.50.0",
106
- "@seriousgaming/sdk": "^1.9.0"
114
+ "@seriousgaming/sdk": "^1.11.0"
107
115
  },
108
116
  "peerDependenciesMeta": {
109
117
  "@playwright/test": {
@@ -121,7 +129,7 @@
121
129
  "lint:fix": "oxlint --fix",
122
130
  "format": "oxfmt",
123
131
  "format:check": "oxfmt --check",
124
- "typecheck": "tsc --noEmit && tsc -p cli/dev/console --noEmit",
132
+ "typecheck": "tsc --noEmit --incremental --tsBuildInfoFile node_modules/.cache/tsc/typecheck.tsbuildinfo && tsc -p cli/dev/console --noEmit --incremental --tsBuildInfoFile node_modules/.cache/tsc/console.tsbuildinfo",
125
133
  "test": "vitest",
126
134
  "test:run": "vitest run && vitest run --config cli/dev/console/vitest.config.ts",
127
135
  "test:coverage": "vitest run --coverage",
@@ -1,36 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- deleteSettingsEditor
4
- } from "./cli-S3YIYAXC.js";
5
- import "./cli-BV7MX7JE.js";
6
- import "./cli-A7PITFRR.js";
7
- import "./cli-S5IVGDDD.js";
8
- import "./cli-7OCEVQQN.js";
9
- import "./cli-3VV2JLHX.js";
10
- import "./cli-GHQIATHP.js";
11
- import "./cli-VTLFQHDO.js";
12
- import "./cli-QUNIRH7A.js";
13
- import "./cli-3RMP4HKZ.js";
14
- import "./cli-BC4KKNLA.js";
15
- import "./cli-BT47H36C.js";
16
- import "./cli-QK2OD24J.js";
17
- import "./cli-W4BHSBAX.js";
18
- import "./cli-NU4SCD5D.js";
19
- import "./cli-2I6UN6C3.js";
20
- import "./cli-G7JTIP5G.js";
21
- import "./cli-2CSI2UU2.js";
22
- import "./cli-5PTCQTS6.js";
23
- import "./cli-25RWY5BQ.js";
24
- import "./cli-QWQMPCL6.js";
25
- import "./cli-ZZSPFLTK.js";
26
- import "./cli-F2D4GGUA.js";
27
- import "./cli-DMKRP33X.js";
28
- import "./cli-AEAFLZGY.js";
29
-
30
- // cli/commands/resources/setup/delete.ts
31
- function deleteSetup(options) {
32
- return deleteSettingsEditor("setup", options);
33
- }
34
- export {
35
- deleteSetup
36
- };
@@ -1,30 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- submitPatch,
4
- submitSharedPatch,
5
- tickCommand
6
- } from "./cli-2JEICVMA.js";
7
- import "./cli-QRAYIXNE.js";
8
- import "./cli-HJPNNORV.js";
9
- import "./cli-QWO3XJR3.js";
10
- import "./cli-7N7WFRWA.js";
11
- import "./cli-BF6L37O3.js";
12
- import "./cli-K6M6YB67.js";
13
- import "./cli-Y33ULHYO.js";
14
- import "./cli-KJV3GGBA.js";
15
- import "./cli-4LKXZQ2B.js";
16
- import "./cli-7CW2BBJG.js";
17
- import "./cli-S5IVGDDD.js";
18
- import "./cli-QUNIRH7A.js";
19
- import "./cli-5PTCQTS6.js";
20
- import "./cli-25RWY5BQ.js";
21
- import "./cli-QWQMPCL6.js";
22
- import "./cli-ZZSPFLTK.js";
23
- import "./cli-F2D4GGUA.js";
24
- import "./cli-DMKRP33X.js";
25
- import "./cli-AEAFLZGY.js";
26
- export {
27
- submitPatch,
28
- submitSharedPatch,
29
- tickCommand
30
- };
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- generateCommand
4
- } from "./cli-2I6UN6C3.js";
5
- import "./cli-G7JTIP5G.js";
6
- import "./cli-2CSI2UU2.js";
7
- import "./cli-5PTCQTS6.js";
8
- import "./cli-25RWY5BQ.js";
9
- import "./cli-QWQMPCL6.js";
10
- import "./cli-ZZSPFLTK.js";
11
- import "./cli-F2D4GGUA.js";
12
- import "./cli-DMKRP33X.js";
13
- import "./cli-AEAFLZGY.js";
14
- export {
15
- generateCommand
16
- };
@@ -1,36 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- createSettingsEditor
4
- } from "./cli-S3YIYAXC.js";
5
- import "./cli-BV7MX7JE.js";
6
- import "./cli-A7PITFRR.js";
7
- import "./cli-S5IVGDDD.js";
8
- import "./cli-7OCEVQQN.js";
9
- import "./cli-3VV2JLHX.js";
10
- import "./cli-GHQIATHP.js";
11
- import "./cli-VTLFQHDO.js";
12
- import "./cli-QUNIRH7A.js";
13
- import "./cli-3RMP4HKZ.js";
14
- import "./cli-BC4KKNLA.js";
15
- import "./cli-BT47H36C.js";
16
- import "./cli-QK2OD24J.js";
17
- import "./cli-W4BHSBAX.js";
18
- import "./cli-NU4SCD5D.js";
19
- import "./cli-2I6UN6C3.js";
20
- import "./cli-G7JTIP5G.js";
21
- import "./cli-2CSI2UU2.js";
22
- import "./cli-5PTCQTS6.js";
23
- import "./cli-25RWY5BQ.js";
24
- import "./cli-QWQMPCL6.js";
25
- import "./cli-ZZSPFLTK.js";
26
- import "./cli-F2D4GGUA.js";
27
- import "./cli-DMKRP33X.js";
28
- import "./cli-AEAFLZGY.js";
29
-
30
- // cli/commands/resources/scenario-editor/new.ts
31
- function createScenarioEditor(definitionInput, options) {
32
- return createSettingsEditor("scenario_editor", definitionInput, options);
33
- }
34
- export {
35
- createScenarioEditor
36
- };
@@ -1,36 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- updateSettingsEditor
4
- } from "./cli-S3YIYAXC.js";
5
- import "./cli-BV7MX7JE.js";
6
- import "./cli-A7PITFRR.js";
7
- import "./cli-S5IVGDDD.js";
8
- import "./cli-7OCEVQQN.js";
9
- import "./cli-3VV2JLHX.js";
10
- import "./cli-GHQIATHP.js";
11
- import "./cli-VTLFQHDO.js";
12
- import "./cli-QUNIRH7A.js";
13
- import "./cli-3RMP4HKZ.js";
14
- import "./cli-BC4KKNLA.js";
15
- import "./cli-BT47H36C.js";
16
- import "./cli-QK2OD24J.js";
17
- import "./cli-W4BHSBAX.js";
18
- import "./cli-NU4SCD5D.js";
19
- import "./cli-2I6UN6C3.js";
20
- import "./cli-G7JTIP5G.js";
21
- import "./cli-2CSI2UU2.js";
22
- import "./cli-5PTCQTS6.js";
23
- import "./cli-25RWY5BQ.js";
24
- import "./cli-QWQMPCL6.js";
25
- import "./cli-ZZSPFLTK.js";
26
- import "./cli-F2D4GGUA.js";
27
- import "./cli-DMKRP33X.js";
28
- import "./cli-AEAFLZGY.js";
29
-
30
- // cli/commands/resources/setup/update.ts
31
- function updateSetup(definitionInput, options) {
32
- return updateSettingsEditor("setup", definitionInput, options);
33
- }
34
- export {
35
- updateSetup
36
- };
@@ -1,36 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- deleteSettingsEditor
4
- } from "./cli-S3YIYAXC.js";
5
- import "./cli-BV7MX7JE.js";
6
- import "./cli-A7PITFRR.js";
7
- import "./cli-S5IVGDDD.js";
8
- import "./cli-7OCEVQQN.js";
9
- import "./cli-3VV2JLHX.js";
10
- import "./cli-GHQIATHP.js";
11
- import "./cli-VTLFQHDO.js";
12
- import "./cli-QUNIRH7A.js";
13
- import "./cli-3RMP4HKZ.js";
14
- import "./cli-BC4KKNLA.js";
15
- import "./cli-BT47H36C.js";
16
- import "./cli-QK2OD24J.js";
17
- import "./cli-W4BHSBAX.js";
18
- import "./cli-NU4SCD5D.js";
19
- import "./cli-2I6UN6C3.js";
20
- import "./cli-G7JTIP5G.js";
21
- import "./cli-2CSI2UU2.js";
22
- import "./cli-5PTCQTS6.js";
23
- import "./cli-25RWY5BQ.js";
24
- import "./cli-QWQMPCL6.js";
25
- import "./cli-ZZSPFLTK.js";
26
- import "./cli-F2D4GGUA.js";
27
- import "./cli-DMKRP33X.js";
28
- import "./cli-AEAFLZGY.js";
29
-
30
- // cli/commands/resources/scenario-editor/delete.ts
31
- function deleteScenarioEditor(options) {
32
- return deleteSettingsEditor("scenario_editor", options);
33
- }
34
- export {
35
- deleteScenarioEditor
36
- };
@@ -1,36 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- updateSettingsEditor
4
- } from "./cli-S3YIYAXC.js";
5
- import "./cli-BV7MX7JE.js";
6
- import "./cli-A7PITFRR.js";
7
- import "./cli-S5IVGDDD.js";
8
- import "./cli-7OCEVQQN.js";
9
- import "./cli-3VV2JLHX.js";
10
- import "./cli-GHQIATHP.js";
11
- import "./cli-VTLFQHDO.js";
12
- import "./cli-QUNIRH7A.js";
13
- import "./cli-3RMP4HKZ.js";
14
- import "./cli-BC4KKNLA.js";
15
- import "./cli-BT47H36C.js";
16
- import "./cli-QK2OD24J.js";
17
- import "./cli-W4BHSBAX.js";
18
- import "./cli-NU4SCD5D.js";
19
- import "./cli-2I6UN6C3.js";
20
- import "./cli-G7JTIP5G.js";
21
- import "./cli-2CSI2UU2.js";
22
- import "./cli-5PTCQTS6.js";
23
- import "./cli-25RWY5BQ.js";
24
- import "./cli-QWQMPCL6.js";
25
- import "./cli-ZZSPFLTK.js";
26
- import "./cli-F2D4GGUA.js";
27
- import "./cli-DMKRP33X.js";
28
- import "./cli-AEAFLZGY.js";
29
-
30
- // cli/commands/resources/scenario-editor/update.ts
31
- function updateScenarioEditor(definitionInput, options) {
32
- return updateSettingsEditor("scenario_editor", definitionInput, options);
33
- }
34
- export {
35
- updateScenarioEditor
36
- };
@@ -1,36 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- createSettingsEditor
4
- } from "./cli-S3YIYAXC.js";
5
- import "./cli-BV7MX7JE.js";
6
- import "./cli-A7PITFRR.js";
7
- import "./cli-S5IVGDDD.js";
8
- import "./cli-7OCEVQQN.js";
9
- import "./cli-3VV2JLHX.js";
10
- import "./cli-GHQIATHP.js";
11
- import "./cli-VTLFQHDO.js";
12
- import "./cli-QUNIRH7A.js";
13
- import "./cli-3RMP4HKZ.js";
14
- import "./cli-BC4KKNLA.js";
15
- import "./cli-BT47H36C.js";
16
- import "./cli-QK2OD24J.js";
17
- import "./cli-W4BHSBAX.js";
18
- import "./cli-NU4SCD5D.js";
19
- import "./cli-2I6UN6C3.js";
20
- import "./cli-G7JTIP5G.js";
21
- import "./cli-2CSI2UU2.js";
22
- import "./cli-5PTCQTS6.js";
23
- import "./cli-25RWY5BQ.js";
24
- import "./cli-QWQMPCL6.js";
25
- import "./cli-ZZSPFLTK.js";
26
- import "./cli-F2D4GGUA.js";
27
- import "./cli-DMKRP33X.js";
28
- import "./cli-AEAFLZGY.js";
29
-
30
- // cli/commands/resources/setup/new.ts
31
- function createSetup(definitionInput, options) {
32
- return createSettingsEditor("setup", definitionInput, options);
33
- }
34
- export {
35
- createSetup
36
- };