@lingui/swc-plugin 6.0.0-next.3 → 6.0.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
CHANGED
|
@@ -53,7 +53,7 @@ https://swc.rs/docs/configuration/swcrc
|
|
|
53
53
|
//
|
|
54
54
|
// Optional. Controls which descriptor fields are preserved in output.
|
|
55
55
|
// "descriptorFields": "auto" (default) | "all" | "id-only" | "message"
|
|
56
|
-
|
|
56
|
+
//
|
|
57
57
|
// Compatibility option allows to use v6.* SWC Plugin release channel with @lingui/cli@5.*
|
|
58
58
|
// Controls the BASE64 alphabet used for generating message IDs.
|
|
59
59
|
// - false (default): Uses URL-safe BASE64 alphabet (Lingui v6 behavior)
|
|
@@ -61,9 +61,7 @@ https://swc.rs/docs/configuration/swcrc
|
|
|
61
61
|
//
|
|
62
62
|
// IMPORTANT: This option is temporal and will be removed in the next major release.
|
|
63
63
|
// "useLinguiV5IdGeneration": true
|
|
64
|
-
//
|
|
65
|
-
// You can override the default behavior with:
|
|
66
|
-
// "stripNonEssentialFields": false/true
|
|
64
|
+
//
|
|
67
65
|
// To configure custom JSX placeholder attribute and its defaults:
|
|
68
66
|
// "jsxPlaceholderAttribute": "_t",
|
|
69
67
|
// "jsxPlaceholderDefaults": {
|
|
@@ -121,29 +119,29 @@ Below is a table referencing the `swc_core` version used during the plugin build
|
|
|
121
119
|
|
|
122
120
|
To learn more about SWC Plugins compatibility check this issue https://github.com/lingui/swc-plugin/issues/179
|
|
123
121
|
|
|
124
|
-
| Plugin Version
|
|
125
|
-
|
|
126
|
-
| `0.1.0`, `4.0.0-next.0`
|
|
127
|
-
| `0.2.*`, `4.0.0-next.1` ~ `4.0.0-next.3`
|
|
128
|
-
| `4.0.0`
|
|
129
|
-
| `4.0.1`
|
|
130
|
-
| `4.0.2`
|
|
131
|
-
| `4.0.3`
|
|
132
|
-
| `4.0.4`
|
|
133
|
-
| `4.0.5`, `4.0.6`
|
|
134
|
-
| `4.0.7`, `4.0.8`, `5.0.0-next.0` ~ `5.0.0-next.1`
|
|
135
|
-
| `4.0.9`
|
|
136
|
-
| `4.0.10`
|
|
137
|
-
| `4.1.0`, `5.0.0` ~ `5.2.0`
|
|
138
|
-
| `5.3.0`
|
|
139
|
-
| `5.4.0`
|
|
140
|
-
| `5.5.0` ~ `5.5.2`
|
|
141
|
-
| `5.6.0` ~ `5.6.1`
|
|
142
|
-
| `5.7.0`
|
|
143
|
-
| `5.8.0`
|
|
144
|
-
| `5.9.0`
|
|
145
|
-
| `5.10.0`
|
|
146
|
-
| `5.10.1
|
|
122
|
+
| Plugin Version | used `swc_core` |
|
|
123
|
+
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
124
|
+
| `0.1.0`, `4.0.0-next.0` | `0.52.8` |
|
|
125
|
+
| `0.2.*`, `4.0.0-next.1` ~ `4.0.0-next.3` | `0.56.1` |
|
|
126
|
+
| `4.0.0` | `0.75.33` |
|
|
127
|
+
| `4.0.1` | `0.76.0` |
|
|
128
|
+
| `4.0.2` | `0.76.41` |
|
|
129
|
+
| `4.0.3` | `0.78.28` |
|
|
130
|
+
| `4.0.4` | `0.79.x` |
|
|
131
|
+
| `4.0.5`, `4.0.6` | [`0.87.x`](https://plugins.swc.rs/versions/range/10) |
|
|
132
|
+
| `4.0.7`, `4.0.8`, `5.0.0-next.0` ~ `5.0.0-next.1` | [`0.90.35`](https://plugins.swc.rs/versions/range/12) |
|
|
133
|
+
| `4.0.9` | [`0.96.9`](https://plugins.swc.rs/versions/range/15) |
|
|
134
|
+
| `4.0.10` | [`0.101.4`](https://plugins.swc.rs/versions/range/94) |
|
|
135
|
+
| `4.1.0`, `5.0.0` ~ `5.2.0` | [`0.106.3`](https://plugins.swc.rs/versions/range/95) |
|
|
136
|
+
| `5.3.0` | [`5.0.4`](https://plugins.swc.rs/versions/range/116) |
|
|
137
|
+
| `5.4.0` | [`14.1.0`](https://plugins.swc.rs/versions/range/138) |
|
|
138
|
+
| `5.5.0` ~ `5.5.2` | [`15.0.1`](https://plugins.swc.rs/versions/range/271) |
|
|
139
|
+
| `5.6.0` ~ `5.6.1` | [`27.0.6`](https://plugins.swc.rs/versions/range/364) |
|
|
140
|
+
| `5.7.0` | [`39.0.3`](https://plugins.swc.rs/versions/range/426) |
|
|
141
|
+
| `5.8.0` | [`45.0.2`](https://plugins.swc.rs/versions/range/497) |
|
|
142
|
+
| `5.9.0` | [`46.0.3`](https://plugins.swc.rs/versions/range/713) |
|
|
143
|
+
| `5.10.0` | [`50.2.3`](https://plugins.swc.rs/versions/range/768) |
|
|
144
|
+
| `5.10.1` ~ `*` <br/> Starting from this version Wasm plugins are compatible between `@swc/core` versions to some extent. Read more [here](https://swc.rs/docs/plugin/ecmascript/compatibility#make-your-plugin-compatible). | [`50.2.3`](https://plugins.swc.rs/versions/range/768) with [`--cfg=swc_ast_unknown`](https://swc.rs/docs/plugin/ecmascript/compatibility#make-your-plugin-compatible) |
|
|
147
145
|
|
|
148
146
|
|
|
149
147
|
> **Note**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/swc-plugin",
|
|
3
|
-
"version": "6.0.0
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "A SWC Plugin for LinguiJS",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Timofei Iatsenko",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"icu",
|
|
20
20
|
"message-format",
|
|
21
21
|
"i18n",
|
|
22
|
-
"
|
|
22
|
+
"internationalization"
|
|
23
23
|
],
|
|
24
24
|
"main": "target/wasm32-wasip1/release/lingui_macro_plugin.wasm",
|
|
25
25
|
"exports": {
|
|
Binary file
|