-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(@formatjs/cli): revamp underlying extraction
We replaced the underlying AST extractor from babel to typescript. This makes the extractor a lot more future-proof due to babel having to constantly include new plugin/syntax while TS just works out of the box. Future new syntax would just be TS upgrade. BREAKING CHANGE: Remove `--messages-dir` option. This was primarily used to eagerly write out output in the babel plugin since we don't know when the execution will be done. This is not the case with the CLI. `--out-file` should be used instead. BREAKING CHANGE: Remove `--module-source-name` option. This is not used.
- Loading branch information
Showing
14 changed files
with
204 additions
and
460 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.