Skip to content

Commit

Permalink
[core] Use the @mui/internal-scripts package
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed Feb 20, 2024
1 parent 000a92b commit 47f4b2d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"@babel/plugin-transform-react-constant-elements": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@mui-internal/docs-utils": "^1.0.0",
"@mui-internal/typescript-to-proptypes": "^1.0.2",
"@mui/internal-scripts": "https://pkg.csb.dev/mui/material-ui/commit/299402d7/@mui/internal-scripts",
"@types/doctrine": "^0.0.9",
"@types/stylis": "^4.2.5",
"@types/webpack-bundle-analyzer": "^4.6.3",
Expand Down
5 changes: 4 additions & 1 deletion docs/scripts/generateProptypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ import * as yargs from 'yargs';
import * as path from 'path';
import * as fse from 'fs-extra';
import * as prettier from 'prettier';
import { getPropTypesFromFile, injectPropTypesInFile } from '@mui-internal/typescript-to-proptypes';
import {
getPropTypesFromFile,
injectPropTypesInFile,
} from '@mui/internal-scripts/typescript-to-proptypes';
import { fixBabelGeneratorIssues, fixLineEndings } from '@mui-internal/docs-utils';
import { createXTypeScriptProjects, XTypeScriptProject } from './createXTypeScriptProjects';

Expand Down
36 changes: 21 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.23.5.tgz#ffb878728bb6bdcb6f4510aa51b1be9afb8cfd98"
integrity sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==

"@babel/core@^7.12.3", "@babel/core@^7.13.16", "@babel/core@^7.23.7", "@babel/core@^7.23.9", "@babel/core@^7.7.5":
"@babel/core@^7.12.3", "@babel/core@^7.13.16", "@babel/core@^7.23.9", "@babel/core@^7.7.5":
version "7.23.9"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.23.9.tgz#b028820718000f267870822fec434820e9b1e4d1"
integrity sha512-5q0175NOjddqpvvzU+kDiSOAk4PfdO6FvwCWoQ6RO7rTzEe8vlo+4HVfcnAREhD4npMs0e9uZypjTwzZPCf/cw==
Expand Down Expand Up @@ -1796,29 +1796,20 @@
react-test-renderer "^18.0.0"
semver "^5.7.0"

"@mui-internal/docs-utils@1.0.0", "@mui-internal/docs-utils@^1.0.0":
"@mui-internal/docs-utils@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@mui-internal/docs-utils/-/docs-utils-1.0.0.tgz#b1cd8fafe00dca045896daa2977e26eb551b891a"
integrity sha512-TqbdoXrXAk9JhcsGjekriQVU6A0w7oo01CfTfm4mefcKT2Z+RhHeFzG4fJrugN718qLdolJKGMoD7f+u/yBSBw==
dependencies:
rimraf "^5.0.5"
typescript "^5.1.6"

"@mui-internal/typescript-to-proptypes@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@mui-internal/typescript-to-proptypes/-/typescript-to-proptypes-1.0.2.tgz#93ccfe6f611ffc700e99570a34737842c6cc0c70"
integrity sha512-KpnPqY8MCQBHwmFMCZZxXwG3uREgMAbXKLBzcxlBhYxssZcYdsE/aImWE0B50QfVHBPjkNmt4dcI2UO2VEzS9w==
"@mui-internal/docs-utils@https://pkg.csb.dev/mui/material-ui/commit/299402d7/@mui-internal/docs-utils":
version "1.0.1"
resolved "https://pkg.csb.dev/mui/material-ui/commit/299402d7/@mui-internal/docs-utils#7e71fe5378e9649a88fd94fb79339bcabd2e33d0"
dependencies:
"@babel/core" "^7.23.7"
"@babel/plugin-syntax-class-properties" "^7.12.13"
"@babel/plugin-syntax-jsx" "^7.23.3"
"@babel/plugin-syntax-typescript" "^7.23.3"
"@babel/types" "^7.23.6"
"@mui-internal/docs-utils" "1.0.0"
doctrine "^3.0.0"
lodash "^4.17.21"
rimraf "^5.0.5"
typescript "^5.3.3"
uuid "^9.0.1"

"@mui/base@5.0.0-beta.36", "@mui/base@^5.0.0-beta.36":
version "5.0.0-beta.36"
Expand All @@ -1845,6 +1836,21 @@
dependencies:
"@babel/runtime" "^7.23.9"

"@mui/internal-scripts@https://pkg.csb.dev/mui/material-ui/commit/299402d7/@mui/internal-scripts":
version "1.0.0"
resolved "https://pkg.csb.dev/mui/material-ui/commit/299402d7/@mui/internal-scripts#5e6c455f470253e736764a481f9c639d2e103e22"
dependencies:
"@babel/core" "^7.23.9"
"@babel/plugin-syntax-class-properties" "^7.12.13"
"@babel/plugin-syntax-jsx" "^7.23.3"
"@babel/plugin-syntax-typescript" "^7.23.3"
"@babel/types" "^7.23.9"
"@mui-internal/docs-utils" "https://pkg.csb.dev/mui/material-ui/commit/299402d7/@mui-internal/docs-utils"
doctrine "^3.0.0"
lodash "^4.17.21"
typescript "^5.3.3"
uuid "^9.0.1"

"@mui/joy@^5.0.0-beta.27":
version "5.0.0-beta.27"
resolved "https://registry.yarnpkg.com/@mui/joy/-/joy-5.0.0-beta.27.tgz#b408b3312d2408d6c4648ccb14881af68545ad88"
Expand Down

0 comments on commit 47f4b2d

Please sign in to comment.