Add oncall annotation (#3071)

This commit is contained in:
John Flockton
2022-09-26 14:38:49 +01:00
committed by GitHub
parent 9d05fe55da
commit f22ca966a5

View File

@ -30,7 +30,10 @@ glob('packages/**/flow/*.flow', options, function (error1, files) {
throw error2; throw error2;
} }
const result = data const result = data
.replace(/ \* @flow strict/g, ' * @flow strict\n * @generated') .replace(
/ \* @flow strict/g,
' * @flow strict\n * @generated\n * @oncall lexical_web_text_editor ',
)
.replace(/from 'lexical'/g, "from 'Lexical'") .replace(/from 'lexical'/g, "from 'Lexical'")
.replace(/from 'lexical'/g, "from 'Lexical'") .replace(/from 'lexical'/g, "from 'Lexical'")
.replace(/from 'lexical\/LinkNode'/g, "from 'LexicalLinkNode'") .replace(/from 'lexical\/LinkNode'/g, "from 'LexicalLinkNode'")