Skip to content

Commit

Permalink
[core] Change package manager to pnpm (#36287)
Browse files Browse the repository at this point in the history
Co-authored-by: Michał Dudak <michal@mui.com>
  • Loading branch information
Janpot and michaldudak committed Jan 3, 2024
1 parent 9fa4e47 commit a1263e3
Show file tree
Hide file tree
Showing 414 changed files with 24,815 additions and 167,210 deletions.
185 changes: 93 additions & 92 deletions .circleci/config.yml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
build
node_modules
.nyc_output
pnpm-lock.yaml

# These come from crowdin.
# If we would commit changes crowdin would immediately try to revert.
Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,22 @@ jobs:
- run: echo "${{ github.actor }}"
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
# fetch all tags which are required for `yarn release:changelog`
# fetch all tags which are required for `pnpm release:changelog`
fetch-depth: 0
- name: Set up pnpm
uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0
- name: Use Node.js 18.x
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: 18.18 # ts-node throws error on Node.js 18.19 (https://github.com/TypeStrong/ts-node/issues/2094)
cache: 'yarn' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
- run: yarn install
- run: yarn release:build
- run: yarn release:changelog
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 release:changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: yarn validate-declarations
- name: yarn release:tag
- run: pnpm validate-declarations
- name: pnpm release:tag
run: |
git remote -v
yarn release:tag --dryRun
pnpm release:tag --dryRun
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
/packages/mui-envinfo/*.tgz
/packages/mui-icons-material/src/*.js
/test/bundling/fixtures/*/yarn.lock
/test/bundling/fixtures/*/pnpm-lock.yaml
# created by test/bundling/scripts/createFixture
/test/bundling/fixtures/**/*.fixture.js
# created by test/bundling/fixtures/gatsby gatsby build
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enable-pre-post-scripts = true
Loading

0 comments on commit a1263e3

Please sign in to comment.