0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/console/generate.sh

13 lines
366 B
Bash
Raw Permalink Normal View History

#!/bin/sh
# Clean up
rm -rf scripts-js/
# build the jwt-customizer-type-definition generate script
pnpm exec tsc -p tsconfig.scripts.gen.json
# clean up the existing generated jwt-customizer-type-definition file
rm -f src/consts/jwt-customizer-type-definition.ts
# run script
node scripts-js/generate-jwt-customizer-type-definition.js
# Clean up
rm -rf scripts-js/