@formatjs/ts-transformer 3.9.7 → 3.9.10
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/BUILD +82 -0
- package/CHANGELOG.md +713 -0
- package/LICENSE.md +0 -0
- package/README.md +0 -0
- package/examples/compile.ts +50 -0
- package/index.ts +3 -0
- package/integration-tests/BUILD +37 -0
- package/integration-tests/integration/comp.tsx +40 -0
- package/integration-tests/integration/jest.config.js +25 -0
- package/integration-tests/integration/ts-jest.test.tsx +32 -0
- package/integration-tests/package.json +5 -0
- package/integration-tests/vue/fixtures/index.vue +30 -0
- package/integration-tests/vue/fixtures/main.ts +4 -0
- package/integration-tests/vue/integration.test.ts +75 -0
- package/package.json +4 -4
- package/src/console_utils.ts +32 -0
- package/src/interpolate-name.ts +147 -0
- package/src/transform.ts +764 -0
- package/src/types.ts +12 -0
- package/tests/__snapshots__/index.test.ts.snap +908 -0
- package/tests/fixtures/FormattedMessage.tsx +35 -0
- package/tests/fixtures/additionalComponentNames.tsx +16 -0
- package/tests/fixtures/additionalFunctionNames.tsx +20 -0
- package/tests/fixtures/ast.tsx +83 -0
- package/tests/fixtures/defineMessages.tsx +67 -0
- package/tests/fixtures/defineMessagesPreserveWhitespace.tsx +87 -0
- package/tests/fixtures/descriptionsAsObjects.tsx +17 -0
- package/tests/fixtures/extractFromFormatMessage.tsx +45 -0
- package/tests/fixtures/extractFromFormatMessageStateless.tsx +46 -0
- package/tests/fixtures/extractSourceLocation.tsx +8 -0
- package/tests/fixtures/formatMessageCall.tsx +44 -0
- package/tests/fixtures/inline.tsx +26 -0
- package/tests/fixtures/nested.tsx +10 -0
- package/tests/fixtures/noImport.tsx +52 -0
- package/tests/fixtures/overrideIdFn.tsx +70 -0
- package/tests/fixtures/removeDefaultMessage.tsx +22 -0
- package/tests/fixtures/removeDescription.tsx +22 -0
- package/tests/fixtures/resourcePath.tsx +23 -0
- package/tests/fixtures/stringConcat.tsx +26 -0
- package/tests/fixtures/templateLiteral.tsx +21 -0
- package/tests/index.test.ts +127 -0
- package/tests/interpolate-name.test.ts +14 -0
- package/ts-jest-integration.ts +9 -0
- package/tsconfig.json +5 -0
- package/index.d.ts +0 -4
- package/index.d.ts.map +0 -1
- package/index.js +0 -6
- package/src/console_utils.d.ts +0 -4
- package/src/console_utils.d.ts.map +0 -1
- package/src/console_utils.js +0 -49
- package/src/interpolate-name.d.ts +0 -15
- package/src/interpolate-name.d.ts.map +0 -1
- package/src/interpolate-name.js +0 -95
- package/src/transform.d.ts +0 -78
- package/src/transform.d.ts.map +0 -1
- package/src/transform.js +0 -483
- package/src/types.d.ts +0 -12
- package/src/types.d.ts.map +0 -1
- package/src/types.js +0 -2
- package/ts-jest-integration.d.ts +0 -6
- package/ts-jest-integration.d.ts.map +0 -1
- package/ts-jest-integration.js +0 -10
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,713 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## [3.9.10](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.9.9...@formatjs/ts-transformer@3.9.10) (2022-08-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
9
|
+
|
|
10
|
+
## [3.9.9](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.9.8...@formatjs/ts-transformer@3.9.9) (2022-07-04)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **@formatjs/ts-transformer:** update package.json to allow ts-jest 28 in peer dependencies ([#3685](https://github.com/formatjs/formatjs/issues/3685)) ([a6b5f2c](https://github.com/formatjs/formatjs/commit/a6b5f2c21334ebd3b1fe28f3b42e60eef8bc6cb8))
|
|
15
|
+
|
|
16
|
+
## [3.9.8](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.9.7...@formatjs/ts-transformer@3.9.8) (2022-06-06)
|
|
17
|
+
|
|
18
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
19
|
+
|
|
20
|
+
## [3.9.7](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.9.6...@formatjs/ts-transformer@3.9.7) (2022-05-20)
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* **@formatjs/ts-transformer:** fix description obj serialization, fix [#3575](https://github.com/formatjs/formatjs/issues/3575) ([93cd1e2](https://github.com/formatjs/formatjs/commit/93cd1e28f461618404cea45a8fe595c23c6b562a))
|
|
25
|
+
|
|
26
|
+
## [3.9.6](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.9.5...@formatjs/ts-transformer@3.9.6) (2022-05-19)
|
|
27
|
+
|
|
28
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
29
|
+
|
|
30
|
+
## [3.9.5](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.9.4...@formatjs/ts-transformer@3.9.5) (2022-05-19)
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **react-intl:** fix type issue with react18, fix [#3550](https://github.com/formatjs/formatjs/issues/3550) ([2567b93](https://github.com/formatjs/formatjs/commit/2567b932c5d18b097a43842563046c20ce0c49f1))
|
|
35
|
+
|
|
36
|
+
## [3.9.4](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.9.3...@formatjs/ts-transformer@3.9.4) (2022-04-27)
|
|
37
|
+
|
|
38
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
39
|
+
|
|
40
|
+
## [3.9.3](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.9.2...@formatjs/ts-transformer@3.9.3) (2022-03-26)
|
|
41
|
+
|
|
42
|
+
### Bug Fixes
|
|
43
|
+
|
|
44
|
+
* **@formatjs/ts-transformer:** replace deprecated String.prototype.substr() ([#3496](https://github.com/formatjs/formatjs/issues/3496)) ([b2942f0](https://github.com/formatjs/formatjs/commit/b2942f0a2d8d7de3833539395371567a0f5b8b41))
|
|
45
|
+
|
|
46
|
+
## [3.9.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.9.1...@formatjs/ts-transformer@3.9.2) (2022-02-06)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
49
|
+
|
|
50
|
+
## [3.9.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.9.0...@formatjs/ts-transformer@3.9.1) (2022-01-24)
|
|
51
|
+
|
|
52
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
53
|
+
|
|
54
|
+
# [3.9.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.8.2...@formatjs/ts-transformer@3.9.0) (2022-01-20)
|
|
55
|
+
|
|
56
|
+
### Features
|
|
57
|
+
|
|
58
|
+
* **@formatjs/ts-transformer:** extract object-type description, fix [#3373](https://github.com/formatjs/formatjs/issues/3373) ([3f75923](https://github.com/formatjs/formatjs/commit/3f75923d5b7d5da2ff73c1d8600ab4148b0ed2dd))
|
|
59
|
+
|
|
60
|
+
## [3.8.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.8.1...@formatjs/ts-transformer@3.8.2) (2022-01-09)
|
|
61
|
+
|
|
62
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
63
|
+
|
|
64
|
+
## [3.8.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.8.0...@formatjs/ts-transformer@3.8.1) (2022-01-03)
|
|
65
|
+
|
|
66
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
67
|
+
|
|
68
|
+
# [3.8.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.7.0...@formatjs/ts-transformer@3.8.0) (2022-01-03)
|
|
69
|
+
|
|
70
|
+
### Features
|
|
71
|
+
|
|
72
|
+
* **eslint-plugin-formatjs:** bump eslint peerDep version to 8 ([d143d38](https://github.com/formatjs/formatjs/commit/d143d38ea1115b2481e2dad71b2d934ca2e3cedc))
|
|
73
|
+
|
|
74
|
+
# [3.7.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.6.0...@formatjs/ts-transformer@3.7.0) (2021-12-01)
|
|
75
|
+
|
|
76
|
+
### Features
|
|
77
|
+
|
|
78
|
+
* support TS 4.5, fix [#3276](https://github.com/formatjs/formatjs/issues/3276) ([31e0699](https://github.com/formatjs/formatjs/commit/31e069972aa16e14532531b9e597cff73a3f4897))
|
|
79
|
+
|
|
80
|
+
# [3.6.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.5.1...@formatjs/ts-transformer@3.6.0) (2021-10-22)
|
|
81
|
+
|
|
82
|
+
### Features
|
|
83
|
+
|
|
84
|
+
* **@formatjs/ts-transformer:** upgrade to TS 4.4 ([5867563](https://github.com/formatjs/formatjs/commit/5867563f554aef98f467d6b874d69b9aaa49c36e))
|
|
85
|
+
|
|
86
|
+
## [3.5.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.5.0...@formatjs/ts-transformer@3.5.1) (2021-10-17)
|
|
87
|
+
|
|
88
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
89
|
+
|
|
90
|
+
# [3.5.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.4.10...@formatjs/ts-transformer@3.5.0) (2021-09-27)
|
|
91
|
+
|
|
92
|
+
### Bug Fixes
|
|
93
|
+
|
|
94
|
+
* **@formatjs/ts-transformer:** move @types/node to dep ([6a07668](https://github.com/formatjs/formatjs/commit/6a07668010a68b0a3e3aed9b3801c74cbd860101))
|
|
95
|
+
* **@formatjs/ts-transformer:** move typescript back to dep, fix [#3173](https://github.com/formatjs/formatjs/issues/3173) ([3b52418](https://github.com/formatjs/formatjs/commit/3b5241828ed4d1705eb00d2e32136b1fc6f5ba6d))
|
|
96
|
+
|
|
97
|
+
### Features
|
|
98
|
+
|
|
99
|
+
* **@formatjs/cli:** upgrade vue libs, handle script setup, fix [#3181](https://github.com/formatjs/formatjs/issues/3181) ([a7b2960](https://github.com/formatjs/formatjs/commit/a7b296088367d1eeea3b142f0651920ffc2bc505))
|
|
100
|
+
|
|
101
|
+
## [3.4.10](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.4.9...@formatjs/ts-transformer@3.4.10) (2021-08-24)
|
|
102
|
+
|
|
103
|
+
### Bug Fixes
|
|
104
|
+
|
|
105
|
+
* **@formatjs/ts-transformer:** add chalk to dependencies ([b355b9b](https://github.com/formatjs/formatjs/commit/b355b9b15e96ea8f71c035005b8366681288c817))
|
|
106
|
+
|
|
107
|
+
## [3.4.9](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.4.8...@formatjs/ts-transformer@3.4.9) (2021-08-21)
|
|
108
|
+
|
|
109
|
+
### Bug Fixes
|
|
110
|
+
|
|
111
|
+
* **@formatjs/ts-transformer:** use console.error to avoid async process.stderr issue ([b7886a9](https://github.com/formatjs/formatjs/commit/b7886a9552c62b1c4e311cf74960fbec6ccb3a05))
|
|
112
|
+
|
|
113
|
+
## [3.4.8](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.4.7...@formatjs/ts-transformer@3.4.8) (2021-08-15)
|
|
114
|
+
|
|
115
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
116
|
+
|
|
117
|
+
## [3.4.7](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.4.6...@formatjs/ts-transformer@3.4.7) (2021-08-06)
|
|
118
|
+
|
|
119
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
120
|
+
|
|
121
|
+
## [3.4.6](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.4.5...@formatjs/ts-transformer@3.4.6) (2021-07-24)
|
|
122
|
+
|
|
123
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
124
|
+
|
|
125
|
+
## [3.4.5](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.4.4...@formatjs/ts-transformer@3.4.5) (2021-07-06)
|
|
126
|
+
|
|
127
|
+
### Bug Fixes
|
|
128
|
+
|
|
129
|
+
* **@formatjs/cli:** stringify opts when log debug msg ([243cac8](https://github.com/formatjs/formatjs/commit/243cac8839afab27007d00c97c690f2a5cb98dd3))
|
|
130
|
+
|
|
131
|
+
## [3.4.4](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.4.3...@formatjs/ts-transformer@3.4.4) (2021-06-26)
|
|
132
|
+
|
|
133
|
+
### Bug Fixes
|
|
134
|
+
|
|
135
|
+
* **@formatjs/ts-transformer:** fix issue with null number style, fix [#2993](https://github.com/formatjs/formatjs/issues/2993) ([8d1be8c](https://github.com/formatjs/formatjs/commit/8d1be8ce7dc72d8b1be178063090de5d6d389a0b))
|
|
136
|
+
|
|
137
|
+
## [3.4.3](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.4.2...@formatjs/ts-transformer@3.4.3) (2021-06-21)
|
|
138
|
+
|
|
139
|
+
### Bug Fixes
|
|
140
|
+
|
|
141
|
+
* **@formatjs/ts-transformer:** move typescript to peerDependencies ([42efc60](https://github.com/formatjs/formatjs/commit/42efc604a47a73bc142903aebf3c23f1f16763ad)), closes [#2991](https://github.com/formatjs/formatjs/issues/2991)
|
|
142
|
+
|
|
143
|
+
## [3.4.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.4.1...@formatjs/ts-transformer@3.4.2) (2021-06-09)
|
|
144
|
+
|
|
145
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
146
|
+
|
|
147
|
+
## [3.4.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.4.0...@formatjs/ts-transformer@3.4.1) (2021-06-05)
|
|
148
|
+
|
|
149
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
150
|
+
|
|
151
|
+
# [3.4.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.16...@formatjs/ts-transformer@3.4.0) (2021-06-04)
|
|
152
|
+
|
|
153
|
+
### Features
|
|
154
|
+
|
|
155
|
+
* **@formatjs/ts-transformer:** support ts-jest 27, fix [#2942](https://github.com/formatjs/formatjs/issues/2942) ([7d994e4](https://github.com/formatjs/formatjs/commit/7d994e485f0e615f8e08fe3befb78d4416edbaaa))
|
|
156
|
+
|
|
157
|
+
## [3.3.16](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.15...@formatjs/ts-transformer@3.3.16) (2021-06-01)
|
|
158
|
+
|
|
159
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
160
|
+
|
|
161
|
+
## [3.3.15](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.14...@formatjs/ts-transformer@3.3.15) (2021-05-23)
|
|
162
|
+
|
|
163
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
164
|
+
|
|
165
|
+
## [3.3.14](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.13...@formatjs/ts-transformer@3.3.14) (2021-05-20)
|
|
166
|
+
|
|
167
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
168
|
+
|
|
169
|
+
## [3.3.13](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.12...@formatjs/ts-transformer@3.3.13) (2021-05-17)
|
|
170
|
+
|
|
171
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
172
|
+
|
|
173
|
+
## [3.3.12](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.11...@formatjs/ts-transformer@3.3.12) (2021-05-10)
|
|
174
|
+
|
|
175
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
176
|
+
|
|
177
|
+
## [3.3.11](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.10...@formatjs/ts-transformer@3.3.11) (2021-05-02)
|
|
178
|
+
|
|
179
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
180
|
+
|
|
181
|
+
## [3.3.10](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.9...@formatjs/ts-transformer@3.3.10) (2021-04-26)
|
|
182
|
+
|
|
183
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
184
|
+
|
|
185
|
+
## [3.3.9](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.8...@formatjs/ts-transformer@3.3.9) (2021-04-26)
|
|
186
|
+
|
|
187
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
188
|
+
|
|
189
|
+
## [3.3.8](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.7...@formatjs/ts-transformer@3.3.8) (2021-04-21)
|
|
190
|
+
|
|
191
|
+
### Bug Fixes
|
|
192
|
+
|
|
193
|
+
* **@formatjs/ts-transformer:** fix AST node construction when key is invalid identifier, fix [#2823](https://github.com/formatjs/formatjs/issues/2823) ([ddb4375](https://github.com/formatjs/formatjs/commit/ddb4375986776d9ce1041b6e955e1bc6de7c242d))
|
|
194
|
+
|
|
195
|
+
## [3.3.7](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.6...@formatjs/ts-transformer@3.3.7) (2021-04-12)
|
|
196
|
+
|
|
197
|
+
### Bug Fixes
|
|
198
|
+
|
|
199
|
+
* **@formatjs/ts-transformer:** relax member method AST check, [#2808](https://github.com/formatjs/formatjs/issues/2808) ([4260ab4](https://github.com/formatjs/formatjs/commit/4260ab471d02bed8f6667d0606e6a373ebbbb517))
|
|
200
|
+
|
|
201
|
+
## [3.3.6](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.5...@formatjs/ts-transformer@3.3.6) (2021-04-04)
|
|
202
|
+
|
|
203
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
204
|
+
|
|
205
|
+
## [3.3.5](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.4...@formatjs/ts-transformer@3.3.5) (2021-04-03)
|
|
206
|
+
|
|
207
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
208
|
+
|
|
209
|
+
## [3.3.4](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.3...@formatjs/ts-transformer@3.3.4) (2021-03-30)
|
|
210
|
+
|
|
211
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
212
|
+
|
|
213
|
+
## [3.3.3](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.2...@formatjs/ts-transformer@3.3.3) (2021-03-28)
|
|
214
|
+
|
|
215
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
216
|
+
|
|
217
|
+
## [3.3.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.1...@formatjs/ts-transformer@3.3.2) (2021-03-28)
|
|
218
|
+
|
|
219
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
220
|
+
|
|
221
|
+
## [3.3.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.3.0...@formatjs/ts-transformer@3.3.1) (2021-03-27)
|
|
222
|
+
|
|
223
|
+
### Bug Fixes
|
|
224
|
+
|
|
225
|
+
* **@formatjs/ts-transformer:** fix missing dep ([b4a94c3](https://github.com/formatjs/formatjs/commit/b4a94c3870c758f1c57101836593c9929bb500e3))
|
|
226
|
+
|
|
227
|
+
# [3.3.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.2.2...@formatjs/ts-transformer@3.3.0) (2021-03-27)
|
|
228
|
+
|
|
229
|
+
### Features
|
|
230
|
+
|
|
231
|
+
* **@formatjs/ts-transformer:** switch parser to @formatjs/icu-messageformat-parser (6x faster) ([82a4070](https://github.com/formatjs/formatjs/commit/82a40709838a4d3e26e5e36c3fef3163cb13f365))
|
|
232
|
+
|
|
233
|
+
## [3.2.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.2.1...@formatjs/ts-transformer@3.2.2) (2021-03-26)
|
|
234
|
+
|
|
235
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
236
|
+
|
|
237
|
+
## [3.2.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.2.0...@formatjs/ts-transformer@3.2.1) (2021-03-15)
|
|
238
|
+
|
|
239
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
240
|
+
|
|
241
|
+
# [3.2.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.1.5...@formatjs/ts-transformer@3.2.0) (2021-03-01)
|
|
242
|
+
|
|
243
|
+
### Features
|
|
244
|
+
|
|
245
|
+
* **@formatjs/ts-transformer:** add support for string literals within curly braces for JSX component props ([#2648](https://github.com/formatjs/formatjs/issues/2648)) ([3cdad26](https://github.com/formatjs/formatjs/commit/3cdad2673e2dba4a57ba5233b0ed7d6052fba932))
|
|
246
|
+
|
|
247
|
+
## [3.1.5](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.1.4...@formatjs/ts-transformer@3.1.5) (2021-02-25)
|
|
248
|
+
|
|
249
|
+
### Bug Fixes
|
|
250
|
+
|
|
251
|
+
* bump tslib version dep ([37577d2](https://github.com/formatjs/formatjs/commit/37577d22bf28d23de1d8013ba0047cf221ad8840)), closes [#2645](https://github.com/formatjs/formatjs/issues/2645)
|
|
252
|
+
|
|
253
|
+
## [3.1.4](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.1.3...@formatjs/ts-transformer@3.1.4) (2021-02-25)
|
|
254
|
+
|
|
255
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
256
|
+
|
|
257
|
+
## [3.1.3](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.1.2...@formatjs/ts-transformer@3.1.3) (2021-02-22)
|
|
258
|
+
|
|
259
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
260
|
+
|
|
261
|
+
## [3.1.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.1.1...@formatjs/ts-transformer@3.1.2) (2021-02-21)
|
|
262
|
+
|
|
263
|
+
### Reverts
|
|
264
|
+
|
|
265
|
+
* Revert "fix(@formatjs/ts-transformer): move typescript & tslib to peerDependencies (#2621)" ([af04601](https://github.com/formatjs/formatjs/commit/af04601cca78a1385f2859e4d4a5633c85adf904)), closes [#2621](https://github.com/formatjs/formatjs/issues/2621) [#2623](https://github.com/formatjs/formatjs/issues/2623)
|
|
266
|
+
|
|
267
|
+
## [3.1.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.1.0...@formatjs/ts-transformer@3.1.1) (2021-02-21)
|
|
268
|
+
|
|
269
|
+
### Bug Fixes
|
|
270
|
+
|
|
271
|
+
* **@formatjs/ts-transformer:** move typescript & tslib to peerDependencies ([#2621](https://github.com/formatjs/formatjs/issues/2621)) ([a0baae3](https://github.com/formatjs/formatjs/commit/a0baae3c402cd40e5097bc5aa1adb52a4bd566a3)), closes [#2620](https://github.com/formatjs/formatjs/issues/2620)
|
|
272
|
+
|
|
273
|
+
# [3.1.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.0.4...@formatjs/ts-transformer@3.1.0) (2021-02-13)
|
|
274
|
+
|
|
275
|
+
### Features
|
|
276
|
+
|
|
277
|
+
* **@formatjs/ts-transformer:** support preserving whitespace and newlines ([99e3b89](https://github.com/formatjs/formatjs/commit/99e3b896c2f6ffe4bf805379be44ee772dded806))
|
|
278
|
+
|
|
279
|
+
## [3.0.4](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.0.3...@formatjs/ts-transformer@3.0.4) (2021-01-27)
|
|
280
|
+
|
|
281
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
282
|
+
|
|
283
|
+
## [3.0.3](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.0.2...@formatjs/ts-transformer@3.0.3) (2021-01-26)
|
|
284
|
+
|
|
285
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
286
|
+
|
|
287
|
+
## [3.0.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.0.1...@formatjs/ts-transformer@3.0.2) (2021-01-25)
|
|
288
|
+
|
|
289
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
290
|
+
|
|
291
|
+
## [3.0.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@3.0.0...@formatjs/ts-transformer@3.0.1) (2021-01-05)
|
|
292
|
+
|
|
293
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
294
|
+
|
|
295
|
+
# [3.0.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.13.0...@formatjs/ts-transformer@3.0.0) (2021-01-04)
|
|
296
|
+
|
|
297
|
+
### Features
|
|
298
|
+
|
|
299
|
+
* **@formatjs/ts-transformer:** remove extractFromFormatMessageCall ([25f6376](https://github.com/formatjs/formatjs/commit/25f6376011d0009630fa8599400ee0e8e284c20f))
|
|
300
|
+
|
|
301
|
+
### BREAKING CHANGES
|
|
302
|
+
|
|
303
|
+
* **@formatjs/ts-transformer:** This has been turned on by default.
|
|
304
|
+
|
|
305
|
+
# [2.13.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.12.13...@formatjs/ts-transformer@2.13.0) (2021-01-04)
|
|
306
|
+
|
|
307
|
+
### Features
|
|
308
|
+
|
|
309
|
+
* **@formatjs/ts-transformer:** allow setting `additionalFunctionNames` to extract from custom function calls ([96fc3b1](https://github.com/formatjs/formatjs/commit/96fc3b1370eafbbab52f1de4c4d477f9ff2510a0))
|
|
310
|
+
|
|
311
|
+
## [2.12.13](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.12.12...@formatjs/ts-transformer@2.12.13) (2021-01-02)
|
|
312
|
+
|
|
313
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
314
|
+
|
|
315
|
+
## [2.12.12](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.12.11...@formatjs/ts-transformer@2.12.12) (2021-01-01)
|
|
316
|
+
|
|
317
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
318
|
+
|
|
319
|
+
## [2.12.11](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.12.10...@formatjs/ts-transformer@2.12.11) (2020-12-17)
|
|
320
|
+
|
|
321
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
322
|
+
|
|
323
|
+
## [2.12.10](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.12.9...@formatjs/ts-transformer@2.12.10) (2020-11-27)
|
|
324
|
+
|
|
325
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
326
|
+
|
|
327
|
+
## [2.12.9](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.12.8...@formatjs/ts-transformer@2.12.9) (2020-11-26)
|
|
328
|
+
|
|
329
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
330
|
+
|
|
331
|
+
## [2.12.8](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.12.7...@formatjs/ts-transformer@2.12.8) (2020-11-20)
|
|
332
|
+
|
|
333
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
334
|
+
|
|
335
|
+
## [2.12.7](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.12.6...@formatjs/ts-transformer@2.12.7) (2020-11-12)
|
|
336
|
+
|
|
337
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
338
|
+
|
|
339
|
+
## [2.12.6](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.12.5...@formatjs/ts-transformer@2.12.6) (2020-11-10)
|
|
340
|
+
|
|
341
|
+
### Bug Fixes
|
|
342
|
+
|
|
343
|
+
* **@formatjs/ts-transformer:** set ts-jest dep as optional, fix [#2299](https://github.com/formatjs/formatjs/issues/2299) ([07b6ae8](https://github.com/formatjs/formatjs/commit/07b6ae8d3c722e0135d7c23c335271f4e6906270))
|
|
344
|
+
|
|
345
|
+
## [2.12.5](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.12.4...@formatjs/ts-transformer@2.12.5) (2020-11-09)
|
|
346
|
+
|
|
347
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
348
|
+
|
|
349
|
+
## [2.12.4](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.12.3...@formatjs/ts-transformer@2.12.4) (2020-11-09)
|
|
350
|
+
|
|
351
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
352
|
+
|
|
353
|
+
## [2.12.3](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.12.2...@formatjs/ts-transformer@2.12.3) (2020-11-05)
|
|
354
|
+
|
|
355
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
356
|
+
|
|
357
|
+
## [2.12.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.12.1...@formatjs/ts-transformer@2.12.2) (2020-11-05)
|
|
358
|
+
|
|
359
|
+
### Bug Fixes
|
|
360
|
+
|
|
361
|
+
* **@formatjs/ts-transformer:** lock down monorepo dep version ([b171ad0](https://github.com/formatjs/formatjs/commit/b171ad0c396330e01536a086f49c3a2a8fddaa91))
|
|
362
|
+
|
|
363
|
+
## [2.12.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.12.0...@formatjs/ts-transformer@2.12.1) (2020-11-04)
|
|
364
|
+
|
|
365
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
366
|
+
|
|
367
|
+
# [2.12.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.11.5...@formatjs/ts-transformer@2.12.0) (2020-10-28)
|
|
368
|
+
|
|
369
|
+
### Features
|
|
370
|
+
|
|
371
|
+
* **@formatjs/ts-transformer:** add string concat static evaluation, fix [#2252](https://github.com/formatjs/formatjs/issues/2252) ([24454ba](https://github.com/formatjs/formatjs/commit/24454ba57e76ef9cf9ef75a2c17ee7fd825100d0))
|
|
372
|
+
|
|
373
|
+
## [2.11.5](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.11.4...@formatjs/ts-transformer@2.11.5) (2020-10-27)
|
|
374
|
+
|
|
375
|
+
### Bug Fixes
|
|
376
|
+
|
|
377
|
+
* **@formatjs/ts-transformer:** clarify comment in docstring ([d729c4a](https://github.com/formatjs/formatjs/commit/d729c4ad496a476c9293c973486b12599d6e753c))
|
|
378
|
+
* **@formatjs/ts-transformer:** fix resourcePath interpolation ([09ed2de](https://github.com/formatjs/formatjs/commit/09ed2de1617afdbff2391731279c522ac60cc929))
|
|
379
|
+
|
|
380
|
+
## [2.11.4](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.11.3...@formatjs/ts-transformer@2.11.4) (2020-10-25)
|
|
381
|
+
|
|
382
|
+
### Bug Fixes
|
|
383
|
+
|
|
384
|
+
* **@formatjs/ts-transformer:** fix node clone issue, fix [#2152](https://github.com/formatjs/formatjs/issues/2152) ([556cb3b](https://github.com/formatjs/formatjs/commit/556cb3baaa0968186d0ad36d4cddadeacd05e89b))
|
|
385
|
+
|
|
386
|
+
## [2.11.3](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.11.2...@formatjs/ts-transformer@2.11.3) (2020-10-10)
|
|
387
|
+
|
|
388
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
389
|
+
|
|
390
|
+
## [2.11.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.11.1...@formatjs/ts-transformer@2.11.2) (2020-10-08)
|
|
391
|
+
|
|
392
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
393
|
+
|
|
394
|
+
## [2.11.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.11.0...@formatjs/ts-transformer@2.11.1) (2020-10-01)
|
|
395
|
+
|
|
396
|
+
### Bug Fixes
|
|
397
|
+
|
|
398
|
+
* **@formatjs/ts-transformer:** capture template literal in jsx node, fix [#2158](https://github.com/formatjs/formatjs/issues/2158) ([b75097e](https://github.com/formatjs/formatjs/commit/b75097ebbd967a237681abeaa1589260437d739e))
|
|
399
|
+
|
|
400
|
+
# [2.11.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.10.1...@formatjs/ts-transformer@2.11.0) (2020-09-25)
|
|
401
|
+
|
|
402
|
+
### Features
|
|
403
|
+
|
|
404
|
+
* **@formatjs/ts-transformer:** add 1st party ts-jest-integration, update docs, fix [#2088](https://github.com/formatjs/formatjs/issues/2088) ([3a0b0a5](https://github.com/formatjs/formatjs/commit/3a0b0a5f3eed4796cffc7a6cbeb3bf1be4267cb6))
|
|
405
|
+
|
|
406
|
+
## [2.10.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.10.0...@formatjs/ts-transformer@2.10.1) (2020-09-18)
|
|
407
|
+
|
|
408
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
409
|
+
|
|
410
|
+
# [2.10.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.9.1...@formatjs/ts-transformer@2.10.0) (2020-09-12)
|
|
411
|
+
|
|
412
|
+
### Features
|
|
413
|
+
|
|
414
|
+
* **@formatjs/ts-transformer:** expose integration w/ ts-jest, fix [#2088](https://github.com/formatjs/formatjs/issues/2088) ([7e8fc33](https://github.com/formatjs/formatjs/commit/7e8fc33a431ac61fd9786a78178342b4f094216e))
|
|
415
|
+
|
|
416
|
+
## [2.9.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.9.0...@formatjs/ts-transformer@2.9.1) (2020-09-09)
|
|
417
|
+
|
|
418
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
419
|
+
|
|
420
|
+
# [2.9.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.8.0...@formatjs/ts-transformer@2.9.0) (2020-09-03)
|
|
421
|
+
|
|
422
|
+
### Features
|
|
423
|
+
|
|
424
|
+
* **@formatjs/ts-transformer:** trim trailing/leading spaces, newlines & ([6eaa774](https://github.com/formatjs/formatjs/commit/6eaa7743e86d3ec63e1612308aa15dcddd3e8135)), closes [#2028](https://github.com/formatjs/formatjs/issues/2028)
|
|
425
|
+
|
|
426
|
+
# [2.8.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.7.10...@formatjs/ts-transformer@2.8.0) (2020-08-30)
|
|
427
|
+
|
|
428
|
+
### Features
|
|
429
|
+
|
|
430
|
+
* **@formatjs/ts-transformer:** upgrade TS to 4.0 ([ce739be](https://github.com/formatjs/formatjs/commit/ce739be24ef50ceabc4d24530807c4bf6e53d5f3))
|
|
431
|
+
|
|
432
|
+
## [2.7.10](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.7.9...@formatjs/ts-transformer@2.7.10) (2020-08-28)
|
|
433
|
+
|
|
434
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
435
|
+
|
|
436
|
+
## [2.7.9](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.7.8...@formatjs/ts-transformer@2.7.9) (2020-08-25)
|
|
437
|
+
|
|
438
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
439
|
+
|
|
440
|
+
## [2.7.8](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.7.7...@formatjs/ts-transformer@2.7.8) (2020-08-22)
|
|
441
|
+
|
|
442
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
443
|
+
|
|
444
|
+
## [2.7.7](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.7.6...@formatjs/ts-transformer@2.7.7) (2020-08-21)
|
|
445
|
+
|
|
446
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
447
|
+
|
|
448
|
+
## [2.7.6](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.7.5...@formatjs/ts-transformer@2.7.6) (2020-08-20)
|
|
449
|
+
|
|
450
|
+
### Bug Fixes
|
|
451
|
+
|
|
452
|
+
* bump intl-messageformat-parser ([8bbfa04](https://github.com/formatjs/formatjs/commit/8bbfa047da159662700b7e500879da20e54c0f0b))
|
|
453
|
+
|
|
454
|
+
## [2.7.5](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.7.4...@formatjs/ts-transformer@2.7.5) (2020-08-19)
|
|
455
|
+
|
|
456
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
457
|
+
|
|
458
|
+
## [2.7.4](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.7.3...@formatjs/ts-transformer@2.7.4) (2020-08-19)
|
|
459
|
+
|
|
460
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
461
|
+
|
|
462
|
+
## [2.7.3](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.7.2...@formatjs/ts-transformer@2.7.3) (2020-08-18)
|
|
463
|
+
|
|
464
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
465
|
+
|
|
466
|
+
## [2.7.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.7.1...@formatjs/ts-transformer@2.7.2) (2020-08-17)
|
|
467
|
+
|
|
468
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
469
|
+
|
|
470
|
+
## [2.7.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.7.0...@formatjs/ts-transformer@2.7.1) (2020-08-14)
|
|
471
|
+
|
|
472
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
473
|
+
|
|
474
|
+
# [2.7.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.6.0...@formatjs/ts-transformer@2.7.0) (2020-08-14)
|
|
475
|
+
|
|
476
|
+
### Features
|
|
477
|
+
|
|
478
|
+
* **@formatjs/ts-transformer:** add --ast to precompile defaultMessage ([197ae81](https://github.com/formatjs/formatjs/commit/197ae816a42ad8e75b64e72b1265e0f305aeefb3))
|
|
479
|
+
|
|
480
|
+
# [2.6.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.5.1...@formatjs/ts-transformer@2.6.0) (2020-08-07)
|
|
481
|
+
|
|
482
|
+
### Features
|
|
483
|
+
|
|
484
|
+
* **@formatjs/ts-transformer:** allow to override user defined message id via `overrideIdFn` as function ([#1926](https://github.com/formatjs/formatjs/issues/1926)) ([6af7846](https://github.com/formatjs/formatjs/commit/6af7846758c1e6832d75e1d0dfd8c4b8c064203c))
|
|
485
|
+
|
|
486
|
+
## [2.5.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.5.0...@formatjs/ts-transformer@2.5.1) (2020-07-29)
|
|
487
|
+
|
|
488
|
+
### Bug Fixes
|
|
489
|
+
|
|
490
|
+
* **@formatjs/ts-transformer:** declare TS as dependency, fix [#1884](https://github.com/formatjs/formatjs/issues/1884) ([0a08310](https://github.com/formatjs/formatjs/commit/0a08310c48e6e6477096036feafc330e3613ac0b))
|
|
491
|
+
|
|
492
|
+
# [2.5.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.4.2...@formatjs/ts-transformer@2.5.0) (2020-07-25)
|
|
493
|
+
|
|
494
|
+
### Bug Fixes
|
|
495
|
+
|
|
496
|
+
* **@formatjs/ts-transformer:** fix `{} as const` case ([d010b50](https://github.com/formatjs/formatjs/commit/d010b502616e1b0d1bb3ca9501a74bc14f984d3d))
|
|
497
|
+
|
|
498
|
+
### Features
|
|
499
|
+
|
|
500
|
+
* **@formatjs/ts-transformer:** add support for pragma ([5096238](https://github.com/formatjs/formatjs/commit/50962386779d1751cfc481b22a4454f30ae4c7e0))
|
|
501
|
+
|
|
502
|
+
## [2.4.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.4.1...@formatjs/ts-transformer@2.4.2) (2020-07-24)
|
|
503
|
+
|
|
504
|
+
### Bug Fixes
|
|
505
|
+
|
|
506
|
+
* **@formatjs/ts-transformer:** fix deps ([9c06488](https://github.com/formatjs/formatjs/commit/9c06488b2c4dfb8cf2f01258e28041f5bf472570))
|
|
507
|
+
|
|
508
|
+
## [2.4.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.4.0...@formatjs/ts-transformer@2.4.1) (2020-07-16)
|
|
509
|
+
|
|
510
|
+
### Reverts
|
|
511
|
+
|
|
512
|
+
* Revert "feat(@formatjs/intl-utils): remove custom LDMLPluralRuleType and use TS3.9 type" ([1a6eeac](https://github.com/formatjs/formatjs/commit/1a6eeac8c59184825968ffddc35374c83f3fe782))
|
|
513
|
+
|
|
514
|
+
# [2.4.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.3.0...@formatjs/ts-transformer@2.4.0) (2020-07-14)
|
|
515
|
+
|
|
516
|
+
### Features
|
|
517
|
+
|
|
518
|
+
* **@formatjs/intl-utils:** remove custom LDMLPluralRuleType and use TS3.9 type ([8e433d5](https://github.com/formatjs/formatjs/commit/8e433d5afdbf64f7a952d6345e50cad29bbb7083))
|
|
519
|
+
|
|
520
|
+
# [2.3.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.2.1...@formatjs/ts-transformer@2.3.0) (2020-07-14)
|
|
521
|
+
|
|
522
|
+
### Features
|
|
523
|
+
|
|
524
|
+
* publish ([b6e3465](https://github.com/formatjs/formatjs/commit/b6e3465ac95b3fa481f3c89f077a66ac004f7c27))
|
|
525
|
+
|
|
526
|
+
## [2.2.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.2.1...@formatjs/ts-transformer@2.2.2) (2020-07-09)
|
|
527
|
+
|
|
528
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
529
|
+
|
|
530
|
+
## [2.2.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.2.0...@formatjs/ts-transformer@2.2.1) (2020-07-03)
|
|
531
|
+
|
|
532
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
533
|
+
|
|
534
|
+
# [2.2.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.1.4...@formatjs/ts-transformer@2.2.0) (2020-07-01)
|
|
535
|
+
|
|
536
|
+
### Features
|
|
537
|
+
|
|
538
|
+
* **@formatjs/ts-transformer:** move interpolate-name here ([232d190](https://github.com/formatjs/formatjs/commit/232d190df037b81a88c6b0147a82b586b5ed7fb3))
|
|
539
|
+
|
|
540
|
+
## [2.1.4](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.1.3...@formatjs/ts-transformer@2.1.4) (2020-06-23)
|
|
541
|
+
|
|
542
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
543
|
+
|
|
544
|
+
## [2.1.3](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.1.2...@formatjs/ts-transformer@2.1.3) (2020-06-20)
|
|
545
|
+
|
|
546
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
547
|
+
|
|
548
|
+
## [2.1.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.1.1...@formatjs/ts-transformer@2.1.2) (2020-06-04)
|
|
549
|
+
|
|
550
|
+
### Bug Fixes
|
|
551
|
+
|
|
552
|
+
* **@formatjs/intl-utils:** don't export interpolateName from index ([72f1566](https://github.com/formatjs/formatjs/commit/72f15662b321046fd3092bb917934790eb6803a6)), closes [#1700](https://github.com/formatjs/formatjs/issues/1700)
|
|
553
|
+
|
|
554
|
+
## [2.1.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.1.0...@formatjs/ts-transformer@2.1.1) (2020-06-04)
|
|
555
|
+
|
|
556
|
+
### Bug Fixes
|
|
557
|
+
|
|
558
|
+
* **@formatjs/ts-transformer:** remove loader-utils dep ([927b3bc](https://github.com/formatjs/formatjs/commit/927b3bc79eea2ea6f0adb7e7008587f9d630a7de))
|
|
559
|
+
|
|
560
|
+
# [2.1.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.0.5...@formatjs/ts-transformer@2.1.0) (2020-06-04)
|
|
561
|
+
|
|
562
|
+
### Features
|
|
563
|
+
|
|
564
|
+
* **@formatjs/intl-utils:** Add interpolateName ([4d09912](https://github.com/formatjs/formatjs/commit/4d09912e55c79a5246f18fe69c3646b7deb04f1b))
|
|
565
|
+
|
|
566
|
+
## [2.0.5](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.0.4...@formatjs/ts-transformer@2.0.5) (2020-05-08)
|
|
567
|
+
|
|
568
|
+
### Bug Fixes
|
|
569
|
+
|
|
570
|
+
* **@formatjs/ts-transformer:** fix ID mangling ([7d3c701](https://github.com/formatjs/formatjs/commit/7d3c70179b7297c607963a33148fd63a619d66ed))
|
|
571
|
+
|
|
572
|
+
## [2.0.4](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.0.3...@formatjs/ts-transformer@2.0.4) (2020-05-08)
|
|
573
|
+
|
|
574
|
+
### Bug Fixes
|
|
575
|
+
|
|
576
|
+
* **@formatjs/ts-transformer:** preserve other attr in the component ([b51f573](https://github.com/formatjs/formatjs/commit/b51f57300d5a371c979dca7d321acdcfd184fefc))
|
|
577
|
+
|
|
578
|
+
## [2.0.3](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.0.2...@formatjs/ts-transformer@2.0.3) (2020-05-08)
|
|
579
|
+
|
|
580
|
+
### Bug Fixes
|
|
581
|
+
|
|
582
|
+
* **@formatjs/ts-transformer:** ignore msgs without id & defaultMessage ([903beed](https://github.com/formatjs/formatjs/commit/903beedfa393d087e51831b9a5b2ede7b9e03e15))
|
|
583
|
+
|
|
584
|
+
## [2.0.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.0.1...@formatjs/ts-transformer@2.0.2) (2020-05-08)
|
|
585
|
+
|
|
586
|
+
### Bug Fixes
|
|
587
|
+
|
|
588
|
+
* **@formatjs/ts-transformer:** fix nested formatMessage case ([9d6592f](https://github.com/formatjs/formatjs/commit/9d6592f8269b1e17cc326e02a1675cbe0f47c41c))
|
|
589
|
+
* **@formatjs/ts-transformer:** rm _ from macro list ([92d5eaa](https://github.com/formatjs/formatjs/commit/92d5eaa4abaf614a186bc4add4c8551c5c729dcb))
|
|
590
|
+
|
|
591
|
+
## [2.0.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.0.0...@formatjs/ts-transformer@2.0.1) (2020-05-07)
|
|
592
|
+
|
|
593
|
+
### Bug Fixes
|
|
594
|
+
|
|
595
|
+
* **@formatjs/ts-transformer:** add extraction for defineMessage also ([c2a8a37](https://github.com/formatjs/formatjs/commit/c2a8a3765499b09c253895f02a452e3eaf9eddc0))
|
|
596
|
+
|
|
597
|
+
# [2.0.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.1.7...@formatjs/ts-transformer@2.0.0) (2020-05-07)
|
|
598
|
+
|
|
599
|
+
### Features
|
|
600
|
+
|
|
601
|
+
* **@formatjs/ts-transformer:** rm dependency on typechecker ([46a675f](https://github.com/formatjs/formatjs/commit/46a675f572017f2bffe7a42dcc0bf68a824aaf69))
|
|
602
|
+
|
|
603
|
+
### BREAKING CHANGES
|
|
604
|
+
|
|
605
|
+
* **@formatjs/ts-transformer:** Also remove `moduleSourceName` option
|
|
606
|
+
Dependency on typechecker means we cannot run w/ just `transpileModule`
|
|
607
|
+
Typechecking is also a lot slower
|
|
608
|
+
|
|
609
|
+
## [1.1.7](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.1.6...@formatjs/ts-transformer@1.1.7) (2020-05-06)
|
|
610
|
+
|
|
611
|
+
### Bug Fixes
|
|
612
|
+
|
|
613
|
+
* **@formatjs/ts-transformer:** expand extraction to `formatMessage()` as well ([146f1d3](https://github.com/formatjs/formatjs/commit/146f1d39fe0f42cba04dc25c391d03a5fbb39d28))
|
|
614
|
+
|
|
615
|
+
## 1.1.6 (2020-04-28)
|
|
616
|
+
|
|
617
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
618
|
+
|
|
619
|
+
## [1.1.5](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.1.4...@formatjs/ts-transformer@1.1.5) (2020-04-25)
|
|
620
|
+
|
|
621
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
622
|
+
|
|
623
|
+
## [1.1.4](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.1.3...@formatjs/ts-transformer@1.1.4) (2020-04-24)
|
|
624
|
+
|
|
625
|
+
### Bug Fixes
|
|
626
|
+
|
|
627
|
+
* **eslint-plugin-formatjs:** add missing dep ([776390e](https://github.com/formatjs/formatjs/commit/776390e9d6cb3bc1eef07b2e92057136cfe95b76))
|
|
628
|
+
|
|
629
|
+
## [1.1.3](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.1.2...@formatjs/ts-transformer@1.1.3) (2020-04-20)
|
|
630
|
+
|
|
631
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
632
|
+
|
|
633
|
+
## [1.1.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.1.1...@formatjs/ts-transformer@1.1.2) (2020-04-16)
|
|
634
|
+
|
|
635
|
+
### Bug Fixes
|
|
636
|
+
|
|
637
|
+
* **@formatjs/ts-transformer:** fix id generation when description is falsy ([c6a862a](https://github.com/formatjs/formatjs/commit/c6a862adc3f378d1d21130a557e291292bca9d78))
|
|
638
|
+
|
|
639
|
+
## [1.1.1](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.1.0...@formatjs/ts-transformer@1.1.1) (2020-03-29)
|
|
640
|
+
|
|
641
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
642
|
+
|
|
643
|
+
# [1.1.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.12...@formatjs/ts-transformer@1.1.0) (2020-03-22)
|
|
644
|
+
|
|
645
|
+
### Features
|
|
646
|
+
|
|
647
|
+
* **@formatjs/ts-transformer:** rm support for FormattedHTMLMessage ([ac592fa](https://github.com/formatjs/formatjs/commit/ac592fa90e5eb9e486462c7c75167879bb3ce86d))
|
|
648
|
+
|
|
649
|
+
## [1.0.12](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.11...@formatjs/ts-transformer@1.0.12) (2020-03-18)
|
|
650
|
+
|
|
651
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
652
|
+
|
|
653
|
+
## [1.0.11](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.10...@formatjs/ts-transformer@1.0.11) (2019-11-26)
|
|
654
|
+
|
|
655
|
+
### Bug Fixes
|
|
656
|
+
|
|
657
|
+
* **@formatjs/ts-transformer:** use .text instead of .getText ([961a680](https://github.com/formatjs/formatjs/commit/961a680e687506db1fb81b682ef773fd6c538258))
|
|
658
|
+
|
|
659
|
+
## [1.0.10](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.9...@formatjs/ts-transformer@1.0.10) (2019-11-26)
|
|
660
|
+
|
|
661
|
+
### Bug Fixes
|
|
662
|
+
|
|
663
|
+
* **@formatjs/ts-transformer:** fix quote issue ([a9edba2](https://github.com/formatjs/formatjs/commit/a9edba2182ee0ffa6e6c6d482e6dcd9882eba9c0))
|
|
664
|
+
|
|
665
|
+
## [1.0.9](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.8...@formatjs/ts-transformer@1.0.9) (2019-11-25)
|
|
666
|
+
|
|
667
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|
|
668
|
+
|
|
669
|
+
## [1.0.8](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.7...@formatjs/ts-transformer@1.0.8) (2019-11-20)
|
|
670
|
+
|
|
671
|
+
### Bug Fixes
|
|
672
|
+
|
|
673
|
+
* **lint:** fix lint config and rerun ([041eb99](https://github.com/formatjs/formatjs/commit/041eb99706164048b5b8ce7079955897ce27ed70))
|
|
674
|
+
|
|
675
|
+
## [1.0.7](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.6...@formatjs/ts-transformer@1.0.7) (2019-11-10)
|
|
676
|
+
|
|
677
|
+
### Bug Fixes
|
|
678
|
+
|
|
679
|
+
* **intl-messageformat:** pass raw locales down to individual formatters ([3a74c2e](https://github.com/formatjs/formatjs/commit/3a74c2e7c6592de3a4f5ca182c5846fe095abe55)), closes [#255](https://github.com/formatjs/formatjs/issues/255)
|
|
680
|
+
|
|
681
|
+
## [1.0.6](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.5...@formatjs/ts-transformer@1.0.6) (2019-11-08)
|
|
682
|
+
|
|
683
|
+
### Bug Fixes
|
|
684
|
+
|
|
685
|
+
* **@formatjs/ts-transformer:** handle props.intl.formatMessage case ([afaa03d](https://github.com/formatjs/formatjs/commit/afaa03d3104145523c11ebe3ba85f92e560ee8a7))
|
|
686
|
+
|
|
687
|
+
## [1.0.5](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.4...@formatjs/ts-transformer@1.0.5) (2019-11-07)
|
|
688
|
+
|
|
689
|
+
### Bug Fixes
|
|
690
|
+
|
|
691
|
+
* **@formatjs/ts-transformer:** fix AST node manipulation ([1c9850e](https://github.com/formatjs/formatjs/commit/1c9850e4f21ad96c5096dafbf12081b3c6efd5c1))
|
|
692
|
+
|
|
693
|
+
## [1.0.4](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.3...@formatjs/ts-transformer@1.0.4) (2019-11-07)
|
|
694
|
+
|
|
695
|
+
### Bug Fixes
|
|
696
|
+
|
|
697
|
+
* **@formatjs/ts-transformer:** preserve multi arguments in formatMessage call ([3404c12](https://github.com/formatjs/formatjs/commit/3404c12aacc2bd75db8fd9a2213b0ef7c7ae95e7))
|
|
698
|
+
|
|
699
|
+
## [1.0.3](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.2...@formatjs/ts-transformer@1.0.3) (2019-11-06)
|
|
700
|
+
|
|
701
|
+
### Bug Fixes
|
|
702
|
+
|
|
703
|
+
* **@formatjs/ts-transformer:** fix overrideIdFn string case ([ad87c54](https://github.com/formatjs/formatjs/commit/ad87c5414601ba8d9f662c1c6d88f7ad2fb54031))
|
|
704
|
+
|
|
705
|
+
## [1.0.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.1...@formatjs/ts-transformer@1.0.2) (2019-11-06)
|
|
706
|
+
|
|
707
|
+
### Bug Fixes
|
|
708
|
+
|
|
709
|
+
* **@formatjs/ts-transformer:** handle case where we dont import hooks ([6afb5af](https://github.com/formatjs/formatjs/commit/6afb5af6ca1246327d36d06c4930dec21f8b0421))
|
|
710
|
+
|
|
711
|
+
## 1.0.1 (2019-11-05)
|
|
712
|
+
|
|
713
|
+
**Note:** Version bump only for package @formatjs/ts-transformer
|