diff --git a/.circleci/config.yml b/.circleci/config.yml index 1920cc12f..edd475fb3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,6 +38,9 @@ jobs: - code-infra/eslint - code-infra/stylelint - code-infra/markdownlint + - run: + name: Syncpack + command: pnpm syncpack docs_validate: <<: *default-job steps: diff --git a/.syncpackrc.json b/.syncpackrc.json new file mode 100644 index 000000000..27309ee04 --- /dev/null +++ b/.syncpackrc.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://unpkg.com/syncpack/schema.json", + "semverGroups": [ + { + "dependencyTypes": ["dev"], + "range": "", + "label": "Pin devDependencies to exact versions" + } + ], + "versionGroups": [ + { + "dependencyTypes": ["peer"], + "policy": "sameRange", + "label": "Peer dependencies must use overlapping ranges" + } + ] +} diff --git a/apps/code-infra-dashboard/package.json b/apps/code-infra-dashboard/package.json index dcf181e53..e2eb235df 100644 --- a/apps/code-infra-dashboard/package.json +++ b/apps/code-infra-dashboard/package.json @@ -24,7 +24,7 @@ "etag": "^1.8.1", "jose": "^6.2.2", "mysql2": "^3.20.0", - "next": "^16.1.6", + "next": "16.1.7", "pako": "^2.1.0", "react": "^19.2.4", "react-dom": "^19.2.4", diff --git a/docs/package.json b/docs/package.json index e1fdfba69..b98f032b3 100644 --- a/docs/package.json +++ b/docs/package.json @@ -11,14 +11,14 @@ "validate": "docs-infra validate --command 'pnpm validate'" }, "dependencies": { - "@base-ui/react": "1.3.0", + "@base-ui/react": "^1.3.0", "@mdx-js/loader": "^3.1.1", "@mdx-js/react": "^3.1.1", "@mui/internal-docs-infra": "workspace:^", "@next/mdx": "^16.1.6", "@types/mdx": "^2.0.13", "lucide-react": "^0.577.0", - "next": "^16.1.6", + "next": "16.1.7", "react": "^19.2.4", "react-dom": "^19.2.4", "react-runner": "^1.0.5", diff --git a/package.json b/package.json index 039177b36..e76a18207 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "update-netlify-ignore": "pnpm code-infra netlify-ignore @apps/code-infra-dashboard", "test": "vitest", "markdownlint": "markdownlint-cli2 \"**/*.md\"", + "syncpack": "syncpack lint", "stylelint": "stylelint --reportInvalidScopeDisables --reportNeedlessDisables \"**/*.?(c|m)[jt]s?(x)\" \"**/*.css\" --ignore-path .lintignore", "typescript": "pnpm -r run typescript", "release:version": "lerna version --no-changelog --no-push --no-git-tag-version --no-private", @@ -66,10 +67,10 @@ "@next/eslint-plugin-next": "^16.1.6", "@octokit/rest": "^22.0.1", "@tsconfig/node24": "^24.0.4", - "@types/node": "^22.18.13", + "@types/node": "22.19.0", "@types/semver": "^7.7.1", "@typescript-eslint/eslint-plugin": "^8.57.0", - "@typescript-eslint/parser": "^8.57.0", + "@typescript-eslint/parser": "8.57.1", "@typescript/native-preview": "^7.0.0-dev.20260314.1", "@vitest/coverage-v8": "^4.1.1", "eslint": "^10.0.3", @@ -86,9 +87,10 @@ "baseline-browser-mapping": "2.10.10", "eslint-plugin-n": "17.24.0", "markdownlint-cli2": "0.22.0", - "pkg-pr-new": "^0.0.66", + "pkg-pr-new": "0.0.66", "playwright": "1.58.2", - "stylelint": "17.4.0" + "stylelint": "17.4.0", + "syncpack": "14.3.0" }, "packageManager": "pnpm@10.32.1", "engines": { diff --git a/packages/bundle-size-checker/package.json b/packages/bundle-size-checker/package.json index d0d866c30..9cb72c69c 100644 --- a/packages/bundle-size-checker/package.json +++ b/packages/bundle-size-checker/package.json @@ -36,7 +36,7 @@ } }, "dependencies": { - "@aws-sdk/client-s3": "^3.1008.0", + "@aws-sdk/client-s3": "^3.1009.0", "@aws-sdk/credential-providers": "^3.1008.0", "@octokit/rest": "^22.0.1", "chalk": "^5.6.2", diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index 30203b13e..387c052fa 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -46,7 +46,7 @@ "@types/prop-types": "15.7.15", "@types/react": "19.2.14", "@types/react-dom": "19.2.3", - "jsdom": "^28.1.0" + "jsdom": "28.1.0" }, "peerDependencies": { "@emotion/cache": "11", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 74a5be30f..ce4b8a882 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,7 +41,7 @@ importers: specifier: ^24.0.4 version: 24.0.4 '@types/node': - specifier: ^22.18.13 + specifier: 22.19.0 version: 22.19.0 '@types/semver': specifier: ^7.7.1 @@ -50,7 +50,7 @@ importers: specifier: ^8.57.0 version: 8.57.1(@typescript-eslint/parser@8.57.1(eslint@10.0.3(jiti@2.6.1))(typescript@5.9.3))(eslint@10.0.3(jiti@2.6.1))(typescript@5.9.3) '@typescript-eslint/parser': - specifier: ^8.57.0 + specifier: 8.57.1 version: 8.57.1(eslint@10.0.3(jiti@2.6.1))(typescript@5.9.3) '@typescript/native-preview': specifier: ^7.0.0-dev.20260314.1 @@ -96,7 +96,7 @@ importers: specifier: 0.22.0 version: 0.22.0 pkg-pr-new: - specifier: ^0.0.66 + specifier: 0.0.66 version: 0.0.66 playwright: specifier: 1.58.2 @@ -104,6 +104,9 @@ importers: stylelint: specifier: 17.4.0 version: 17.4.0(typescript@5.9.3) + syncpack: + specifier: 14.3.0 + version: 14.3.0 apps/code-infra-dashboard: dependencies: @@ -174,7 +177,7 @@ importers: specifier: ^3.20.0 version: 3.20.0(@types/node@22.19.0) next: - specifier: ^16.1.6 + specifier: 16.1.7 version: 16.1.7(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) pako: specifier: ^2.1.0 @@ -272,7 +275,7 @@ importers: docs: dependencies: '@base-ui/react': - specifier: 1.3.0 + specifier: ^1.3.0 version: 1.3.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) '@mdx-js/loader': specifier: ^3.1.1 @@ -293,7 +296,7 @@ importers: specifier: ^0.577.0 version: 0.577.0(react@19.2.4) next: - specifier: ^16.1.6 + specifier: 16.1.7 version: 16.1.7(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) react: specifier: ^19.2.4 @@ -470,7 +473,7 @@ importers: packages/bundle-size-checker: dependencies: '@aws-sdk/client-s3': - specifier: ^3.1008.0 + specifier: ^3.1009.0 version: 3.1009.0 '@aws-sdk/credential-providers': specifier: ^3.1008.0 @@ -1021,7 +1024,7 @@ importers: specifier: 19.2.3 version: 19.2.3(@types/react@19.2.14) jsdom: - specifier: ^28.1.0 + specifier: 28.1.0 version: 28.1.0 publishDirectory: build @@ -1047,10 +1050,10 @@ importers: test/performance: dependencies: react: - specifier: 19.2.4 + specifier: ^19.2.4 version: 19.2.4 react-dom: - specifier: 19.2.4 + specifier: ^19.2.4 version: 19.2.4(react@19.2.4) devDependencies: '@mui/internal-benchmark': @@ -11948,6 +11951,51 @@ packages: symbol-tree@3.2.4: resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} + syncpack-darwin-arm64@14.3.0: + resolution: {integrity: sha512-gpbkBzO7yqa3BONc4EU3jY07yiPSZdoAxcpnz8REV9Bc6FkmKfOejCpYIh8RaogGPS4gOLJ/RUJEECqAaHTcjA==} + cpu: [arm64] + os: [darwin] + + syncpack-darwin-x64@14.3.0: + resolution: {integrity: sha512-wTpl6Qj5qGIHrYhpCrlNnosmhQqvUoidqqmxtdM3f+j+b+OkTtpkUl2tdE28h3aeEEUPf9ClQnHuwRJMYNlrJw==} + cpu: [x64] + os: [darwin] + + syncpack-linux-arm64-musl@14.3.0: + resolution: {integrity: sha512-AezJ5dv0s+l/p1l4/wBatYhM6SZEKLcyNKggSOX5uISzqbSKwj/Aak13pBXWarzS+N6LnOl4PMcwRMJPOUfN/g==} + cpu: [arm64] + os: [linux] + + syncpack-linux-arm64@14.3.0: + resolution: {integrity: sha512-Vcf9zWkJGRqb5mGPKi9E+s/mB/Tw08LmKGRaiyKJjK8bhd1Ds65O8A2lOidy3jg0NOOojqREmDsli74Xd0z6KA==} + cpu: [arm64] + os: [linux] + + syncpack-linux-x64-musl@14.3.0: + resolution: {integrity: sha512-tIRF0lvBJcoIwcO05/Q6j30CAg0jzn+A5eQL+06Ncq8CE5i8fBWrVwN1U/QQ4fzT+tondNWH/2BR5zlaB1VUpQ==} + cpu: [x64] + os: [linux] + + syncpack-linux-x64@14.3.0: + resolution: {integrity: sha512-n/4iBJnoOCe5An+WYlaqfSxOKQ7Id3TZTpxOpI60Cucq3yqwq0JHQUielj6JBtVaxvo2rAsTwbCLyp2aB0SD2g==} + cpu: [x64] + os: [linux] + + syncpack-windows-arm64@14.3.0: + resolution: {integrity: sha512-ZTX0rSUTJZjIde3qPKLEqU7IEt4KxFsmq6gKLfESx5rB1rxk/B1Ljv6nTYph5QVItEzHQHUXDWnqa9yCb15myw==} + cpu: [arm64] + os: [win32] + + syncpack-windows-x64@14.3.0: + resolution: {integrity: sha512-zvbphZw40wFZYeEW2oJYqA9Uw6IOwNIpgFmVNdWdGmShPF/Zu1cavHEcGwtQmvVzwuTEyiu67uxQ3hDC2q6vtg==} + cpu: [x64] + os: [win32] + + syncpack@14.3.0: + resolution: {integrity: sha512-8/WtPPxxGFqE21JPFz6Bpw0m9BT3lzMYDcewJFj++EBPmCaDWowTnx0R4V7ofH/1z3HAIaAps6g2GHL76l1Y2g==} + engines: {node: '>=14.17.0'} + hasBin: true + system-architecture@0.1.0: resolution: {integrity: sha512-ulAk51I9UVUyJgxlv9M6lFot2WP3e7t8Kz9+IS6D4rVba1tR9kON+Ey69f+1R4Q8cd45Lod6a4IcJIxnzGc/zA==} engines: {node: '>=18'} @@ -26100,6 +26148,41 @@ snapshots: symbol-tree@3.2.4: {} + syncpack-darwin-arm64@14.3.0: + optional: true + + syncpack-darwin-x64@14.3.0: + optional: true + + syncpack-linux-arm64-musl@14.3.0: + optional: true + + syncpack-linux-arm64@14.3.0: + optional: true + + syncpack-linux-x64-musl@14.3.0: + optional: true + + syncpack-linux-x64@14.3.0: + optional: true + + syncpack-windows-arm64@14.3.0: + optional: true + + syncpack-windows-x64@14.3.0: + optional: true + + syncpack@14.3.0: + optionalDependencies: + syncpack-darwin-arm64: 14.3.0 + syncpack-darwin-x64: 14.3.0 + syncpack-linux-arm64: 14.3.0 + syncpack-linux-arm64-musl: 14.3.0 + syncpack-linux-x64: 14.3.0 + syncpack-linux-x64-musl: 14.3.0 + syncpack-windows-arm64: 14.3.0 + syncpack-windows-x64: 14.3.0 + system-architecture@0.1.0: {} tabbable@6.4.0: {} diff --git a/test/performance/package.json b/test/performance/package.json index 1c685fcbd..47475be60 100644 --- a/test/performance/package.json +++ b/test/performance/package.json @@ -5,8 +5,8 @@ "benchmark": "vitest run" }, "dependencies": { - "react": "19.2.4", - "react-dom": "19.2.4" + "react": "^19.2.4", + "react-dom": "^19.2.4" }, "devDependencies": { "@mui/internal-benchmark": "workspace:*",