@mui/codemod 5.15.0 → 5.15.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/README.md +84 -84
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ This repository contains a collection of codemod scripts based for use with
|
|
|
13
13
|
<!-- #default-branch-switch -->
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npx @mui/codemod <codemod> <paths...>
|
|
16
|
+
npx @mui/codemod@latest <codemod> <paths...>
|
|
17
17
|
|
|
18
18
|
Applies a `@mui/codemod` to the specified paths
|
|
19
19
|
|
|
@@ -33,10 +33,10 @@ Options:
|
|
|
33
33
|
--jscodeshift [string] [default: false]
|
|
34
34
|
|
|
35
35
|
Examples:
|
|
36
|
-
npx @mui/codemod v4.0.0/theme-spacing-api src
|
|
37
|
-
npx @mui/codemod v5.0.0/component-rename-prop src --
|
|
36
|
+
npx @mui/codemod@latest v4.0.0/theme-spacing-api src
|
|
37
|
+
npx @mui/codemod@latest v5.0.0/component-rename-prop src --
|
|
38
38
|
--component=Grid --from=prop --to=newProp
|
|
39
|
-
npx @mui/codemod v5.0.0/preset-safe src --parser=flow
|
|
39
|
+
npx @mui/codemod@latest v5.0.0/preset-safe src --parser=flow
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
### jscodeshift options
|
|
@@ -44,7 +44,7 @@ Examples:
|
|
|
44
44
|
To pass more options directly to jscodeshift, use `--jscodeshift="..."`. For example:
|
|
45
45
|
|
|
46
46
|
```bash
|
|
47
|
-
npx @mui/codemod --jscodeshift="--run-in-band --verbose=2"
|
|
47
|
+
npx @mui/codemod@latest --jscodeshift="--run-in-band --verbose=2"
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
See all available options [here](https://github.com/facebook/jscodeshift#usage-cli).
|
|
@@ -55,7 +55,7 @@ Options to [recast](https://github.com/benjamn/recast)'s printer can be provided
|
|
|
55
55
|
through jscodeshift's `printOptions` command line argument
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
|
-
npx @mui/codemod <transform> <path> --jscodeshift="--printOptions='{\"quote\":\"double\"}'"
|
|
58
|
+
npx @mui/codemod@latest <transform> <path> --jscodeshift="--printOptions='{\"quote\":\"double\"}'"
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
## Included scripts
|
|
@@ -78,7 +78,7 @@ This codemod updates the import and re-export statements.
|
|
|
78
78
|
```
|
|
79
79
|
|
|
80
80
|
```bash
|
|
81
|
-
npx @mui/codemod v5.0.0/base-use-named-exports <path>
|
|
81
|
+
npx @mui/codemod@latest v5.0.0/base-use-named-exports <path>
|
|
82
82
|
```
|
|
83
83
|
|
|
84
84
|
### `base-remove-unstyled-suffix`
|
|
@@ -91,7 +91,7 @@ The `Unstyled` suffix has been removed from all Base UI component names, includi
|
|
|
91
91
|
```
|
|
92
92
|
|
|
93
93
|
```bash
|
|
94
|
-
npx @mui/codemod v5.0.0/base-remove-unstyled-suffix <path>
|
|
94
|
+
npx @mui/codemod@latest v5.0.0/base-remove-unstyled-suffix <path>
|
|
95
95
|
```
|
|
96
96
|
|
|
97
97
|
#### `base-remove-component-prop`
|
|
@@ -106,7 +106,7 @@ This change only affects Base UI components.
|
|
|
106
106
|
```
|
|
107
107
|
|
|
108
108
|
```bash
|
|
109
|
-
npx @mui/codemod v5.0.0/base-remove-component-prop <path>
|
|
109
|
+
npx @mui/codemod@latest v5.0.0/base-remove-component-prop <path>
|
|
110
110
|
```
|
|
111
111
|
|
|
112
112
|
#### `rename-css-variables`
|
|
@@ -121,7 +121,7 @@ Updates the names of the CSS variables of the Joy UI components to adapt to the
|
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
```bash
|
|
124
|
-
npx @mui/codemod v5.0.0/rename-css-variables <path>
|
|
124
|
+
npx @mui/codemod@latest v5.0.0/rename-css-variables <path>
|
|
125
125
|
```
|
|
126
126
|
|
|
127
127
|
#### `base-hook-imports`
|
|
@@ -134,7 +134,7 @@ Updates the sources of the imports of the Base UI hooks to adapt to the new dire
|
|
|
134
134
|
```
|
|
135
135
|
|
|
136
136
|
```bash
|
|
137
|
-
npx @mui/codemod v5.0.0/base-hook-imports <path>
|
|
137
|
+
npx @mui/codemod@latest v5.0.0/base-hook-imports <path>
|
|
138
138
|
```
|
|
139
139
|
|
|
140
140
|
#### `joy-rename-classname-prefix`
|
|
@@ -149,7 +149,7 @@ Renames the classname prefix from `'Joy'` to `'Mui'` for Joy UI components.
|
|
|
149
149
|
```
|
|
150
150
|
|
|
151
151
|
```bash
|
|
152
|
-
npx @mui/codemod v5.0.0/joy-rename-classname-prefix <path>
|
|
152
|
+
npx @mui/codemod@latest v5.0.0/joy-rename-classname-prefix <path>
|
|
153
153
|
```
|
|
154
154
|
|
|
155
155
|
#### `joy-rename-row-prop`
|
|
@@ -164,7 +164,7 @@ Transforms `row` prop to `orientation` prop across `Card`, `List` and `RadioGrou
|
|
|
164
164
|
```
|
|
165
165
|
|
|
166
166
|
```bash
|
|
167
|
-
npx @mui/codemod v5.0.0/joy-rename-row-prop <path>
|
|
167
|
+
npx @mui/codemod@latest v5.0.0/joy-rename-row-prop <path>
|
|
168
168
|
```
|
|
169
169
|
|
|
170
170
|
#### `joy-avatar-remove-imgProps`
|
|
@@ -182,7 +182,7 @@ This change only affects Joy UI Avatar component.
|
|
|
182
182
|
```
|
|
183
183
|
|
|
184
184
|
```bash
|
|
185
|
-
npx @mui/codemod v5.0.0/joy-avatar-remove-imgProps <path>
|
|
185
|
+
npx @mui/codemod@latest v5.0.0/joy-avatar-remove-imgProps <path>
|
|
186
186
|
```
|
|
187
187
|
|
|
188
188
|
#### `joy-text-field-to-input`
|
|
@@ -240,7 +240,7 @@ This change only affects Joy UI components.
|
|
|
240
240
|
```
|
|
241
241
|
|
|
242
242
|
```bash
|
|
243
|
-
npx @mui/codemod v5.0.0/joy-text-field-to-input <path>
|
|
243
|
+
npx @mui/codemod@latest v5.0.0/joy-text-field-to-input <path>
|
|
244
244
|
```
|
|
245
245
|
|
|
246
246
|
#### `joy-rename-components-to-slots`
|
|
@@ -259,7 +259,7 @@ This change only affects Joy UI components.
|
|
|
259
259
|
```
|
|
260
260
|
|
|
261
261
|
```bash
|
|
262
|
-
npx @mui/codemod v5.0.0/joy-rename-components-to-slots <path>
|
|
262
|
+
npx @mui/codemod@latest v5.0.0/joy-rename-components-to-slots <path>
|
|
263
263
|
```
|
|
264
264
|
|
|
265
265
|
The associated breaking change was done in [#34997](https://github.com/mui/material-ui/pull/34997).
|
|
@@ -269,7 +269,7 @@ The associated breaking change was done in [#34997](https://github.com/mui/mater
|
|
|
269
269
|
Rename the imports of Date and Time Pickers from `@mui/lab` to `@mui/x-date-pickers` and `@mui/x-date-pickers-pro`.
|
|
270
270
|
|
|
271
271
|
```bash
|
|
272
|
-
npx @mui/codemod v5.0.0/date-pickers-moved-to-x <path>
|
|
272
|
+
npx @mui/codemod@latest v5.0.0/date-pickers-moved-to-x <path>
|
|
273
273
|
```
|
|
274
274
|
|
|
275
275
|
#### `tree-view-moved-to-x`
|
|
@@ -277,7 +277,7 @@ npx @mui/codemod v5.0.0/date-pickers-moved-to-x <path>
|
|
|
277
277
|
Rename the imports of Tree View from `@mui/lab` to `@mui/x-tree-view`.
|
|
278
278
|
|
|
279
279
|
```bash
|
|
280
|
-
npx @mui/codemod v5.0.0/tree-view-moved-to-x <path>
|
|
280
|
+
npx @mui/codemod@latest v5.0.0/tree-view-moved-to-x <path>
|
|
281
281
|
```
|
|
282
282
|
|
|
283
283
|
#### 🚀 `preset-safe`
|
|
@@ -285,7 +285,7 @@ npx @mui/codemod v5.0.0/tree-view-moved-to-x <path>
|
|
|
285
285
|
A combination of all important transformers for migrating v4 to v5. ⚠️ This codemod should be run only once.
|
|
286
286
|
|
|
287
287
|
```bash
|
|
288
|
-
npx @mui/codemod v5.0.0/preset-safe <path|folder>
|
|
288
|
+
npx @mui/codemod@latest v5.0.0/preset-safe <path|folder>
|
|
289
289
|
```
|
|
290
290
|
|
|
291
291
|
The list includes these transformers
|
|
@@ -352,7 +352,7 @@ Imports and inserts `adaptV4Theme` into `createTheme` (or `createMuiTheme`)
|
|
|
352
352
|
```
|
|
353
353
|
|
|
354
354
|
```bash
|
|
355
|
-
npx @mui/codemod v5.0.0/adapter-v4 <path>
|
|
355
|
+
npx @mui/codemod@latest v5.0.0/adapter-v4 <path>
|
|
356
356
|
```
|
|
357
357
|
|
|
358
358
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#theme).
|
|
@@ -369,7 +369,7 @@ Renames `Autocomplete`'s `closeIcon` prop to `clearIcon`.
|
|
|
369
369
|
<!-- #default-branch-switch -->
|
|
370
370
|
|
|
371
371
|
```bash
|
|
372
|
-
npx @mui/codemod v5.0.0/autocomplete-rename-closeicon <path>
|
|
372
|
+
npx @mui/codemod@latest v5.0.0/autocomplete-rename-closeicon <path>
|
|
373
373
|
```
|
|
374
374
|
|
|
375
375
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#autocomplete).
|
|
@@ -388,7 +388,7 @@ Renames `Autocomplete`'s `getOptionSelected` to `isOptionEqualToValue`.
|
|
|
388
388
|
<!-- #default-branch-switch -->
|
|
389
389
|
|
|
390
390
|
```bash
|
|
391
|
-
npx @mui/codemod v5.0.0/autocomplete-rename-option <path>
|
|
391
|
+
npx @mui/codemod@latest v5.0.0/autocomplete-rename-option <path>
|
|
392
392
|
```
|
|
393
393
|
|
|
394
394
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#autocomplete).
|
|
@@ -407,7 +407,7 @@ Updates the `Avatar`'s `variant` value and `classes` key from 'circle' to 'circu
|
|
|
407
407
|
<!-- #default-branch-switch -->
|
|
408
408
|
|
|
409
409
|
```bash
|
|
410
|
-
npx @mui/codemod v5.0.0/avatar-circle-circular <path>
|
|
410
|
+
npx @mui/codemod@latest v5.0.0/avatar-circle-circular <path>
|
|
411
411
|
```
|
|
412
412
|
|
|
413
413
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#avatar).
|
|
@@ -442,7 +442,7 @@ Renames the badge's props.
|
|
|
442
442
|
<!-- #default-branch-switch -->
|
|
443
443
|
|
|
444
444
|
```bash
|
|
445
|
-
npx @mui/codemod v5.0.0/badge-overlap-value <path>
|
|
445
|
+
npx @mui/codemod@latest v5.0.0/badge-overlap-value <path>
|
|
446
446
|
```
|
|
447
447
|
|
|
448
448
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#badge).
|
|
@@ -466,7 +466,7 @@ This change only affects Base UI components.
|
|
|
466
466
|
<!-- #default-branch-switch -->
|
|
467
467
|
|
|
468
468
|
```bash
|
|
469
|
-
npx @mui/codemod v5.0.0/base-rename-components-to-slots <path>
|
|
469
|
+
npx @mui/codemod@latest v5.0.0/base-rename-components-to-slots <path>
|
|
470
470
|
```
|
|
471
471
|
|
|
472
472
|
The associated breaking change was done in [#34693](https://github.com/mui/material-ui/pull/34693).
|
|
@@ -485,7 +485,7 @@ Updates the Box API from separate system props to `sx`.
|
|
|
485
485
|
<!-- #default-branch-switch -->
|
|
486
486
|
|
|
487
487
|
```bash
|
|
488
|
-
npx @mui/codemod v5.0.0/box-borderradius-values <path>
|
|
488
|
+
npx @mui/codemod@latest v5.0.0/box-borderradius-values <path>
|
|
489
489
|
```
|
|
490
490
|
|
|
491
491
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#box).
|
|
@@ -500,7 +500,7 @@ Renames the Box `css` prop to `sx`
|
|
|
500
500
|
```
|
|
501
501
|
|
|
502
502
|
```bash
|
|
503
|
-
npx @mui/codemod v5.0.0/box-rename-css <path>
|
|
503
|
+
npx @mui/codemod@latest v5.0.0/box-rename-css <path>
|
|
504
504
|
```
|
|
505
505
|
|
|
506
506
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#box).
|
|
@@ -521,7 +521,7 @@ Renames the Box `grid*Gap` props.
|
|
|
521
521
|
<!-- #default-branch-switch -->
|
|
522
522
|
|
|
523
523
|
```bash
|
|
524
|
-
npx @mui/codemod v5.0.0/box-rename-gap <path>
|
|
524
|
+
npx @mui/codemod@latest v5.0.0/box-rename-gap <path>
|
|
525
525
|
```
|
|
526
526
|
|
|
527
527
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#box).
|
|
@@ -538,7 +538,7 @@ Removes the outdated `color` prop values.
|
|
|
538
538
|
<!-- #default-branch-switch -->
|
|
539
539
|
|
|
540
540
|
```bash
|
|
541
|
-
npx @mui/codemod v5.0.0/button-color-prop <path>
|
|
541
|
+
npx @mui/codemod@latest v5.0.0/button-color-prop <path>
|
|
542
542
|
```
|
|
543
543
|
|
|
544
544
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#button).
|
|
@@ -555,7 +555,7 @@ Removes the Chip `variant` prop if the value is `"default"`.
|
|
|
555
555
|
<!-- #default-branch-switch -->
|
|
556
556
|
|
|
557
557
|
```bash
|
|
558
|
-
npx @mui/codemod v5.0.0/chip-variant-prop <path>
|
|
558
|
+
npx @mui/codemod@latest v5.0.0/chip-variant-prop <path>
|
|
559
559
|
```
|
|
560
560
|
|
|
561
561
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#chip).
|
|
@@ -572,7 +572,7 @@ Renames the CircularProgress `static` variant to `determinate`.
|
|
|
572
572
|
<!-- #default-branch-switch -->
|
|
573
573
|
|
|
574
574
|
```bash
|
|
575
|
-
npx @mui/codemod v5.0.0/circularprogress-variant <path>
|
|
575
|
+
npx @mui/codemod@latest v5.0.0/circularprogress-variant <path>
|
|
576
576
|
```
|
|
577
577
|
|
|
578
578
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#circularprogress).
|
|
@@ -591,7 +591,7 @@ Renames `Collapse`'s `collapsedHeight` prop to `collapsedSize`.
|
|
|
591
591
|
<!-- #default-branch-switch -->
|
|
592
592
|
|
|
593
593
|
```bash
|
|
594
|
-
npx @mui/codemod v5.0.0/collapse-rename-collapsedheight <path>
|
|
594
|
+
npx @mui/codemod@latest v5.0.0/collapse-rename-collapsedheight <path>
|
|
595
595
|
```
|
|
596
596
|
|
|
597
597
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#collapse).
|
|
@@ -610,7 +610,7 @@ A generic codemod to rename any component prop.
|
|
|
610
610
|
<!-- #default-branch-switch -->
|
|
611
611
|
|
|
612
612
|
```bash
|
|
613
|
-
npx @mui/codemod v5.0.0/component-rename-prop <path> -- --component=Grid --from=prop --to=newProp
|
|
613
|
+
npx @mui/codemod@latest v5.0.0/component-rename-prop <path> -- --component=Grid --from=prop --to=newProp
|
|
614
614
|
```
|
|
615
615
|
|
|
616
616
|
#### `core-styles-import`
|
|
@@ -623,7 +623,7 @@ Renames private import from `core/styles/*` to `core/styles`
|
|
|
623
623
|
```
|
|
624
624
|
|
|
625
625
|
```bash
|
|
626
|
-
npx @mui/codemod v5.0.0/core-styles-import <path>
|
|
626
|
+
npx @mui/codemod@latest v5.0.0/core-styles-import <path>
|
|
627
627
|
```
|
|
628
628
|
|
|
629
629
|
#### `create-theme`
|
|
@@ -636,7 +636,7 @@ Renames the function `createMuiTheme` to `createTheme`
|
|
|
636
636
|
```
|
|
637
637
|
|
|
638
638
|
```bash
|
|
639
|
-
npx @mui/codemod v5.0.0/create-theme <path>
|
|
639
|
+
npx @mui/codemod@latest v5.0.0/create-theme <path>
|
|
640
640
|
```
|
|
641
641
|
|
|
642
642
|
#### `dialog-props`
|
|
@@ -649,7 +649,7 @@ Remove `disableBackdropClick` prop from `<Dialog>`
|
|
|
649
649
|
```
|
|
650
650
|
|
|
651
651
|
```bash
|
|
652
|
-
npx @mui/codemod v5.0.0/dialog-props <path>
|
|
652
|
+
npx @mui/codemod@latest v5.0.0/dialog-props <path>
|
|
653
653
|
```
|
|
654
654
|
|
|
655
655
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#dialog).
|
|
@@ -664,7 +664,7 @@ Remove `disableTypography` prop from `<DialogTitle>`
|
|
|
664
664
|
```
|
|
665
665
|
|
|
666
666
|
```bash
|
|
667
|
-
npx @mui/codemod v5.0.0/dialog-title-props <path>
|
|
667
|
+
npx @mui/codemod@latest v5.0.0/dialog-title-props <path>
|
|
668
668
|
```
|
|
669
669
|
|
|
670
670
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#dialog).
|
|
@@ -681,7 +681,7 @@ Adds `prepend: true` to Emotion `createCache`
|
|
|
681
681
|
```
|
|
682
682
|
|
|
683
683
|
```bash
|
|
684
|
-
npx @mui/codemod v5.0.0/create-theme <path>
|
|
684
|
+
npx @mui/codemod@latest v5.0.0/create-theme <path>
|
|
685
685
|
```
|
|
686
686
|
|
|
687
687
|
#### `expansion-panel-component`
|
|
@@ -689,7 +689,7 @@ npx @mui/codemod v5.0.0/create-theme <path>
|
|
|
689
689
|
Renames `ExpansionPanel*` to `Accordion*`
|
|
690
690
|
|
|
691
691
|
```bash
|
|
692
|
-
npx @mui/codemod v5.0.0/expansion-panel-component <path>
|
|
692
|
+
npx @mui/codemod@latest v5.0.0/expansion-panel-component <path>
|
|
693
693
|
```
|
|
694
694
|
|
|
695
695
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#expansionpanel).
|
|
@@ -702,7 +702,7 @@ You can find more details about this breaking change in [the migration guide](ht
|
|
|
702
702
|
```
|
|
703
703
|
|
|
704
704
|
```bash
|
|
705
|
-
npx @mui/codemod v5.0.0/fab-variant <path>
|
|
705
|
+
npx @mui/codemod@latest v5.0.0/fab-variant <path>
|
|
706
706
|
```
|
|
707
707
|
|
|
708
708
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#fab).
|
|
@@ -722,7 +722,7 @@ Renames the `fade` style utility import and calls to `alpha`.
|
|
|
722
722
|
<!-- #default-branch-switch -->
|
|
723
723
|
|
|
724
724
|
```bash
|
|
725
|
-
npx @mui/codemod v5.0.0/fade-rename-alpha <path>
|
|
725
|
+
npx @mui/codemod@latest v5.0.0/fade-rename-alpha <path>
|
|
726
726
|
```
|
|
727
727
|
|
|
728
728
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#styles).
|
|
@@ -739,7 +739,7 @@ Renames `Grid`'s `justify` prop to `justifyContent`.
|
|
|
739
739
|
<!-- #default-branch-switch -->
|
|
740
740
|
|
|
741
741
|
```bash
|
|
742
|
-
npx @mui/codemod v5.0.0/grid-justify-justifycontent <path>
|
|
742
|
+
npx @mui/codemod@latest v5.0.0/grid-justify-justifycontent <path>
|
|
743
743
|
```
|
|
744
744
|
|
|
745
745
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#grid).
|
|
@@ -749,7 +749,7 @@ You can find more details about this breaking change in [the migration guide](ht
|
|
|
749
749
|
Renames `GridList*` to `ImageList*`
|
|
750
750
|
|
|
751
751
|
```bash
|
|
752
|
-
npx @mui/codemod v5.0.0/grid-list-component <path>
|
|
752
|
+
npx @mui/codemod@latest v5.0.0/grid-list-component <path>
|
|
753
753
|
```
|
|
754
754
|
|
|
755
755
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#gridlist).
|
|
@@ -766,7 +766,7 @@ Adds `size="large"` if `size` is not defined to get the same appearance as v4.
|
|
|
766
766
|
```
|
|
767
767
|
|
|
768
768
|
```bash
|
|
769
|
-
npx @mui/codemod v5.0.0/icon-button-size <path>
|
|
769
|
+
npx @mui/codemod@latest v5.0.0/icon-button-size <path>
|
|
770
770
|
```
|
|
771
771
|
|
|
772
772
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#iconbutton).
|
|
@@ -831,7 +831,7 @@ Replace JSS styling with `makeStyles` or `withStyles` to `styled` API.
|
|
|
831
831
|
```
|
|
832
832
|
|
|
833
833
|
```bash
|
|
834
|
-
npx @mui/codemod v5.0.0/jss-to-styled <path>
|
|
834
|
+
npx @mui/codemod@latest v5.0.0/jss-to-styled <path>
|
|
835
835
|
```
|
|
836
836
|
|
|
837
837
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#1-use-styled-or-sx-api).
|
|
@@ -903,7 +903,7 @@ Migrate JSS styling with `makeStyles` or `withStyles` to the corresponding `tss-
|
|
|
903
903
|
```
|
|
904
904
|
|
|
905
905
|
```bash
|
|
906
|
-
npx @mui/codemod v5.0.0/jss-to-tss-react <path>
|
|
906
|
+
npx @mui/codemod@latest v5.0.0/jss-to-tss-react <path>
|
|
907
907
|
```
|
|
908
908
|
|
|
909
909
|
The following scenarios are not currently handled by this codemod and will be marked with a
|
|
@@ -931,7 +931,7 @@ Apply `underline="hover"` to `<Link />` that does not define `underline` prop (t
|
|
|
931
931
|
```
|
|
932
932
|
|
|
933
933
|
```bash
|
|
934
|
-
npx @mui/codemod v5.0.0/link-underline-hover <path>
|
|
934
|
+
npx @mui/codemod@latest v5.0.0/link-underline-hover <path>
|
|
935
935
|
```
|
|
936
936
|
|
|
937
937
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#link).
|
|
@@ -969,7 +969,7 @@ Moves JSS imports to `@material-ui/styles`
|
|
|
969
969
|
```
|
|
970
970
|
|
|
971
971
|
```bash
|
|
972
|
-
npx @mui/codemod v5.0.0/material-ui-styles <path>
|
|
972
|
+
npx @mui/codemod@latest v5.0.0/material-ui-styles <path>
|
|
973
973
|
```
|
|
974
974
|
|
|
975
975
|
#### `material-ui-types`
|
|
@@ -982,7 +982,7 @@ Renames `Omit` import from `@material-ui/types` to `DistributiveOmit`
|
|
|
982
982
|
```
|
|
983
983
|
|
|
984
984
|
```bash
|
|
985
|
-
npx @mui/codemod v5.0.0/material-ui-types <path>
|
|
985
|
+
npx @mui/codemod@latest v5.0.0/material-ui-types <path>
|
|
986
986
|
```
|
|
987
987
|
|
|
988
988
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#material-ui-types).
|
|
@@ -999,7 +999,7 @@ Removes `disableBackdropClick` and `onEscapeKeyDown` from `<Modal>`
|
|
|
999
999
|
```
|
|
1000
1000
|
|
|
1001
1001
|
```bash
|
|
1002
|
-
npx @mui/codemod v5.0.0/modal-props <path>
|
|
1002
|
+
npx @mui/codemod@latest v5.0.0/modal-props <path>
|
|
1003
1003
|
```
|
|
1004
1004
|
|
|
1005
1005
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#modal).
|
|
@@ -1023,7 +1023,7 @@ or
|
|
|
1023
1023
|
<!-- #default-branch-switch -->
|
|
1024
1024
|
|
|
1025
1025
|
```bash
|
|
1026
|
-
npx @mui/codemod v5.0.0/moved-lab-modules <path>
|
|
1026
|
+
npx @mui/codemod@latest v5.0.0/moved-lab-modules <path>
|
|
1027
1027
|
```
|
|
1028
1028
|
|
|
1029
1029
|
You can find more details about this breaking change in the migration guide.
|
|
@@ -1048,7 +1048,7 @@ Renames `Pagination*`'s `shape` values from 'round' to 'circular'.
|
|
|
1048
1048
|
```
|
|
1049
1049
|
|
|
1050
1050
|
```bash
|
|
1051
|
-
npx @mui/codemod v5.0.0/pagination-round-circular <path>
|
|
1051
|
+
npx @mui/codemod@latest v5.0.0/pagination-round-circular <path>
|
|
1052
1052
|
```
|
|
1053
1053
|
|
|
1054
1054
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#pagination).
|
|
@@ -1067,7 +1067,7 @@ Fix private import paths.
|
|
|
1067
1067
|
<!-- #default-branch-switch -->
|
|
1068
1068
|
|
|
1069
1069
|
```bash
|
|
1070
|
-
npx @mui/codemod v5.0.0/optimal-imports <path>
|
|
1070
|
+
npx @mui/codemod@latest v5.0.0/optimal-imports <path>
|
|
1071
1071
|
```
|
|
1072
1072
|
|
|
1073
1073
|
#### `root-ref`
|
|
@@ -1075,7 +1075,7 @@ npx @mui/codemod v5.0.0/optimal-imports <path>
|
|
|
1075
1075
|
Removes `RootRef` from the codebase.
|
|
1076
1076
|
|
|
1077
1077
|
```bash
|
|
1078
|
-
npx @mui/codemod v5.0.0/root-ref <path>
|
|
1078
|
+
npx @mui/codemod@latest v5.0.0/root-ref <path>
|
|
1079
1079
|
```
|
|
1080
1080
|
|
|
1081
1081
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#rootref).
|
|
@@ -1090,7 +1090,7 @@ You can find more details about this breaking change in [the migration guide](ht
|
|
|
1090
1090
|
```
|
|
1091
1091
|
|
|
1092
1092
|
```bash
|
|
1093
|
-
npx @mui/codemod v5.0.0/skeleton-variant <path>
|
|
1093
|
+
npx @mui/codemod@latest v5.0.0/skeleton-variant <path>
|
|
1094
1094
|
```
|
|
1095
1095
|
|
|
1096
1096
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#skeleton).
|
|
@@ -1100,7 +1100,7 @@ You can find more details about this breaking change in [the migration guide](ht
|
|
|
1100
1100
|
Applies `StyledEngineProvider` to the files that contains `ThemeProvider`.
|
|
1101
1101
|
|
|
1102
1102
|
```bash
|
|
1103
|
-
npx @mui/codemod v5.0.0/styled-engine-provider <path>
|
|
1103
|
+
npx @mui/codemod@latest v5.0.0/styled-engine-provider <path>
|
|
1104
1104
|
```
|
|
1105
1105
|
|
|
1106
1106
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-style-changes/#style-library).
|
|
@@ -1126,7 +1126,7 @@ Renames props in `Table*` components.
|
|
|
1126
1126
|
```
|
|
1127
1127
|
|
|
1128
1128
|
```bash
|
|
1129
|
-
npx @mui/codemod v5.0.0/table-props <path>
|
|
1129
|
+
npx @mui/codemod@latest v5.0.0/table-props <path>
|
|
1130
1130
|
```
|
|
1131
1131
|
|
|
1132
1132
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#table).
|
|
@@ -1145,7 +1145,7 @@ Renames the `Tabs`'s `scrollButtons` prop values.
|
|
|
1145
1145
|
```
|
|
1146
1146
|
|
|
1147
1147
|
```bash
|
|
1148
|
-
npx @mui/codemod v5.0.0/tabs-scroll-buttons <path>
|
|
1148
|
+
npx @mui/codemod@latest v5.0.0/tabs-scroll-buttons <path>
|
|
1149
1149
|
```
|
|
1150
1150
|
|
|
1151
1151
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#tabs).
|
|
@@ -1164,7 +1164,7 @@ Renames `TextField`'s rows props.
|
|
|
1164
1164
|
```
|
|
1165
1165
|
|
|
1166
1166
|
```bash
|
|
1167
|
-
npx @mui/codemod v5.0.0/textarea-minmax-rows <path>
|
|
1167
|
+
npx @mui/codemod@latest v5.0.0/textarea-minmax-rows <path>
|
|
1168
1168
|
```
|
|
1169
1169
|
|
|
1170
1170
|
You can find more details about this breaking change in the migration guide.
|
|
@@ -1177,7 +1177,7 @@ You can find more details about this breaking change in the migration guide.
|
|
|
1177
1177
|
Adds `DefaultTheme` module augmentation to typescript projects.
|
|
1178
1178
|
|
|
1179
1179
|
```bash
|
|
1180
|
-
npx @mui/codemod v5.0.0/theme-augment <path>
|
|
1180
|
+
npx @mui/codemod@latest v5.0.0/theme-augment <path>
|
|
1181
1181
|
```
|
|
1182
1182
|
|
|
1183
1183
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#material-ui-styles).
|
|
@@ -1196,7 +1196,7 @@ Updates breakpoint values to match new logic. ⚠️ This mod is not idempotent,
|
|
|
1196
1196
|
<!-- #default-branch-switch -->
|
|
1197
1197
|
|
|
1198
1198
|
```bash
|
|
1199
|
-
npx @mui/codemod v5.0.0/theme-breakpoints <path>
|
|
1199
|
+
npx @mui/codemod@latest v5.0.0/theme-breakpoints <path>
|
|
1200
1200
|
```
|
|
1201
1201
|
|
|
1202
1202
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#theme).
|
|
@@ -1206,7 +1206,7 @@ You can find more details about this breaking change in [the migration guide](ht
|
|
|
1206
1206
|
Renames `theme.breakpoints.width('md')` to `theme.breakpoints.values.md`.
|
|
1207
1207
|
|
|
1208
1208
|
```bash
|
|
1209
|
-
npx @mui/codemod v5.0.0/theme-breakpoints-width <path>
|
|
1209
|
+
npx @mui/codemod@latest v5.0.0/theme-breakpoints-width <path>
|
|
1210
1210
|
```
|
|
1211
1211
|
|
|
1212
1212
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#theme).
|
|
@@ -1219,7 +1219,7 @@ You can find more details about this breaking change in [the migration guide](ht
|
|
|
1219
1219
|
```
|
|
1220
1220
|
|
|
1221
1221
|
```bash
|
|
1222
|
-
npx @mui/codemod v5.0.0/theme-options <path>
|
|
1222
|
+
npx @mui/codemod@latest v5.0.0/theme-options <path>
|
|
1223
1223
|
```
|
|
1224
1224
|
|
|
1225
1225
|
#### `theme-palette-mode`
|
|
@@ -1241,7 +1241,7 @@ Renames `type` to `mode`.
|
|
|
1241
1241
|
```
|
|
1242
1242
|
|
|
1243
1243
|
```bash
|
|
1244
|
-
npx @mui/codemod v5.0.0/theme-palette-mode <path>
|
|
1244
|
+
npx @mui/codemod@latest v5.0.0/theme-palette-mode <path>
|
|
1245
1245
|
```
|
|
1246
1246
|
|
|
1247
1247
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#theme).
|
|
@@ -1251,7 +1251,7 @@ You can find more details about this breaking change in [the migration guide](ht
|
|
|
1251
1251
|
Renames `MuiThemeProvider` to `ThemeProvider`.
|
|
1252
1252
|
|
|
1253
1253
|
```bash
|
|
1254
|
-
npx @mui/codemod v5.0.0/theme-provider <path>
|
|
1254
|
+
npx @mui/codemod@latest v5.0.0/theme-provider <path>
|
|
1255
1255
|
```
|
|
1256
1256
|
|
|
1257
1257
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#material-ui-core-styles).
|
|
@@ -1270,7 +1270,7 @@ Removes the 'px' suffix from some template strings.
|
|
|
1270
1270
|
<!-- #default-branch-switch -->
|
|
1271
1271
|
|
|
1272
1272
|
```bash
|
|
1273
|
-
npx @mui/codemod v5.0.0/theme-spacing <path>
|
|
1273
|
+
npx @mui/codemod@latest v5.0.0/theme-spacing <path>
|
|
1274
1274
|
```
|
|
1275
1275
|
|
|
1276
1276
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#theme).
|
|
@@ -1285,7 +1285,7 @@ Renames `theme.typography.round($number)` to `Math.round($number * 1e5) / 1e5`.
|
|
|
1285
1285
|
```
|
|
1286
1286
|
|
|
1287
1287
|
```bash
|
|
1288
|
-
npx @mui/codemod v5.0.0/theme-typography-round <path>
|
|
1288
|
+
npx @mui/codemod@latest v5.0.0/theme-typography-round <path>
|
|
1289
1289
|
```
|
|
1290
1290
|
|
|
1291
1291
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#theme).
|
|
@@ -1303,7 +1303,7 @@ Converts all `@mui/material` submodule imports to the root module:
|
|
|
1303
1303
|
<!-- #default-branch-switch -->
|
|
1304
1304
|
|
|
1305
1305
|
```bash
|
|
1306
|
-
npx @mui/codemod v5.0.0/top-level-imports <path>
|
|
1306
|
+
npx @mui/codemod@latest v5.0.0/top-level-imports <path>
|
|
1307
1307
|
```
|
|
1308
1308
|
|
|
1309
1309
|
Head to https://mui.com/guides/minimizing-bundle-size/ to understand when it's useful.
|
|
@@ -1313,7 +1313,7 @@ Head to https://mui.com/guides/minimizing-bundle-size/ to understand when it's u
|
|
|
1313
1313
|
Renames import `transitions` to `createTransitions`
|
|
1314
1314
|
|
|
1315
1315
|
```bash
|
|
1316
|
-
npx @mui/codemod v5.0.0/transitions <path>
|
|
1316
|
+
npx @mui/codemod@latest v5.0.0/transitions <path>
|
|
1317
1317
|
```
|
|
1318
1318
|
|
|
1319
1319
|
#### `use-autocomplete`
|
|
@@ -1326,7 +1326,7 @@ Renames `useAutocomplete` related import from lab to core
|
|
|
1326
1326
|
```
|
|
1327
1327
|
|
|
1328
1328
|
```bash
|
|
1329
|
-
npx @mui/codemod v5.0.0/use-autocomplete <path>
|
|
1329
|
+
npx @mui/codemod@latest v5.0.0/use-autocomplete <path>
|
|
1330
1330
|
```
|
|
1331
1331
|
|
|
1332
1332
|
#### `use-transitionprops`
|
|
@@ -1355,7 +1355,7 @@ Updates Dialog, Menu, Popover, and Snackbar to use the `TransitionProps` prop to
|
|
|
1355
1355
|
<!-- #default-branch-switch -->
|
|
1356
1356
|
|
|
1357
1357
|
```bash
|
|
1358
|
-
npx @mui/codemod v5.0.0/use-transitionprops <path>
|
|
1358
|
+
npx @mui/codemod@latest v5.0.0/use-transitionprops <path>
|
|
1359
1359
|
```
|
|
1360
1360
|
|
|
1361
1361
|
You can find more details about this breaking change in [the migration guide](/material-ui/migration/v5-component-changes/#dialog).
|
|
@@ -1385,7 +1385,7 @@ The diff should look like this:
|
|
|
1385
1385
|
<!-- #default-branch-switch -->
|
|
1386
1386
|
|
|
1387
1387
|
```bash
|
|
1388
|
-
npx @mui/codemod v5.0.0/variant-prop <path>
|
|
1388
|
+
npx @mui/codemod@latest v5.0.0/variant-prop <path>
|
|
1389
1389
|
```
|
|
1390
1390
|
|
|
1391
1391
|
#### `with-mobile-dialog`
|
|
@@ -1399,7 +1399,7 @@ Removes imported `withMobileDialog`, and inserts hardcoded version to prevent ap
|
|
|
1399
1399
|
```
|
|
1400
1400
|
|
|
1401
1401
|
```bash
|
|
1402
|
-
npx @mui/codemod v5.0.0/with-mobile-dialog <path>
|
|
1402
|
+
npx @mui/codemod@latest v5.0.0/with-mobile-dialog <path>
|
|
1403
1403
|
```
|
|
1404
1404
|
|
|
1405
1405
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-component-changes/#dialog).
|
|
@@ -1415,7 +1415,7 @@ Removes `withWidth` import, and inserts hardcoded version to prevent application
|
|
|
1415
1415
|
```
|
|
1416
1416
|
|
|
1417
1417
|
```bash
|
|
1418
|
-
npx @mui/codemod v5.0.0/with-width <path>
|
|
1418
|
+
npx @mui/codemod@latest v5.0.0/with-width <path>
|
|
1419
1419
|
```
|
|
1420
1420
|
|
|
1421
1421
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/v5-style-changes/#material-ui-core-styles).
|
|
@@ -1476,7 +1476,7 @@ Replace every occurrence of `material-ui` related package with the new package n
|
|
|
1476
1476
|
```
|
|
1477
1477
|
|
|
1478
1478
|
```bash
|
|
1479
|
-
npx @mui/codemod v5.0.0/mui-replace <path>
|
|
1479
|
+
npx @mui/codemod@latest v5.0.0/mui-replace <path>
|
|
1480
1480
|
```
|
|
1481
1481
|
|
|
1482
1482
|
You can find more details about this breaking change in [the migration guide](https://mui.com/material-ui/migration/migration-v4/#update-material-ui-version).
|
|
@@ -1496,7 +1496,7 @@ The diff should look like this:
|
|
|
1496
1496
|
<!-- #default-branch-switch -->
|
|
1497
1497
|
|
|
1498
1498
|
```bash
|
|
1499
|
-
npx @mui/codemod v4.0.0/theme-spacing-api <path>
|
|
1499
|
+
npx @mui/codemod@latest v4.0.0/theme-spacing-api <path>
|
|
1500
1500
|
```
|
|
1501
1501
|
|
|
1502
1502
|
This codemod tries to perform a basic expression simplification which can be improved for expressions that use more than one operation.
|
|
@@ -1523,7 +1523,7 @@ Converts all `@material-ui/core` imports more than 1 level deep to the optimal f
|
|
|
1523
1523
|
<!-- #default-branch-switch -->
|
|
1524
1524
|
|
|
1525
1525
|
```bash
|
|
1526
|
-
npx @mui/codemod v4.0.0/optimal-imports <path>
|
|
1526
|
+
npx @mui/codemod@latest v4.0.0/optimal-imports <path>
|
|
1527
1527
|
```
|
|
1528
1528
|
|
|
1529
1529
|
Head to https://mui.com/guides/minimizing-bundle-size/ to understand when it's useful.
|
|
@@ -1541,7 +1541,7 @@ Converts all `@material-ui/core` submodule imports to the root module:
|
|
|
1541
1541
|
<!-- #default-branch-switch -->
|
|
1542
1542
|
|
|
1543
1543
|
```bash
|
|
1544
|
-
npx @mui/codemod v4.0.0/top-level-imports <path>
|
|
1544
|
+
npx @mui/codemod@latest v4.0.0/top-level-imports <path>
|
|
1545
1545
|
```
|
|
1546
1546
|
|
|
1547
1547
|
Head to https://mui.com/guides/minimizing-bundle-size/ to understand when it's useful.
|
|
@@ -1562,7 +1562,7 @@ The diff should look like this:
|
|
|
1562
1562
|
<!-- #default-branch-switch -->
|
|
1563
1563
|
|
|
1564
1564
|
```bash
|
|
1565
|
-
npx @mui/codemod v1.0.0/import-path <path>
|
|
1565
|
+
npx @mui/codemod@latest v1.0.0/import-path <path>
|
|
1566
1566
|
```
|
|
1567
1567
|
|
|
1568
1568
|
**Notice**: if you are migrating from pre-v1.0, and your imports use `material-ui`, you will need to manually find and replace all references to `material-ui` in your code to `@material-ui/core`. E.g.:
|
|
@@ -1589,7 +1589,7 @@ The diff should look like this:
|
|
|
1589
1589
|
<!-- #default-branch-switch -->
|
|
1590
1590
|
|
|
1591
1591
|
```bash
|
|
1592
|
-
npx @mui/codemod v1.0.0/color-imports <path>
|
|
1592
|
+
npx @mui/codemod@latest v1.0.0/color-imports <path>
|
|
1593
1593
|
```
|
|
1594
1594
|
|
|
1595
1595
|
**additional options**
|
|
@@ -1597,7 +1597,7 @@ npx @mui/codemod v1.0.0/color-imports <path>
|
|
|
1597
1597
|
<!-- #default-branch-switch -->
|
|
1598
1598
|
|
|
1599
1599
|
```bash
|
|
1600
|
-
npx @mui/codemod v1.0.0/color-imports <path> -- --importPath='mui/styles/colors' --targetPath='mui/colors'
|
|
1600
|
+
npx @mui/codemod@latest v1.0.0/color-imports <path> -- --importPath='mui/styles/colors' --targetPath='mui/colors'
|
|
1601
1601
|
```
|
|
1602
1602
|
|
|
1603
1603
|
#### `svg-icon-imports`
|
|
@@ -1615,7 +1615,7 @@ The diff should look like this:
|
|
|
1615
1615
|
<!-- #default-branch-switch -->
|
|
1616
1616
|
|
|
1617
1617
|
```bash
|
|
1618
|
-
npx @mui/codemod v1.0.0/svg-icon-imports <path>
|
|
1618
|
+
npx @mui/codemod@latest v1.0.0/svg-icon-imports <path>
|
|
1619
1619
|
```
|
|
1620
1620
|
|
|
1621
1621
|
#### `menu-item-primary-text`
|
|
@@ -1633,7 +1633,7 @@ The diff should look like this:
|
|
|
1633
1633
|
<!-- #default-branch-switch -->
|
|
1634
1634
|
|
|
1635
1635
|
```bash
|
|
1636
|
-
npx @mui/codemod v1.0.0/menu-item-primary-text <path>
|
|
1636
|
+
npx @mui/codemod@latest v1.0.0/menu-item-primary-text <path>
|
|
1637
1637
|
```
|
|
1638
1638
|
|
|
1639
1639
|
### v0.15.0
|
|
@@ -1657,5 +1657,5 @@ The diff should look like this:
|
|
|
1657
1657
|
<!-- #default-branch-switch -->
|
|
1658
1658
|
|
|
1659
1659
|
```bash
|
|
1660
|
-
npx @mui/codemod v0.15.0/import-path <path>
|
|
1660
|
+
npx @mui/codemod@latest v0.15.0/import-path <path>
|
|
1661
1661
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/codemod",
|
|
3
|
-
"version": "5.15.
|
|
3
|
+
"version": "5.15.3",
|
|
4
4
|
"bin": "./codemod.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "MUI Team",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"url": "https://opencollective.com/mui-org"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@babel/core": "^7.23.
|
|
34
|
-
"@babel/runtime": "^7.23.
|
|
35
|
-
"@babel/traverse": "^7.23.
|
|
33
|
+
"@babel/core": "^7.23.6",
|
|
34
|
+
"@babel/runtime": "^7.23.6",
|
|
35
|
+
"@babel/traverse": "^7.23.6",
|
|
36
36
|
"jscodeshift": "^0.13.1",
|
|
37
37
|
"jscodeshift-add-imports": "^1.0.10",
|
|
38
38
|
"yargs": "^17.7.2"
|