Skip to content

Commit

Permalink
Use React 18 for UMD build
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoAndai committed Dec 19, 2024
1 parent b8fbcf5 commit ccfbcc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"clean:zero": "pnpm --filter \"@pigmentcss/*\" clean",
"build:codesandbox": "BROWSERSLIST_IGNORE_OLD_DATA=true NODE_OPTIONS=\"--max_old_space_size=4096\" lerna run --concurrency 8 --scope \"@mui/*\" --scope \"@mui-internal/*\" --no-private build",
"release:version": "lerna version --no-changelog --no-push --no-git-tag-version --no-private --force-publish=@mui/core-downloads-tracker",
"release:build": "BROWSERSLIST_IGNORE_OLD_DATA=true lerna run --concurrency 8 --no-private build --skip-nx-cache",
"release:build": "BROWSERSLIST_IGNORE_OLD_DATA=true lerna run --concurrency 8 --no-private build --skip-nx-cache && pnpm --filter @mui/material build:umd",
"release:changelog": "node scripts/releaseChangelog.mjs",
"release:publish": "pnpm publish --recursive --tag latest-v5",
"release:publish:dry-run": "pnpm publish --recursive --tag latest-v5 --registry=\"http://localhost:4873/\"",
Expand Down
4 changes: 2 additions & 2 deletions packages/mui-material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
"url": "https://opencollective.com/mui-org"
},
"scripts": {
"build": "pnpm build:legacy && pnpm build:modern && pnpm build:node && pnpm build:stable && pnpm build:umd && pnpm build:types && pnpm build:copy-files",
"build": "pnpm build:legacy && pnpm build:modern && pnpm build:node && pnpm build:stable && pnpm build:types && pnpm build:copy-files",
"build:legacy": "node ../../scripts/build.mjs legacy",
"build:modern": "node ../../scripts/build.mjs modern",
"build:node": "node ../../scripts/build.mjs node",
"build:stable": "node ../../scripts/build.mjs stable",
"build:umd": "cross-env BABEL_ENV=rollup rollup -c scripts/rollup.config.mjs",
"build:umd": "node ../../scripts/useReactVersion.mjs ^18.0.0 && cross-env BABEL_ENV=rollup rollup -c scripts/rollup.config.mjs && git restore ../../package.json && git restore ../../pnpm-lock.yaml && pnpm install",
"build:copy-files": "node ../../scripts/copyFiles.mjs",
"build:types": "node ../../scripts/buildTypes.mjs",
"prebuild": "rimraf build tsconfig.build.tsbuildinfo",
Expand Down

0 comments on commit ccfbcc9

Please sign in to comment.