@discord/metro-intl-transformer 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/package.json +3 -3
package/README.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# metro-intl-transformer
|
|
2
|
+
|
|
3
|
+
A Metro loader for intl message definition files using `@discord/intl`. This loader handles both definitions and translations as a single group, emitting the appropriate file types and contents based on the kind of file provided.
|
|
4
|
+
|
|
5
|
+
Note that you'll also want/need the `@discord/babel-plugin-transform-discord-intl` plugin applied to your JS compilation to ensure that message usages compile to the same keys that match the compiled definitions.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@discord/metro-intl-transformer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Metro/Babel transformer plugin for compiling, bundling, and minifying intl message definitions and usages using intl-message-database.",
|
|
6
6
|
"exports": {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"debug": "^4.3.6",
|
|
16
16
|
"metro-config": "^0.81.0",
|
|
17
|
-
"@discord/babel-plugin-transform-discord-intl": "0.
|
|
18
|
-
"@discord/intl-loader-core": "0.
|
|
17
|
+
"@discord/babel-plugin-transform-discord-intl": "0.16.0",
|
|
18
|
+
"@discord/intl-loader-core": "0.16.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/debug": "^4.1.12"
|