nuxt-og-image 3.0.0-rc.67 → 3.0.0-rc.68

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/README.md CHANGED
@@ -19,7 +19,7 @@ Generate OG Images with Vue templates in Nuxt.
19
19
  <tbody>
20
20
  <td align="center">
21
21
  <img width="800" height="0" /><br>
22
- <i>Status:</i> <a href="https://nuxtseo.com/og-image/releases/v3">v3 RC is available</a></b> <br>
22
+ <i>Status:</i> <a href="https://nuxtseo.com/og-image/releases/v3">v3 stable released!</a></b> <br>
23
23
  <sup> Please report any issues 🐛</sup><br>
24
24
  <sub>Made possible by my <a href="https://github.com/sponsors/harlan-zw">Sponsor Program 💖</a><br> Follow me <a href="https://twitter.com/harlan_zw">@harlan_zw</a> 🐦 • Join <a href="https://discord.gg/275MBUBvgP">Discord</a> for help</sub><br>
25
25
  <img width="800" height="0" />
@@ -28,6 +28,8 @@ Generate OG Images with Vue templates in Nuxt.
28
28
  </table>
29
29
  </p>
30
30
 
31
+ - [👾 &nbsp;Playground](https://stackblitz.com/edit/nuxt-starter-pxs3wk?file=nuxt.config.ts)
32
+
31
33
  ## Features
32
34
 
33
35
  - ✨ Create an `og:image` using the built-in templates or make your own with Vue components
@@ -45,11 +47,6 @@ Install `nuxt-og-image` dependency to your project:
45
47
  npx nuxi@latest module add og-image
46
48
  ```
47
49
 
48
- ## Playgrounds
49
-
50
- - [StackBlitz - Minimal Playground Example](https://stackblitz.com/edit/nuxt-starter-pxs3wk?file=pages/index.vue)
51
- - [StackBlitz - Alpine Theme](https://stackblitz.com/edit/github-hgunsf?file=package.json)
52
-
53
50
  # Documentation
54
51
 
55
52
  [📖 Read the full documentation](https://nuxtseo.com/og-image/getting-started/installation) for more information.
@@ -272,4 +272,4 @@
272
272
  <link rel="prefetch" as="style" href="/__nuxt-og-image/_nuxt/error-500.BR60owpQ.css">
273
273
  <link rel="prefetch" as="script" crossorigin href="/__nuxt-og-image/_nuxt/D25Gr2Wc.js">
274
274
  <script type="module" src="/__nuxt-og-image/_nuxt/MkuNFWFs.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"serverRendered":1},false]</script>
275
- <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-og-image",buildId:"4133e154-aafc-47ec-8a1d-f5919be391d9",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
275
+ <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-og-image",buildId:"353519f1-2e76-4016-9b50-2f26f3cb8794",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
@@ -272,4 +272,4 @@
272
272
  <link rel="prefetch" as="style" href="/__nuxt-og-image/_nuxt/error-500.BR60owpQ.css">
273
273
  <link rel="prefetch" as="script" crossorigin href="/__nuxt-og-image/_nuxt/D25Gr2Wc.js">
274
274
  <script type="module" src="/__nuxt-og-image/_nuxt/MkuNFWFs.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"serverRendered":1},false]</script>
275
- <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-og-image",buildId:"4133e154-aafc-47ec-8a1d-f5919be391d9",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
275
+ <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-og-image",buildId:"353519f1-2e76-4016-9b50-2f26f3cb8794",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
@@ -1 +1 @@
1
- {"id":"4133e154-aafc-47ec-8a1d-f5919be391d9","timestamp":1726033782618}
1
+ {"id":"353519f1-2e76-4016-9b50-2f26f3cb8794","timestamp":1726058875363}
@@ -0,0 +1 @@
1
+ {"id":"353519f1-2e76-4016-9b50-2f26f3cb8794","timestamp":1726058875363,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
@@ -272,4 +272,4 @@
272
272
  <link rel="prefetch" as="style" href="/__nuxt-og-image/_nuxt/error-500.BR60owpQ.css">
273
273
  <link rel="prefetch" as="script" crossorigin href="/__nuxt-og-image/_nuxt/D25Gr2Wc.js">
274
274
  <script type="module" src="/__nuxt-og-image/_nuxt/MkuNFWFs.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"serverRendered":1},false]</script>
275
- <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-og-image",buildId:"4133e154-aafc-47ec-8a1d-f5919be391d9",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
275
+ <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-og-image",buildId:"353519f1-2e76-4016-9b50-2f26f3cb8794",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
package/dist/module.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "bridge": false
6
6
  },
7
7
  "configKey": "ogImage",
8
- "version": "3.0.0-rc.66",
8
+ "version": "3.0.0-rc.67",
9
9
  "builder": {
10
10
  "@nuxt/module-builder": "0.8.4",
11
11
  "unbuild": "2.0.0"
package/dist/module.mjs CHANGED
@@ -709,7 +709,7 @@ const module = defineNuxtModule({
709
709
  return f;
710
710
  }))).filter(Boolean);
711
711
  const fontKeys = config.fonts.map((f) => f.key?.split(":").pop());
712
- const fontStorageKeys = await fontStorage.keys();
712
+ const fontStorageKeys = await fontStorage.getKeys();
713
713
  await Promise.all(fontStorageKeys.filter((key) => !fontKeys.includes(key)).map(async (key) => {
714
714
  logger.info(`Nuxt OG Image removing outdated cached font file \`${key}\``);
715
715
  await fontStorage.removeItem(key);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-og-image",
3
3
  "type": "module",
4
- "version": "3.0.0-rc.67",
4
+ "version": "3.0.0-rc.68",
5
5
  "description": "Enlightened OG Image generation for Nuxt.",
6
6
  "author": {
7
7
  "website": "https://harlanzw.com",
@@ -1 +0,0 @@
1
- {"id":"4133e154-aafc-47ec-8a1d-f5919be391d9","timestamp":1726033782618,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}