@prismicio/next 2.0.2-canary.7bb987d → 2.0.2-pr.112.b8bef65
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/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/package.json.cjs +1 -1
- package/dist/pages/index.d.ts +1 -0
- package/dist/pages.cjs +1 -0
- package/dist/pages.cjs.map +1 -1
- package/dist/setGlobalConfig.cjs +4 -0
- package/dist/setGlobalConfig.cjs.map +1 -0
- package/dist/setGlobalConfig.d.ts +1 -0
- package/package.json +5 -2
- package/src/index.ts +2 -0
- package/src/pages/index.ts +2 -0
- package/src/setGlobalConfig.ts +6 -0
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
require("./setGlobalConfig.cjs");
|
|
3
4
|
const exitPreview = require("./exitPreview.cjs");
|
|
4
5
|
const PrismicPreview = require("./PrismicPreview.cjs");
|
|
5
6
|
const PrismicNextLink = require("./PrismicNextLink.cjs");
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.d.ts
CHANGED
package/dist/package.json.cjs
CHANGED
package/dist/pages/index.d.ts
CHANGED
package/dist/pages.cjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
require("./setGlobalConfig.cjs");
|
|
3
4
|
const PrismicNextLink = require("./PrismicNextLink.cjs");
|
|
4
5
|
const PrismicNextImage = require("./PrismicNextImage.cjs");
|
|
5
6
|
const imgixLoader = require("./imgixLoader.cjs");
|
package/dist/pages.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pages.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pages.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setGlobalConfig.cjs","sources":["../src/setGlobalConfig.ts"],"sourcesContent":["import Link from \"next/link\";\n\n// @ts-expect-error - Property doesn't exist on global\nglobalThis[\n\tSymbol.for(\"@prismicio/react/PrismicLink/defaultInternalComponent\")\n] = Link;\n"],"names":[],"mappings":";;AAGA,WACC,OAAO,IAAI,uDAAuD,CAAC,IAChE;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"e2e-projects/*"
|
|
5
5
|
],
|
|
6
6
|
"name": "@prismicio/next",
|
|
7
|
-
"version": "2.0.2-
|
|
7
|
+
"version": "2.0.2-pr.112.b8bef65",
|
|
8
8
|
"description": "Helpers to integrate Prismic into Next.js apps",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"typescript",
|
|
@@ -19,7 +19,10 @@
|
|
|
19
19
|
},
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"author": "Prismic <contact@prismic.io> (https://prismic.io)",
|
|
22
|
-
"sideEffects":
|
|
22
|
+
"sideEffects": [
|
|
23
|
+
"./dist/index.cjs",
|
|
24
|
+
"./dist/pages.cjs"
|
|
25
|
+
],
|
|
23
26
|
"type": "module",
|
|
24
27
|
"exports": {
|
|
25
28
|
".": {
|
package/src/index.ts
CHANGED
package/src/pages/index.ts
CHANGED