Remove clsx package which is no longer used (#899)
* Remove clsx package which is no longer used * Add changeset * Remove clsx from data importer * Remove unused clsx package
This commit is contained in:
parent
254cd4c9a3
commit
fcc37e7c7e
11 changed files with 150 additions and 40 deletions
18
.changeset/silly-balloons-knock.md
Normal file
18
.changeset/silly-balloons-knock.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
"@saleor/react-hook-form-macaw": patch
|
||||
"saleor-app-emails-and-messages": patch
|
||||
"saleor-app-data-importer": patch
|
||||
"saleor-app-products-feed": patch
|
||||
"@saleor/apps-shared": patch
|
||||
"saleor-app-invoices": patch
|
||||
"saleor-app-klaviyo": patch
|
||||
"saleor-app-segment": patch
|
||||
"saleor-app-cms-v2": patch
|
||||
"saleor-app-search": patch
|
||||
"@saleor/apps-ui": patch
|
||||
"saleor-app-slack": patch
|
||||
"saleor-app-taxes": patch
|
||||
"saleor-app-crm": patch
|
||||
---
|
||||
|
||||
Remove clsx package from the projects no longer using it.
|
|
@ -21,7 +21,6 @@
|
|||
"@sentry/nextjs": "7.55.2",
|
||||
"@urql/exchange-auth": "^2.1.4",
|
||||
"@vitejs/plugin-react": "4.0.4",
|
||||
"clsx": "^1.2.1",
|
||||
"dot-object": "^2.1.4",
|
||||
"graphql": "16.7.1",
|
||||
"graphql-tag": "^2.12.6",
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
"@trpc/server": "10.34.0",
|
||||
"@urql/exchange-auth": "^2.1.4",
|
||||
"@vitejs/plugin-react": "4.0.4",
|
||||
"clsx": "^1.2.1",
|
||||
"dotenv": "^16.3.1",
|
||||
"graphql": "16.7.1",
|
||||
"graphql-tag": "^2.12.6",
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
"@trpc/server": "10.34.0",
|
||||
"@urql/exchange-auth": "^2.1.4",
|
||||
"@web-std/file": "^3.0.2",
|
||||
"clsx": "^1.2.1",
|
||||
"eslint": "8.46.0",
|
||||
"graphql": "16.7.1",
|
||||
"graphql-tag": "^2.12.6",
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
"@saleor/macaw-ui": "0.8.0-pre.118",
|
||||
"@sentry/nextjs": "7.55.2",
|
||||
"@urql/exchange-auth": "^2.1.4",
|
||||
"clsx": "^1.2.1",
|
||||
"graphql": "16.7.1",
|
||||
"graphql-tag": "^2.12.6",
|
||||
"next": "13.4.8",
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
"@trpc/server": "10.34.0",
|
||||
"@urql/exchange-auth": "^2.1.4",
|
||||
"@vitejs/plugin-react": "4.0.4",
|
||||
"clsx": "^1.2.1",
|
||||
"fast-xml-parser": "^4.0.15",
|
||||
"graphql": "16.7.1",
|
||||
"graphql-tag": "^2.12.6",
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
"@types/debug": "^4.1.7",
|
||||
"@urql/exchange-auth": "^2.1.4",
|
||||
"algoliasearch": "4.14.2",
|
||||
"clsx": "^1.2.1",
|
||||
"debug": "^4.3.4",
|
||||
"graphql": "16.7.1",
|
||||
"graphql-tag": "^2.12.6",
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
"@saleor/react-hook-form-macaw": "workspace:*",
|
||||
"@sentry/nextjs": "7.55.2",
|
||||
"@urql/exchange-auth": "^2.1.4",
|
||||
"clsx": "^1.2.1",
|
||||
"eslint": "8.46.0",
|
||||
"graphql": "16.7.1",
|
||||
"graphql-tag": "^2.12.6",
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
"@trpc/server": "10.34.0",
|
||||
"@urql/exchange-auth": "^2.1.4",
|
||||
"avatax": "^23.7.0",
|
||||
"clsx": "^1.2.1",
|
||||
"dotenv": "^16.3.1",
|
||||
"graphql": "16.7.1",
|
||||
"graphql-tag": "^2.12.6",
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
"@types/react": "18.2.5",
|
||||
"@types/react-dom": "18.2.5",
|
||||
"@types/semver": "^7.5.0",
|
||||
"clsx": "^1.2.1",
|
||||
"eslint-config-saleor": "workspace:*",
|
||||
"next": "13.4.8",
|
||||
"react": "18.2.0",
|
||||
|
|
163
pnpm-lock.yaml
163
pnpm-lock.yaml
|
@ -1,5 +1,9 @@
|
|||
lockfileVersion: '6.0'
|
||||
|
||||
settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
importers:
|
||||
|
||||
.:
|
||||
|
@ -354,9 +358,6 @@ importers:
|
|||
'@vitejs/plugin-react':
|
||||
specifier: 4.0.4
|
||||
version: 4.0.4(vite@4.4.8)
|
||||
clsx:
|
||||
specifier: ^1.2.1
|
||||
version: 1.2.1
|
||||
dot-object:
|
||||
specifier: ^2.1.4
|
||||
version: 2.1.4
|
||||
|
@ -508,9 +509,6 @@ importers:
|
|||
'@vitejs/plugin-react':
|
||||
specifier: 4.0.4
|
||||
version: 4.0.4(vite@4.4.8)
|
||||
clsx:
|
||||
specifier: ^1.2.1
|
||||
version: 1.2.1
|
||||
dotenv:
|
||||
specifier: ^16.3.1
|
||||
version: 16.3.1
|
||||
|
@ -665,9 +663,6 @@ importers:
|
|||
'@web-std/file':
|
||||
specifier: ^3.0.2
|
||||
version: 3.0.2
|
||||
clsx:
|
||||
specifier: ^1.2.1
|
||||
version: 1.2.1
|
||||
eslint:
|
||||
specifier: 8.46.0
|
||||
version: 8.46.0
|
||||
|
@ -795,9 +790,6 @@ importers:
|
|||
'@urql/exchange-auth':
|
||||
specifier: ^2.1.4
|
||||
version: 2.1.4(graphql@16.7.1)
|
||||
clsx:
|
||||
specifier: ^1.2.1
|
||||
version: 1.2.1
|
||||
graphql:
|
||||
specifier: 16.7.1
|
||||
version: 16.7.1
|
||||
|
@ -937,9 +929,6 @@ importers:
|
|||
'@vitejs/plugin-react':
|
||||
specifier: 4.0.4
|
||||
version: 4.0.4(vite@4.4.8)
|
||||
clsx:
|
||||
specifier: ^1.2.1
|
||||
version: 1.2.1
|
||||
fast-xml-parser:
|
||||
specifier: ^4.0.15
|
||||
version: 4.0.15
|
||||
|
@ -1073,9 +1062,6 @@ importers:
|
|||
algoliasearch:
|
||||
specifier: 4.14.2
|
||||
version: 4.14.2
|
||||
clsx:
|
||||
specifier: ^1.2.1
|
||||
version: 1.2.1
|
||||
debug:
|
||||
specifier: ^4.3.4
|
||||
version: 4.3.4
|
||||
|
@ -1336,9 +1322,6 @@ importers:
|
|||
'@urql/exchange-auth':
|
||||
specifier: ^2.1.4
|
||||
version: 2.1.4(graphql@16.7.1)
|
||||
clsx:
|
||||
specifier: ^1.2.1
|
||||
version: 1.2.1
|
||||
eslint:
|
||||
specifier: 8.46.0
|
||||
version: 8.46.0
|
||||
|
@ -1481,9 +1464,6 @@ importers:
|
|||
avatax:
|
||||
specifier: ^23.7.0
|
||||
version: 23.7.0
|
||||
clsx:
|
||||
specifier: ^1.2.1
|
||||
version: 1.2.1
|
||||
dotenv:
|
||||
specifier: ^16.3.1
|
||||
version: 16.3.1
|
||||
|
@ -1739,9 +1719,6 @@ importers:
|
|||
'@types/semver':
|
||||
specifier: ^7.5.0
|
||||
version: 7.5.0
|
||||
clsx:
|
||||
specifier: ^1.2.1
|
||||
version: 1.2.1
|
||||
eslint-config-saleor:
|
||||
specifier: workspace:*
|
||||
version: link:../eslint-config-saleor
|
||||
|
@ -7145,6 +7122,24 @@ packages:
|
|||
- '@types/node'
|
||||
dev: true
|
||||
|
||||
/@graphql-tools/executor-http@1.0.2(graphql@16.7.1):
|
||||
resolution: {integrity: sha512-JKTB4E3kdQM2/1NEcyrVPyQ8057ZVthCV5dFJiKktqY9IdmF00M8gupFcW3jlbM/Udn78ickeUBsUzA3EouqpA==}
|
||||
engines: {node: '>=16.0.0'}
|
||||
peerDependencies:
|
||||
graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
|
||||
dependencies:
|
||||
'@graphql-tools/utils': 10.0.4(graphql@16.7.1)
|
||||
'@repeaterjs/repeater': 3.0.4
|
||||
'@whatwg-node/fetch': 0.9.9
|
||||
extract-files: 11.0.0
|
||||
graphql: 16.7.1
|
||||
meros: 1.3.0
|
||||
tslib: 2.6.1
|
||||
value-or-promise: 1.0.12
|
||||
transitivePeerDependencies:
|
||||
- '@types/node'
|
||||
dev: true
|
||||
|
||||
/@graphql-tools/executor-legacy-ws@1.0.1(graphql@16.7.1):
|
||||
resolution: {integrity: sha512-PQrTJ+ncHMEQspBARc2lhwiQFfRAX/z/CsOdZTFjIljOHgRWGAA1DAx7pEN0j6PflbLCfZ3NensNq2jCBwF46w==}
|
||||
engines: {node: '>=16.0.0'}
|
||||
|
@ -7215,6 +7210,27 @@ packages:
|
|||
- supports-color
|
||||
dev: true
|
||||
|
||||
/@graphql-tools/github-loader@8.0.0(@babel/core@7.22.9)(graphql@16.7.1):
|
||||
resolution: {integrity: sha512-VuroArWKcG4yaOWzV0r19ElVIV6iH6UKDQn1MXemND0xu5TzrFme0kf3U9o0YwNo0kUYEk9CyFM0BYg4he17FA==}
|
||||
engines: {node: '>=16.0.0'}
|
||||
peerDependencies:
|
||||
graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
|
||||
dependencies:
|
||||
'@ardatan/sync-fetch': 0.0.1
|
||||
'@graphql-tools/executor-http': 1.0.2(graphql@16.7.1)
|
||||
'@graphql-tools/graphql-tag-pluck': 8.0.1(@babel/core@7.22.9)(graphql@16.7.1)
|
||||
'@graphql-tools/utils': 10.0.4(graphql@16.7.1)
|
||||
'@whatwg-node/fetch': 0.9.9
|
||||
graphql: 16.7.1
|
||||
tslib: 2.6.1
|
||||
value-or-promise: 1.0.12
|
||||
transitivePeerDependencies:
|
||||
- '@babel/core'
|
||||
- '@types/node'
|
||||
- encoding
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/@graphql-tools/graphql-file-loader@8.0.0(graphql@16.7.1):
|
||||
resolution: {integrity: sha512-wRXj9Z1IFL3+zJG1HWEY0S4TXal7+s1vVhbZva96MSp0kbb/3JBF7j0cnJ44Eq0ClccMgGCDFqPFXty4JlpaPg==}
|
||||
engines: {node: '>=16.0.0'}
|
||||
|
@ -7348,6 +7364,39 @@ packages:
|
|||
- utf-8-validate
|
||||
dev: true
|
||||
|
||||
/@graphql-tools/prisma-loader@8.0.1(graphql@16.7.1):
|
||||
resolution: {integrity: sha512-bl6e5sAYe35Z6fEbgKXNrqRhXlCJYeWKBkarohgYA338/SD9eEhXtg3Cedj7fut3WyRLoQFpHzfiwxKs7XrgXg==}
|
||||
engines: {node: '>=16.0.0'}
|
||||
peerDependencies:
|
||||
graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
|
||||
dependencies:
|
||||
'@graphql-tools/url-loader': 8.0.0(graphql@16.7.1)
|
||||
'@graphql-tools/utils': 10.0.4(graphql@16.7.1)
|
||||
'@types/js-yaml': 4.0.5
|
||||
'@types/json-stable-stringify': 1.0.34
|
||||
'@whatwg-node/fetch': 0.9.9
|
||||
chalk: 4.1.2
|
||||
debug: 4.3.4
|
||||
dotenv: 16.3.1
|
||||
graphql: 16.7.1
|
||||
graphql-request: 6.1.0(graphql@16.7.1)
|
||||
http-proxy-agent: 7.0.0
|
||||
https-proxy-agent: 7.0.1
|
||||
jose: 4.14.4
|
||||
js-yaml: 4.1.0
|
||||
json-stable-stringify: 1.0.2
|
||||
lodash: 4.17.21
|
||||
scuid: 1.1.0
|
||||
tslib: 2.6.1
|
||||
yaml-ast-parser: 0.0.43
|
||||
transitivePeerDependencies:
|
||||
- '@types/node'
|
||||
- bufferutil
|
||||
- encoding
|
||||
- supports-color
|
||||
- utf-8-validate
|
||||
dev: true
|
||||
|
||||
/@graphql-tools/relay-operation-optimizer@6.5.18(graphql@16.7.1):
|
||||
resolution: {integrity: sha512-mc5VPyTeV+LwiM+DNvoDQfPqwQYhPV/cl5jOBjTgSniyaq8/86aODfMkrE2OduhQ5E00hqrkuL2Fdrgk0w1QJg==}
|
||||
peerDependencies:
|
||||
|
@ -7417,6 +7466,33 @@ packages:
|
|||
- utf-8-validate
|
||||
dev: true
|
||||
|
||||
/@graphql-tools/url-loader@8.0.0(graphql@16.7.1):
|
||||
resolution: {integrity: sha512-rPc9oDzMnycvz+X+wrN3PLrhMBQkG4+sd8EzaFN6dypcssiefgWKToXtRKI8HHK68n2xEq1PyrOpkjHFJB+GwA==}
|
||||
engines: {node: '>=16.0.0'}
|
||||
peerDependencies:
|
||||
graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
|
||||
dependencies:
|
||||
'@ardatan/sync-fetch': 0.0.1
|
||||
'@graphql-tools/delegate': 10.0.0(graphql@16.7.1)
|
||||
'@graphql-tools/executor-graphql-ws': 1.1.0(graphql@16.7.1)
|
||||
'@graphql-tools/executor-http': 1.0.2(graphql@16.7.1)
|
||||
'@graphql-tools/executor-legacy-ws': 1.0.1(graphql@16.7.1)
|
||||
'@graphql-tools/utils': 10.0.4(graphql@16.7.1)
|
||||
'@graphql-tools/wrap': 10.0.0(graphql@16.7.1)
|
||||
'@types/ws': 8.5.5
|
||||
'@whatwg-node/fetch': 0.9.9
|
||||
graphql: 16.7.1
|
||||
isomorphic-ws: 5.0.0(ws@8.13.0)
|
||||
tslib: 2.6.1
|
||||
value-or-promise: 1.0.12
|
||||
ws: 8.13.0
|
||||
transitivePeerDependencies:
|
||||
- '@types/node'
|
||||
- bufferutil
|
||||
- encoding
|
||||
- utf-8-validate
|
||||
dev: true
|
||||
|
||||
/@graphql-tools/utils@10.0.4(graphql@16.7.1):
|
||||
resolution: {integrity: sha512-MF+nZgGROSnFgyOYWhrl2PuJMlIBvaCH48vtnlnDQKSeDc2fUfOzUVloBAQvnYmK9JBmHHks4Pxv25Ybg3r45Q==}
|
||||
engines: {node: '>=16.0.0'}
|
||||
|
@ -14784,6 +14860,35 @@ packages:
|
|||
- utf-8-validate
|
||||
dev: true
|
||||
|
||||
/graphql-config@5.0.2(graphql@16.7.1):
|
||||
resolution: {integrity: sha512-7TPxOrlbiG0JplSZYCyxn2XQtqVhXomEjXUmWJVSS5ET1nPhOJSsIb/WTwqWhcYX6G0RlHXSj9PLtGTKmxLNGg==}
|
||||
engines: {node: '>= 16.0.0'}
|
||||
peerDependencies:
|
||||
cosmiconfig-toml-loader: ^1.0.0
|
||||
graphql: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0
|
||||
peerDependenciesMeta:
|
||||
cosmiconfig-toml-loader:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@graphql-tools/graphql-file-loader': 8.0.0(graphql@16.7.1)
|
||||
'@graphql-tools/json-file-loader': 8.0.0(graphql@16.7.1)
|
||||
'@graphql-tools/load': 8.0.0(graphql@16.7.1)
|
||||
'@graphql-tools/merge': 9.0.0(graphql@16.7.1)
|
||||
'@graphql-tools/url-loader': 8.0.0(graphql@16.7.1)
|
||||
'@graphql-tools/utils': 10.0.4(graphql@16.7.1)
|
||||
cosmiconfig: 8.2.0
|
||||
graphql: 16.7.1
|
||||
jiti: 1.18.2
|
||||
minimatch: 4.2.3
|
||||
string-env-interpolation: 1.0.1
|
||||
tslib: 2.6.1
|
||||
transitivePeerDependencies:
|
||||
- '@types/node'
|
||||
- bufferutil
|
||||
- encoding
|
||||
- utf-8-validate
|
||||
dev: true
|
||||
|
||||
/graphql-request@6.1.0(graphql@16.7.1):
|
||||
resolution: {integrity: sha512-p+XPfS4q7aIpKVcgmnZKhMNqhltk20hfXtkaIkTfjjmiKMJ5xrt5c743cL03y/K7y1rg3WrIC49xGiEQ4mxdNw==}
|
||||
peerDependencies:
|
||||
|
@ -21366,7 +21471,3 @@ packages:
|
|||
|
||||
/zod@3.21.4:
|
||||
resolution: {integrity: sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==}
|
||||
|
||||
settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
|
Loading…
Reference in a new issue