diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 163960165d9b..e96c999fcd35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v4 with: - version: 9.12.3 + version: 10.11.0 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 6214494aba89..2cb6400f8c37 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -17,7 +17,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v4 with: - version: 9.12.3 + version: 10.11.0 - name: Use Node.js 22 uses: actions/setup-node@v4 @@ -41,7 +41,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v4 with: - version: 9.12.3 + version: 10.11.0 - name: Use Node.js 22 uses: actions/setup-node@v4 @@ -65,7 +65,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v4 with: - version: 9.12.3 + version: 10.11.0 - name: Use Node.js 22 uses: actions/setup-node@v4 diff --git a/.github/workflows/release-snapshot.yml b/.github/workflows/release-snapshot.yml index e58a9e0bfd8f..97e198e40651 100644 --- a/.github/workflows/release-snapshot.yml +++ b/.github/workflows/release-snapshot.yml @@ -45,7 +45,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v4 with: - version: 9.12.3 + version: 10.11.0 - name: Setup Node.js 22 uses: actions/setup-node@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e86f79a4bc9..502263e20ebd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v4 with: - version: 9.12.3 + version: 10.11.0 - name: Setup Node.js 22 uses: actions/setup-node@v4 diff --git a/.npmrc b/.npmrc index 2a53e07c0db1..13562b7874fa 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,4 @@ auto-install-peers = true -link-workspace-packages = true \ No newline at end of file +link-workspace-packages = true +public-hoist-pattern[]=*eslint* +public-hoist-pattern[]=*prettier* \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6ed072f3e44e..1f0dc9fcc63f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -41,7 +41,7 @@ To set up the repository on your local machine, follow these steps: 1. **Fork the Repository**: Make a copy of the repository to your GitHub account. 2. **Clone the Repository**: Clone the repository to your local machine, e.g. using `git clone`. 3. **Install Node**: If you haven't already, install Node v20. -4. **Install pnpm**: If you haven't already, install pnpm v9. You can do this by running `npm install -g pnpm@9` if you're using npm. Alternatively, if you're using Homebrew (Mac), you can run `brew install pnpm`. For more see [the pnpm site](https://pnpm.io/installation). +4. **Install pnpm**: If you haven't already, install pnpm v10. You can do this by running `npm install -g pnpm@10` if you're using npm. Alternatively, if you're using Homebrew (Mac), you can run `brew install pnpm`. For more see [the pnpm site](https://pnpm.io/installation). 5. **Install Dependencies**: Navigate to the project directory and run `pnpm install` to install all necessary dependencies. 6. **Build the Project**: Run `pnpm build` in the root to build all packages. diff --git a/examples/nest/package.json b/examples/nest/package.json index 3c9a40872436..f97c54c20fef 100644 --- a/examples/nest/package.json +++ b/examples/nest/package.json @@ -34,7 +34,7 @@ "@typescript-eslint/eslint-plugin": "^8.0.0", "@typescript-eslint/parser": "^8.0.0", "eslint": "8.57.1", - "eslint-config-prettier": "^9.1.0", + "eslint-config-prettier": "^10.0.1", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.5.0", "prettier": "^3.0.0", diff --git a/package.json b/package.json index 4af3945a2a93..a8184d13eb1a 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "keywords": [ "ai" ], - "packageManager": "pnpm@9.12.3", + "packageManager": "pnpm@10.11.0", "prettier": { "tabWidth": 2, "useTabs": false, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2f9903687d46..57e1b5d4fa6a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -366,11 +366,11 @@ importers: specifier: 8.57.1 version: 8.57.1 eslint-config-prettier: - specifier: ^9.1.0 - version: 9.1.0(eslint@8.57.1) + specifier: ^10.0.1 + version: 10.0.2(eslint@8.57.1) eslint-plugin-prettier: specifier: ^5.0.0 - version: 5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@8.57.1))(eslint@8.57.1)(prettier@3.3.3) + version: 5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@10.0.2(eslint@8.57.1))(eslint@8.57.1)(prettier@3.3.3) jest: specifier: ^29.5.0 version: 29.7.0(@types/node@20.17.24)(ts-node@10.9.2(@types/node@20.17.24)(typescript@5.5.4)) @@ -2374,8 +2374,8 @@ importers: specifier: ^14.2.3 version: 14.2.3(eslint@9.21.0(jiti@2.4.0))(typescript@5.6.3) eslint-config-prettier: - specifier: ^9.1.0 - version: 9.1.0(eslint@9.21.0(jiti@2.4.0)) + specifier: ^10.0.1 + version: 10.0.2(eslint@9.21.0(jiti@2.4.0)) eslint-config-turbo: specifier: ^2.3.0 version: 2.3.0(eslint@9.21.0(jiti@2.4.0)) @@ -9662,12 +9662,6 @@ packages: peerDependencies: eslint: '>=7.0.0' - eslint-config-prettier@9.1.0: - resolution: {integrity: sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==} - hasBin: true - peerDependencies: - eslint: '>=7.0.0' - eslint-config-turbo@2.3.0: resolution: {integrity: sha512-Nm9WZgNoUIJw4bpYQugGCDjzYy1TlUD4sQ/nGblL+HdNqJWCj5NqXbJ1k+TBfYedhr65dlGoAFPYUOfjUOmKVg==} peerDependencies: @@ -24142,15 +24136,11 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-config-prettier@10.0.2(eslint@9.21.0(jiti@2.4.0)): - dependencies: - eslint: 9.21.0(jiti@2.4.0) - - eslint-config-prettier@9.1.0(eslint@8.57.1): + eslint-config-prettier@10.0.2(eslint@8.57.1): dependencies: eslint: 8.57.1 - eslint-config-prettier@9.1.0(eslint@9.21.0(jiti@2.4.0)): + eslint-config-prettier@10.0.2(eslint@9.21.0(jiti@2.4.0)): dependencies: eslint: 9.21.0(jiti@2.4.0) @@ -24405,7 +24395,7 @@ snapshots: safe-regex-test: 1.0.3 string.prototype.includes: 2.0.0 - eslint-plugin-prettier@5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@8.57.1))(eslint@8.57.1)(prettier@3.3.3): + eslint-plugin-prettier@5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@10.0.2(eslint@8.57.1))(eslint@8.57.1)(prettier@3.3.3): dependencies: eslint: 8.57.1 prettier: 3.3.3 @@ -24413,7 +24403,7 @@ snapshots: synckit: 0.9.1 optionalDependencies: '@types/eslint': 9.6.1 - eslint-config-prettier: 9.1.0(eslint@8.57.1) + eslint-config-prettier: 10.0.2(eslint@8.57.1) eslint-plugin-react-hooks@4.6.2(eslint@8.57.1): dependencies: diff --git a/tools/eslint-config/package.json b/tools/eslint-config/package.json index 14a4b7a567ba..445fd9295a12 100644 --- a/tools/eslint-config/package.json +++ b/tools/eslint-config/package.json @@ -5,7 +5,7 @@ "main": "index.js", "dependencies": { "eslint-config-next": "^14.2.3", - "eslint-config-prettier": "^9.1.0", + "eslint-config-prettier": "^10.0.1", "eslint-config-turbo": "^2.3.0", "eslint-plugin-react": "7.34.1" },