@graphcommerce/magento-store 6.2.0-canary.87 → 6.2.0-canary.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-store",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "6.2.0-canary.
|
|
5
|
+
"version": "6.2.0-canary.89",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "6.2.0-canary.
|
|
16
|
-
"@graphcommerce/prettier-config-pwa": "6.2.0-canary.
|
|
17
|
-
"@graphcommerce/typescript-config-pwa": "6.2.0-canary.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "6.2.0-canary.89",
|
|
16
|
+
"@graphcommerce/prettier-config-pwa": "6.2.0-canary.89",
|
|
17
|
+
"@graphcommerce/typescript-config-pwa": "6.2.0-canary.89"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@graphcommerce/graphql": "6.2.0-canary.
|
|
21
|
-
"@graphcommerce/graphql-mesh": "6.2.0-canary.
|
|
22
|
-
"@graphcommerce/image": "6.2.0-canary.
|
|
23
|
-
"@graphcommerce/next-ui": "6.2.0-canary.
|
|
20
|
+
"@graphcommerce/graphql": "6.2.0-canary.89",
|
|
21
|
+
"@graphcommerce/graphql-mesh": "6.2.0-canary.89",
|
|
22
|
+
"@graphcommerce/image": "6.2.0-canary.89",
|
|
23
|
+
"@graphcommerce/next-ui": "6.2.0-canary.89"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@lingui/react": "^4.2.1",
|
|
@@ -18,6 +18,7 @@ export type RedirectOr404Return = Promise<
|
|
|
18
18
|
|
|
19
19
|
const notFound = (from: string, reason: string) => {
|
|
20
20
|
flushMeasurePerf()
|
|
21
|
+
// eslint-disable-next-line no-console
|
|
21
22
|
console.log(`[redirectOrNotFound: /${from}] ${reason}`)
|
|
22
23
|
return { notFound: true, revalidate: 60 * 20 } as const
|
|
23
24
|
}
|
|
@@ -132,6 +133,7 @@ export async function redirectOrNotFound(
|
|
|
132
133
|
if (e instanceof Error) {
|
|
133
134
|
return notFound(from, `Error while redirecting: ${e.message}`)
|
|
134
135
|
}
|
|
136
|
+
// eslint-disable-next-line no-console
|
|
135
137
|
console.log(e)
|
|
136
138
|
return notFound(from, `Error while redirecting`)
|
|
137
139
|
}
|