File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 4343 "build:storybook" : " storybook build" ,
4444 "build:docs" : " NODE_OPTIONS=--openssl-legacy-provider script/build-docs" ,
4545 "build:docs:preview" : " NODE_OPTIONS=--openssl-legacy-provider script/build-docs preview" ,
46- "build:components.json" : " tsx script/components-json/build.ts" ,
47- "build:hooks.json" : " tsx script/hooks-json/build.ts" ,
46+ "build:components.json" : " node script/components-json/build.ts" ,
47+ "build:hooks.json" : " node script/hooks-json/build.ts" ,
4848 "build:precompile-color-schemes" : " tsx script/precompile-color-schemes.ts" ,
4949 "lint:npm" : " publint --types" ,
5050 "storybook" : " storybook" ,
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ import prettier from '@prettier/sync'
1515import chalk from 'chalk'
1616import type { LintError } from 'markdownlint'
1717import { lint as mdLint } from 'markdownlint/sync'
18- import componentSchema from './component.schema.json'
19- import outputSchema from './output.schema.json'
18+ import componentSchema from './component.schema.json' with { type : 'json' }
19+ import outputSchema from './output.schema.json' with { type : 'json' }
2020
2121const args = parseArgs ( {
2222 options : {
Original file line number Diff line number Diff line change 11import glob from 'fast-glob'
22import fs from 'fs'
33import keyBy from 'lodash.keyby'
4- import hookSchema from '../hooks-json/hook.schema.json'
5- import outputSchema from './output.schema.json'
4+ import hookSchema from '../hooks-json/hook.schema.json' with { type : 'json' }
5+ import outputSchema from './output.schema.json' with { type : 'json' }
66import Ajv from 'ajv'
77
88// Only includes fields we use in this script
You can’t perform that action at this time.
0 commit comments