From 0640c8939d113bd8cdf2deb58345beb1af0136ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dudak?= Date: Wed, 17 Jan 2024 12:16:50 +0100 Subject: [PATCH] Build all packages by default --- .github/workflows/ci.yml | 2 +- package.json | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2154ca90a1123d..e6746e79d5a716 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: node-version: 18 cache: 'pnpm' # /~https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies - run: pnpm install - - run: pnpm release:build + - run: pnpm build:ci - run: pnpm release:changelog env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 34f56315f97852..1fc0c32301137c 100644 --- a/package.json +++ b/package.json @@ -7,13 +7,14 @@ "proptypes": "cross-env BABEL_ENV=development babel-node --extensions \".tsx,.ts,.js\" ./scripts/generateProptypes.ts", "deduplicate": "pnpm dedupe", "benchmark:browser": "pnpm --filter benchmark browser", - "build": "lerna run --scope \"@mui/*\" build", - "build:all": "lerna run build", + "build": "lerna run build --ignore docs", + "build:public": "lerna run --no-private build", + "build:ci": "lerna run build --ignore docs --concurrency 8 --skip-nx-cache", "build:zero": "lerna run --scope \"@mui/zero-*\" build", "clean:zero": "pnpm --filter \"@mui/zero-*\" clean", "build:codesandbox": "NODE_OPTIONS=\"–max_old_space_size=4096\" lerna run --concurrency 8 --scope \"@mui/*\" build", "release:version": "lerna version --no-changelog --no-push --no-git-tag-version --no-private --force-publish=@mui/core-downloads-tracker", - "release:build": "lerna run --concurrency 8 --scope \"@mui/*\" build --skip-nx-cache", + "release:build": "lerna run build --ignore docs --skip-nx-cache", "release:changelog": "node scripts/releaseChangelog.mjs", "release:publish": "pnpm publish --recursive --tag latest", "release:publish:dry-run": "pnpm publish --recursive --tag latest --registry=\"http://localhost:4873/\"",