From 5daabae05df49215f99b1b8136609f3ada508eeb Mon Sep 17 00:00:00 2001 From: alvarosabu Date: Tue, 10 Sep 2024 15:38:58 +0200 Subject: [PATCH 1/7] feat: add new richtext imports --- package-lock.json | 36 +++++++++++-------- package.json | 2 +- playground/pages/richtext.vue | 39 +++++++++++++++++++++ playground/storyblok/iframe-embed/index.vue | 11 ++++++ src/module.ts | 11 +++++- 5 files changed, 83 insertions(+), 16 deletions(-) create mode 100644 playground/pages/richtext.vue create mode 100644 playground/storyblok/iframe-embed/index.vue diff --git a/package-lock.json b/package-lock.json index 7f9bdb11..3435c75e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "@storyblok/nuxt", "version": "0.0.1", "dependencies": { - "@storyblok/vue": "^8.0.0" + "@storyblok/vue": "^8.1.0" }, "devDependencies": { "@commitlint/cli": "^19.0.3", @@ -19,7 +19,7 @@ "@nuxt/module-builder": "^0.6.0", "@nuxt/schema": "^3.8.0", "@nuxt/test-utils": "^3.8.0", - "@nuxtjs/eslint-config-typescript": "*", + "@nuxtjs/eslint-config-typescript": "latest", "@types/node": "^20.8.10", "cypress": "^13.4.0", "eslint": "^8.52.0", @@ -5537,19 +5537,28 @@ } }, "node_modules/@storyblok/js": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/@storyblok/js/-/js-3.0.8.tgz", - "integrity": "sha512-JY+abbswBId84Ubr0yRwNpq5Klf9546Ia2Qs1pn6en5Trz8o6EcBJIwxvR6evjJ0Vp2cLKT7MV1yfGLAtnzycA==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/@storyblok/js/-/js-3.1.4.tgz", + "integrity": "sha512-Uh+ESR4xF+8C7veSiVA3IeYNqPdwRDOxJdqyGHAVBZ7OuQ2SzZkW3eAKax2TiX8W4DPSljIKvI6MKpvEG3KwWA==", + "dependencies": { + "@storyblok/richtext": "^2.0.0", + "storyblok-js-client": "^6.9.2" + } + }, + "node_modules/@storyblok/richtext": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@storyblok/richtext/-/richtext-2.0.0.tgz", + "integrity": "sha512-yJm5BgWrCRGUdwZtviPgGno3rLXcnEvjK1bL1Ut4GmU1UOEVLC42m543EtrrOBVGDZdRPD9dK8ObgyHp6zNwqw==", "dependencies": { - "storyblok-js-client": "^6.7.2" + "consola": "^3.2.3" } }, "node_modules/@storyblok/vue": { - "version": "8.0.8", - "resolved": "https://registry.npmjs.org/@storyblok/vue/-/vue-8.0.8.tgz", - "integrity": "sha512-ReYbMVeekQpj6wNE4V/ac2u59YYxsENrtWGmyMwWiqohTOm4106tznMbzWmVJgEwO8N2eXhIkg1MZ7FlADqAlw==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@storyblok/vue/-/vue-8.1.0.tgz", + "integrity": "sha512-KLECtIOrgWOh9i9l4oeIaCZ42Vw0tkou0GBwiBsFTEpMSEOgJtuu61/wg1BYUFBOVgugB4ILZRG7qGuc1gFFEQ==", "dependencies": { - "@storyblok/js": "^3.0.8" + "@storyblok/js": "^3.1.0" } }, "node_modules/@stylistic/eslint-plugin": { @@ -8005,7 +8014,6 @@ "version": "3.2.3", "resolved": "https://registry.npmjs.org/consola/-/consola-3.2.3.tgz", "integrity": "sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==", - "dev": true, "engines": { "node": "^14.18.0 || >=16.10.0" } @@ -18418,9 +18426,9 @@ "dev": true }, "node_modules/storyblok-js-client": { - "version": "6.7.2", - "resolved": "https://registry.npmjs.org/storyblok-js-client/-/storyblok-js-client-6.7.2.tgz", - "integrity": "sha512-5+cCZQhvIPSP5fin7jMUyyiAfV3FSbhH2q0YmDpb8NqxsY0pog6r+igHshVXNHed5yB5AZcVn0Mduao0X1MdBA==" + "version": "6.9.2", + "resolved": "https://registry.npmjs.org/storyblok-js-client/-/storyblok-js-client-6.9.2.tgz", + "integrity": "sha512-31GM5X/SIP4eJsSMCpAnaPDRmmUotSSWD3Umnuzf3CGqjyakot2Gv5QmuV23fRM7TCDUQlg5wurROmAzkKMKKg==" }, "node_modules/stream-combiner": { "version": "0.0.4", diff --git a/package.json b/package.json index 4a8999a0..ae8a0167 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "start-server-and-test": "^2.0.1" }, "dependencies": { - "@storyblok/vue": "^8.0.0" + "@storyblok/vue": "^8.1.0" }, "lint-staged": { "*.{vue,js,css}": [ diff --git a/playground/pages/richtext.vue b/playground/pages/richtext.vue new file mode 100644 index 00000000..41ce3a55 --- /dev/null +++ b/playground/pages/richtext.vue @@ -0,0 +1,39 @@ + + + diff --git a/playground/storyblok/iframe-embed/index.vue b/playground/storyblok/iframe-embed/index.vue new file mode 100644 index 00000000..a68d559a --- /dev/null +++ b/playground/storyblok/iframe-embed/index.vue @@ -0,0 +1,11 @@ + +