From a94019ecef84b8c8978146b81aae915b84697362 Mon Sep 17 00:00:00 2001 From: Corban Riley Date: Fri, 3 May 2024 20:22:51 -0400 Subject: [PATCH] Removing vanilla-extract dependencies from packages --- babel.config.js | 3 +- package.json | 1 - packages/checkout/package.json | 4 - packages/kit/package.json | 2 - packages/wallet/package.json | 4 - pnpm-lock.yaml | 167 +-------------------------------- 6 files changed, 5 insertions(+), 176 deletions(-) diff --git a/babel.config.js b/babel.config.js index feca1c8a..324211c5 100644 --- a/babel.config.js +++ b/babel.config.js @@ -15,7 +15,6 @@ module.exports = { '@babel/preset-react' ], plugins: [ - ['@babel/plugin-transform-class-properties', { loose: true }], - ["@vanilla-extract/babel-plugin", {}] + ['@babel/plugin-transform-class-properties', { loose: true }] ] } diff --git a/package.json b/package.json index 359682d8..071d7020 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,6 @@ "@types/react-dom": "^18.2.25", "@typescript-eslint/eslint-plugin": "^7.7.1", "@typescript-eslint/parser": "^7.7.1", - "@vanilla-extract/babel-plugin": "^1.2.0", "eslint": "^8.27.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "^2.26.0", diff --git a/packages/checkout/package.json b/packages/checkout/package.json index b7217183..c0490db2 100644 --- a/packages/checkout/package.json +++ b/packages/checkout/package.json @@ -25,8 +25,6 @@ "peerDependencies": { "@0xsequence/design-system": ">=1.4.7", "@0xsequence/kit": "workspace:*", - "@vanilla-extract/css": ">=1.9.3", - "@vanilla-extract/recipes": ">=0.3.0", "ethers": ">=5.7.2", "framer-motion": ">=8.5.2", "react": ">=17", @@ -37,8 +35,6 @@ "@0xsequence/design-system": "^1.4.7", "@0xsequence/kit": "workspace:*", "@types/react-copy-to-clipboard": "^5.0.4", - "@vanilla-extract/css": "^1.14.2", - "@vanilla-extract/recipes": "^0.5.2", "babel-plugin-module-resolver": "^5.0.2", "ethers": "^5.7.2", "framer-motion": "^8.5.2", diff --git a/packages/kit/package.json b/packages/kit/package.json index fd50bc5c..24c0c998 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -30,8 +30,6 @@ "@0xsequence/network": "^1.9.26", "@0xsequence/provider": "^1.9.26", "@0xsequence/utils": "^1.9.26", - "@vanilla-extract/css": "^1.14.2", - "@vanilla-extract/recipes": "^0.5.2", "framer-motion": "^8.5.2" }, "peerDependencies": { diff --git a/packages/wallet/package.json b/packages/wallet/package.json index 99f3852e..697307ee 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -29,8 +29,6 @@ "peerDependencies": { "@0xsequence/design-system": ">=1.4.7", "@0xsequence/kit": "workspace:*", - "@vanilla-extract/css": ">=1.9.3", - "@vanilla-extract/recipes": ">=0.3.0", "ethers": ">=5.7.2", "framer-motion": ">=8.5.2", "react": ">=17", @@ -41,8 +39,6 @@ "@0xsequence/design-system": "^1.4.7", "@0xsequence/kit": "workspace:*", "@types/react-copy-to-clipboard": "^5.0.4", - "@vanilla-extract/css": "^1.14.2", - "@vanilla-extract/recipes": "^0.5.2", "babel-plugin-module-resolver": "^5.0.2", "ethers": "^5.7.2", "framer-motion": "^8.5.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 995ee244..59b835eb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -56,9 +56,6 @@ importers: '@typescript-eslint/parser': specifier: ^7.7.1 version: 7.8.0(eslint@8.57.0)(typescript@5.4.5) - '@vanilla-extract/babel-plugin': - specifier: ^1.2.0 - version: 1.2.0(babel-plugin-macros@3.1.0) eslint: specifier: ^8.27.0 version: 8.57.0 @@ -118,7 +115,7 @@ importers: version: 5.32.1(react@18.3.1) next: specifier: 14.2.3 - version: 14.2.3(@babel/core@7.24.5)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.2.3(@babel/core@7.24.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: ^18 version: 18.3.1 @@ -309,12 +306,6 @@ importers: '@types/react-copy-to-clipboard': specifier: ^5.0.4 version: 5.0.7 - '@vanilla-extract/css': - specifier: ^1.14.2 - version: 1.15.1(babel-plugin-macros@3.1.0) - '@vanilla-extract/recipes': - specifier: ^0.5.2 - version: 0.5.2(@vanilla-extract/css@1.15.1(babel-plugin-macros@3.1.0)) babel-plugin-module-resolver: specifier: ^5.0.2 version: 5.0.2 @@ -427,12 +418,6 @@ importers: '@react-oauth/google': specifier: '>=0.11.1' version: 0.11.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@vanilla-extract/css': - specifier: ^1.14.2 - version: 1.15.1(babel-plugin-macros@3.1.0) - '@vanilla-extract/recipes': - specifier: ^0.5.2 - version: 0.5.2(@vanilla-extract/css@1.15.1(babel-plugin-macros@3.1.0)) framer-motion: specifier: ^8.5.2 version: 8.5.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -510,12 +495,6 @@ importers: '@types/react-copy-to-clipboard': specifier: ^5.0.4 version: 5.0.7 - '@vanilla-extract/css': - specifier: ^1.14.2 - version: 1.15.1(babel-plugin-macros@3.1.0) - '@vanilla-extract/recipes': - specifier: ^0.5.2 - version: 0.5.2(@vanilla-extract/css@1.15.1(babel-plugin-macros@3.1.0)) babel-plugin-module-resolver: specifier: ^5.0.2 version: 5.0.2 @@ -3487,24 +3466,6 @@ packages: '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - '@vanilla-extract/babel-plugin@1.2.0': - resolution: {integrity: sha512-4R+hqoyzoyJIrE+NgrYxZuL6GqGH28hiBrPUOxwtvqnJJ5WnUl2/WzItLDDH9YT1Auwl3cIR7pcbrV6HIchORA==} - deprecated: The features of this plugin are now built-in to all vanilla-extract bundler integrations — making this plugin no longer required. For more information about test environment integrations, see https://vanilla-extract.style/documentation/test-environments/ - - '@vanilla-extract/css@1.15.1': - resolution: {integrity: sha512-puAfTKAUtsMr2+D+grQNjU5umsdw9zdVgQflUlbzS/tGORaAHdgaYz7jfKPmz1c4ZcpJ6uFNOiI50NDOAzzhyg==} - - '@vanilla-extract/integration@5.0.1': - resolution: {integrity: sha512-HRV/HvC/lihb9wT3x5s7pf5qLjqxSd9nBePJ10juOuMB5cl2ZClEcts076m9BuRKM3wRK2h7KuwkNsaUtjujxQ==} - - '@vanilla-extract/private@1.0.4': - resolution: {integrity: sha512-8FGD6AejeC/nXcblgNCM5rnZb9KXa4WNkR03HCWtdJBpANjTgjHEglNLFnhuvdQ78tC6afaxBPI+g7F2NX3tgg==} - - '@vanilla-extract/recipes@0.5.2': - resolution: {integrity: sha512-IcDw3tFOcSJ+DUxL8MIGbg03eyccYb6NBO/rcgp439PDuHxo5GIQefVeGc1L5mIr/lUVPwDc1N5OXTHiGpiz1A==} - peerDependencies: - '@vanilla-extract/css': ^1.0.0 - '@vitejs/plugin-react@4.2.1': resolution: {integrity: sha512-oojO9IDc4nCUUi8qIR11KoQm0XFFLIwsRBwHRR4d/88IWghn1y6ckz/bJ8GHDCsYEJee8mDzqtJxh15/cisJNQ==} engines: {node: ^14.18.0 || >=16.0.0} @@ -4179,15 +4140,6 @@ packages: crypto-browserify@3.12.0: resolution: {integrity: sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==} - css-what@6.1.0: - resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==} - engines: {node: '>= 6'} - - cssesc@3.0.0: - resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} - engines: {node: '>=4'} - hasBin: true - csstype@3.1.3: resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} @@ -4269,20 +4221,9 @@ packages: resolution: {integrity: sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==} engines: {node: '>=0.10'} - dedent@1.5.3: - resolution: {integrity: sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==} - peerDependencies: - babel-plugin-macros: ^3.1.0 - peerDependenciesMeta: - babel-plugin-macros: - optional: true - deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} - deep-object-diff@1.1.9: - resolution: {integrity: sha512-Rn+RuwkmkDwCi2/oXOFS9Gsr5lJZu/yTGpK7wAaAIE75CC+LCGEZHpY6VQJa/RoJcrmaA/docWJZvYohlNkWPA==} - deepmerge@4.3.1: resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} engines: {node: '>=0.10.0'} @@ -4472,10 +4413,6 @@ packages: resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} engines: {node: '>= 0.4'} - esbuild@0.11.23: - resolution: {integrity: sha512-iaiZZ9vUF5wJV8ob1tl+5aJTrwDczlvGP0JoMmnpC2B0ppiMCu8n8gmy5ZTGl5bcG081XBVn+U+jP+mPFm5T5Q==} - hasBin: true - esbuild@0.20.2: resolution: {integrity: sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==} engines: {node: '>=12'} @@ -4658,10 +4595,6 @@ packages: ethers@5.7.2: resolution: {integrity: sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==} - eval@0.1.6: - resolution: {integrity: sha512-o0XUw+5OGkXw4pJZzQoXUk+H87DHuC+7ZE//oSrRGtatTmr12oTnLfg6QOq9DyTt0c/p4TwzgmkKrBzWTSizyQ==} - engines: {node: '>= 0.8'} - event-target-shim@5.0.1: resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} engines: {node: '>=6'} @@ -5346,9 +5279,6 @@ packages: resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} engines: {node: '>=14'} - javascript-stringify@2.1.0: - resolution: {integrity: sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg==} - jest-environment-node@29.7.0: resolution: {integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -5561,9 +5491,6 @@ packages: lodash.throttle@4.1.1: resolution: {integrity: sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==} - lodash@4.17.21: - resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} - log-symbols@4.1.0: resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} engines: {node: '>=10'} @@ -5620,9 +5547,6 @@ packages: md5.js@1.3.5: resolution: {integrity: sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==} - media-query-parser@2.0.2: - resolution: {integrity: sha512-1N4qp+jE0pL5Xv4uEcwVUhIkwdUO3S/9gML90nqKA7v7FcOS5vUtatfzok9S9U1EJU8dHWlcv95WLnKmmxZI9w==} - memoize-one@5.2.1: resolution: {integrity: sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==} @@ -5805,9 +5729,6 @@ packages: mlly@1.7.0: resolution: {integrity: sha512-U9SDaXGEREBYQgfejV97coK0UL1r+qnF2SyO9A3qcI8MzKnsIFKHNVEkrDyNncQTKQQumsasmeq84eNMdBfsNQ==} - modern-ahocorasick@1.0.1: - resolution: {integrity: sha512-yoe+JbhTClckZ67b2itRtistFKf8yPYelHLc7e5xAwtNAXxM6wJTUx2C7QeVSJFDzKT7bCIFyBVybPMKvmB9AA==} - motion@10.16.2: resolution: {integrity: sha512-p+PurYqfUdcJZvtnmAqu5fJgV2kR0uLFQuBKtLeFVTrYEVllI99tiOTSefVNYuip9ELTEkepIIDftNdze76NAQ==} @@ -6055,9 +5976,6 @@ packages: outdent@0.5.0: resolution: {integrity: sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==} - outdent@0.8.0: - resolution: {integrity: sha512-KiOAIsdpUTcAXuykya5fnVVT+/5uS0Q1mrkRHcF89tpieSmY33O/tmc54CqwA+bfhbtEfZUNLHaPUiB9X3jt1A==} - p-filter@2.1.0: resolution: {integrity: sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==} engines: {node: '>=8'} @@ -6550,9 +6468,6 @@ packages: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} - require-like@0.1.2: - resolution: {integrity: sha512-oyrU88skkMtDdauHDuKVrgR+zuItqr6/c//FXzvmxRGMexSDc6hNvJInGW3LL46n+8b50RykrvwSUIIQH2LQ5A==} - require-main-filename@2.0.0: resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==} @@ -11901,49 +11816,6 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vanilla-extract/babel-plugin@1.2.0(babel-plugin-macros@3.1.0)': - dependencies: - '@babel/core': 7.24.5 - '@babel/template': 7.24.0 - '@vanilla-extract/integration': 5.0.1(babel-plugin-macros@3.1.0) - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - - '@vanilla-extract/css@1.15.1(babel-plugin-macros@3.1.0)': - dependencies: - '@emotion/hash': 0.9.1 - '@vanilla-extract/private': 1.0.4 - css-what: 6.1.0 - cssesc: 3.0.0 - csstype: 3.1.3 - dedent: 1.5.3(babel-plugin-macros@3.1.0) - deep-object-diff: 1.1.9 - deepmerge: 4.3.1 - media-query-parser: 2.0.2 - modern-ahocorasick: 1.0.1 - picocolors: 1.0.0 - transitivePeerDependencies: - - babel-plugin-macros - - '@vanilla-extract/integration@5.0.1(babel-plugin-macros@3.1.0)': - dependencies: - '@vanilla-extract/css': 1.15.1(babel-plugin-macros@3.1.0) - esbuild: 0.11.23 - eval: 0.1.6 - find-up: 5.0.0 - javascript-stringify: 2.1.0 - lodash: 4.17.21 - outdent: 0.8.0 - transitivePeerDependencies: - - babel-plugin-macros - - '@vanilla-extract/private@1.0.4': {} - - '@vanilla-extract/recipes@0.5.2(@vanilla-extract/css@1.15.1(babel-plugin-macros@3.1.0))': - dependencies: - '@vanilla-extract/css': 1.15.1(babel-plugin-macros@3.1.0) - '@vitejs/plugin-react@4.2.1(vite@5.2.10(@types/node@20.12.7)(terser@5.31.0))': dependencies: '@babel/core': 7.24.5 @@ -13029,10 +12901,6 @@ snapshots: randombytes: 2.1.0 randomfill: 1.0.4 - css-what@6.1.0: {} - - cssesc@3.0.0: {} - csstype@3.1.3: {} csv-generate@3.4.3: {} @@ -13099,14 +12967,8 @@ snapshots: decode-uri-component@0.2.2: {} - dedent@1.5.3(babel-plugin-macros@3.1.0): - optionalDependencies: - babel-plugin-macros: 3.1.0 - deep-is@0.1.4: {} - deep-object-diff@1.1.9: {} - deepmerge@4.3.1: {} defaults@1.0.4: @@ -13365,8 +13227,6 @@ snapshots: is-date-object: 1.0.5 is-symbol: 1.0.4 - esbuild@0.11.23: {} - esbuild@0.20.2: optionalDependencies: '@esbuild/aix-ppc64': 0.20.2 @@ -13702,10 +13562,6 @@ snapshots: - bufferutil - utf-8-validate - eval@0.1.6: - dependencies: - require-like: 0.1.2 - event-target-shim@5.0.1: {} eventemitter2@6.4.9: {} @@ -14400,8 +14256,6 @@ snapshots: optionalDependencies: '@pkgjs/parseargs': 0.11.0 - javascript-stringify@2.1.0: {} - jest-environment-node@29.7.0: dependencies: '@jest/environment': 29.7.0 @@ -14673,8 +14527,6 @@ snapshots: lodash.throttle@4.1.1: {} - lodash@4.17.21: {} - log-symbols@4.1.0: dependencies: chalk: 4.1.2 @@ -14738,10 +14590,6 @@ snapshots: inherits: 2.0.4 safe-buffer: 5.2.1 - media-query-parser@2.0.2: - dependencies: - '@babel/runtime': 7.24.5 - memoize-one@5.2.1: {} meow@6.1.1: @@ -15030,8 +14878,6 @@ snapshots: pkg-types: 1.1.0 ufo: 1.5.3 - modern-ahocorasick@1.0.1: {} - motion@10.16.2: dependencies: '@motionone/animation': 10.17.0 @@ -15059,7 +14905,7 @@ snapshots: neo-async@2.6.2: {} - next@14.2.3(@babel/core@7.24.5)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next@14.2.3(@babel/core@7.24.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@next/env': 14.2.3 '@swc/helpers': 0.5.5 @@ -15069,7 +14915,7 @@ snapshots: postcss: 8.4.31 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - styled-jsx: 5.1.1(@babel/core@7.24.5)(babel-plugin-macros@3.1.0)(react@18.3.1) + styled-jsx: 5.1.1(@babel/core@7.24.5)(react@18.3.1) optionalDependencies: '@next/swc-darwin-arm64': 14.2.3 '@next/swc-darwin-x64': 14.2.3 @@ -15312,8 +15158,6 @@ snapshots: outdent@0.5.0: {} - outdent@0.8.0: {} - p-filter@2.1.0: dependencies: p-map: 2.1.0 @@ -15860,8 +15704,6 @@ snapshots: require-directory@2.1.1: {} - require-like@0.1.2: {} - require-main-filename@2.0.0: {} reselect@4.1.8: {} @@ -16297,13 +16139,12 @@ snapshots: strnum@1.0.5: {} - styled-jsx@5.1.1(@babel/core@7.24.5)(babel-plugin-macros@3.1.0)(react@18.3.1): + styled-jsx@5.1.1(@babel/core@7.24.5)(react@18.3.1): dependencies: client-only: 0.0.1 react: 18.3.1 optionalDependencies: '@babel/core': 7.24.5 - babel-plugin-macros: 3.1.0 stylis@4.2.0: {}