|
|
|
@ -1,5 +1,5 @@
|
|
|
|
// @ts-check
|
|
|
|
// @ts-check
|
|
|
|
import fs, { stat } from 'fs';
|
|
|
|
import fs from 'fs';
|
|
|
|
import prettier from 'prettier';
|
|
|
|
import prettier from 'prettier';
|
|
|
|
import ts from 'typescript';
|
|
|
|
import ts from 'typescript';
|
|
|
|
import { get_bundled_types } from './compile-types.js';
|
|
|
|
import { get_bundled_types } from './compile-types.js';
|
|
|
|
@ -361,7 +361,7 @@ const bundled_types = await get_bundled_types();
|
|
|
|
modules.sort((a, b) => (a.name < b.name ? -1 : 1));
|
|
|
|
modules.sort((a, b) => (a.name < b.name ? -1 : 1));
|
|
|
|
|
|
|
|
|
|
|
|
fs.writeFileSync(
|
|
|
|
fs.writeFileSync(
|
|
|
|
new URL('../../src/lib/server/docs/type-info.js', import.meta.url),
|
|
|
|
new URL('../../src/lib/generated/type-info.js', import.meta.url),
|
|
|
|
`
|
|
|
|
`
|
|
|
|
/* This file is generated by running \`node scripts/extract-types.js\`
|
|
|
|
/* This file is generated by running \`node scripts/extract-types.js\`
|
|
|
|
in the packages/kit directory — do not edit it */
|
|
|
|
in the packages/kit directory — do not edit it */
|
|
|
|
|