This repository has been archived by the owner on Nov 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(babel-plugin-fbt)!: Use default collection script as a peer …
…dependency Reviewed By: mingshi-yang Differential Revision: D26955843 fbshipit-source-id: 1333445f2871e15fbe431098ac2d2d1aacbd6c81
- Loading branch information
1 parent
00df1c3
commit 1ce9a76
Showing
5 changed files
with
16 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
"name": "babel-plugin-fbt", | ||
"description": "The FBT Babel localization transform", | ||
"//version": "Follow SemVer specs at https://semver.org/", | ||
"version": "0.18.0", | ||
"version": "0.19.0", | ||
"bin": { | ||
"fbt-collect": "dist/bin/collectFbt.bin.js", | ||
"fbt-manifest": "dist/bin/manifest.bin.js", | ||
|
@@ -41,5 +41,8 @@ | |
"scripts": { | ||
"prepack": "gulp --series clean build", | ||
"publish_to_npm_latest": "yarn publish . && git push --tags && git push" | ||
}, | ||
"peerDependencies": { | ||
"@fbtjs/default-collection-transform": "^0.0.x" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jrwats
Contributor
|
||
} | ||
} |
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
@jrwats Should installation instructions for FBT be updated to not only install
fbt
,babel-plugin-fbt
andbabel-plugin-fbt-runtime
but also@fbtjs/default-collection-transform
? FBT doesn't work without it after this change out of the box.Or is the idea to push more towards the new
--transform
option of a collector? In which case the installation info should probably be updated as well. 🤔