From 3af151117dcc67b9033b9a4ff6f38aef1ca8176b Mon Sep 17 00:00:00 2001 From: Chris Helgert Date: Thu, 11 Apr 2024 09:05:44 +0200 Subject: [PATCH] chore: bump live-preview version [] --- package.json | 2 +- src/pages/_app.page.tsx | 1 - yarn.lock | 50 ++++++++++++++++++++++++++++++++--------- 3 files changed, 40 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index e2c6393..fc90eb8 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@chakra-ui/react": "^2.4.1", "@contentful/f36-icons": "^4.23.2", "@contentful/f36-tokens": "^4.0.1", - "@contentful/live-preview": "^2.11.1", + "@contentful/live-preview": "^3.0.0", "@emotion/react": "^11.10.5", "@emotion/styled": "^11.10.5", "@next/bundle-analyzer": "^13.0.4", diff --git a/src/pages/_app.page.tsx b/src/pages/_app.page.tsx index 80028b0..81bc2a6 100644 --- a/src/pages/_app.page.tsx +++ b/src/pages/_app.page.tsx @@ -7,7 +7,6 @@ import { useRouter } from "next/router" import { Layout } from '@src/components/templates/layout'; import { theme } from '@src/theme'; -import '@contentful/live-preview/style.css'; const spaceGrotesk = localFont({ src: [ diff --git a/yarn.lock b/yarn.lock index 736e7a9..4b22c35 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1922,6 +1922,14 @@ resolved "https://registry.yarnpkg.com/@chakra-ui/visually-hidden/-/visually-hidden-2.0.13.tgz#6553467d93f206d17716bcbe6e895a84eef87472" integrity sha512-sDEeeEjLfID333EC46NdCbhK2HyMXlpl5HzcJjuwWIpyVz4E1gKQ9hlwpq6grijvmzeSywQ5D3tTwUrvZck4KQ== +"@contentful/content-source-maps@0.2.0-alpha.13": + version "0.2.0-alpha.13" + resolved "https://registry.yarnpkg.com/@contentful/content-source-maps/-/content-source-maps-0.2.0-alpha.13.tgz#43f27367c316069fbf30eb7bf22c5e898d7f924d" + integrity sha512-zlwdaA4TFgCIUJjWNtVH4V5MJ3nMQo/XiFGgPbMELz8c3xnoXDaPu9Z8tB0JPCndqSbBcS+ejCVwT2r5lEB5rA== + dependencies: + "@vercel/stega" "^0.1.0" + json-pointer "^0.6.2" + "@contentful/f36-core@^4.23.2": version "4.23.2" resolved "https://registry.yarnpkg.com/@contentful/f36-core/-/f36-core-4.23.2.tgz#f186331dcd496a0938f6c396e0ae6756663f3818" @@ -1957,13 +1965,16 @@ resolved "https://registry.yarnpkg.com/@contentful/f36-tokens/-/f36-tokens-4.0.1.tgz#1b6a2e3fce11a61b84a855dbeed660989259ba54" integrity sha512-NTyMAQcfvhPP8kJgOK5mtjKpErg799iglEb9B45ii4N7aMdph2GNqgv7KBgpogfbTEGBrlKIoH8MUDSV9YNREg== -"@contentful/live-preview@^2.11.1": - version "2.11.1" - resolved "https://registry.yarnpkg.com/@contentful/live-preview/-/live-preview-2.11.1.tgz#dcaa5cd079cf06f0c747f1a5cfab46037e3bc060" - integrity sha512-Oh7soO3IYq/PGdOdxdAa9+ecc1kx9jnUaZ2/n+uPP6YRFgMCr1+OAlRhyWHYVkqa2TFBoaROiiZR5RpzauWFMA== +"@contentful/live-preview@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@contentful/live-preview/-/live-preview-3.0.0.tgz#4934e556cd66a4bc7fe52fbf6f893c93f6438867" + integrity sha512-8um0ug2LKeWVfhDGFvn1mqKjP3MkgIWCC7SHavQE8wDWHpgx5Bi6ji69+fh4DdT6vsRM+OpASu7V2NO18x7IRw== dependencies: + "@contentful/content-source-maps" "0.2.0-alpha.13" "@contentful/rich-text-types" "^16.2.0" - "@contentful/visual-sdk" "^1.0.0-alpha.21" + flatted "^3.2.9" + graphql-tag "^2.12.6" + json-pointer "^0.6.2" lodash.isequal "^4.5.0" "@contentful/rich-text-types@^16.2.0": @@ -1971,11 +1982,6 @@ resolved "https://registry.yarnpkg.com/@contentful/rich-text-types/-/rich-text-types-16.3.0.tgz#d44145a43b32d61eb4d6a82d3001cdfddbbda42e" integrity sha512-OfQmAu5bxE0CgQA3WlUleVej+ifFG/iXmB2DmUl4EyWyFue1aiIvfjxQhcDRSH4n1jUNMJ6L1wInZL8uV5m3TQ== -"@contentful/visual-sdk@^1.0.0-alpha.21": - version "1.0.0-alpha.21" - resolved "https://registry.yarnpkg.com/@contentful/visual-sdk/-/visual-sdk-1.0.0-alpha.21.tgz#f58b5030b55d20747c84ad094644c8b577715172" - integrity sha512-mqq9t42msPo3hXHdiRmqbjkwgOFMhyXRONyyeesPTCXNgyIIRV8DY+zkrn4p36JNc3L1W3u9lic2d9vY6LfWNQ== - "@corex/deepmerge@^4.0.29": version "4.0.29" resolved "https://registry.yarnpkg.com/@corex/deepmerge/-/deepmerge-4.0.29.tgz#af9debf07d7f6b0d2a9d04a266abf2c1418ed2f6" @@ -3505,6 +3511,11 @@ "@typescript-eslint/types" "5.44.0" eslint-visitor-keys "^3.3.0" +"@vercel/stega@^0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@vercel/stega/-/stega-0.1.0.tgz#2eadbbc9eb0eaab26d28b0c443a922d78c23b6e3" + integrity sha512-5b0PkOJsFBX5alChuIO3qpkt5vIZBevzLPhUQ1UP8UzVjL3F1VllnZxp/thfD8R5ol7D7WHkgZHIjdUBX4tDpQ== + "@whatwg-node/fetch@0.5.3", "@whatwg-node/fetch@^0.5.0": version "0.5.3" resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.5.3.tgz#afbd38a2e5392d91318845b967529076ca654b9e" @@ -5302,6 +5313,11 @@ flatted@^3.1.0: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== +flatted@^3.2.9: + version "3.3.1" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a" + integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw== + focus-lock@^0.11.2: version "0.11.4" resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.11.4.tgz#fbf84894d7c384f25a2c7cf5d97c848131d97f6f" @@ -5309,6 +5325,11 @@ focus-lock@^0.11.2: dependencies: tslib "^2.0.3" +foreach@^2.0.4: + version "2.0.6" + resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.6.tgz#87bcc8a1a0e74000ff2bf9802110708cfb02eb6e" + integrity sha512-k6GAGDyqLe9JaebCsFCoudPPWfihKu8pylYXRlqP1J7ms39iPoTtk2fviNglIeQEwdh0bQeKJ01ZPyuyQvKzwg== + form-data-encoder@^1.7.1: version "1.7.2" resolved "https://registry.yarnpkg.com/form-data-encoder/-/form-data-encoder-1.7.2.tgz#1f1ae3dccf58ed4690b86d87e4f57c654fbab040" @@ -5591,7 +5612,7 @@ graphql-request@^5.0.0: extract-files "^9.0.0" form-data "^3.0.0" -graphql-tag@^2.11.0: +graphql-tag@^2.11.0, graphql-tag@^2.12.6: version "2.12.6" resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.12.6.tgz#d441a569c1d2537ef10ca3d1633b48725329b5f1" integrity sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg== @@ -6193,6 +6214,13 @@ json-parse-even-better-errors@^2.3.0: resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== +json-pointer@^0.6.2: + version "0.6.2" + resolved "https://registry.yarnpkg.com/json-pointer/-/json-pointer-0.6.2.tgz#f97bd7550be5e9ea901f8c9264c9d436a22a93cd" + integrity sha512-vLWcKbOaXlO+jvRy4qNd+TI1QUPZzfJj1tpJ3vAXDych5XJf93ftpUKe5pKCrzyIIwgBJcOcCVRUfqQP25afBw== + dependencies: + foreach "^2.0.4" + json-schema-traverse@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"