@wix/astro 1.0.30 → 1.0.31
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/build/index.js +31 -0
- package/build/index.js.map +1 -1
- package/build-runtime/chunk-N2TGCJPN.js +1077 -0
- package/build-runtime/chunk-YX6EVX5Q.js +11 -0
- package/build-runtime/routes/paylink/checkout.d.ts +5 -0
- package/build-runtime/routes/paylink/checkout.js +34 -0
- package/build-runtime/routes/paylink/paylink.js +4 -1072
- package/build-runtime/routes/robots/robots.d.ts +5 -0
- package/build-runtime/routes/robots/robots.js +43 -0
- package/package.json +2 -2
- package/src/index.ts +28 -0
- package/src/plugins/setupSsrContext.ts +6 -0
- package/src/routes/paylink/checkout.ts +28 -0
- package/src/routes/robots/robots.ts +40 -0
- package/src/utils/normalizeWixRedirectUrl.ts +11 -0
- package/tsup.config.mjs +6 -0
package/build/index.js
CHANGED
|
@@ -11636,6 +11636,12 @@ var whitelistedFilePaths = [
|
|
|
11636
11636
|
),
|
|
11637
11637
|
fileURLToPath2(
|
|
11638
11638
|
new URL("../build-runtime/routes/paylink/paylink.js", import.meta.url)
|
|
11639
|
+
),
|
|
11640
|
+
fileURLToPath2(
|
|
11641
|
+
new URL("../build-runtime/routes/paylink/checkout.js", import.meta.url)
|
|
11642
|
+
),
|
|
11643
|
+
fileURLToPath2(
|
|
11644
|
+
new URL("../build-runtime/routes/robots/robots.js", import.meta.url)
|
|
11639
11645
|
)
|
|
11640
11646
|
];
|
|
11641
11647
|
function setupSsrContext(rootDir) {
|
|
@@ -16981,6 +16987,31 @@ var createIntegration = (options = {
|
|
|
16981
16987
|
pattern: "/_paylink/[id]",
|
|
16982
16988
|
prerender: false
|
|
16983
16989
|
});
|
|
16990
|
+
injectRoute({
|
|
16991
|
+
entrypoint: new URL(
|
|
16992
|
+
"../build-runtime/routes/paylink/checkout.js",
|
|
16993
|
+
import.meta.url
|
|
16994
|
+
),
|
|
16995
|
+
pattern: "/checkout",
|
|
16996
|
+
prerender: false
|
|
16997
|
+
});
|
|
16998
|
+
injectRoute({
|
|
16999
|
+
entrypoint: new URL(
|
|
17000
|
+
"../build-runtime/routes/paylink/checkout.js",
|
|
17001
|
+
import.meta.url
|
|
17002
|
+
),
|
|
17003
|
+
// https://github.com/wix-private/wix-cli-one/pull/205/files#r2312298435
|
|
17004
|
+
pattern: "/__ecom/checkout",
|
|
17005
|
+
prerender: false
|
|
17006
|
+
});
|
|
17007
|
+
injectRoute({
|
|
17008
|
+
entrypoint: new URL(
|
|
17009
|
+
"../build-runtime/routes/robots/robots.js",
|
|
17010
|
+
import.meta.url
|
|
17011
|
+
),
|
|
17012
|
+
pattern: "/robots.txt",
|
|
17013
|
+
prerender: false
|
|
17014
|
+
});
|
|
16984
17015
|
updateConfig({
|
|
16985
17016
|
env: {
|
|
16986
17017
|
schema: {
|