@lingui/swc-plugin 5.10.1 → 5.11.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
|
@@ -115,7 +115,7 @@ To learn more about SWC Plugins compatibility check this issue https://github.co
|
|
|
115
115
|
| `5.8.0` | [`45.0.2`](https://plugins.swc.rs/versions/range/497) |
|
|
116
116
|
| `5.9.0` | [`46.0.3`](https://plugins.swc.rs/versions/range/713) |
|
|
117
117
|
| `5.10.0` | [`50.2.3`](https://plugins.swc.rs/versions/range/768) |
|
|
118
|
-
| `5.10.1`
|
|
118
|
+
| `5.10.1`, `5.11.0` | [`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) |
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
> **Note**
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/swc-plugin",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.11.0",
|
|
4
4
|
"description": "A SWC Plugin for LinguiJS",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Timofei Iatsenko",
|
|
7
7
|
"email": "timiatsenko@gmail.com"
|
|
8
8
|
},
|
|
9
9
|
"repository": "lingui/swc-plugin",
|
|
10
|
+
"type": "module",
|
|
10
11
|
"bugs": "https://github.com/lingui/swc-plugin/issues",
|
|
11
12
|
"license": "MIT",
|
|
12
13
|
"keywords": [
|
|
@@ -25,7 +26,8 @@
|
|
|
25
26
|
".": "./target/wasm32-wasip1/release/lingui_macro_plugin.wasm"
|
|
26
27
|
},
|
|
27
28
|
"scripts": {
|
|
28
|
-
"prepublishOnly": "cargo build-wasi --release"
|
|
29
|
+
"prepublishOnly": "cargo build-wasi --release",
|
|
30
|
+
"test:e2e": "cargo build-wasi --release && vitest run"
|
|
29
31
|
},
|
|
30
32
|
"files": [],
|
|
31
33
|
"peerDependencies": {
|
|
@@ -38,5 +40,12 @@
|
|
|
38
40
|
"next": {
|
|
39
41
|
"optional": true
|
|
40
42
|
}
|
|
41
|
-
}
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@swc/core": "^1.15.11",
|
|
46
|
+
"@types/node": "22.13.14",
|
|
47
|
+
"typescript": "^5.9.3",
|
|
48
|
+
"vitest": "^4.0.18"
|
|
49
|
+
},
|
|
50
|
+
"packageManager": "yarn@4.12.0+sha512.f45ab632439a67f8bc759bf32ead036a1f413287b9042726b7cc4818b7b49e14e9423ba49b18f9e06ea4941c1ad062385b1d8760a8d5091a1a31e5f6219afca8"
|
|
42
51
|
}
|
|
Binary file
|