Skip to content

Commit a1263e3

Browse files
Janpotmichaldudak
andauthored
[core] Change package manager to pnpm (#36287)
Co-authored-by: Michał Dudak <[email protected]>
1 parent 9fa4e47 commit a1263e3

File tree

414 files changed

+24815
-167210
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

414 files changed

+24815
-167210
lines changed

.circleci/config.yml

+93-92
Large diffs are not rendered by default.

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
build
3131
node_modules
3232
.nyc_output
33+
pnpm-lock.yaml
3334

3435
# These come from crowdin.
3536
# If we would commit changes crowdin would immediately try to revert.

.github/workflows/ci.yml

+10-8
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,22 @@ jobs:
2727
- run: echo "${{ github.actor }}"
2828
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2929
with:
30-
# fetch all tags which are required for `yarn release:changelog`
30+
# fetch all tags which are required for `pnpm release:changelog`
3131
fetch-depth: 0
32+
- name: Set up pnpm
33+
uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0
3234
- name: Use Node.js 18.x
3335
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
3436
with:
3537
node-version: 18.18 # ts-node throws error on Node.js 18.19 (https://github.com/TypeStrong/ts-node/issues/2094)
36-
cache: 'yarn' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
37-
- run: yarn install
38-
- run: yarn release:build
39-
- run: yarn release:changelog
38+
cache: 'pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
39+
- run: pnpm install
40+
- run: pnpm release:build
41+
- run: pnpm release:changelog
4042
env:
4143
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
- run: yarn validate-declarations
43-
- name: yarn release:tag
44+
- run: pnpm validate-declarations
45+
- name: pnpm release:tag
4446
run: |
4547
git remote -v
46-
yarn release:tag --dryRun
48+
pnpm release:tag --dryRun

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
/packages/mui-envinfo/*.tgz
2323
/packages/mui-icons-material/src/*.js
2424
/test/bundling/fixtures/*/yarn.lock
25+
/test/bundling/fixtures/*/pnpm-lock.yaml
2526
# created by test/bundling/scripts/createFixture
2627
/test/bundling/fixtures/**/*.fixture.js
2728
# created by test/bundling/fixtures/gatsby gatsby build

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
enable-pre-post-scripts = true

0 commit comments

Comments
 (0)