Files
lexical/scripts/generate-flow-types.sh
John Flockton c26e41d595 Autogenerate TypeScript declaration files (#2359)
* Remove .d.ts and fix type errors

* Fix failing test

* Upgrade roll up to remove maxlisteners warning

* Refactor type generation and make build script run in sequence to avoid OOM errors in GitHub actions

* Small change

* Fix playground TS errors
2022-06-14 10:42:43 +01:00

24 lines
818 B
Bash
Executable File

for package in 'lexical' \
'lexical-react' \
'lexical-yjs' \
'lexical-list' \
'lexical-table' \
'lexical-file' \
'lexical-clipboard' \
'lexical-hashtag' \
'lexical-history' \
'lexical-selection' \
'lexical-offset' \
'lexical-code' \
'lexical-plain-text' \
'lexical-rich-text' \
'lexical-utils' \
'lexical-dragon' \
'lexical-overflow' \
'lexical-link' \
'lexical-text' \
'lexical-markdown' \
'lexical-mark'
do
gen-flow-files "./packages/${package}/src" --out-dir "./packages/${package}/dist"
done