mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
08acdf73e3
* refactor(console): refactor the code editor type definition refactor the code editor type definition * refactor(console): extract type definition gen process extract the type definition gen step to the build time. As typescript is not available at run time. * fix(console): add generate to console build script add generate to console build script * fix(console): add prettier format add prettier format
12 lines
366 B
Bash
Executable file
12 lines
366 B
Bash
Executable file
#!/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/
|