diff --git a/docs/package.json b/docs/package.json index f77536ef59704..9efe9b6beaa4a 100644 --- a/docs/package.json +++ b/docs/package.json @@ -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", diff --git a/docs/scripts/generateProptypes.ts b/docs/scripts/generateProptypes.ts index 4a4473dad12b6..c61d3b9170017 100644 --- a/docs/scripts/generateProptypes.ts +++ b/docs/scripts/generateProptypes.ts @@ -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'; diff --git a/yarn.lock b/yarn.lock index 3ee747ab06450..8e4269909a70b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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== @@ -1796,7 +1796,7 @@ 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== @@ -1804,21 +1804,12 @@ 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" @@ -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"