Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Change package manager to pnpm #36287

Merged
merged 117 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from 113 commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
ea4bfea
Quick tryout of pnpm
Janpot Feb 21, 2023
f8fe2bf
Update README.md
Janpot Feb 21, 2023
3c28863
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Aug 9, 2023
583df9b
Fix deduplicate, propTypes, and docs:api
michaldudak Aug 9, 2023
9549772
Fixing `pnpm typescript`
michaldudak Aug 9, 2023
8f28f6e
Making the build pass
michaldudak Aug 10, 2023
05064f5
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Aug 10, 2023
8e022e1
Add TS alias for mui-utils
michaldudak Aug 14, 2023
8873566
Fix the utils self-referencing problem
michaldudak Aug 22, 2023
9a93b5c
Fix build:types
michaldudak Aug 22, 2023
ad76fbf
Fix rollup build
michaldudak Aug 22, 2023
5c20665
Fix prettier
michaldudak Aug 22, 2023
4dd963d
Fix eslint
michaldudak Aug 22, 2023
4e7d972
Set the @mui/utils path resolution
michaldudak Aug 22, 2023
2c29122
Add tsignore to unused react imports
michaldudak Aug 22, 2023
b5539ff
Add missing dependencies
michaldudak Aug 22, 2023
f2e6126
Remove ignore-engines
michaldudak Aug 22, 2023
78f53c3
Update CircleCI steps
michaldudak Aug 22, 2023
a5bac39
Update lockfile
michaldudak Aug 22, 2023
99ba2e2
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Aug 23, 2023
53c33c4
sudo
michaldudak Aug 23, 2023
b99d1a2
Update lockfile
michaldudak Aug 23, 2023
dea2dda
Check duplicated pacakges
michaldudak Aug 23, 2023
e8d452f
Fix proptypes on CI
michaldudak Aug 23, 2023
08ef72b
Fix tests
michaldudak Aug 23, 2023
3934414
Fix tests
michaldudak Aug 24, 2023
66cbd08
Use depcheck to fix all package.json files
michaldudak Aug 24, 2023
790bdb5
Change some occurrences of `yarn` to `pnpm`
michaldudak Aug 24, 2023
510b431
Fix linter errors
michaldudak Aug 24, 2023
498ac4a
Fix envinfo test
michaldudak Aug 24, 2023
0ddb4bf
Remove pnpm installation step
michaldudak Aug 24, 2023
9de88d2
Install pnpm only when using docker
michaldudak Aug 24, 2023
01df477
link-check
michaldudak Aug 24, 2023
ac10cd8
Prevent globby from following symlinks forever
michaldudak Aug 24, 2023
48f243a
Install pnpm on GitHub actions
michaldudak Aug 25, 2023
c195bd7
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Aug 25, 2023
f2c4b60
Loosen stable packages' version specifiers
michaldudak Aug 25, 2023
244343c
Increase envinfo test timeout
michaldudak Aug 25, 2023
9dff898
Use Node's built-in fetch
michaldudak Aug 25, 2023
b248bf7
Update lerna
michaldudak Sep 4, 2023
e511298
WIP: manually update workspace versions
michaldudak Sep 4, 2023
07ff9bd
Do not version private packages
michaldudak Sep 4, 2023
574e445
Deduplicate
michaldudak Sep 4, 2023
6da9cfc
Dependency version update script
michaldudak Sep 5, 2023
c51c7a3
Use the script during build
michaldudak Sep 5, 2023
bb43b8d
Add the missing package
michaldudak Sep 5, 2023
ac5acd8
Replace yarn with pnpm in docs
michaldudak Sep 5, 2023
0f67422
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Sep 5, 2023
d88935b
Add the nx package
michaldudak Sep 5, 2023
67eb5ce
Add missing api-docs-builder dependency
michaldudak Sep 5, 2023
9707b54
Pin stylis version
michaldudak Sep 5, 2023
3ead972
Fix packages
michaldudak Sep 5, 2023
b33d1dd
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Sep 5, 2023
58c68b5
Sort dependencies
michaldudak Sep 6, 2023
4207acd
Add @types/react-dom to devDependencies
michaldudak Sep 6, 2023
ccad290
Simplify TS paths config
michaldudak Sep 6, 2023
df9c160
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Sep 6, 2023
80eb6ec
Add missing package
michaldudak Sep 6, 2023
a26ca88
Sort dependencies
michaldudak Sep 6, 2023
b667663
Update the proptypes warning message
michaldudak Sep 6, 2023
7a882ac
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Sep 6, 2023
00404c1
Fix the build
michaldudak Sep 6, 2023
5d7e9f9
Do not update version specifiers manually
michaldudak Sep 7, 2023
2b3a633
Use pnpm for publishing
michaldudak Sep 7, 2023
8643647
Remove unnecessary packages
michaldudak Sep 7, 2023
38e74c2
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Sep 7, 2023
59b2070
Update the release scripts to use pnpm
michaldudak Sep 7, 2023
a1c0d74
Link workspace packages using their source
michaldudak Sep 8, 2023
0081a6b
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Sep 8, 2023
31295b9
Merge branch 'master' into 'pnpm'
michaldudak Sep 14, 2023
c7f3774
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Sep 14, 2023
ccdfe6f
deduplicate
michaldudak Sep 14, 2023
e9d6db4
Merge branch 'master' into pnpm
michaldudak Sep 19, 2023
971e92e
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Sep 25, 2023
7a985bf
proptypes
michaldudak Sep 25, 2023
3e60b08
Add test-utils to workspace dependencies
michaldudak Sep 25, 2023
10d3c1b
Missing dependencies
michaldudak Sep 25, 2023
2d19665
Update the release procedure
michaldudak Sep 26, 2023
a5fe45c
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Oct 2, 2023
5a8fd60
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Oct 2, 2023
e2d5c08
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Oct 31, 2023
f7fa661
Update pnpm to 8.10.0
michaldudak Nov 2, 2023
9cbe749
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Nov 2, 2023
0c4b493
Do not run dedupe unnecesarily
michaldudak Nov 2, 2023
6627876
proptypes
michaldudak Nov 2, 2023
17dedaf
Add zero-runtime test apps to the workspace
michaldudak Nov 2, 2023
a5363ee
dedupe
michaldudak Nov 2, 2023
d709066
Add resolutions for zero-runtime packages
michaldudak Nov 2, 2023
3dd08f4
Add missing Netlify dependency
michaldudak Nov 2, 2023
e053299
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Dec 15, 2023
f86da54
Add the shamefully-hoist flag to netlify config
michaldudak Dec 18, 2023
260a09c
Extract babel macro from mui-utils and use the package build dir as t…
michaldudak Dec 18, 2023
1eeafc7
Lint errors
michaldudak Dec 18, 2023
5b09b42
Make mui-utils visible to API docs generator
michaldudak Dec 18, 2023
fcc0551
Fix test CLI crashing
michaldudak Dec 18, 2023
2808693
Fix envinfo test
michaldudak Dec 19, 2023
24fb280
Remove Material UI dependency from Base UI
michaldudak Dec 19, 2023
4c868b7
Fix typechecking
michaldudak Dec 19, 2023
cf40096
Fix eslint issue
michaldudak Dec 19, 2023
26fee97
Use babel aliases in rollup build
michaldudak Dec 19, 2023
dc8f86d
Add zero-tag-processor to vite-app dependencies
michaldudak Dec 19, 2023
e25e303
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Dec 19, 2023
c3a6b27
Fix icons tests
michaldudak Dec 19, 2023
f446166
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Dec 21, 2023
c5e079a
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Dec 28, 2023
58bb5fa
Update pnpm
michaldudak Jan 2, 2024
5f1ca90
Proptypes
michaldudak Jan 2, 2024
d25dfb2
Fix dependency order
michaldudak Jan 2, 2024
9d84d60
Update lerna
michaldudak Jan 2, 2024
0b6c1f7
Set zero-runtime local lib as private
michaldudak Jan 2, 2024
3972866
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Jan 2, 2024
0caa58e
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Jan 2, 2024
79adb48
Add missing package
michaldudak Jan 2, 2024
ce762d3
Pin next version to avoid mismatched types
michaldudak Jan 3, 2024
0c2bcdd
Merge remote-tracking branch 'upstream/master' into pnpm
michaldudak Jan 3, 2024
bbeed4b
proptypes
michaldudak Jan 3, 2024
d7a2af8
Use pnpm -r to build TS types on CI
michaldudak Jan 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
183 changes: 92 additions & 91 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