4
0
forked from crowetic/commerce

Add lodash.debounce to Shopify provider package.json dependencies (#691)

* Add lodash.debounce to package.json dependencies

Shopify provider requires `lodash.debounce` package. This package is installed in BigCommerce provider, but not in Shopify provider. After BigCommerce is removed, Shopfify provider can't be installed.

This PR fixes this error

* Install lodash debounce and its @types to providers that use this package
This commit is contained in:
Lukasz Ostrowski 2022-03-16 15:27:13 +01:00 committed by GitHub
parent 38df404ab5
commit ee62ea659a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 21 additions and 7 deletions

View File

@ -48,7 +48,8 @@
}, },
"dependencies": { "dependencies": {
"@chec/commerce.js": "^2.8.0", "@chec/commerce.js": "^2.8.0",
"@vercel/commerce": "^0.0.1" "@vercel/commerce": "^0.0.1",
"lodash.debounce": "^4.0.8"
}, },
"peerDependencies": { "peerDependencies": {
"next": "^12", "next": "^12",
@ -60,6 +61,7 @@
"@taskr/esnext": "^1.1.0", "@taskr/esnext": "^1.1.0",
"@taskr/watch": "^1.1.0", "@taskr/watch": "^1.1.0",
"@types/chec__commerce.js": "^2.8.4", "@types/chec__commerce.js": "^2.8.4",
"@types/lodash.debounce": "^4.0.6",
"@types/node": "^17.0.8", "@types/node": "^17.0.8",
"@types/react": "^17.0.38", "@types/react": "^17.0.38",
"lint-staged": "^12.1.7", "lint-staged": "^12.1.7",

View File

@ -50,7 +50,8 @@
}, },
"dependencies": { "dependencies": {
"@vercel/commerce": "^0.0.1", "@vercel/commerce": "^0.0.1",
"@vercel/fetch": "^6.1.1" "@vercel/fetch": "^6.1.1",
"lodash.debounce": "^4.0.8"
}, },
"peerDependencies": { "peerDependencies": {
"next": "^12", "next": "^12",
@ -65,6 +66,7 @@
"@taskr/clear": "^1.1.0", "@taskr/clear": "^1.1.0",
"@taskr/esnext": "^1.1.0", "@taskr/esnext": "^1.1.0",
"@taskr/watch": "^1.1.0", "@taskr/watch": "^1.1.0",
"@types/lodash.debounce": "^4.0.6",
"@types/node": "^17.0.8", "@types/node": "^17.0.8",
"@types/react": "^17.0.38", "@types/react": "^17.0.38",
"lint-staged": "^12.1.7", "lint-staged": "^12.1.7",

View File

@ -49,7 +49,8 @@
"dependencies": { "dependencies": {
"@vercel/commerce": "^0.0.1", "@vercel/commerce": "^0.0.1",
"@vercel/fetch": "^6.1.1", "@vercel/fetch": "^6.1.1",
"stripe": "^8.197.0" "stripe": "^8.197.0",
"lodash.debounce": "^4.0.8"
}, },
"peerDependencies": { "peerDependencies": {
"next": "^12", "next": "^12",
@ -60,6 +61,7 @@
"@taskr/clear": "^1.1.0", "@taskr/clear": "^1.1.0",
"@taskr/esnext": "^1.1.0", "@taskr/esnext": "^1.1.0",
"@taskr/watch": "^1.1.0", "@taskr/watch": "^1.1.0",
"@types/lodash.debounce": "^4.0.6",
"@types/node": "^17.0.8", "@types/node": "^17.0.8",
"@types/react": "^17.0.38", "@types/react": "^17.0.38",
"lint-staged": "^12.1.7", "lint-staged": "^12.1.7",

View File

@ -50,7 +50,8 @@
}, },
"dependencies": { "dependencies": {
"@vercel/commerce": "^0.0.1", "@vercel/commerce": "^0.0.1",
"@vercel/fetch": "^6.1.1" "@vercel/fetch": "^6.1.1",
"lodash.debounce": "^4.0.8"
}, },
"peerDependencies": { "peerDependencies": {
"next": "^12", "next": "^12",
@ -65,6 +66,7 @@
"@taskr/clear": "^1.1.0", "@taskr/clear": "^1.1.0",
"@taskr/esnext": "^1.1.0", "@taskr/esnext": "^1.1.0",
"@taskr/watch": "^1.1.0", "@taskr/watch": "^1.1.0",
"@types/lodash.debounce": "^4.0.6",
"@types/node": "^17.0.8", "@types/node": "^17.0.8",
"@types/react": "^17.0.38", "@types/react": "^17.0.38",
"lint-staged": "^12.1.7", "lint-staged": "^12.1.7",

View File

@ -50,7 +50,8 @@
}, },
"dependencies": { "dependencies": {
"@vercel/commerce": "^0.0.1", "@vercel/commerce": "^0.0.1",
"@vercel/fetch": "^6.1.1" "@vercel/fetch": "^6.1.1",
"lodash.debounce": "^4.0.8"
}, },
"peerDependencies": { "peerDependencies": {
"next": "^12", "next": "^12",
@ -65,6 +66,7 @@
"@taskr/clear": "^1.1.0", "@taskr/clear": "^1.1.0",
"@taskr/esnext": "^1.1.0", "@taskr/esnext": "^1.1.0",
"@taskr/watch": "^1.1.0", "@taskr/watch": "^1.1.0",
"@types/lodash.debounce": "^4.0.6",
"@types/node": "^17.0.8", "@types/node": "^17.0.8",
"@types/react": "^17.0.38", "@types/react": "^17.0.38",
"dotenv": "^12.0.3", "dotenv": "^12.0.3",

View File

@ -50,7 +50,8 @@
"@spree/storefront-api-v2-sdk": "^5.1.1", "@spree/storefront-api-v2-sdk": "^5.1.1",
"@vercel/commerce": "^0.0.1", "@vercel/commerce": "^0.0.1",
"@vercel/fetch": "^6.1.1", "@vercel/fetch": "^6.1.1",
"swr": "^1.2.0" "swr": "^1.2.0",
"lodash.debounce": "^4.0.8"
}, },
"peerDependencies": { "peerDependencies": {
"next": "^12", "next": "^12",
@ -61,6 +62,7 @@
"@taskr/clear": "^1.1.0", "@taskr/clear": "^1.1.0",
"@taskr/esnext": "^1.1.0", "@taskr/esnext": "^1.1.0",
"@taskr/watch": "^1.1.0", "@taskr/watch": "^1.1.0",
"@types/lodash.debounce": "^4.0.6",
"@types/node": "^17.0.8", "@types/node": "^17.0.8",
"@types/react": "^17.0.38", "@types/react": "^17.0.38",
"lint-staged": "^12.1.7", "lint-staged": "^12.1.7",

View File

@ -50,7 +50,8 @@
"dependencies": { "dependencies": {
"@vercel/commerce": "^0.0.1", "@vercel/commerce": "^0.0.1",
"@vercel/fetch": "^6.1.1", "@vercel/fetch": "^6.1.1",
"swell-js": "^4.0.0-next.0" "swell-js": "^4.0.0-next.0",
"lodash.debounce": "^4.0.8"
}, },
"peerDependencies": { "peerDependencies": {
"next": "^12", "next": "^12",
@ -61,6 +62,7 @@
"@taskr/clear": "^1.1.0", "@taskr/clear": "^1.1.0",
"@taskr/esnext": "^1.1.0", "@taskr/esnext": "^1.1.0",
"@taskr/watch": "^1.1.0", "@taskr/watch": "^1.1.0",
"@types/lodash.debounce": "^4.0.6",
"@types/node": "^17.0.8", "@types/node": "^17.0.8",
"@types/react": "^17.0.38", "@types/react": "^17.0.38",
"lint-staged": "^12.1.7", "lint-staged": "^12.1.7",