File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2828 "build" : " jlpm build:schema && jlpm build:lib" ,
2929 "build:schema" : " jlpm run build:processing && node ./cacheGeoJSONSchema.js && jlpm build:schema:js && jlpm build:schema:py" ,
3030 "build:processing" : " python scripts/process.py" ,
31- "build:schema:js" : " json2ts -i src/schema -o src/_interface --no-unknownAny --unreachableDefinitions --cwd ./src/schema && cd src/schema && node ../../schema.js" ,
32- "build:schema:py" : " datamodel-codegen --input ./src/schema --output ../../python/jupytergis_core/jupytergis_core/schema/interfaces --output-model-type pydantic_v2.BaseModel --input-file-type jsonschema" ,
31+ "build:schema:js" : " echo 'Generating TypeScript types from schema...' && json2ts -i src/schema -o src/_interface --no-unknownAny --unreachableDefinitions --cwd ./src/schema && cd src/schema && node ../../schema.js" ,
32+ "build:schema:py" : " echo 'Generating Python types from schema...' && datamodel-codegen --input ./src/schema --output ../../python/jupytergis_core/jupytergis_core/schema/interfaces --output-model-type pydantic_v2.BaseModel --input-file-type jsonschema" ,
3333 "build:prod" : " jlpm run clean && jlpm build:schema && jlpm run build:lib" ,
3434 "build:lib" : " tsc -b" ,
3535 "build:dev" : " jlpm run build" ,
You can’t perform that action at this time.
0 commit comments