@atlaskit/codemod-cli 0.24.1 → 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 +335 -320
- package/dist/cjs/main.js +1 -1
- package/dist/cjs/presets/migrate-to-new-buttons/codemods/next-migrate-to-new-button-variants.js +126 -50
- package/dist/cjs/presets/migrate-to-new-buttons/codemods/next-split-imports.js +25 -9
- package/dist/cjs/presets/migrate-to-new-buttons/utils/constants.js +16 -3
- package/dist/cjs/presets/migrate-to-new-buttons/utils/generate-new-button-element.js +14 -5
- 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 -46
- package/dist/es2019/presets/migrate-to-new-buttons/codemods/next-split-imports.js +25 -9
- package/dist/es2019/presets/migrate-to-new-buttons/utils/constants.js +16 -2
- package/dist/es2019/presets/migrate-to-new-buttons/utils/generate-new-button-element.js +12 -5
- 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 -51
- package/dist/esm/presets/migrate-to-new-buttons/codemods/next-split-imports.js +25 -9
- package/dist/esm/presets/migrate-to-new-buttons/utils/constants.js +15 -2
- package/dist/esm/presets/migrate-to-new-buttons/utils/generate-new-button-element.js +14 -5
- 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 +3 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,781 +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
|
+
|
|
11
|
+
## 0.24.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
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
|
|
18
|
+
|
|
3
19
|
## 0.24.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
6
22
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
10
26
|
|
|
11
27
|
## 0.24.0
|
|
12
28
|
|
|
13
29
|
### Minor Changes
|
|
14
30
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
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.
|
|
18
34
|
|
|
19
35
|
## 0.23.1
|
|
20
36
|
|
|
21
37
|
### Patch Changes
|
|
22
38
|
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
|
|
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.
|
|
26
42
|
|
|
27
43
|
## 0.23.0
|
|
28
44
|
|
|
29
45
|
### Minor Changes
|
|
30
46
|
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
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
|
|
34
50
|
|
|
35
51
|
## 0.22.0
|
|
36
52
|
|
|
37
53
|
### Minor Changes
|
|
38
54
|
|
|
39
|
-
-
|
|
40
|
-
|
|
41
|
-
|
|
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
|
|
42
58
|
|
|
43
59
|
## 0.21.1
|
|
44
60
|
|
|
45
61
|
### Patch Changes
|
|
46
62
|
|
|
47
|
-
-
|
|
48
|
-
|
|
49
|
-
|
|
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.
|
|
50
66
|
|
|
51
67
|
## 0.21.0
|
|
52
68
|
|
|
53
69
|
### Minor Changes
|
|
54
70
|
|
|
55
|
-
-
|
|
56
|
-
|
|
57
|
-
|
|
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
|
|
58
74
|
|
|
59
75
|
## 0.20.1
|
|
60
76
|
|
|
61
77
|
### Patch Changes
|
|
62
78
|
|
|
63
|
-
-
|
|
64
|
-
|
|
65
|
-
|
|
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`
|
|
66
82
|
|
|
67
83
|
## 0.20.0
|
|
68
84
|
|
|
69
85
|
### Minor Changes
|
|
70
86
|
|
|
71
|
-
-
|
|
72
|
-
|
|
73
|
-
|
|
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`
|
|
74
90
|
|
|
75
|
-
|
|
91
|
+
Pattern name: `"upgrade-pragmatic-drag-and-drop-to-stable"`
|
|
76
92
|
|
|
77
93
|
## 0.19.0
|
|
78
94
|
|
|
79
95
|
### Minor Changes
|
|
80
96
|
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
|
|
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
|
|
84
100
|
|
|
85
101
|
## 0.18.0
|
|
86
102
|
|
|
87
103
|
### Minor Changes
|
|
88
104
|
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
|
|
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.
|
|
92
108
|
|
|
93
109
|
### Patch Changes
|
|
94
110
|
|
|
95
|
-
-
|
|
111
|
+
- Updated dependencies
|
|
96
112
|
|
|
97
113
|
## 0.17.10
|
|
98
114
|
|
|
99
115
|
### Patch Changes
|
|
100
116
|
|
|
101
|
-
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
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
|
|
105
121
|
|
|
106
122
|
## 0.17.9
|
|
107
123
|
|
|
108
124
|
### Patch Changes
|
|
109
125
|
|
|
110
|
-
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
-
|
|
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
|
|
114
130
|
|
|
115
131
|
## 0.17.8
|
|
116
132
|
|
|
117
133
|
### Patch Changes
|
|
118
134
|
|
|
119
|
-
-
|
|
120
|
-
|
|
121
|
-
|
|
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
|
|
122
138
|
|
|
123
139
|
## 0.17.7
|
|
124
140
|
|
|
125
141
|
### Patch Changes
|
|
126
142
|
|
|
127
|
-
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
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`
|
|
135
151
|
|
|
136
152
|
## 0.17.6
|
|
137
153
|
|
|
138
154
|
### Patch Changes
|
|
139
155
|
|
|
140
|
-
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
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.
|
|
144
160
|
|
|
145
161
|
## 0.17.5
|
|
146
162
|
|
|
147
163
|
### Patch Changes
|
|
148
164
|
|
|
149
|
-
-
|
|
150
|
-
|
|
151
|
-
|
|
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"
|
|
152
168
|
|
|
153
169
|
## 0.17.4
|
|
154
170
|
|
|
155
171
|
### Patch Changes
|
|
156
172
|
|
|
157
|
-
-
|
|
158
|
-
|
|
159
|
-
|
|
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.
|
|
160
176
|
|
|
161
177
|
## 0.17.3
|
|
162
178
|
|
|
163
179
|
### Patch Changes
|
|
164
180
|
|
|
165
|
-
-
|
|
166
|
-
|
|
167
|
-
|
|
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.
|
|
168
184
|
|
|
169
185
|
## 0.17.2
|
|
170
186
|
|
|
171
187
|
### Patch Changes
|
|
172
188
|
|
|
173
|
-
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
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
|
|
177
193
|
|
|
178
194
|
## 0.17.1
|
|
179
195
|
|
|
180
196
|
### Patch Changes
|
|
181
197
|
|
|
182
|
-
-
|
|
183
|
-
|
|
184
|
-
|
|
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.
|
|
185
201
|
|
|
186
202
|
## 0.17.0
|
|
187
203
|
|
|
188
204
|
### Minor Changes
|
|
189
205
|
|
|
190
|
-
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
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`
|
|
194
210
|
|
|
195
211
|
### Patch Changes
|
|
196
212
|
|
|
197
|
-
-
|
|
213
|
+
- Updated dependencies
|
|
198
214
|
|
|
199
215
|
## 0.16.0
|
|
200
216
|
|
|
201
217
|
### Minor Changes
|
|
202
218
|
|
|
203
|
-
-
|
|
204
|
-
|
|
205
|
-
|
|
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.
|
|
206
222
|
|
|
207
223
|
## 0.15.0
|
|
208
224
|
|
|
209
225
|
### Minor Changes
|
|
210
226
|
|
|
211
|
-
-
|
|
212
|
-
|
|
213
|
-
|
|
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:
|
|
214
230
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
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.
|
|
223
239
|
|
|
224
240
|
## 0.14.0
|
|
225
241
|
|
|
226
242
|
### Minor Changes
|
|
227
243
|
|
|
228
|
-
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
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
|
|
233
249
|
|
|
234
250
|
## 0.13.4
|
|
235
251
|
|
|
236
252
|
### Patch Changes
|
|
237
253
|
|
|
238
|
-
-
|
|
239
|
-
|
|
240
|
-
|
|
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
|
|
241
257
|
|
|
242
258
|
## 0.13.3
|
|
243
259
|
|
|
244
260
|
### Patch Changes
|
|
245
261
|
|
|
246
|
-
-
|
|
247
|
-
|
|
248
|
-
|
|
262
|
+
- [#35950](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35950)
|
|
263
|
+
[`50cf866a219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cf866a219) - bump
|
|
264
|
+
semver
|
|
249
265
|
|
|
250
266
|
## 0.13.2
|
|
251
267
|
|
|
252
268
|
### Patch Changes
|
|
253
269
|
|
|
254
|
-
-
|
|
255
|
-
|
|
256
|
-
|
|
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
|
|
257
273
|
|
|
258
274
|
## 0.13.1
|
|
259
275
|
|
|
260
276
|
### Patch Changes
|
|
261
277
|
|
|
262
|
-
-
|
|
263
|
-
|
|
264
|
-
|
|
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
|
|
265
281
|
|
|
266
282
|
## 0.13.0
|
|
267
283
|
|
|
268
284
|
### Minor Changes
|
|
269
285
|
|
|
270
|
-
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
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
|
|
274
290
|
|
|
275
291
|
## 0.12.3
|
|
276
292
|
|
|
277
293
|
### Patch Changes
|
|
278
294
|
|
|
279
|
-
-
|
|
280
|
-
|
|
281
|
-
|
|
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
|
|
282
298
|
|
|
283
299
|
## 0.12.2
|
|
284
300
|
|
|
285
301
|
### Patch Changes
|
|
286
302
|
|
|
287
|
-
-
|
|
288
|
-
|
|
289
|
-
|
|
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`
|
|
290
306
|
|
|
291
307
|
## 0.12.1
|
|
292
308
|
|
|
293
309
|
### Patch Changes
|
|
294
310
|
|
|
295
|
-
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
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
|
|
299
315
|
|
|
300
316
|
## 0.12.0
|
|
301
317
|
|
|
302
318
|
### Minor Changes
|
|
303
319
|
|
|
304
|
-
-
|
|
305
|
-
|
|
306
|
-
|
|
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
|
|
307
323
|
|
|
308
324
|
### Patch Changes
|
|
309
325
|
|
|
310
|
-
-
|
|
326
|
+
- Updated dependencies
|
|
311
327
|
|
|
312
328
|
## 0.11.5
|
|
313
329
|
|
|
314
330
|
### Patch Changes
|
|
315
331
|
|
|
316
|
-
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
-
|
|
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
|
|
320
336
|
|
|
321
337
|
## 0.11.4
|
|
322
338
|
|
|
323
339
|
### Patch Changes
|
|
324
340
|
|
|
325
|
-
-
|
|
326
|
-
|
|
327
|
-
|
|
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
|
|
328
344
|
|
|
329
345
|
## 0.11.3
|
|
330
346
|
|
|
331
347
|
### Patch Changes
|
|
332
348
|
|
|
333
|
-
-
|
|
334
|
-
|
|
335
|
-
|
|
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.
|
|
336
352
|
|
|
337
353
|
## 0.11.2
|
|
338
354
|
|
|
339
355
|
### Patch Changes
|
|
340
356
|
|
|
341
|
-
-
|
|
357
|
+
- Updated dependencies
|
|
342
358
|
|
|
343
359
|
## 0.11.1
|
|
344
360
|
|
|
345
361
|
### Patch Changes
|
|
346
362
|
|
|
347
|
-
-
|
|
363
|
+
- Updated dependencies
|
|
348
364
|
|
|
349
365
|
## 0.11.0
|
|
350
366
|
|
|
351
367
|
### Minor Changes
|
|
352
368
|
|
|
353
|
-
-
|
|
354
|
-
|
|
355
|
-
|
|
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
|
|
356
372
|
|
|
357
373
|
## 0.10.5
|
|
358
374
|
|
|
359
375
|
### Patch Changes
|
|
360
376
|
|
|
361
|
-
-
|
|
362
|
-
|
|
363
|
-
|
|
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
|
|
364
380
|
|
|
365
381
|
## 0.10.4
|
|
366
382
|
|
|
367
383
|
### Patch Changes
|
|
368
384
|
|
|
369
|
-
-
|
|
385
|
+
- Updated dependencies
|
|
370
386
|
|
|
371
387
|
## 0.10.3
|
|
372
388
|
|
|
373
389
|
### Patch Changes
|
|
374
390
|
|
|
375
|
-
-
|
|
376
|
-
|
|
377
|
-
|
|
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`
|
|
378
394
|
|
|
379
395
|
## 0.10.2
|
|
380
396
|
|
|
381
397
|
### Patch Changes
|
|
382
398
|
|
|
383
|
-
-
|
|
384
|
-
|
|
385
|
-
|
|
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`.
|
|
386
402
|
|
|
387
403
|
## 0.10.1
|
|
388
404
|
|
|
389
405
|
### Patch Changes
|
|
390
406
|
|
|
391
|
-
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
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
|
|
395
411
|
|
|
396
412
|
## 0.10.0
|
|
397
413
|
|
|
398
414
|
### Minor Changes
|
|
399
415
|
|
|
400
|
-
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
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.
|
|
404
420
|
|
|
405
421
|
## 0.9.7
|
|
406
422
|
|
|
407
423
|
### Patch Changes
|
|
408
424
|
|
|
409
|
-
-
|
|
425
|
+
- Updated dependencies
|
|
410
426
|
|
|
411
427
|
## 0.9.6
|
|
412
428
|
|
|
413
429
|
### Patch Changes
|
|
414
430
|
|
|
415
|
-
-
|
|
416
|
-
|
|
417
|
-
|
|
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`.
|
|
418
434
|
|
|
419
435
|
## 0.9.5
|
|
420
436
|
|
|
421
437
|
### Patch Changes
|
|
422
438
|
|
|
423
|
-
-
|
|
424
|
-
|
|
439
|
+
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
440
|
+
to TypeScript 4.2.4
|
|
425
441
|
|
|
426
442
|
## 0.9.4
|
|
427
443
|
|
|
428
444
|
### Patch Changes
|
|
429
445
|
|
|
430
|
-
-
|
|
446
|
+
- Updated dependencies
|
|
431
447
|
|
|
432
448
|
## 0.9.3
|
|
433
449
|
|
|
434
450
|
### Patch Changes
|
|
435
451
|
|
|
436
|
-
-
|
|
437
|
-
|
|
438
|
-
|
|
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:
|
|
439
455
|
|
|
440
|
-
|
|
456
|
+
- simple-git
|
|
441
457
|
|
|
442
458
|
## 0.9.2
|
|
443
459
|
|
|
444
460
|
### Patch Changes
|
|
445
461
|
|
|
446
|
-
-
|
|
447
|
-
|
|
448
|
-
|
|
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:
|
|
449
465
|
|
|
450
|
-
|
|
466
|
+
- simple-git
|
|
451
467
|
|
|
452
468
|
## 0.9.1
|
|
453
469
|
|
|
454
470
|
### Patch Changes
|
|
455
471
|
|
|
456
|
-
-
|
|
472
|
+
- Updated dependencies
|
|
457
473
|
|
|
458
474
|
## 0.9.0
|
|
459
475
|
|
|
460
476
|
### Minor Changes
|
|
461
477
|
|
|
462
|
-
-
|
|
463
|
-
|
|
464
|
-
|
|
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
|
|
465
481
|
|
|
466
|
-
|
|
482
|
+
New argument for the codemod-cli has been added to support preselect transform in command line.
|
|
467
483
|
|
|
468
484
|
## 0.8.7
|
|
469
485
|
|
|
470
486
|
### Patch Changes
|
|
471
487
|
|
|
472
|
-
-
|
|
473
|
-
|
|
474
|
-
|
|
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
|
|
475
491
|
|
|
476
492
|
## 0.8.6
|
|
477
493
|
|
|
478
494
|
### Patch Changes
|
|
479
495
|
|
|
480
|
-
-
|
|
496
|
+
- Updated dependencies
|
|
481
497
|
|
|
482
498
|
## 0.8.5
|
|
483
499
|
|
|
484
500
|
### Patch Changes
|
|
485
501
|
|
|
486
|
-
-
|
|
487
|
-
|
|
488
|
-
|
|
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
|
|
489
505
|
|
|
490
506
|
## 0.8.4
|
|
491
507
|
|
|
492
508
|
### Patch Changes
|
|
493
509
|
|
|
494
|
-
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
-
|
|
499
|
-
|
|
500
|
-
-
|
|
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
|
|
501
517
|
|
|
502
518
|
## 0.8.3
|
|
503
519
|
|
|
504
520
|
### Patch Changes
|
|
505
521
|
|
|
506
|
-
-
|
|
507
|
-
|
|
508
|
-
|
|
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
|
|
509
525
|
|
|
510
526
|
## 0.8.2
|
|
511
527
|
|
|
512
528
|
### Patch Changes
|
|
513
529
|
|
|
514
|
-
-
|
|
515
|
-
|
|
516
|
-
|
|
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
|
|
517
533
|
|
|
518
534
|
## 0.8.1
|
|
519
535
|
|
|
520
536
|
### Patch Changes
|
|
521
537
|
|
|
522
|
-
-
|
|
523
|
-
|
|
524
|
-
|
|
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
|
|
525
541
|
|
|
526
542
|
## 0.8.0
|
|
527
543
|
|
|
528
544
|
### Minor Changes
|
|
529
545
|
|
|
530
|
-
-
|
|
531
|
-
|
|
532
|
-
|
|
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
|
|
533
549
|
|
|
534
550
|
## 0.7.0
|
|
535
551
|
|
|
536
552
|
### Minor Changes
|
|
537
553
|
|
|
538
|
-
-
|
|
539
|
-
|
|
540
|
-
|
|
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
|
|
541
557
|
|
|
542
558
|
## 0.6.7
|
|
543
559
|
|
|
544
560
|
### Patch Changes
|
|
545
561
|
|
|
546
|
-
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
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).
|
|
550
566
|
|
|
551
|
-
|
|
567
|
+
### Added
|
|
552
568
|
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
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)
|
|
556
572
|
|
|
557
|
-
|
|
573
|
+
### Changed
|
|
558
574
|
|
|
559
|
-
|
|
575
|
+
- Removed lodash dependency from tsx parser (#432, @JHilker and @robyoder)
|
|
560
576
|
|
|
561
577
|
## 0.6.6
|
|
562
578
|
|
|
563
579
|
### Patch Changes
|
|
564
580
|
|
|
565
|
-
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
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
|
|
569
585
|
|
|
570
586
|
## 0.6.5
|
|
571
587
|
|
|
572
588
|
### Patch Changes
|
|
573
589
|
|
|
574
|
-
-
|
|
575
|
-
|
|
576
|
-
|
|
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
|
|
577
593
|
|
|
578
594
|
## 0.6.4
|
|
579
595
|
|
|
580
596
|
### Patch Changes
|
|
581
597
|
|
|
582
|
-
-
|
|
583
|
-
|
|
584
|
-
|
|
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
|
|
585
601
|
|
|
586
602
|
## 0.6.3
|
|
587
603
|
|
|
588
604
|
### Patch Changes
|
|
589
605
|
|
|
590
|
-
-
|
|
591
|
-
|
|
592
|
-
|
|
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".
|
|
593
609
|
|
|
594
610
|
## 0.6.2
|
|
595
611
|
|
|
596
612
|
### Patch Changes
|
|
597
613
|
|
|
598
|
-
-
|
|
599
|
-
|
|
600
|
-
|
|
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
|
|
601
617
|
|
|
602
618
|
## 0.6.1
|
|
603
619
|
|
|
604
620
|
### Patch Changes
|
|
605
621
|
|
|
606
|
-
-
|
|
607
|
-
|
|
608
|
-
|
|
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
|
|
609
625
|
|
|
610
626
|
## 0.6.0
|
|
611
627
|
|
|
612
628
|
### Minor Changes
|
|
613
629
|
|
|
614
|
-
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
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
|
|
618
634
|
|
|
619
|
-
|
|
620
|
-
|
|
635
|
+
This flag `--fail-on-error` was added as part of this
|
|
636
|
+
[PR](https://github.com/facebook/jscodeshift/pull/416) that forked `jscodeshift`.
|
|
621
637
|
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
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.
|
|
625
641
|
|
|
626
|
-
|
|
627
|
-
|
|
642
|
+
Add `--fail-on-error` in the config to be passed as a flag when the codemod runs - only for branch
|
|
643
|
+
integrator.
|
|
628
644
|
|
|
629
645
|
## 0.5.3
|
|
630
646
|
|
|
631
647
|
### Patch Changes
|
|
632
648
|
|
|
633
|
-
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
-
|
|
637
|
-
|
|
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
|
|
638
654
|
|
|
639
655
|
## 0.5.2
|
|
640
656
|
|
|
641
657
|
### Patch Changes
|
|
642
658
|
|
|
643
|
-
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
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.
|
|
647
663
|
|
|
648
664
|
## 0.5.1
|
|
649
665
|
|
|
650
666
|
### Patch Changes
|
|
651
667
|
|
|
652
|
-
-
|
|
653
|
-
|
|
654
|
-
|
|
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
|
|
655
671
|
|
|
656
672
|
## 0.5.0
|
|
657
673
|
|
|
658
674
|
### Minor Changes
|
|
659
675
|
|
|
660
|
-
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
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.
|
|
668
684
|
|
|
669
|
-
|
|
670
|
-
|
|
685
|
+
Add `--fail-on-error` in the config to be passed as a flag when the codemod runs - only for branch
|
|
686
|
+
integrator.
|
|
671
687
|
|
|
672
688
|
## 0.4.4
|
|
673
689
|
|
|
674
690
|
### Patch Changes
|
|
675
691
|
|
|
676
|
-
-
|
|
677
|
-
|
|
678
|
-
|
|
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
|
|
679
695
|
|
|
680
696
|
## 0.4.3
|
|
681
697
|
|
|
682
698
|
### Patch Changes
|
|
683
699
|
|
|
684
|
-
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
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.
|
|
690
706
|
|
|
691
707
|
## 0.4.2
|
|
692
708
|
|
|
693
709
|
### Patch Changes
|
|
694
710
|
|
|
695
|
-
-
|
|
696
|
-
|
|
697
|
-
|
|
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
|
|
698
714
|
|
|
699
|
-
|
|
700
|
-
|
|
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.
|
|
701
717
|
|
|
702
718
|
## 0.4.1
|
|
703
719
|
|
|
704
720
|
### Patch Changes
|
|
705
721
|
|
|
706
|
-
-
|
|
707
|
-
|
|
708
|
-
|
|
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
|
|
709
725
|
|
|
710
726
|
## 0.4.0
|
|
711
727
|
|
|
712
728
|
### Minor Changes
|
|
713
729
|
|
|
714
|
-
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
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
|
|
720
735
|
|
|
721
736
|
### Patch Changes
|
|
722
737
|
|
|
723
|
-
-
|
|
724
|
-
|
|
725
|
-
|
|
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
|
|
726
741
|
|
|
727
742
|
## 0.3.4
|
|
728
743
|
|
|
729
744
|
### Patch Changes
|
|
730
745
|
|
|
731
|
-
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
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
|
|
735
750
|
|
|
736
751
|
## 0.3.3
|
|
737
752
|
|
|
738
753
|
### Patch Changes
|
|
739
754
|
|
|
740
|
-
-
|
|
741
|
-
|
|
742
|
-
|
|
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
|
|
743
758
|
|
|
744
759
|
## 0.3.2
|
|
745
760
|
|
|
746
761
|
### Patch Changes
|
|
747
762
|
|
|
748
|
-
-
|
|
749
|
-
|
|
750
|
-
|
|
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
|
|
751
766
|
|
|
752
767
|
## 0.3.1
|
|
753
768
|
|
|
754
769
|
### Patch Changes
|
|
755
770
|
|
|
756
|
-
-
|
|
757
|
-
|
|
758
|
-
|
|
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
|
|
759
774
|
|
|
760
775
|
## 0.3.0
|
|
761
776
|
|
|
762
777
|
### Minor Changes
|
|
763
778
|
|
|
764
|
-
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
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
|
|
768
783
|
|
|
769
784
|
## 0.2.0
|
|
770
785
|
|
|
771
786
|
### Minor Changes
|
|
772
787
|
|
|
773
|
-
-
|
|
788
|
+
- [minor][63787f3327](https://bitbucket.org/atlassian/atlassian-frontend/commits/63787f3327):
|
|
774
789
|
|
|
775
|
-
|
|
790
|
+
Initial implementation of the Codemod-cli
|
|
776
791
|
|
|
777
792
|
### Patch Changes
|
|
778
793
|
|
|
779
|
-
-
|
|
780
|
-
|
|
781
|
-
|
|
794
|
+
- Updated dependencies
|
|
795
|
+
[168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
|
|
796
|
+
- @atlaskit/docs@8.5.1
|