From 1a8eb4deb4612dbde058f9da566816c71d76de00 Mon Sep 17 00:00:00 2001 From: "Yuichiro Tachibana (Tsuchiya)" Date: Fri, 2 Jun 2023 17:13:58 +0900 Subject: [PATCH] Run `pnpm i` with pnpm@8.6.0 to re-generate the lock file (#4393) --- .github/workflows/backend.yml | 2 +- .github/workflows/build-pr.yml | 2 +- .github/workflows/deploy-pypi.yml | 2 +- .github/workflows/publish-npm.yml | 2 +- .github/workflows/ui.yml | 4 +- CHANGELOG.md | 1 + CONTRIBUTING.md | 2 +- pnpm-lock.yaml | 164 +++--------------------------- 8 files changed, 20 insertions(+), 159 deletions(-) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 7b3c74d68a458..57b7a8799b99a 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -93,7 +93,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v2 with: - version: 7 + version: 8 - uses: actions/setup-node@v3 with: node-version: 18 diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 2f476d8461877..d5a027aaf12a6 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -17,7 +17,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v2 with: - version: 7 + version: 8 - uses: actions/setup-node@v3 with: node-version: 18 diff --git a/.github/workflows/deploy-pypi.yml b/.github/workflows/deploy-pypi.yml index 8925d54b75396..b6e9d0d65360e 100644 --- a/.github/workflows/deploy-pypi.yml +++ b/.github/workflows/deploy-pypi.yml @@ -35,7 +35,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v2 with: - version: 7 + version: 8 - name: Install build tool dependencies run: python -m pip install build - name: Build pypi package diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 92509b9438d43..adef4a69208da 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -18,7 +18,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v2 with: - version: 7 + version: 8 - name: setup node.js uses: actions/setup-node@v3 with: diff --git a/.github/workflows/ui.yml b/.github/workflows/ui.yml index ad178590232f0..9c89b1191df1d 100644 --- a/.github/workflows/ui.yml +++ b/.github/workflows/ui.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v3 - uses: pnpm/action-setup@v2 with: - version: 7 + version: 8 - uses: actions/setup-node@v3 with: node-version: 18 @@ -47,7 +47,7 @@ jobs: - uses: actions/checkout@v3 - uses: pnpm/action-setup@v2 with: - version: 7 + version: 8 - uses: actions/setup-node@v3 with: node-version: 18 diff --git a/CHANGELOG.md b/CHANGELOG.md index ec7942a0aba8b..5816704869b59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,6 +57,7 @@ No changes to highlight. ## Other Changes: - Performance optimization in the frontend's Blocks code by [@akx](https://github.com/akx) in [PR 4334](https://github.com/gradio-app/gradio/pull/4334) +- Upgrade the pnpm lock file format version from v6.0 to v6.1 by [@whitphx](https://github.com/whitphx) in [PR 4393](https://github.com/gradio-app/gradio/pull/4393) ## Breaking Changes: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bee556c504313..ef731ff029a4c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,7 +3,7 @@ Prerequisites: - [Python 3.7+](https://www.python.org/downloads/) -- [pnpm version 7.x](https://pnpm.io/7.x/installation) (optional for backend-only changes, but needed for any frontend changes) +- [pnpm 8.1+](https://pnpm.io/8.x/installation) (optional for backend-only changes, but needed for any frontend changes) More than 80 awesome developers have contributed to the `gradio` library, and we'd be thrilled if you would like be the next `gradio` contributor! Start by cloning this repo and installing Gradio locally: diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 50a3eee365357..2f9f4daa6178b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,4 +1,8 @@ -lockfileVersion: '6.0' +lockfileVersion: '6.1' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false importers: @@ -117,7 +121,7 @@ importers: version: 4.7.4 vite: specifier: ^4.2.1 - version: 4.2.1 + version: 4.2.1(@types/node@17.0.14) vitest: specifier: ^0.29.8 version: 0.29.8(happy-dom@9.20.3)(playwright@1.27.1) @@ -180,13 +184,13 @@ importers: version: 3.57.0 svelte-check: specifier: ^3.0.1 - version: 3.1.4(svelte@3.57.0) + version: 3.1.4(postcss@8.4.6)(svelte@3.57.0) typescript: specifier: ^5.0.0 version: 5.0.4 vite: specifier: ^4.3.0 - version: 4.3.5 + version: 4.3.5(@types/node@17.0.14) js/accordion: {} @@ -1685,7 +1689,7 @@ packages: svelte: 3.57.0 tiny-glob: 0.2.9 undici: 5.22.0 - vite: 4.3.5 + vite: 4.3.5(@types/node@17.0.14) transitivePeerDependencies: - supports-color dev: true @@ -1731,7 +1735,7 @@ packages: magic-string: 0.26.1 svelte: 3.57.0 svelte-hmr: 0.14.11(svelte@3.57.0) - vite: 4.2.1 + vite: 4.2.1(@types/node@17.0.14) transitivePeerDependencies: - supports-color dev: false @@ -1749,7 +1753,7 @@ packages: magic-string: 0.30.0 svelte: 3.57.0 svelte-hmr: 0.15.1(svelte@3.57.0) - vite: 4.3.5 + vite: 4.3.5(@types/node@17.0.14) vitefu: 0.2.4(vite@4.3.5) transitivePeerDependencies: - supports-color @@ -4659,7 +4663,6 @@ packages: resolution: {integrity: sha512-fmsZYa9lpn69Ad5eDn7FMcnnSR+8R34W9qJEijxYhTbfOWzr22n1QxCMzXLK+ODyW2973V3Fux959iQoUxzUIA==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - dev: false /nanoid@3.3.4: resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} @@ -5213,7 +5216,6 @@ packages: nanoid: 3.2.0 picocolors: 1.0.0 source-map-js: 1.0.2 - dev: false /preferred-pm@3.0.3: resolution: {integrity: sha512-+wZgbxNES/KlJs9q40F/1sfOd/j7f1O9JaHcW5Dsn3aUUOZg3L2bjpVUcKV2jvtElYfoTuQiNeMfQJ4kwUAhCQ==} @@ -5980,34 +5982,6 @@ packages: - sass - stylus - sugarss - dev: false - - /svelte-check@3.1.4(svelte@3.57.0): - resolution: {integrity: sha512-25Lb46ZS4IK/XpBMe4IBMrtYf23V8alqBX+szXoccb7uM0D2Wqq5rMRzYBONZnFVuU1bQG3R50lyIT5eRewv2g==} - hasBin: true - peerDependencies: - svelte: ^3.55.0 - dependencies: - '@jridgewell/trace-mapping': 0.3.17 - chokidar: 3.5.3 - fast-glob: 3.2.11 - import-fresh: 3.3.0 - picocolors: 1.0.0 - sade: 1.8.1 - svelte: 3.57.0 - svelte-preprocess: 5.0.3(svelte@3.57.0)(typescript@4.9.5) - typescript: 4.9.5 - transitivePeerDependencies: - - '@babel/core' - - coffeescript - - less - - postcss - - postcss-load-config - - pug - - sass - - stylus - - sugarss - dev: true /svelte-hmr@0.14.11(svelte@3.49.0): resolution: {integrity: sha512-R9CVfX6DXxW1Kn45Jtmx+yUe+sPhrbYSUp7TkzbW0jI5fVPn6lsNG9NEs5dFg5qRhFNAoVdRw5qQDLALNKhwbQ==} @@ -6252,54 +6226,6 @@ packages: strip-indent: 3.0.0 svelte: 3.57.0 typescript: 4.9.5 - dev: false - - /svelte-preprocess@5.0.3(svelte@3.57.0)(typescript@4.9.5): - resolution: {integrity: sha512-GrHF1rusdJVbOZOwgPWtpqmaexkydznKzy5qIC2FabgpFyKN57bjMUUUqPRfbBXK5igiEWn1uO/DXsa2vJ5VHA==} - engines: {node: '>= 14.10.0'} - requiresBuild: true - peerDependencies: - '@babel/core': ^7.10.2 - coffeescript: ^2.5.1 - less: ^3.11.3 || ^4.0.0 - postcss: ^7 || ^8 - postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0 - pug: ^3.0.0 - sass: ^1.26.8 - stylus: ^0.55.0 - sugarss: ^2.0.0 || ^3.0.0 || ^4.0.0 - svelte: ^3.23.0 - typescript: '>=3.9.5 || ^4.0.0 || ^5.0.0' - peerDependenciesMeta: - '@babel/core': - optional: true - coffeescript: - optional: true - less: - optional: true - postcss: - optional: true - postcss-load-config: - optional: true - pug: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - typescript: - optional: true - dependencies: - '@types/pug': 2.0.6 - detect-indent: 6.1.0 - magic-string: 0.27.0 - sorcery: 0.11.0 - strip-indent: 3.0.0 - svelte: 3.57.0 - typescript: 4.9.5 - dev: true /svelte-range-slider-pips@2.0.2: resolution: {integrity: sha512-VTWHOdwDyWbndGZnI0PQJY9DO7hgQlNubtCcCL6Wlypv5dU4vEsc4A1sX9TWMuvebEe4332SgsQQHzOdZ+guhQ==} @@ -7052,39 +6978,6 @@ packages: fsevents: 2.3.2 dev: true - /vite@4.2.1: - resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==} - engines: {node: ^14.18.0 || >=16.0.0} - hasBin: true - peerDependencies: - '@types/node': '>= 14' - less: '*' - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - dependencies: - esbuild: 0.17.14 - postcss: 8.4.21 - resolve: 1.22.1 - rollup: 3.20.2 - optionalDependencies: - fsevents: 2.3.2 - dev: false - /vite@4.2.1(@types/node@17.0.14): resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==} engines: {node: ^14.18.0 || >=16.0.0} @@ -7119,38 +7012,6 @@ packages: fsevents: 2.3.2 dev: false - /vite@4.3.5: - resolution: {integrity: sha512-0gEnL9wiRFxgz40o/i/eTBwm+NEbpUeTWhzKrZDSdKm6nplj+z4lKz8ANDgildxHm47Vg8EUia0aicKbawUVVA==} - engines: {node: ^14.18.0 || >=16.0.0} - hasBin: true - peerDependencies: - '@types/node': '>= 14' - less: '*' - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - dependencies: - esbuild: 0.17.14 - postcss: 8.4.23 - rollup: 3.21.6 - optionalDependencies: - fsevents: 2.3.2 - dev: true - /vite@4.3.5(@types/node@17.0.14): resolution: {integrity: sha512-0gEnL9wiRFxgz40o/i/eTBwm+NEbpUeTWhzKrZDSdKm6nplj+z4lKz8ANDgildxHm47Vg8EUia0aicKbawUVVA==} engines: {node: ^14.18.0 || >=16.0.0} @@ -7182,7 +7043,6 @@ packages: rollup: 3.21.6 optionalDependencies: fsevents: 2.3.2 - dev: false /vitefu@0.2.4(vite@4.3.5): resolution: {integrity: sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==} @@ -7192,7 +7052,7 @@ packages: vite: optional: true dependencies: - vite: 4.3.5 + vite: 4.3.5(@types/node@17.0.14) dev: true /vitest@0.29.8(happy-dom@9.20.3)(playwright@1.27.1):