From 8c99d26e3f79f1e8369d79b8a7716737e7533e9d Mon Sep 17 00:00:00 2001 From: ShareVB Date: Mon, 11 Nov 2024 18:54:47 +0100 Subject: [PATCH] fix: make vite copy tree sitter --- package.json | 1 + pnpm-lock.yaml | 38 +++++++++++++++++++++++++++----------- 2 files changed, 28 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index f5327b2d..f560b5e2 100644 --- a/package.json +++ b/package.json @@ -134,6 +134,7 @@ "unplugin-vue-components": "^0.25.0", "vite": "^4.4.9", "vite-plugin-pwa": "^0.16.0", + "vite-plugin-static-copy": "^2.1.0", "vite-plugin-top-level-await": "^1.4.2", "vite-plugin-vue-markdown": "^0.23.5", "vite-svg-loader": "^4.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0b5be5ff..06250018 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -298,6 +298,9 @@ devDependencies: vite-plugin-pwa: specifier: ^0.16.0 version: 0.16.0(vite@4.4.9)(workbox-build@7.0.0)(workbox-window@7.0.0) + vite-plugin-static-copy: + specifier: ^2.1.0 + version: 2.1.0(vite@4.4.9) vite-plugin-top-level-await: specifier: ^1.4.2 version: 1.4.2(rollup@2.79.1)(vite@4.4.9) @@ -3497,7 +3500,7 @@ packages: dependencies: '@unhead/dom': 0.5.1 '@unhead/schema': 0.5.1 - '@vueuse/shared': 10.11.0(vue@3.3.4) + '@vueuse/shared': 11.2.0(vue@3.3.4) unhead: 0.5.1 vue: 3.3.4 transitivePeerDependencies: @@ -4130,19 +4133,19 @@ packages: - vue dev: false - /@vueuse/shared@10.11.0(vue@3.3.4): - resolution: {integrity: sha512-fyNoIXEq3PfX1L3NkNhtVQUSRtqYwJtJg+Bp9rIzculIZWHTkKSysujrOk2J+NrRulLTQH9+3gGSfYLWSEWU1A==} + /@vueuse/shared@10.3.0(vue@3.3.4): + resolution: {integrity: sha512-kGqCTEuFPMK4+fNWy6dUOiYmxGcUbtznMwBZLC1PubidF4VZY05B+Oht7Jh7/6x4VOWGpvu3R37WHi81cKpiqg==} dependencies: - vue-demi: 0.14.8(vue@3.3.4) + vue-demi: 0.14.5(vue@3.3.4) transitivePeerDependencies: - '@vue/composition-api' - vue dev: false - /@vueuse/shared@10.3.0(vue@3.3.4): - resolution: {integrity: sha512-kGqCTEuFPMK4+fNWy6dUOiYmxGcUbtznMwBZLC1PubidF4VZY05B+Oht7Jh7/6x4VOWGpvu3R37WHi81cKpiqg==} + /@vueuse/shared@11.2.0(vue@3.3.4): + resolution: {integrity: sha512-VxFjie0EanOudYSgMErxXfq6fo8vhr5ICI+BuE3I9FnX7ePllEsVrRQ7O6Q1TLgApeLuPKcHQxAXpP+KnlrJsg==} dependencies: - vue-demi: 0.14.5(vue@3.3.4) + vue-demi: 0.14.10(vue@3.3.4) transitivePeerDependencies: - '@vue/composition-api' - vue @@ -9195,6 +9198,19 @@ packages: - supports-color dev: true + /vite-plugin-static-copy@2.1.0(vite@4.4.9): + resolution: {integrity: sha512-n8lEOIVM00Y/zronm0RG8RdPyFd0SAAFR0sii3NWmgG3PSCyYMsvUNRQTlb3onp1XeMrKIDwCrPGxthKvqX9OQ==} + engines: {node: ^18.0.0 || >=20.0.0} + peerDependencies: + vite: ^5.0.0 + dependencies: + chokidar: 3.5.3 + fast-glob: 3.3.1 + fs-extra: 11.1.1 + picocolors: 1.0.0 + vite: 4.4.9(@types/node@18.15.11)(less@4.1.3) + dev: true + /vite-plugin-top-level-await@1.4.2(rollup@2.79.1)(vite@4.4.9): resolution: {integrity: sha512-Lz9ZGlDEqLpIJ/NU3toXSUrjmovlJf9qV/LNNa5RB2NYbN3SptfnZEz91//uqahhZtFzL5lKREPwv3YJmlnybg==} peerDependencies: @@ -9360,8 +9376,8 @@ packages: vue: 3.3.4 dev: false - /vue-demi@0.14.5(vue@3.3.4): - resolution: {integrity: sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==} + /vue-demi@0.14.10(vue@3.3.4): + resolution: {integrity: sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==} engines: {node: '>=12'} hasBin: true requiresBuild: true @@ -9375,8 +9391,8 @@ packages: vue: 3.3.4 dev: false - /vue-demi@0.14.8(vue@3.3.4): - resolution: {integrity: sha512-Uuqnk9YE9SsWeReYqK2alDI5YzciATE0r2SkA6iMAtuXvNTMNACJLJEXNXaEy94ECuBe4Sk6RzRU80kjdbIo1Q==} + /vue-demi@0.14.5(vue@3.3.4): + resolution: {integrity: sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==} engines: {node: '>=12'} hasBin: true requiresBuild: true