@satisfactory-dev/docs.json.ts 0.9.2 → 0.9.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.
|
@@ -232,7 +232,6 @@ export function adjust_unrealengine_value(value) {
|
|
|
232
232
|
export function flexibly_create_UnrealEngineString_reference_type(type_arguments) {
|
|
233
233
|
return type_reference_node('UnrealEngineString', ...(type_arguments || []));
|
|
234
234
|
}
|
|
235
|
-
const empty_object = {};
|
|
236
235
|
export function UnrealEngineString_reference_type(data_from_schema) {
|
|
237
236
|
const data = true === data_from_schema ? {} : data_from_schema;
|
|
238
237
|
let left_value = create_literal(UnrealEngineString_left_default[0]);
|
package/lib/DocsTsGenerator.js
CHANGED
|
@@ -184,5 +184,8 @@ export async function eslint_generated_types(parent_folder) {
|
|
|
184
184
|
});
|
|
185
185
|
const eslint_formatter = eslint.loadFormatter('stylish');
|
|
186
186
|
const results = await eslint.lintFiles(`${parent_folder}/**/*.ts`);
|
|
187
|
-
process.stdout.write(`${await (await eslint_formatter).format(results
|
|
187
|
+
process.stdout.write(`${await (await eslint_formatter).format(results, {
|
|
188
|
+
cwd: parent_folder,
|
|
189
|
+
rulesMeta: eslint.getRulesMetaForResults(results),
|
|
190
|
+
})}\n`);
|
|
188
191
|
}
|
package/lib/DocsValidation.js
CHANGED
|
@@ -75,7 +75,9 @@ export function string_to_object(data, shallow = false) {
|
|
|
75
75
|
if ('' !== was.current_key_buffer) {
|
|
76
76
|
const coerced_value = shallow
|
|
77
77
|
? (/^".+"$/.test(was.current_value_buffer)
|
|
78
|
-
? was.current_value_buffer.substring(1,
|
|
78
|
+
? was.current_value_buffer.substring(1,
|
|
79
|
+
// eslint-disable-next-line max-len
|
|
80
|
+
was.current_value_buffer.length - 1)
|
|
79
81
|
: was.current_value_buffer)
|
|
80
82
|
: string_to_native_type(was.current_value_buffer);
|
|
81
83
|
was.properties.push([
|
package/package.json
CHANGED
|
@@ -18,23 +18,24 @@
|
|
|
18
18
|
"validate": "ts-node validate-Docs.ts"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@satisfactory-dev/custom-assert": "^0.2.
|
|
22
|
-
"@signpostmarv/
|
|
23
|
-
"@signpostmarv/
|
|
24
|
-
"@
|
|
21
|
+
"@satisfactory-dev/custom-assert": "^0.2.3",
|
|
22
|
+
"@signpostmarv/eslint-config": "^0.2.0",
|
|
23
|
+
"@signpostmarv/setup-performance-observer": "^0.1.3",
|
|
24
|
+
"@signpostmarv/ts-assert": "^0.3.1",
|
|
25
|
+
"@types/eslint": "^9.6.1",
|
|
25
26
|
"@types/node": "^20.11.20",
|
|
26
27
|
"c8": "^10.1.2",
|
|
27
28
|
"ts-node": "^10.9.2"
|
|
28
29
|
},
|
|
29
30
|
"dependencies": {
|
|
30
|
-
"@satisfactory-dev/ajv-utilities": "^0.1.
|
|
31
|
-
"@satisfactory-dev/predicates.ts": "^0.1.
|
|
31
|
+
"@satisfactory-dev/ajv-utilities": "^0.1.1",
|
|
32
|
+
"@satisfactory-dev/predicates.ts": "^0.1.1",
|
|
32
33
|
"ajv": "^8.12.0",
|
|
33
|
-
"eslint": "^
|
|
34
|
+
"eslint": "^9.9.1",
|
|
34
35
|
"glob": "^10.3.10",
|
|
35
36
|
"prettier": "~3.3.2",
|
|
36
37
|
"typescript": "~5.5.2",
|
|
37
|
-
"typescript-eslint": "^
|
|
38
|
+
"typescript-eslint": "^8.2.0"
|
|
38
39
|
},
|
|
39
|
-
"version": "0.9.
|
|
40
|
+
"version": "0.9.3"
|
|
40
41
|
}
|