@scaffscript/core 0.2.1 → 0.2.3

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.
@@ -0,0 +1,95 @@
1
+ export type ScaffConfig = {
2
+ /**
3
+ * accept all generated files to be integrated without manual confirmation (default = false)
4
+ */
5
+ acceptAllIntegrations: boolean;
6
+
7
+ /**
8
+ * clear the output directory before generating source code (default = false)
9
+ */
10
+ clearOutputDir: boolean;
11
+
12
+ /**
13
+ * starting value for the counter special value (default = 1)
14
+ */
15
+ counterStart: number;
16
+
17
+ /**
18
+ * debug level (default = 0, 0 = no debug, 1 = basic debug, 2 = verbose debug)
19
+ */
20
+ debugLevel: 0 | 1 | 2;
21
+
22
+ /**
23
+ * integration options
24
+ */
25
+ integrationOption: ScaffIntegrationOptions;
26
+
27
+ /**
28
+ * don't backup the original files before integration (default = false)
29
+ */
30
+ noBackup: boolean;
31
+
32
+ /**
33
+ * don't integrate the files to GM project (default = false)
34
+ */
35
+ noIntegration: boolean;
36
+
37
+ /**
38
+ * what to do when something is not found (default = "error")
39
+ */
40
+ onNotFound: "error" | "ignore";
41
+
42
+ /**
43
+ * path aliases (default = {})
44
+ */
45
+ path: Record<string, string>;
46
+
47
+ /**
48
+ * whether the script is running in production mode (default = false)
49
+ */
50
+ production: boolean;
51
+
52
+ /**
53
+ * source directory (default = "./src")
54
+ */
55
+ source: string;
56
+
57
+ /**
58
+ * tab type to use when generating source code (default = "1t")
59
+ */
60
+ tabType: "1t" | "2s" | "4s";
61
+
62
+ /**
63
+ * target platform for the generated code (default = "all"). only used for tree-shaking purpose
64
+ */
65
+ targetPlatform: ScaffIntegrationTargetPlatform;
66
+
67
+ /**
68
+ * whether to use GM asset path when integrating files (default = false). asset path: `scripts` and `objects`
69
+ */
70
+ useGmAssetPath: boolean;
71
+ };
72
+
73
+ type ScaffIntegrationOptions = Partial<{
74
+ isDnd: boolean;
75
+ }>;
76
+
77
+ type ScaffIntegrationTargetPlatform =
78
+ | "all"
79
+ | "android"
80
+ | "gxgames"
81
+ | "html5"
82
+ | "ios"
83
+ | "linux"
84
+ | "mac"
85
+ | "ps4"
86
+ | "ps5"
87
+ | "reddit"
88
+ | "switch"
89
+ | "switch2"
90
+ | "tvos"
91
+ | "ubuntu"
92
+ | "windows"
93
+ | "xboxone"
94
+ | "xboxseries"
95
+ ;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaffscript/core",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/undervolta/scaffscript"