@discord/jest-processor-discord-intl 0.32.0 → 0.33.2
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/LICENSE +1 -1
- package/README.md +1 -1
- package/index.js +1 -1
- package/package.json +2 -2
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ module.exports = {
|
|
|
10
10
|
// Order matters here! Even though this is an Object, Jest still processes these first to
|
|
11
11
|
// last (object insertion order). These patterns can overlap, so we want to put all of the
|
|
12
12
|
// special handling first.
|
|
13
|
-
[
|
|
13
|
+
[discord_intl_MESSAGES_FILE_PATTERN]: require.resolve('@discord/jest-processor-discord-intl'),
|
|
14
14
|
// ...other transforms, like `*.tsx?` and more.
|
|
15
15
|
},
|
|
16
16
|
};
|
package/index.js
CHANGED
|
@@ -76,7 +76,7 @@ function _processCode(source, filePath, _config) {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
module.exports = {
|
|
79
|
-
|
|
79
|
+
discord_intl_MESSAGES_FILE_PATTERN: '\\.messages\\.(js|json|jsona)(\\?forceTranslation)?$',
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
82
|
* @param {string} source
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@discord/jest-processor-discord-intl",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Processor plugin for Jest to handle intl message definitions and translations from @discord/intl",
|
|
6
6
|
"exports": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"url": "https://github.com/discord/discord-intl"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@discord/intl-loader-core": "0.
|
|
14
|
+
"@discord/intl-loader-core": "0.33.2"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@jest/types": "^29.6.3"
|