@bscotch/stitch-config 0.3.0 → 0.4.1
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/schema.d.ts +48 -122
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +43 -12
- package/dist/schema.js.map +1 -1
- package/package.json +5 -4
package/dist/schema.d.ts
CHANGED
|
@@ -1,133 +1,59 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Workaround for Zod4 Record<string,string> failing
|
|
4
|
+
* when a field name matches "constructor"
|
|
5
|
+
* (See https://github.com/colinhacks/zod/issues/5066)
|
|
6
|
+
*/
|
|
7
|
+
export type PermissiveStringRecord = z.infer<typeof permissiveStringRecord>;
|
|
8
|
+
export declare const permissiveStringRecord: z.ZodObject<{}, z.core.$catchall<z.ZodString>>;
|
|
2
9
|
export declare const jsonSchemaUrl = "https://raw.githubusercontent.com/bscotch/stitch/develop/packages/config/schemas/stitch.config.schema.json";
|
|
3
10
|
export type NewSoundDefaults = z.infer<typeof newSoundDefaultsSchema>;
|
|
4
11
|
export declare const newSoundDefaultsSchema: z.ZodObject<{
|
|
5
12
|
mono: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
-
},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
export type GameConsoleLineStyle = z.infer<typeof gameConsoleLineStyleSchema>;
|
|
15
|
+
export declare const gameConsoleLineStyleSchema: z.ZodObject<{
|
|
16
|
+
base: z.ZodOptional<z.ZodString>;
|
|
17
|
+
description: z.ZodOptional<z.ZodString>;
|
|
18
|
+
pattern: z.ZodString;
|
|
19
|
+
caseSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
styles: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
|
+
export type GameConsoleStyle = z.infer<typeof gameConsoleStyleSchema>;
|
|
23
|
+
export declare const gameConsoleStyleSchema: z.ZodObject<{
|
|
24
|
+
base: z.ZodOptional<z.ZodString>;
|
|
25
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26
|
+
base: z.ZodOptional<z.ZodString>;
|
|
27
|
+
description: z.ZodOptional<z.ZodString>;
|
|
28
|
+
pattern: z.ZodString;
|
|
29
|
+
caseSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
styles: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
|
+
}, z.core.$loose>;
|
|
11
33
|
export type StitchConfig = z.infer<typeof stitchConfigSchema>;
|
|
12
34
|
export declare const stitchConfigSchema: z.ZodObject<{
|
|
13
|
-
$schema: z.ZodDefault<z.ZodLiteral<"https://raw.githubusercontent.com/bscotch/stitch/develop/packages/config/schemas/stitch.config.schema.json"
|
|
14
|
-
textureGroupAssignments: z.
|
|
15
|
-
audioGroupAssignments: z.
|
|
35
|
+
$schema: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"https://raw.githubusercontent.com/bscotch/stitch/develop/packages/config/schemas/stitch.config.schema.json">>>;
|
|
36
|
+
textureGroupAssignments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
37
|
+
audioGroupAssignments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16
38
|
runtimeVersion: z.ZodOptional<z.ZodString>;
|
|
17
39
|
newSpriteRules: z.ZodOptional<z.ZodObject<{
|
|
18
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString
|
|
19
|
-
},
|
|
20
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
21
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
22
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
40
|
+
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
|
+
}, z.core.$loose>>;
|
|
24
42
|
newSoundRules: z.ZodOptional<z.ZodObject<{
|
|
25
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString
|
|
26
|
-
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
27
|
-
mono: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}>>>;
|
|
42
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
43
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44
|
-
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
45
|
-
mono: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
-
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
mono?: boolean | undefined;
|
|
48
|
-
}, {
|
|
49
|
-
mono?: boolean | undefined;
|
|
50
|
-
}>>>;
|
|
51
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
52
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
53
|
-
$schema: z.ZodDefault<z.ZodLiteral<"https://raw.githubusercontent.com/bscotch/stitch/develop/packages/config/schemas/stitch.config.schema.json">>;
|
|
54
|
-
textureGroupAssignments: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
55
|
-
audioGroupAssignments: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
56
|
-
runtimeVersion: z.ZodOptional<z.ZodString>;
|
|
57
|
-
newSpriteRules: z.ZodOptional<z.ZodObject<{
|
|
58
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
59
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
60
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
61
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
62
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
63
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
64
|
-
newSoundRules: z.ZodOptional<z.ZodObject<{
|
|
65
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
66
|
-
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
67
|
-
mono: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
-
}, "strip", z.ZodTypeAny, {
|
|
69
|
-
mono?: boolean | undefined;
|
|
70
|
-
}, {
|
|
71
|
-
mono?: boolean | undefined;
|
|
72
|
-
}>>>;
|
|
73
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
74
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
75
|
-
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
76
|
-
mono: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
-
}, "strip", z.ZodTypeAny, {
|
|
78
|
-
mono?: boolean | undefined;
|
|
79
|
-
}, {
|
|
80
|
-
mono?: boolean | undefined;
|
|
81
|
-
}>>>;
|
|
82
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
83
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
84
|
-
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
85
|
-
mono: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
-
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
mono?: boolean | undefined;
|
|
88
|
-
}, {
|
|
89
|
-
mono?: boolean | undefined;
|
|
90
|
-
}>>>;
|
|
91
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
92
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
93
|
-
$schema: z.ZodDefault<z.ZodLiteral<"https://raw.githubusercontent.com/bscotch/stitch/develop/packages/config/schemas/stitch.config.schema.json">>;
|
|
94
|
-
textureGroupAssignments: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
95
|
-
audioGroupAssignments: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
96
|
-
runtimeVersion: z.ZodOptional<z.ZodString>;
|
|
97
|
-
newSpriteRules: z.ZodOptional<z.ZodObject<{
|
|
98
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
99
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
100
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
101
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
102
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
103
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
104
|
-
newSoundRules: z.ZodOptional<z.ZodObject<{
|
|
105
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
106
|
-
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
107
|
-
mono: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
-
}, "strip", z.ZodTypeAny, {
|
|
109
|
-
mono?: boolean | undefined;
|
|
110
|
-
}, {
|
|
111
|
-
mono?: boolean | undefined;
|
|
112
|
-
}>>>;
|
|
113
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
114
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
115
|
-
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
116
|
-
mono: z.ZodOptional<z.ZodBoolean>;
|
|
117
|
-
}, "strip", z.ZodTypeAny, {
|
|
118
|
-
mono?: boolean | undefined;
|
|
119
|
-
}, {
|
|
120
|
-
mono?: boolean | undefined;
|
|
121
|
-
}>>>;
|
|
122
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
123
|
-
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
124
|
-
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
125
|
-
mono: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
-
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
mono?: boolean | undefined;
|
|
128
|
-
}, {
|
|
129
|
-
mono?: boolean | undefined;
|
|
130
|
-
}>>>;
|
|
131
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
132
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
43
|
+
allowedNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
44
|
+
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
45
|
+
mono: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
}, z.core.$strip>>>;
|
|
47
|
+
}, z.core.$loose>>;
|
|
48
|
+
gameConsoleStyle: z.ZodOptional<z.ZodObject<{
|
|
49
|
+
base: z.ZodOptional<z.ZodString>;
|
|
50
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
51
|
+
base: z.ZodOptional<z.ZodString>;
|
|
52
|
+
description: z.ZodOptional<z.ZodString>;
|
|
53
|
+
pattern: z.ZodString;
|
|
54
|
+
caseSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
styles: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
|
|
56
|
+
}, z.core.$loose>>>;
|
|
57
|
+
}, z.core.$loose>>;
|
|
58
|
+
}, z.core.$loose>;
|
|
133
59
|
//# sourceMappingURL=schema.d.ts.map
|
package/dist/schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC5E,eAAO,MAAM,sBAAsB,gDAAoC,CAAC;AAQxE,eAAO,MAAM,aAAa,+GACoF,CAAC;AAE/G,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,eAAO,MAAM,sBAAsB;;iBAOjC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,eAAO,MAAM,0BAA0B;;;;;;iBA2BrC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,eAAO,MAAM,sBAAsB;;;;;;;;;iBAiBhC,CAAC;AAEJ,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;iBA6C5B,CAAC"}
|
package/dist/schema.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export const permissiveStringRecord = z.object({}).catchall(z.string());
|
|
2
3
|
const allowedNames = z
|
|
3
4
|
.array(z.string())
|
|
4
5
|
.optional()
|
|
@@ -10,38 +11,68 @@ export const newSoundDefaultsSchema = z.object({
|
|
|
10
11
|
.optional()
|
|
11
12
|
.describe('Whether to default new sounds to mono. When not set, the default is stereo.'),
|
|
12
13
|
});
|
|
14
|
+
export const gameConsoleLineStyleSchema = z.looseObject({
|
|
15
|
+
base: z
|
|
16
|
+
.string()
|
|
17
|
+
.optional()
|
|
18
|
+
.describe("Base style to apply to the matching line (e.g. 'color: #808080; font-weight: bold;')"),
|
|
19
|
+
description: z
|
|
20
|
+
.string()
|
|
21
|
+
.optional()
|
|
22
|
+
.describe('A description of the rule, for debugging purposes.'),
|
|
23
|
+
pattern: z
|
|
24
|
+
.string()
|
|
25
|
+
.describe('A regex pattern to match against the line. Named capture groups can be referenced in styles. Special names `_GMFILE_` and `_GMLINE_` may be used to enable linking to that part of the project code.'),
|
|
26
|
+
caseSensitive: z
|
|
27
|
+
.boolean()
|
|
28
|
+
.optional()
|
|
29
|
+
.describe('If true, the pattern will be treated as case-sensitive. Default is false.'),
|
|
30
|
+
styles: permissiveStringRecord
|
|
31
|
+
.optional()
|
|
32
|
+
.describe("A map of CSS styles to apply to named capture groups in the line, as a CSS string (e.g. 'color: #808080')."),
|
|
33
|
+
});
|
|
34
|
+
export const gameConsoleStyleSchema = z
|
|
35
|
+
.looseObject({
|
|
36
|
+
base: z
|
|
37
|
+
.string()
|
|
38
|
+
.optional()
|
|
39
|
+
.describe("Base style to apply to all lines, as a CSS string (e.g. 'color: #808080')"),
|
|
40
|
+
lines: z
|
|
41
|
+
.array(gameConsoleLineStyleSchema)
|
|
42
|
+
.optional()
|
|
43
|
+
.describe("An array of style rules to apply to lines of the game's STDOUT/STDERR. The first matching rule is used for a given line."),
|
|
44
|
+
})
|
|
45
|
+
.describe("Styling rules for the game's STDOUT/STDERR for compatible runners");
|
|
13
46
|
export const stitchConfigSchema = z
|
|
14
|
-
.
|
|
15
|
-
$schema: z.literal(jsonSchemaUrl).default(jsonSchemaUrl),
|
|
47
|
+
.looseObject({
|
|
48
|
+
$schema: z.literal(jsonSchemaUrl).optional().default(jsonSchemaUrl),
|
|
16
49
|
textureGroupAssignments: z
|
|
17
|
-
.record(z.string())
|
|
18
|
-
.
|
|
50
|
+
.record(z.string(), z.string())
|
|
51
|
+
.optional()
|
|
19
52
|
.describe('A map of resource tree paths to texture groups name. Supported Stitch utilities will use this to assign sprites in those paths (recursively) to the specified texture group.'),
|
|
20
53
|
audioGroupAssignments: z
|
|
21
|
-
.record(z.string())
|
|
22
|
-
.
|
|
54
|
+
.record(z.string(), z.string())
|
|
55
|
+
.optional()
|
|
23
56
|
.describe('A map of resource tree paths to audio groups name. Supported Stitch utilities will use this to assign sounds in those paths (recursively) to the specified audio group.'),
|
|
24
57
|
runtimeVersion: z
|
|
25
58
|
.string()
|
|
26
59
|
.optional()
|
|
27
60
|
.describe('When set, supported Stitch utilities will preferentially use this GameMaker runtime version.'),
|
|
28
61
|
newSpriteRules: z
|
|
29
|
-
.
|
|
30
|
-
.passthrough()
|
|
62
|
+
.looseObject({ allowedNames })
|
|
31
63
|
.optional()
|
|
32
64
|
.describe('Rules for creating new sprite resources, followed by supported Stitch utilities.'),
|
|
33
65
|
newSoundRules: z
|
|
34
|
-
.
|
|
66
|
+
.looseObject({
|
|
35
67
|
allowedNames,
|
|
36
68
|
defaults: z
|
|
37
|
-
.record(newSoundDefaultsSchema)
|
|
69
|
+
.record(z.string(), newSoundDefaultsSchema)
|
|
38
70
|
.optional()
|
|
39
71
|
.describe('Default properties for new sound assets, by name pattern. E.g. `{".*":{ mono: true}}` defaults all new sounds to mono. The first matching pattern is used.'),
|
|
40
72
|
})
|
|
41
|
-
.passthrough()
|
|
42
73
|
.optional()
|
|
43
74
|
.describe('Rules for creating new sound resources, followed by supported Stitch utilities.'),
|
|
75
|
+
gameConsoleStyle: gameConsoleStyleSchema.optional(),
|
|
44
76
|
})
|
|
45
|
-
.passthrough()
|
|
46
77
|
.describe('Stitch configuration schema. Stitch utilities may support subsets of this configuration.');
|
|
47
78
|
//# sourceMappingURL=schema.js.map
|
package/dist/schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bscotch/stitch-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Schemas and utilities for the stitch.config.json file.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stitch",
|
|
@@ -16,18 +16,19 @@
|
|
|
16
16
|
"type": "module",
|
|
17
17
|
"main": "dist/index.js",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"zod": "
|
|
19
|
+
"zod": "4.0.15"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
+
"@bscotch/pathy": "^2.12.1",
|
|
22
23
|
"source-map-support": "0.5.21",
|
|
23
|
-
"typescript": "5.
|
|
24
|
-
"zod-to-json-schema": "3.21.4"
|
|
24
|
+
"typescript": "5.9.2"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "tsc --build && node scripts/update-schemas.mjs",
|
|
31
|
+
"test": "node --test src/**/*.test.ts",
|
|
31
32
|
"watch": "tsc --build --watch"
|
|
32
33
|
}
|
|
33
34
|
}
|