Skip to content

Commit d4af096

Browse files
committed
fix: update TypeScript schema generator to use source/ directory
The generate_ts_schema_types.js script still referenced the removed spec/ directory. Updated to use source/ which is where schemas now live after the migration in #125. Fixes #150
1 parent d3ee50a commit d4af096

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

generate_ts_schema_types.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const fs = require('node:fs');
22
const path = require('node:path');
33
const { compile } = require('json-schema-to-typescript');
44

5-
const SOURCE_ROOT = path.resolve(__dirname, 'spec');
5+
const SOURCE_ROOT = path.resolve(__dirname, 'source');
66
const OUTPUT_FILE = path.resolve(__dirname, './generated/schema-types.ts');
77
const WRAPPER_NAME = 'SCHEMA_WRAPPER';
88

0 commit comments

Comments
 (0)