diff --git a/js/app/package.json b/js/app/package.json index 57e3751d74..88ab2d7db2 100644 --- a/js/app/package.json +++ b/js/app/package.json @@ -2,6 +2,7 @@ "name": "@gradio/app", "version": "1.0.0", "private": true, + "type": "module", "scripts": { "dev": "vite --port 9876", "build:cdn": "vite build --mode production:cdn --emptyOutDir", diff --git a/package.json b/package.json index 9ef6fe4a9a..456d2d94de 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@changesets/cli": "^2.26.1", "@gradio/tootils": "workspace:^0.0.1", "@playwright/test": "^1.35.1", - "@sveltejs/vite-plugin-svelte": "^1.0.0-next.44", + "@sveltejs/vite-plugin-svelte": "^2.0.0", "@tailwindcss/forms": "^0.5.0", "@testing-library/dom": "^9.0.0", "@testing-library/jest-dom": "^5.16.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2dd003c1d7..1c22d11a9d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,4 +1,4 @@ -lockfileVersion: '6.0' +lockfileVersion: '6.1' settings: autoInstallPeers: true @@ -21,8 +21,8 @@ importers: specifier: ^1.35.1 version: 1.35.1 '@sveltejs/vite-plugin-svelte': - specifier: ^1.0.0-next.44 - version: 1.0.0-next.44(svelte@3.59.1)(vite@4.3.9) + specifier: ^2.0.0 + version: 2.2.0(svelte@3.59.1)(vite@4.3.9) '@tailwindcss/forms': specifier: ^0.5.0 version: 0.5.0(tailwindcss@3.1.6) @@ -1813,6 +1813,7 @@ packages: dependencies: estree-walker: 2.0.2 picomatch: 2.3.1 + dev: true /@rollup/pluginutils@5.0.2: resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==} @@ -1920,29 +1921,6 @@ packages: - supports-color dev: true - /@sveltejs/vite-plugin-svelte@1.0.0-next.44(svelte@3.59.1)(vite@4.3.9): - resolution: {integrity: sha512-n+sssEWbzykPS447FmnNyU5GxEhrBPDVd0lxNZnxRGz9P6651LjjwAnISKr3CKgT9v8IybP8VD0n2i5XzbqExg==} - engines: {node: ^14.13.1 || >= 16} - peerDependencies: - diff-match-patch: ^1.0.5 - svelte: ^3.44.0 - vite: ^2.9.0 - peerDependenciesMeta: - diff-match-patch: - optional: true - dependencies: - '@rollup/pluginutils': 4.2.1 - debug: 4.3.4 - deepmerge: 4.2.2 - kleur: 4.1.4 - magic-string: 0.26.1 - svelte: 3.59.1 - svelte-hmr: 0.14.11(svelte@3.59.1) - vite: 4.3.9(@types/node@17.0.14) - transitivePeerDependencies: - - supports-color - dev: false - /@sveltejs/vite-plugin-svelte@2.2.0(svelte@3.57.0)(vite@4.3.5): resolution: {integrity: sha512-KDtdva+FZrZlyug15KlbXuubntAPKcBau0K7QhAIqC5SAy0uDbjZwoexDRx0L0J2T4niEfC6FnA9GuQQJKg+Aw==} engines: {node: ^14.18.0 || >= 16} @@ -1962,6 +1940,25 @@ packages: - supports-color dev: true + /@sveltejs/vite-plugin-svelte@2.2.0(svelte@3.59.1)(vite@4.3.9): + resolution: {integrity: sha512-KDtdva+FZrZlyug15KlbXuubntAPKcBau0K7QhAIqC5SAy0uDbjZwoexDRx0L0J2T4niEfC6FnA9GuQQJKg+Aw==} + engines: {node: ^14.18.0 || >= 16} + peerDependencies: + svelte: ^3.54.0 + vite: ^4.0.0 + dependencies: + debug: 4.3.4 + deepmerge: 4.3.1 + kleur: 4.1.5 + magic-string: 0.30.0 + svelte: 3.59.1 + svelte-hmr: 0.15.1(svelte@3.59.1) + vite: 4.3.9(@types/node@17.0.14) + vitefu: 0.2.4(vite@4.3.9) + transitivePeerDependencies: + - supports-color + dev: false + /@tailwindcss/forms@0.5.0(tailwindcss@3.1.6): resolution: {integrity: sha512-KzWugryEBFkmoaYcBE18rs6gthWCFHHO7cAZm2/hv3hwD67AzwP7udSCa22E7R1+CEJL/FfhYsJWrc0b1aeSzw==} peerDependencies: @@ -3167,7 +3164,6 @@ packages: /deepmerge@4.3.1: resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} engines: {node: '>=0.10.0'} - dev: true /defaults@1.0.4: resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} @@ -4682,6 +4678,7 @@ packages: engines: {node: '>=12'} dependencies: sourcemap-codec: 1.4.8 + dev: true /magic-string@0.27.0: resolution: {integrity: sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==} @@ -5971,6 +5968,7 @@ packages: /sourcemap-codec@1.4.8: resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} deprecated: Please use @jridgewell/sourcemap-codec instead + dev: true /spawndamnit@2.0.0: resolution: {integrity: sha512-j4JKEcncSjFlqIwU5L/rp2N5SIPsdxaRsIv678+TZxZ0SRDJTm8JrxJMjE/XuiEZNEir3S8l0Fa3Ke339WI4qA==} @@ -6257,15 +6255,6 @@ packages: svelte: 3.49.0 dev: true - /svelte-hmr@0.14.11(svelte@3.59.1): - resolution: {integrity: sha512-R9CVfX6DXxW1Kn45Jtmx+yUe+sPhrbYSUp7TkzbW0jI5fVPn6lsNG9NEs5dFg5qRhFNAoVdRw5qQDLALNKhwbQ==} - engines: {node: ^12.20 || ^14.13.1 || >= 16} - peerDependencies: - svelte: '>=3.19.0' - dependencies: - svelte: 3.59.1 - dev: false - /svelte-hmr@0.15.1(svelte@3.57.0): resolution: {integrity: sha512-BiKB4RZ8YSwRKCNVdNxK/GfY+r4Kjgp9jCLEy0DuqAKfmQtpL38cQK3afdpjw4sqSs4PLi3jIPJIFp259NkZtA==} engines: {node: ^12.20 || ^14.13.1 || >= 16} @@ -6275,6 +6264,15 @@ packages: svelte: 3.57.0 dev: true + /svelte-hmr@0.15.1(svelte@3.59.1): + resolution: {integrity: sha512-BiKB4RZ8YSwRKCNVdNxK/GfY+r4Kjgp9jCLEy0DuqAKfmQtpL38cQK3afdpjw4sqSs4PLi3jIPJIFp259NkZtA==} + engines: {node: ^12.20 || ^14.13.1 || >= 16} + peerDependencies: + svelte: '>=3.19.0' + dependencies: + svelte: 3.59.1 + dev: false + /svelte-i18n@3.6.0(svelte@3.59.1): resolution: {integrity: sha512-qvvcMqHVCXJ5pHoQR5uGzWAW5vS3qB9mBq+W6veLZ6jkrzZGOziR+wyOUJsc59BupMh+Ae30qjOndFrRU6v5jA==} engines: {node: '>= 16'} @@ -7320,6 +7318,17 @@ packages: vite: 4.3.5 dev: true + /vitefu@0.2.4(vite@4.3.9): + resolution: {integrity: sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==} + peerDependencies: + vite: ^3.0.0 || ^4.0.0 + peerDependenciesMeta: + vite: + optional: true + dependencies: + vite: 4.3.9(@types/node@17.0.14) + dev: false + /vitest@0.32.0(happy-dom@9.20.3)(playwright@1.35.1): resolution: {integrity: sha512-SW83o629gCqnV3BqBnTxhB10DAwzwEx3z+rqYZESehUB+eWsJxwcBQx7CKy0otuGMJTYh7qCVuUX23HkftGl/Q==} engines: {node: '>=v14.18.0'} diff --git a/renovate.json b/renovate.json index 8c9f1285a2..3a015a94d1 100644 --- a/renovate.json +++ b/renovate.json @@ -7,5 +7,10 @@ "group:allNonMajor", ":semanticCommitTypeAll(chore)" ], - "ignorePaths": ["**/demo/**", "**/requirements.txt", "**/Dockerfile"] + "ignorePaths": [ + "**/demo/**", + "**/requirements.txt", + "**/Dockerfile", + "**/website/**" + ] }