@mui/codemod 5.3.0 → 5.4.1
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 +1 -1
- package/codemod.js +0 -0
- package/node/v1.0.0/color-imports.js +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1073,7 +1073,7 @@ You can find more details about this breaking change in [the migration guide](ht
|
|
|
1073
1073
|
|
|
1074
1074
|
#### `mui-replace`
|
|
1075
1075
|
|
|
1076
|
-
Replace every occurrence of `material-ui` related package with the new package names (listed below) except these packages (`@material-ui/pickers`, `@material-ui/data-grid`, `@material-ui/x-grid` & `@material-ui/x-grid-data-generator`). [More details about why package names are changed](https://github.com/mui
|
|
1076
|
+
Replace every occurrence of `material-ui` related package with the new package names (listed below) except these packages (`@material-ui/pickers`, `@material-ui/data-grid`, `@material-ui/x-grid` & `@material-ui/x-grid-data-generator`). [More details about why package names are changed](https://github.com/mui/material-ui/issues/27666)
|
|
1077
1077
|
|
|
1078
1078
|
**Material Design components**
|
|
1079
1079
|
|
package/codemod.js
CHANGED
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
// This codemod attempts to fix the color imports breaking change introduced in
|
|
4
|
-
// https://github.com/mui
|
|
4
|
+
// https://github.com/mui/material-ui/releases/tag/v1.0.0-alpha.21
|
|
5
5
|
// List of colors that are in the `common` module
|
|
6
6
|
const commonColors = ['black', 'white', 'transparent', 'fullBlack', 'darkBlack', 'lightBlack', 'minBlack', 'faintBlack', 'fullWhite', 'darkWhite', 'lightWhite'];
|
|
7
7
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/codemod",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.1",
|
|
4
4
|
"bin": "./codemod.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "MUI Team",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
},
|
|
21
21
|
"repository": {
|
|
22
22
|
"type": "git",
|
|
23
|
-
"url": "https://github.com/mui
|
|
23
|
+
"url": "https://github.com/mui/material-ui.git",
|
|
24
24
|
"directory": "packages/mui-codemod"
|
|
25
25
|
},
|
|
26
26
|
"license": "MIT",
|
|
27
|
-
"homepage": "https://github.com/mui
|
|
27
|
+
"homepage": "https://github.com/mui/material-ui/tree/master/packages/mui-codemod",
|
|
28
28
|
"funding": {
|
|
29
29
|
"type": "opencollective",
|
|
30
30
|
"url": "https://opencollective.com/mui"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@babel/core": "^7.
|
|
34
|
-
"@babel/runtime": "^7.
|
|
35
|
-
"@babel/traverse": "^7.
|
|
33
|
+
"@babel/core": "^7.17.0",
|
|
34
|
+
"@babel/runtime": "^7.17.0",
|
|
35
|
+
"@babel/traverse": "^7.17.0",
|
|
36
36
|
"jscodeshift": "^0.13.1",
|
|
37
37
|
"jscodeshift-add-imports": "^1.0.10",
|
|
38
38
|
"yargs": "^17.3.1"
|