ai-localize-codemods 2.0.1 → 2.0.3
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/CHANGELOG.md +20 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# ai-localize-codemods
|
|
2
2
|
|
|
3
|
+
## 2.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- ai-localize-shared@2.0.3
|
|
9
|
+
- ai-localize-config@2.0.3
|
|
10
|
+
|
|
11
|
+
## 2.0.2
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- **Bracket-notation accessor support** — `codemods.accessorStyle: "function" | "bracket"` (default `"function"`) controls whether the codemod generates `t('key')` or `t['key']` for React codemods
|
|
16
|
+
- **CodemodConfig wired through** — all three `applyReactCodemod()`, `applyVueCodemod()`, `applyAngularCodemod()` functions now accept and apply `CodemodConfig`; the `codemods` block in `ai-localize.config.json` is no longer silently ignored
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
- ai-localize-shared@2.0.2
|
|
22
|
+
|
|
3
23
|
## 2.0.1
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-localize-codemods",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "AST-based codemods to inject i18n wrappers into frontend source code",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@babel/generator": "^7.23.9",
|
|
20
20
|
"recast": "^0.23.4",
|
|
21
21
|
"jscodeshift": "^0.15.2",
|
|
22
|
-
"ai-localize-shared": "2.0.
|
|
22
|
+
"ai-localize-shared": "2.0.3"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/babel__generator": "^7.6.8",
|