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