@atlaskit/codemod-cli 0.22.0 → 0.23.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/CHANGELOG.md CHANGED
@@ -1,567 +1,757 @@
1
1
  # @atlaskit/codemod-cli
2
2
 
3
+ ## 0.23.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#98066](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98066)
8
+ [`414a343b18e7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/414a343b18e7) -
9
+ Add new testing abstraction and update some tests
10
+
3
11
  ## 0.22.0
4
12
 
5
13
  ### Minor Changes
6
14
 
7
- - [#91603](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91603) [`7cb9b3b277be`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7cb9b3b277be) - Update button mod to prefer render props over UNSAFE\_ APIs
15
+ - [#91603](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91603)
16
+ [`7cb9b3b277be`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7cb9b3b277be) -
17
+ Update button mod to prefer render props over UNSAFE\_ APIs
8
18
 
9
19
  ## 0.21.1
10
20
 
11
21
  ### Patch Changes
12
22
 
13
- - [#87918](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87918) [`1de8dc826f8d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1de8dc826f8d) - Fixed the duplicated label issue and the missing JSX pragma comment.
23
+ - [#87918](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87918)
24
+ [`1de8dc826f8d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1de8dc826f8d) -
25
+ Fixed the duplicated label issue and the missing JSX pragma comment.
14
26
 
15
27
  ## 0.21.0
16
28
 
17
29
  ### Minor Changes
18
30
 
19
- - [#87074](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87074) [`92be609ad553`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/92be609ad553) - Adds migration support for LoadingButtons
31
+ - [#87074](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87074)
32
+ [`92be609ad553`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/92be609ad553) -
33
+ Adds migration support for LoadingButtons
20
34
 
21
35
  ## 0.20.1
22
36
 
23
37
  ### Patch Changes
24
38
 
25
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
39
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
40
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
41
+ Upgrade Typescript from `4.9.5` to `5.4.2`
26
42
 
27
43
  ## 0.20.0
28
44
 
29
45
  ### Minor Changes
30
46
 
31
- - [#70616](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70616) [`533c86673290`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/533c86673290) - Adding a new pattern for upgrading Pragmatic drag and drop consumers to `1.0`
47
+ - [#70616](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70616)
48
+ [`533c86673290`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/533c86673290) -
49
+ Adding a new pattern for upgrading Pragmatic drag and drop consumers to `1.0`
32
50
 
33
- Pattern name: `"upgrade-pragmatic-drag-and-drop-to-stable"`
51
+ Pattern name: `"upgrade-pragmatic-drag-and-drop-to-stable"`
34
52
 
35
53
  ## 0.19.0
36
54
 
37
55
  ### Minor Changes
38
56
 
39
- - [#60956](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60956) [`3c438c899565`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3c438c899565) - Updated glob dependency to 9.0.0 to fix VULN-1129796
57
+ - [#60956](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60956)
58
+ [`3c438c899565`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3c438c899565) -
59
+ Updated glob dependency to 9.0.0 to fix VULN-1129796
40
60
 
41
61
  ## 0.18.0
42
62
 
43
63
  ### Minor Changes
44
64
 
45
- - [#71146](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71146) [`3e20d00d3d46`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3e20d00d3d46) - Moves tokens codemods into the tokens package.
65
+ - [#71146](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71146)
66
+ [`3e20d00d3d46`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3e20d00d3d46) -
67
+ Moves tokens codemods into the tokens package.
46
68
 
47
69
  ### Patch Changes
48
70
 
49
- - Updated dependencies
71
+ - Updated dependencies
50
72
 
51
73
  ## 0.17.10
52
74
 
53
75
  ### Patch Changes
54
76
 
55
- - [#69779](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69779) [`8dd71b2e0653`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8dd71b2e0653) - Updated bin property to string as the package name and bin name matches. https://yarnpkg.com/configuration/manifest#bin
77
+ - [#69779](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69779)
78
+ [`8dd71b2e0653`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8dd71b2e0653) -
79
+ Updated bin property to string as the package name and bin name matches.
80
+ https://yarnpkg.com/configuration/manifest#bin
56
81
 
57
82
  ## 0.17.9
58
83
 
59
84
  ### Patch Changes
60
85
 
61
- - [#67949](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67949) [`4ceb213f9313`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4ceb213f9313) - Migrate packages to use declarative entry points
62
- - Updated dependencies
86
+ - [#67949](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67949)
87
+ [`4ceb213f9313`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4ceb213f9313) -
88
+ Migrate packages to use declarative entry points
89
+ - Updated dependencies
63
90
 
64
91
  ## 0.17.8
65
92
 
66
93
  ### Patch Changes
67
94
 
68
- - [#62539](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62539) [`4055341131ca`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4055341131ca) - Update button codemod to add type keywork for type imports
95
+ - [#62539](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62539)
96
+ [`4055341131ca`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4055341131ca) -
97
+ Update button codemod to add type keywork for type imports
69
98
 
70
99
  ## 0.17.7
71
100
 
72
101
  ### Patch Changes
73
102
 
74
- - [#61900](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61900) [`101b5d5ef72a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/101b5d5ef72a) - Small changes in mixin migration - Use `token` instead of `theamed` to avoid migration to depricated code
75
- - [#62187](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62187) [`03bb58064010`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/03bb58064010) - Added a small bug-fix in button codemods: add TODO comment on default buttons with "link" or "subtle-link" appearance but without `href`
103
+ - [#61900](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61900)
104
+ [`101b5d5ef72a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/101b5d5ef72a) -
105
+ Small changes in mixin migration - Use `token` instead of `theamed` to avoid migration to
106
+ depricated code
107
+ - [#62187](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62187)
108
+ [`03bb58064010`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/03bb58064010) -
109
+ Added a small bug-fix in button codemods: add TODO comment on default buttons with "link" or
110
+ "subtle-link" appearance but without `href`
76
111
 
77
112
  ## 0.17.6
78
113
 
79
114
  ### Patch Changes
80
115
 
81
- - [#61943](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61943) [`dfdb42df4b4c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dfdb42df4b4c) - Now building the `@atlaskit/tokens` package when during `"prestart"` as tokens is required to be built for some of the patterns to run.
116
+ - [#61943](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61943)
117
+ [`dfdb42df4b4c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dfdb42df4b4c) -
118
+ Now building the `@atlaskit/tokens` package when during `"prestart"` as tokens is required to be
119
+ built for some of the patterns to run.
82
120
 
83
121
  ## 0.17.5
84
122
 
85
123
  ### Patch Changes
86
124
 
87
- - [#59501](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59501) [`2c30839b5156`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2c30839b5156) - Button migration codemods- updated import path to the new entry point "@atlaskit/button/new"
125
+ - [#59501](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59501)
126
+ [`2c30839b5156`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2c30839b5156) -
127
+ Button migration codemods- updated import path to the new entry point "@atlaskit/button/new"
88
128
 
89
129
  ## 0.17.4
90
130
 
91
131
  ### Patch Changes
92
132
 
93
- - [#59085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59085) [`360ae69766f9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/360ae69766f9) - small fix in button migration codemod - don't move the size prop from icon if it is medium.
133
+ - [#59085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59085)
134
+ [`360ae69766f9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/360ae69766f9) -
135
+ small fix in button migration codemod - don't move the size prop from icon if it is medium.
94
136
 
95
137
  ## 0.17.3
96
138
 
97
139
  ### Patch Changes
98
140
 
99
- - [#57531](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57531) [`18f167967f89`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18f167967f89) - Handle button migrations with unsupported props.
141
+ - [#57531](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57531)
142
+ [`18f167967f89`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18f167967f89) -
143
+ Handle button migrations with unsupported props.
100
144
 
101
145
  ## 0.17.2
102
146
 
103
147
  ### Patch Changes
104
148
 
105
- - [#56711](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56711) [`a48d9247ddb2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a48d9247ddb2) - Small changes in button migration codemod - renamed UNSAFE_size to UNSAFE_iconBefore/iconAfter_size for new link and default buttons
149
+ - [#56711](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56711)
150
+ [`a48d9247ddb2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a48d9247ddb2) -
151
+ Small changes in button migration codemod - renamed UNSAFE_size to
152
+ UNSAFE_iconBefore/iconAfter_size for new link and default buttons
106
153
 
107
154
  ## 0.17.1
108
155
 
109
156
  ### Patch Changes
110
157
 
111
- - [#43812](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43812) [`15c0e36ba0f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/15c0e36ba0f) - Update button codemods to adapt new API changes for IconButton.
158
+ - [#43812](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43812)
159
+ [`15c0e36ba0f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/15c0e36ba0f) - Update
160
+ button codemods to adapt new API changes for IconButton.
112
161
 
113
162
  ## 0.17.0
114
163
 
115
164
  ### Minor Changes
116
165
 
117
- - [#43699](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43699) [`82e6819e04b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/82e6819e04b) - Update the codemod-cli to accept custom options, e.g. `npx @atlaskit/codemod-cli --foo bar /project/src/file.js`
166
+ - [#43699](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43699)
167
+ [`82e6819e04b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/82e6819e04b) - Update
168
+ the codemod-cli to accept custom options, e.g.
169
+ `npx @atlaskit/codemod-cli --foo bar /project/src/file.js`
118
170
 
119
171
  ### Patch Changes
120
172
 
121
- - Updated dependencies
173
+ - Updated dependencies
122
174
 
123
175
  ## 0.16.0
124
176
 
125
177
  ### Minor Changes
126
178
 
127
- - [#41699](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41699) [`436fa9358ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/436fa9358ae) - Introduces new codemod “migrate-to-new-buttons” to automate the new button migration.
179
+ - [#41699](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41699)
180
+ [`436fa9358ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/436fa9358ae) -
181
+ Introduces new codemod “migrate-to-new-buttons” to automate the new button migration.
128
182
 
129
183
  ## 0.15.0
130
184
 
131
185
  ### Minor Changes
132
186
 
133
- - [#40270](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40270) [`27bbdfcb6ad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27bbdfcb6ad) - This update includes several improvements and fixes to the css-to-design-tokens preset:
187
+ - [#40270](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40270)
188
+ [`27bbdfcb6ad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27bbdfcb6ad) - This
189
+ update includes several improvements and fixes to the css-to-design-tokens preset:
134
190
 
135
- - Resolved transformation errors.
136
- - Added support for new color properties such as `border-color-left`.
137
- - Omitted unrecognized functions, including `url`, and certain Less functions to prevent compile errors.
138
- - Enhanced codemod to only substitute raw, named colors and known variables (like old Atlaskit colors), and to avoid substituting variables not related to colors.
139
- - Introduced token filtering for more precise token identification.
140
- - Added parsing for gradient functions and multiple colors.
191
+ - Resolved transformation errors.
192
+ - Added support for new color properties such as `border-color-left`.
193
+ - Omitted unrecognized functions, including `url`, and certain Less functions to prevent
194
+ compile errors.
195
+ - Enhanced codemod to only substitute raw, named colors and known variables (like old Atlaskit
196
+ colors), and to avoid substituting variables not related to colors.
197
+ - Introduced token filtering for more precise token identification.
198
+ - Added parsing for gradient functions and multiple colors.
141
199
 
142
200
  ## 0.14.0
143
201
 
144
202
  ### Minor Changes
145
203
 
146
- - [#39017](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39017) [`26d4e25c2b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/26d4e25c2b3) - replace strings that contain only the color name; replace hard-coded colors in template literals that have CSS declarations; better color names for literals that have multiple expressions; replace full value of box-shadow in template literals
204
+ - [#39017](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39017)
205
+ [`26d4e25c2b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/26d4e25c2b3) -
206
+ replace strings that contain only the color name; replace hard-coded colors in template literals
207
+ that have CSS declarations; better color names for literals that have multiple expressions;
208
+ replace full value of box-shadow in template literals
147
209
 
148
210
  ## 0.13.4
149
211
 
150
212
  ### Patch Changes
151
213
 
152
- - [#38813](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38813) [`9c4335f135d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c4335f135d) - Updated README.md
214
+ - [#38813](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38813)
215
+ [`9c4335f135d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c4335f135d) -
216
+ Updated README.md
153
217
 
154
218
  ## 0.13.3
155
219
 
156
220
  ### Patch Changes
157
221
 
158
- - [#35950](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35950) [`50cf866a219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cf866a219) - bump semver
222
+ - [#35950](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35950)
223
+ [`50cf866a219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cf866a219) - bump
224
+ semver
159
225
 
160
226
  ## 0.13.2
161
227
 
162
228
  ### Patch Changes
163
229
 
164
- - [#32800](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32800) [`07f0eb8e1f4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07f0eb8e1f4) - Refactors `theme-to-design-tokens` to improve its accuracy
230
+ - [#32800](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32800)
231
+ [`07f0eb8e1f4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07f0eb8e1f4) -
232
+ Refactors `theme-to-design-tokens` to improve its accuracy
165
233
 
166
234
  ## 0.13.1
167
235
 
168
236
  ### Patch Changes
169
237
 
170
- - [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443) [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing unused dependencies and dev dependencies
238
+ - [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443)
239
+ [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) -
240
+ Removing unused dependencies and dev dependencies
171
241
 
172
242
  ## 0.13.0
173
243
 
174
244
  ### Minor Changes
175
245
 
176
- - [#34602](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34602) [`c528571ef3d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c528571ef3d) - Introduces new codemod "theme-remove-deprecated-mixins" to automate the removal of deprecated color mixins
246
+ - [#34602](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34602)
247
+ [`c528571ef3d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c528571ef3d) -
248
+ Introduces new codemod "theme-remove-deprecated-mixins" to automate the removal of deprecated
249
+ color mixins
177
250
 
178
251
  ## 0.12.3
179
252
 
180
253
  ### Patch Changes
181
254
 
182
- - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
255
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
256
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
257
+ legacy types are published for TS 4.5-4.8
183
258
 
184
259
  ## 0.12.2
185
260
 
186
261
  ### Patch Changes
187
262
 
188
- - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
263
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
264
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
265
+ Upgrade Typescript from `4.5.5` to `4.9.5`
189
266
 
190
267
  ## 0.12.1
191
268
 
192
269
  ### Patch Changes
193
270
 
194
- - [#33377](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33377) [`07020547a93`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07020547a93) - Safe direct migraiton to design token API. This change is not visible for those who aren't using design tokens
271
+ - [#33377](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33377)
272
+ [`07020547a93`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07020547a93) - Safe
273
+ direct migraiton to design token API. This change is not visible for those who aren't using
274
+ design tokens
195
275
 
196
276
  ## 0.12.0
197
277
 
198
278
  ### Minor Changes
199
279
 
200
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
280
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
281
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
282
+ minor dependency bump
201
283
 
202
284
  ### Patch Changes
203
285
 
204
- - Updated dependencies
286
+ - Updated dependencies
205
287
 
206
288
  ## 0.11.5
207
289
 
208
290
  ### Patch Changes
209
291
 
210
- - [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634) [`cc84a1ed227`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc84a1ed227) - Updates default behaviour of codemods when a suggested token cannot be found
211
- - Updated dependencies
292
+ - [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634)
293
+ [`cc84a1ed227`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc84a1ed227) -
294
+ Updates default behaviour of codemods when a suggested token cannot be found
295
+ - Updated dependencies
212
296
 
213
297
  ## 0.11.4
214
298
 
215
299
  ### Patch Changes
216
300
 
217
- - [#29170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29170) [`708957d360f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/708957d360f) - Upgrade a dependency package simple-git
301
+ - [#29170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29170)
302
+ [`708957d360f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/708957d360f) -
303
+ Upgrade a dependency package simple-git
218
304
 
219
305
  ## 0.11.3
220
306
 
221
307
  ### Patch Changes
222
308
 
223
- - [#27875](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27875) [`b14dca751fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b14dca751fa) - Exclude the chart tokens from the list of tokens that we pass into the codemod.
309
+ - [#27875](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27875)
310
+ [`b14dca751fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b14dca751fa) -
311
+ Exclude the chart tokens from the list of tokens that we pass into the codemod.
224
312
 
225
313
  ## 0.11.2
226
314
 
227
315
  ### Patch Changes
228
316
 
229
- - Updated dependencies
317
+ - Updated dependencies
230
318
 
231
319
  ## 0.11.1
232
320
 
233
321
  ### Patch Changes
234
322
 
235
- - Updated dependencies
323
+ - Updated dependencies
236
324
 
237
325
  ## 0.11.0
238
326
 
239
327
  ### Minor Changes
240
328
 
241
- - [#28150](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28150) [`00ea8db4763`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00ea8db4763) - Upgrading the simple-git version
329
+ - [#28150](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28150)
330
+ [`00ea8db4763`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00ea8db4763) -
331
+ Upgrading the simple-git version
242
332
 
243
333
  ## 0.10.5
244
334
 
245
335
  ### Patch Changes
246
336
 
247
- - [#27794](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27794) [`7a958dda205`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7a958dda205) - Updates tokens codemods to only suggest active tokens
337
+ - [#27794](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27794)
338
+ [`7a958dda205`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7a958dda205) -
339
+ Updates tokens codemods to only suggest active tokens
248
340
 
249
341
  ## 0.10.4
250
342
 
251
343
  ### Patch Changes
252
344
 
253
- - Updated dependencies
345
+ - Updated dependencies
254
346
 
255
347
  ## 0.10.3
256
348
 
257
349
  ### Patch Changes
258
350
 
259
- - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
351
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
352
+ [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
353
+ Upgrade Typescript from `4.3.5` to `4.5.5`
260
354
 
261
355
  ## 0.10.2
262
356
 
263
357
  ### Patch Changes
264
358
 
265
- - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
359
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
360
+ [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
361
+ Upgrade Typescript from `4.2.4` to `4.3.5`.
266
362
 
267
363
  ## 0.10.1
268
364
 
269
365
  ### Patch Changes
270
366
 
271
- - [#23137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23137) [`6ec444547a9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ec444547a9) - Applies various fixes to the tokens post-css codemod. Box shadows and border properties are respected syntactically
367
+ - [#23137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23137)
368
+ [`6ec444547a9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ec444547a9) -
369
+ Applies various fixes to the tokens post-css codemod. Box shadows and border properties are
370
+ respected syntactically
272
371
 
273
372
  ## 0.10.0
274
373
 
275
374
  ### Minor Changes
276
375
 
277
- - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570) [`54c548f34ca`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54c548f34ca) - Adds preset codemod for css-to-design-tokens. This codemod transforms css,scss,less color usage to design tokens.
376
+ - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570)
377
+ [`54c548f34ca`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54c548f34ca) - Adds
378
+ preset codemod for css-to-design-tokens. This codemod transforms css,scss,less color usage to
379
+ design tokens.
278
380
 
279
381
  ## 0.9.7
280
382
 
281
383
  ### Patch Changes
282
384
 
283
- - Updated dependencies
385
+ - Updated dependencies
284
386
 
285
387
  ## 0.9.6
286
388
 
287
389
  ### Patch Changes
288
390
 
289
- - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) - Changes to support Node 16 Typescript definitions from `@types/node`.
391
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
392
+ [`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) -
393
+ Changes to support Node 16 Typescript definitions from `@types/node`.
290
394
 
291
395
  ## 0.9.5
292
396
 
293
397
  ### Patch Changes
294
398
 
295
- - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
399
+ - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
400
+ Upgrade to TypeScript 4.2.4
296
401
 
297
402
  ## 0.9.4
298
403
 
299
404
  ### Patch Changes
300
405
 
301
- - Updated dependencies
406
+ - Updated dependencies
302
407
 
303
408
  ## 0.9.3
304
409
 
305
410
  ### Patch Changes
306
411
 
307
- - [#20310](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20310) [`1977986ea86`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1977986ea86) - Bumping dependencies via Renovate:
412
+ - [#20310](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20310)
413
+ [`1977986ea86`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1977986ea86) -
414
+ Bumping dependencies via Renovate:
308
415
 
309
- - simple-git
416
+ - simple-git
310
417
 
311
418
  ## 0.9.2
312
419
 
313
420
  ### Patch Changes
314
421
 
315
- - [#19927](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19927) [`5c45b17200d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c45b17200d) - Bumping dependencies via Renovate:
422
+ - [#19927](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19927)
423
+ [`5c45b17200d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c45b17200d) -
424
+ Bumping dependencies via Renovate:
316
425
 
317
- - simple-git
426
+ - simple-git
318
427
 
319
428
  ## 0.9.1
320
429
 
321
430
  ### Patch Changes
322
431
 
323
- - Updated dependencies
432
+ - Updated dependencies
324
433
 
325
434
  ## 0.9.0
326
435
 
327
436
  ### Minor Changes
328
437
 
329
- - [#19516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19516) [`2b8c48b26ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2b8c48b26ab) - Instrumented `@atlaskit/codemod-cli` with none interaction support
438
+ - [#19516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19516)
439
+ [`2b8c48b26ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2b8c48b26ab) -
440
+ Instrumented `@atlaskit/codemod-cli` with none interaction support
330
441
 
331
- New argument for the codemod-cli has been added to support preselect transform in command line.
442
+ New argument for the codemod-cli has been added to support preselect transform in command line.
332
443
 
333
444
  ## 0.8.7
334
445
 
335
446
  ### Patch Changes
336
447
 
337
- - [#18960](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18960) [`54a44d46e29`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a44d46e29) - Renovate Bot upgraded simple-git from ^1.130.0 to 2.48.0
448
+ - [#18960](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18960)
449
+ [`54a44d46e29`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a44d46e29) -
450
+ Renovate Bot upgraded simple-git from ^1.130.0 to 2.48.0
338
451
 
339
452
  ## 0.8.6
340
453
 
341
454
  ### Patch Changes
342
455
 
343
- - Updated dependencies
456
+ - Updated dependencies
344
457
 
345
458
  ## 0.8.5
346
459
 
347
460
  ### Patch Changes
348
461
 
349
- - [#18965](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18965) [`e4dd80187f5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4dd80187f5) - Refactors theme-to-tokens codemod with new token names + simplifies logic
462
+ - [#18965](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18965)
463
+ [`e4dd80187f5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4dd80187f5) -
464
+ Refactors theme-to-tokens codemod with new token names + simplifies logic
350
465
 
351
466
  ## 0.8.4
352
467
 
353
468
  ### Patch Changes
354
469
 
355
- - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Adds a new codemod preset `theme-to-design-tokens` that helps migrate from atlaskit theme to atlaskit tokens.
356
- - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Theme preset is now picked up by the CLI.
357
- - Updated dependencies
470
+ - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
471
+ [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Adds a
472
+ new codemod preset `theme-to-design-tokens` that helps migrate from atlaskit theme to atlaskit
473
+ tokens.
474
+ - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Theme
475
+ preset is now picked up by the CLI.
476
+ - Updated dependencies
358
477
 
359
478
  ## 0.8.3
360
479
 
361
480
  ### Patch Changes
362
481
 
363
- - [#17016](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17016) [`f4d22b1c8af`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f4d22b1c8af) - Ignore directory filtering logic if filtering returns no paths
482
+ - [#17016](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17016)
483
+ [`f4d22b1c8af`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f4d22b1c8af) - Ignore
484
+ directory filtering logic if filtering returns no paths
364
485
 
365
486
  ## 0.8.2
366
487
 
367
488
  ### Patch Changes
368
489
 
369
- - [#16649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16649) [`650aa20f6fe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/650aa20f6fe) - Upgrade meow dependency
490
+ - [#16649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16649)
491
+ [`650aa20f6fe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/650aa20f6fe) -
492
+ Upgrade meow dependency
370
493
 
371
494
  ## 0.8.1
372
495
 
373
496
  ### Patch Changes
374
497
 
375
- - [#16252](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16252) [`982e2f3d3d2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/982e2f3d3d2) - Directory filtering now defaults to true
498
+ - [#16252](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16252)
499
+ [`982e2f3d3d2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/982e2f3d3d2) -
500
+ Directory filtering now defaults to true
376
501
 
377
502
  ## 0.8.0
378
503
 
379
504
  ### Minor Changes
380
505
 
381
- - [#15374](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15374) [`f3d46c395b4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f3d46c395b4) - Add path filtering to codemod-cli
506
+ - [#15374](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15374)
507
+ [`f3d46c395b4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f3d46c395b4) - Add
508
+ path filtering to codemod-cli
382
509
 
383
510
  ## 0.7.0
384
511
 
385
512
  ### Minor Changes
386
513
 
387
- - [#13957](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13957) [`d3a285fdc82`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3a285fdc82) - Add support for codemods authored as .tsx files
514
+ - [#13957](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13957)
515
+ [`d3a285fdc82`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3a285fdc82) - Add
516
+ support for codemods authored as .tsx files
388
517
 
389
518
  ## 0.6.7
390
519
 
391
520
  ### Patch Changes
392
521
 
393
- - [#12535](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12535) [`4a67fb592c8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a67fb592c8) - Bump jscodeshift to 0.13.0.
394
- [Commit Changelog](https://github.com/facebook/jscodeshift/commit/2fd5e11f469427d474983b2d1c47be9408677591).
522
+ - [#12535](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12535)
523
+ [`4a67fb592c8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a67fb592c8) - Bump
524
+ jscodeshift to 0.13.0.
525
+ [Commit Changelog](https://github.com/facebook/jscodeshift/commit/2fd5e11f469427d474983b2d1c47be9408677591).
395
526
 
396
- ### Added
527
+ ### Added
397
528
 
398
- - Added a `--fail-on-error` flag to return a `1` error code when errors were found (#416, @marcodejongh)
399
- - Created `template.asyncExpression` (#405, @jedwards1211)
529
+ - Added a `--fail-on-error` flag to return a `1` error code when errors were found (#416,
530
+ @marcodejongh)
531
+ - Created `template.asyncExpression` (#405, @jedwards1211)
400
532
 
401
- ### Changed
533
+ ### Changed
402
534
 
403
- - Removed lodash dependency from tsx parser (#432, @JHilker and @robyoder)
535
+ - Removed lodash dependency from tsx parser (#432, @JHilker and @robyoder)
404
536
 
405
537
  ## 0.6.6
406
538
 
407
539
  ### Patch Changes
408
540
 
409
- - [#11911](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11911) [`d0ef46dee01`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d0ef46dee01) - Removes ts-node / cjs bundle switcher from main entrypoint of codemod-utils and updated codemod-cli scripts to support
541
+ - [#11911](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11911)
542
+ [`d0ef46dee01`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d0ef46dee01) -
543
+ Removes ts-node / cjs bundle switcher from main entrypoint of codemod-utils and updated
544
+ codemod-cli scripts to support
410
545
 
411
546
  ## 0.6.5
412
547
 
413
548
  ### Patch Changes
414
549
 
415
- - [#10735](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10735) [`fdbd74cdb32`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fdbd74cdb32) - Remove --no-babel flag when parser flow is used
550
+ - [#10735](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10735)
551
+ [`fdbd74cdb32`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fdbd74cdb32) - Remove
552
+ --no-babel flag when parser flow is used
416
553
 
417
554
  ## 0.6.4
418
555
 
419
556
  ### Patch Changes
420
557
 
421
- - [#10705](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10705) [`6a0b92d2af9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a0b92d2af9) - MONO-103 Fixed bug were codemod-cli would erronously run
558
+ - [#10705](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10705)
559
+ [`6a0b92d2af9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a0b92d2af9) -
560
+ MONO-103 Fixed bug were codemod-cli would erronously run
422
561
 
423
562
  ## 0.6.3
424
563
 
425
564
  ### Patch Changes
426
565
 
427
- - [#10392](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10392) [`30c279f85eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30c279f85eb) - Bump atlassian-forks-jscodeshift to "^0.12.2-atlassian-6".
566
+ - [#10392](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10392)
567
+ [`30c279f85eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30c279f85eb) - Bump
568
+ atlassian-forks-jscodeshift to "^0.12.2-atlassian-6".
428
569
 
429
570
  ## 0.6.2
430
571
 
431
572
  ### Patch Changes
432
573
 
433
- - [#10060](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10060) [`6c420d1698d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c420d1698d) - Fix application of --no-babel flag
574
+ - [#10060](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10060)
575
+ [`6c420d1698d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c420d1698d) - Fix
576
+ application of --no-babel flag
434
577
 
435
578
  ## 0.6.1
436
579
 
437
580
  ### Patch Changes
438
581
 
439
- - [#10014](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10014) [`13d9c023e8d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/13d9c023e8d) - Log the package version when running codemod cli
582
+ - [#10014](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10014)
583
+ [`13d9c023e8d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/13d9c023e8d) - Log
584
+ the package version when running codemod cli
440
585
 
441
586
  ## 0.6.0
442
587
 
443
588
  ### Minor Changes
444
589
 
445
- - [#9924](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9924) [`cdd78d4ff38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cdd78d4ff38) - The codemod-cli can fail on error when the flag `--fail-on-error` is passed, it will return a 1 exit code when errors were found during execution of codemods
590
+ - [#9924](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9924)
591
+ [`cdd78d4ff38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cdd78d4ff38) - The
592
+ codemod-cli can fail on error when the flag `--fail-on-error` is passed, it will return a 1 exit
593
+ code when errors were found during execution of codemods
446
594
 
447
- This flag `--fail-on-error` was added as part of this [PR](https://github.com/facebook/jscodeshift/pull/416) that forked `jscodeshift`.
595
+ This flag `--fail-on-error` was added as part of this
596
+ [PR](https://github.com/facebook/jscodeshift/pull/416) that forked `jscodeshift`.
448
597
 
449
- In Atlassian Frontend, we are now using the fork of `jscodeshift`, [atlassian-forks-jscodeshift](https://www.npmjs.com/package/atlassian-forks-jscodeshift) till we get this change back to the library.
598
+ In Atlassian Frontend, we are now using the fork of `jscodeshift`,
599
+ [atlassian-forks-jscodeshift](https://www.npmjs.com/package/atlassian-forks-jscodeshift) till we
600
+ get this change back to the library.
450
601
 
451
- Add `--fail-on-error` in the config to be passed as a flag when the codemod runs - only for branch integrator.
602
+ Add `--fail-on-error` in the config to be passed as a flag when the codemod runs - only for
603
+ branch integrator.
452
604
 
453
605
  ## 0.5.3
454
606
 
455
607
  ### Patch Changes
456
608
 
457
- - [#9832](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9832) [`d72b572dfc2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d72b572dfc2) - bumped jscodeshift@^0.11.0
458
- - [`d72b572dfc2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d72b572dfc2) - bumped @types/jscodeshift@^0.11.0
609
+ - [#9832](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9832)
610
+ [`d72b572dfc2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d72b572dfc2) - bumped
611
+ jscodeshift@^0.11.0
612
+ - [`d72b572dfc2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d72b572dfc2) - bumped
613
+ @types/jscodeshift@^0.11.0
459
614
 
460
615
  ## 0.5.2
461
616
 
462
617
  ### Patch Changes
463
618
 
464
- - [#9482](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9482) [`cfd7c0b5bcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfd7c0b5bcc) - Update the logic to properly check for the env var FAIL_CODEMODS_ON_ERROR and add `--no-babel` when running js file.
619
+ - [#9482](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9482)
620
+ [`cfd7c0b5bcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfd7c0b5bcc) - Update
621
+ the logic to properly check for the env var FAIL_CODEMODS_ON_ERROR and add `--no-babel` when
622
+ running js file.
465
623
 
466
624
  ## 0.5.1
467
625
 
468
626
  ### Patch Changes
469
627
 
470
- - [#9018](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9018) [`6afd79db199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6afd79db199) - Bump dependency "meow" to version ^6.0.0
628
+ - [#9018](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9018)
629
+ [`6afd79db199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6afd79db199) - Bump
630
+ dependency "meow" to version ^6.0.0
471
631
 
472
632
  ## 0.5.0
473
633
 
474
634
  ### Minor Changes
475
635
 
476
- - [#8789](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8789) [`a9e359236b4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a9e359236b4) - The codemod-cli can fail on error when the flag `--fail-on-error` is passed, it will return a 1 exit code when errors were found during execution of codemods
477
- This flag `--fail-on-error` was added as part of this [PR](https://github.com/facebook/jscodeshift/pull/416) that forked `jscodeshift`.
478
- In Atlassian Frontend, we are now using the fork of `jscodeshift`, [atlassian-forks-jscodeshift](https://www.npmjs.com/package/atlassian-forks-jscodeshift) till we get this change back to the library.
636
+ - [#8789](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8789)
637
+ [`a9e359236b4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a9e359236b4) - The
638
+ codemod-cli can fail on error when the flag `--fail-on-error` is passed, it will return a 1 exit
639
+ code when errors were found during execution of codemods This flag `--fail-on-error` was added
640
+ as part of this [PR](https://github.com/facebook/jscodeshift/pull/416) that forked
641
+ `jscodeshift`. In Atlassian Frontend, we are now using the fork of `jscodeshift`,
642
+ [atlassian-forks-jscodeshift](https://www.npmjs.com/package/atlassian-forks-jscodeshift) till we
643
+ get this change back to the library.
479
644
 
480
- Add `--fail-on-error` in the config to be passed as a flag when the codemod runs - only for branch integrator.
645
+ Add `--fail-on-error` in the config to be passed as a flag when the codemod runs - only for
646
+ branch integrator.
481
647
 
482
648
  ## 0.4.4
483
649
 
484
650
  ### Patch Changes
485
651
 
486
- - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
652
+ - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
653
+ [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) -
654
+ Transpile packages using babel rather than tsc
487
655
 
488
656
  ## 0.4.3
489
657
 
490
658
  ### Patch Changes
491
659
 
492
- - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
493
- This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
494
- Also add `typescript` to `devDependencies` to denote version that the package was built with.
660
+ - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
661
+ [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
662
+ types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
663
+ compiler option. This requires version 3.8 of Typescript, read more about how we handle
664
+ Typescript versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
665
+ `devDependencies` to denote version that the package was built with.
495
666
 
496
667
  ## 0.4.2
497
668
 
498
669
  ### Patch Changes
499
670
 
500
- - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
671
+ - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
672
+ [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
673
+ to TypeScript 3.9.6 and tslib to 2.0.0
501
674
 
502
- Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
503
- to prevent duplicates of tslib being bundled.
675
+ Since tslib is a dependency for all our packages we recommend that products also follow this
676
+ tslib upgrade to prevent duplicates of tslib being bundled.
504
677
 
505
678
  ## 0.4.1
506
679
 
507
680
  ### Patch Changes
508
681
 
509
- - [#3841](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3841) [`88ceeac950`](https://bitbucket.org/atlassian/atlassian-frontend/commits/88ceeac950) - Fix CLI not working due to missing ts-node dependency
682
+ - [#3841](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3841)
683
+ [`88ceeac950`](https://bitbucket.org/atlassian/atlassian-frontend/commits/88ceeac950) - Fix CLI
684
+ not working due to missing ts-node dependency
510
685
 
511
686
  ## 0.4.0
512
687
 
513
688
  ### Minor Changes
514
689
 
515
- - [#3197](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3197) [`d9f34d27e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d9f34d27e8) - Add --packages flag to automatically run codemods for specific packages
516
- Add --sinceRef flag to automatically run codemods that have been upgraded since a certain git ref
517
- Add support for running over multiple filepaths
518
- Extend support to restricted scoped packages
519
- Expose programmatic API
690
+ - [#3197](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3197)
691
+ [`d9f34d27e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d9f34d27e8) - Add
692
+ --packages flag to automatically run codemods for specific packages Add --sinceRef flag to
693
+ automatically run codemods that have been upgraded since a certain git ref Add support for
694
+ running over multiple filepaths Extend support to restricted scoped packages Expose programmatic
695
+ API
520
696
 
521
697
  ### Patch Changes
522
698
 
523
- - [`d9f34d27e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d9f34d27e8) - Fix transforms being sourced from nested node_modules directories
524
- Return non-zero exit codes on failure
699
+ - [`d9f34d27e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d9f34d27e8) - Fix
700
+ transforms being sourced from nested node_modules directories Return non-zero exit codes on
701
+ failure
525
702
 
526
703
  ## 0.3.4
527
704
 
528
705
  ### Patch Changes
529
706
 
530
- - [#3093](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3093) [`f664568219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f664568219) - Codemods are now presented with their module name prepended to make it easier to see which codemod belongs to which packages
707
+ - [#3093](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3093)
708
+ [`f664568219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f664568219) - Codemods
709
+ are now presented with their module name prepended to make it easier to see which codemod
710
+ belongs to which packages
531
711
 
532
712
  ## 0.3.3
533
713
 
534
714
  ### Patch Changes
535
715
 
536
- - [#3062](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3062) [`4be3a868e1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4be3a868e1) - Ensure the library is running with the Node environment + adds ts-lib
716
+ - [#3062](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3062)
717
+ [`4be3a868e1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4be3a868e1) - Ensure
718
+ the library is running with the Node environment + adds ts-lib
537
719
 
538
720
  ## 0.3.2
539
721
 
540
722
  ### Patch Changes
541
723
 
542
- - [#3002](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3002) [`78dde805ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78dde805ef) - Fixes an issue with loading presets in javascript
724
+ - [#3002](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3002)
725
+ [`78dde805ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78dde805ef) - Fixes an
726
+ issue with loading presets in javascript
543
727
 
544
728
  ## 0.3.1
545
729
 
546
730
  ### Patch Changes
547
731
 
548
- - [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137) [`b4e29ceda2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b4e29ceda2) - Fixed broken entrypoint
732
+ - [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137)
733
+ [`b4e29ceda2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b4e29ceda2) - Fixed
734
+ broken entrypoint
549
735
 
550
736
  ## 0.3.0
551
737
 
552
738
  ### Minor Changes
553
739
 
554
- - [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868) [`332a418dd1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/332a418dd1) - Adds the concept of presets to act as a library of codemods relevant to an entire library or repo rather than specific component codemods. Also introduces the styled-to-emotion codemod
740
+ - [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868)
741
+ [`332a418dd1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/332a418dd1) - Adds the
742
+ concept of presets to act as a library of codemods relevant to an entire library or repo rather
743
+ than specific component codemods. Also introduces the styled-to-emotion codemod
555
744
 
556
745
  ## 0.2.0
557
746
 
558
747
  ### Minor Changes
559
748
 
560
- - [minor][63787f3327](https://bitbucket.org/atlassian/atlassian-frontend/commits/63787f3327):
749
+ - [minor][63787f3327](https://bitbucket.org/atlassian/atlassian-frontend/commits/63787f3327):
561
750
 
562
- Initial implementation of the Codemod-cli
751
+ Initial implementation of the Codemod-cli
563
752
 
564
753
  ### Patch Changes
565
754
 
566
- - Updated dependencies [168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
567
- - @atlaskit/docs@8.5.1
755
+ - Updated dependencies
756
+ [168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
757
+ - @atlaskit/docs@8.5.1
package/dist/cjs/main.js CHANGED
@@ -305,7 +305,7 @@ function _main() {
305
305
  case 4:
306
306
  _yield$parseArgs = _context5.sent;
307
307
  packages = _yield$parseArgs.packages;
308
- _process$env$_PACKAGE = "0.22.0", _PACKAGE_VERSION_ = _process$env$_PACKAGE === void 0 ? '0.0.0-dev' : _process$env$_PACKAGE;
308
+ _process$env$_PACKAGE = "0.23.0", _PACKAGE_VERSION_ = _process$env$_PACKAGE === void 0 ? '0.0.0-dev' : _process$env$_PACKAGE;
309
309
  logger.log(_chalk.default.bgBlue(_chalk.default.black("\uD83D\uDCDA Atlassian-Frontend codemod library @ ".concat(_PACKAGE_VERSION_, " \uD83D\uDCDA"))));
310
310
  if (packages && packages.length > 0) {
311
311
  logger.log(_chalk.default.gray("Searching for codemods for newer versions of the following packages: ".concat(packages.map(function (pkg) {
package/dist/esm/main.js CHANGED
@@ -298,7 +298,7 @@ function _main() {
298
298
  case 4:
299
299
  _yield$parseArgs = _context5.sent;
300
300
  packages = _yield$parseArgs.packages;
301
- _process$env$_PACKAGE = "0.22.0", _PACKAGE_VERSION_ = _process$env$_PACKAGE === void 0 ? '0.0.0-dev' : _process$env$_PACKAGE;
301
+ _process$env$_PACKAGE = "0.23.0", _PACKAGE_VERSION_ = _process$env$_PACKAGE === void 0 ? '0.0.0-dev' : _process$env$_PACKAGE;
302
302
  logger.log(chalk.bgBlue(chalk.black("\uD83D\uDCDA Atlassian-Frontend codemod library @ ".concat(_PACKAGE_VERSION_, " \uD83D\uDCDA"))));
303
303
  if (packages && packages.length > 0) {
304
304
  logger.log(chalk.gray("Searching for codemods for newer versions of the following packages: ".concat(packages.map(function (pkg) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/codemod-cli",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "description": "A cli for distributing codemods for atlassian-frontend components and services",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,7 +40,7 @@
40
40
  "bin": "./bin/codemod-cli.js",
41
41
  "dependencies": {
42
42
  "@atlaskit/codemod-utils": "^4.2.0",
43
- "@atlaskit/tokens": "^1.43.0",
43
+ "@atlaskit/tokens": "^1.45.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "@codeshift/utils": "^0.2.4",
46
46
  "@hypermod/utils": "^0.4.2",
@@ -55,8 +55,9 @@
55
55
  "simple-git": "^3.16.0"
56
56
  },
57
57
  "devDependencies": {
58
+ "@af/formatting": "*",
58
59
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
59
- "prettier": "^2.8.0",
60
+ "prettier": "^3.2.5",
60
61
  "ts-node": "^10.9.1",
61
62
  "typescript": "~5.4.2"
62
63
  },