-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: shared package wasn't being bundled with the release of the pack…
…age (#7194)
- Loading branch information
1 parent
cbf8202
commit a130cd1
Showing
3 changed files
with
25 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@vue-storefront/nuxt": patch | ||
--- | ||
- **[CHANGED]** shared package wasn't being bundled with the release of the package | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,22 @@ | ||
import { contextConfig } from "@storefront/shared"; | ||
|
||
export function getDefaults() { | ||
return contextConfig; | ||
return { | ||
unifiedCommerce: { | ||
middlewareModule: { | ||
defaultMethodsRequestConfig: { | ||
getCategories: { method: "GET" }, | ||
getProductDetails: { method: "GET" }, | ||
getProductReviews: { method: "GET" }, | ||
getProducts: { method: "GET" }, | ||
searchProducts: { method: "GET" }, | ||
}, | ||
}, | ||
}, | ||
unifiedCms: { | ||
middlewareModule: { | ||
defaultMethodsRequestConfig: { | ||
getEntries: { method: "GET" }, | ||
}, | ||
}, | ||
}, | ||
} as const; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
{ | ||
"extends": "./.nuxt/tsconfig.json", | ||
"compilerOptions": { | ||
"paths": { | ||
"@storefront/shared": ["../shared"] | ||
} | ||
}, | ||
} |