From 4089abfaa625c2724cb6dcd72caae544391bf0c2 Mon Sep 17 00:00:00 2001 From: f-elix Date: Thu, 9 Jan 2025 15:02:29 -0500 Subject: [PATCH] Adjust deps --- .../components/sprite-animation/package.json | 7 +- .../sprite-animation/svelte.config.js | 4 +- pnpm-lock.yaml | 143 ++++++++++-------- 3 files changed, 82 insertions(+), 72 deletions(-) diff --git a/packages/components/sprite-animation/package.json b/packages/components/sprite-animation/package.json index e879aac7..650705f1 100644 --- a/packages/components/sprite-animation/package.json +++ b/packages/components/sprite-animation/package.json @@ -28,18 +28,17 @@ } }, "peerDependencies": { - "motion": "10.x", + "motion": "11.x", "svelte": "5.x" }, "dependencies": { "@288-toolkit/device": "workspace:^", "@288-toolkit/types": "workspace:^", - "esm-env": "1.0.0" + "esm-env": "1.2.2" }, "devDependencies": { "@288-toolkit/vite-plugin-svelte-inline-component": "workspace:^", "@testing-library/jest-dom": "^6.6.3", - "@testing-library/svelte": "^5.1.0", - "svelte-preprocess": "^6.0.0" + "@testing-library/svelte": "^5.2.6" } } diff --git a/packages/components/sprite-animation/svelte.config.js b/packages/components/sprite-animation/svelte.config.js index 5b4b8256..6d1ca31a 100644 --- a/packages/components/sprite-animation/svelte.config.js +++ b/packages/components/sprite-animation/svelte.config.js @@ -1,9 +1,9 @@ -import preprocess from 'svelte-preprocess'; +import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; /** @type {import('@sveltejs/kit').Config} */ export default { compilerOptions: { accessors: !!process.env.VITEST }, - preprocess: [preprocess()] + preprocess: [vitePreprocess()] }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ebfcad7b..effbd183 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -299,11 +299,11 @@ importers: specifier: workspace:^ version: link:../../types esm-env: - specifier: 1.0.0 - version: 1.0.0 + specifier: 1.2.2 + version: 1.2.2 motion: - specifier: 10.x - version: 10.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 11.x + version: 11.16.4(@emotion/is-prop-valid@0.8.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) svelte: specifier: 5.x version: 5.17.2 @@ -315,11 +315,8 @@ importers: specifier: ^6.6.3 version: 6.6.3 '@testing-library/svelte': - specifier: ^5.1.0 - version: 5.1.0(svelte@5.17.2)(vite@5.2.11(@types/node@20.12.7))(vitest@2.1.6(@types/node@20.12.7)(jsdom@24.0.0)) - svelte-preprocess: - specifier: ^6.0.0 - version: 6.0.3(postcss-load-config@3.1.4(postcss@8.4.49))(postcss@8.4.49)(svelte@5.17.2)(typescript@5.4.5) + specifier: ^5.2.6 + version: 5.2.6(svelte@5.17.2)(vite@5.2.11(@types/node@20.12.7))(vitest@2.1.6(@types/node@20.12.7)(jsdom@24.0.0)) packages/components/video-embed: dependencies: @@ -1984,6 +1981,20 @@ packages: fraction.js@4.3.7: resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==} + framer-motion@11.16.4: + resolution: {integrity: sha512-7ncPlBjrYX6iQXcTSw1kvZcHSVjEuOAW3uWuu+/+chUS4UWBMe8kCjniE4VMc2/BMo0su0Uw9sw0aWS9anpPWA==} + peerDependencies: + '@emotion/is-prop-valid': '*' + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + '@emotion/is-prop-valid': + optional: true + react: + optional: true + react-dom: + optional: true + framer-motion@4.1.17: resolution: {integrity: sha512-thx1wvKzblzbs0XaK2X0G1JuwIdARcoNOW7VVwjO8BUltzXPyONGAElLu6CiCScsOQRI7FIk/45YTFtJw5Yozw==} peerDependencies: @@ -2517,6 +2528,12 @@ packages: resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} hasBin: true + motion-dom@11.16.4: + resolution: {integrity: sha512-2wuCie206pCiP2K23uvwJeci4pMFfyQKpWI0Vy6HrCTDzDCer4TsYtT7IVnuGbDeoIV37UuZiUr6SZMHEc1Vww==} + + motion-utils@11.16.0: + resolution: {integrity: sha512-ngdWPjg31rD4WGXFi0eZ00DQQqKKu04QExyv/ymlC+3k+WIgYVFbt6gS5JsFPbJODTF/r8XiE/X+SsoT9c0ocw==} + motion@10.0.0: resolution: {integrity: sha512-AZ9E5pgsagcywcS0mRlTFG8y+i9Ud5tO13RvIW0gyrJ7d39KhkbobxdidBeBAVeDmjKNM+lCNpotyGWJIyG6/A==} peerDependencies: @@ -2528,6 +2545,20 @@ packages: react-dom: optional: true + motion@11.16.4: + resolution: {integrity: sha512-Ut4Lv41Bh8QRmBM56zwVXZsRS/jUTVjS081xnHF7zCl2I24v5Kb5/FU5oogSfCCQY/T/BZnIhkIe5PH8BDZIAA==} + peerDependencies: + '@emotion/is-prop-valid': '*' + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + '@emotion/is-prop-valid': + optional: true + react: + optional: true + react-dom: + optional: true + mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} @@ -3230,43 +3261,6 @@ packages: typescript: optional: true - svelte-preprocess@6.0.3: - resolution: {integrity: sha512-PLG2k05qHdhmRG7zR/dyo5qKvakhm8IJ+hD2eFRQmMLHp7X3eJnjeupUtvuRpbNiF31RjVw45W+abDwHEmP5OA==} - engines: {node: '>= 18.0.0'} - peerDependencies: - '@babel/core': ^7.10.2 - coffeescript: ^2.5.1 - less: ^3.11.3 || ^4.0.0 - postcss: ^7 || ^8 - postcss-load-config: '>=3' - pug: ^3.0.0 - sass: ^1.26.8 - stylus: '>=0.55' - sugarss: ^2.0.0 || ^3.0.0 || ^4.0.0 - svelte: ^4.0.0 || ^5.0.0-next.100 || ^5.0.0 - typescript: ^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 - svelte2tsx@0.7.28: resolution: {integrity: sha512-TJjA+kU8AnkyoprZPgQACMfTX8N0MA5NsIL//h9IuHOxmmaCLluqhcZU+fCkWipi5c/pooHLFOMpqjhq4v7JLQ==} peerDependencies: @@ -4240,7 +4234,7 @@ snapshots: '@types/cookie': 0.6.0 cookie: 0.6.0 devalue: 5.1.1 - esm-env: 1.0.0 + esm-env: 1.2.2 import-meta-resolve: 4.1.0 kleur: 4.1.5 magic-string: 0.30.14 @@ -4258,7 +4252,7 @@ snapshots: '@types/cookie': 0.6.0 cookie: 0.6.0 devalue: 5.1.1 - esm-env: 1.0.0 + esm-env: 1.2.2 import-meta-resolve: 4.1.0 kleur: 4.1.5 magic-string: 0.30.14 @@ -4294,7 +4288,7 @@ snapshots: '@types/cookie': 0.6.0 cookie: 0.6.0 devalue: 5.1.1 - esm-env: 1.0.0 + esm-env: 1.2.2 import-meta-resolve: 4.1.0 kleur: 4.1.5 magic-string: 0.30.14 @@ -4441,14 +4435,6 @@ snapshots: lodash: 4.17.21 redent: 3.0.0 - '@testing-library/svelte@5.1.0(svelte@5.17.2)(vite@5.2.11(@types/node@20.12.7))(vitest@2.1.6(@types/node@20.12.7)(jsdom@24.0.0))': - dependencies: - '@testing-library/dom': 9.3.4 - svelte: 5.17.2 - optionalDependencies: - vite: 5.2.11(@types/node@20.12.7) - vitest: 2.1.6(@types/node@20.12.7)(jsdom@24.0.0) - '@testing-library/svelte@5.1.0(svelte@5.17.2)(vite@5.2.11(@types/node@20.12.7))(vitest@packages+components+video-embed+@testing-library+jest-dom+vitest)': dependencies: '@testing-library/dom': 9.3.4 @@ -4465,6 +4451,14 @@ snapshots: vite: 5.2.11(@types/node@20.12.7) vitest: 2.1.6(@types/node@20.12.7)(jsdom@24.0.0) + '@testing-library/svelte@5.2.6(svelte@5.17.2)(vite@5.2.11(@types/node@20.12.7))(vitest@2.1.6(@types/node@20.12.7)(jsdom@24.0.0))': + dependencies: + '@testing-library/dom': 10.4.0 + svelte: 5.17.2 + optionalDependencies: + vite: 5.2.11(@types/node@20.12.7) + vitest: 2.1.6(@types/node@20.12.7)(jsdom@24.0.0) + '@types/argparse@1.0.38': {} '@types/aria-query@5.0.4': {} @@ -5547,6 +5541,16 @@ snapshots: fraction.js@4.3.7: {} + framer-motion@11.16.4(@emotion/is-prop-valid@0.8.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + dependencies: + motion-dom: 11.16.4 + motion-utils: 11.16.0 + tslib: 2.6.2 + optionalDependencies: + '@emotion/is-prop-valid': 0.8.8 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + framer-motion@4.1.17(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: framesync: 5.3.0 @@ -6072,6 +6076,12 @@ snapshots: dependencies: minimist: 1.2.8 + motion-dom@11.16.4: + dependencies: + motion-utils: 11.16.0 + + motion-utils@11.16.0: {} + motion@10.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: framer-motion: 4.1.17(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -6082,6 +6092,15 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) + motion@11.16.4(@emotion/is-prop-valid@0.8.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + dependencies: + framer-motion: 11.16.4(@emotion/is-prop-valid@0.8.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + tslib: 2.6.2 + optionalDependencies: + '@emotion/is-prop-valid': 0.8.8 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + mri@1.2.0: {} mrmime@2.0.0: {} @@ -6453,7 +6472,7 @@ snapshots: runed@0.23.0(svelte@5.17.2): dependencies: - esm-env: 1.0.0 + esm-env: 1.2.2 svelte: 5.17.2 sade@1.8.1: @@ -6780,14 +6799,6 @@ snapshots: postcss-load-config: 3.1.4(postcss@8.4.49) typescript: 5.4.5 - svelte-preprocess@6.0.3(postcss-load-config@3.1.4(postcss@8.4.49))(postcss@8.4.49)(svelte@5.17.2)(typescript@5.4.5): - dependencies: - svelte: 5.17.2 - optionalDependencies: - postcss: 8.4.49 - postcss-load-config: 3.1.4(postcss@8.4.49) - typescript: 5.4.5 - svelte2tsx@0.7.28(svelte@5.17.2)(typescript@5.4.5): dependencies: dedent-js: 1.0.1