nuxt-schema-org 5.0.6 → 5.0.7

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.
Files changed (57) hide show
  1. package/package.json +31 -21
  2. package/dist/client/200.html +0 -14
  3. package/dist/client/404.html +0 -14
  4. package/dist/client/_nuxt/B73eqI6v.js +0 -1
  5. package/dist/client/_nuxt/BCcnOCi9.js +0 -174
  6. package/dist/client/_nuxt/BMMyXqK5.js +0 -1
  7. package/dist/client/_nuxt/CVO1_9PV.js +0 -1
  8. package/dist/client/_nuxt/Cp-IABpG.js +0 -1
  9. package/dist/client/_nuxt/D0r3Knsf.js +0 -1
  10. package/dist/client/_nuxt/builds/latest.json +0 -1
  11. package/dist/client/_nuxt/builds/meta/17f80431-2323-40d6-ab5c-1c16e0fa57ed.json +0 -1
  12. package/dist/client/_nuxt/entry.PRhstC-s.css +0 -1
  13. package/dist/client/_nuxt/error-404.B3xKW7zl.css +0 -1
  14. package/dist/client/_nuxt/error-500.BGJrBjm4.css +0 -1
  15. package/dist/client/_nuxt/tgLT0vNn.js +0 -1
  16. package/dist/client/index.html +0 -14
  17. package/dist/content.cjs +0 -28
  18. package/dist/content.d.cts +0 -19
  19. package/dist/content.d.mts +0 -19
  20. package/dist/content.d.ts +0 -19
  21. package/dist/content.mjs +0 -24
  22. package/dist/module.cjs +0 -205
  23. package/dist/module.d.cts +0 -51
  24. package/dist/module.d.mts +0 -49
  25. package/dist/module.d.ts +0 -51
  26. package/dist/module.json +0 -13
  27. package/dist/module.mjs +0 -202
  28. package/dist/runtime/app/composables/useSchemaOrg.d.ts +0 -4
  29. package/dist/runtime/app/composables/useSchemaOrg.js +0 -27
  30. package/dist/runtime/app/plugins/defaults.d.ts +0 -2
  31. package/dist/runtime/app/plugins/defaults.js +0 -28
  32. package/dist/runtime/app/plugins/i18n/defaults.d.ts +0 -2
  33. package/dist/runtime/app/plugins/i18n/defaults.js +0 -77
  34. package/dist/runtime/app/plugins/i18n/init.d.ts +0 -2
  35. package/dist/runtime/app/plugins/i18n/init.js +0 -11
  36. package/dist/runtime/app/plugins/i18n/tsconfig.json +0 -3
  37. package/dist/runtime/app/plugins/init.d.ts +0 -2
  38. package/dist/runtime/app/plugins/init.js +0 -8
  39. package/dist/runtime/app/utils/config.d.ts +0 -2
  40. package/dist/runtime/app/utils/config.js +0 -8
  41. package/dist/runtime/app/utils/shared.d.ts +0 -3
  42. package/dist/runtime/app/utils/shared.js +0 -99
  43. package/dist/runtime/server/plugins/nuxt-content-v2.d.ts +0 -2
  44. package/dist/runtime/server/plugins/nuxt-content-v2.js +0 -37
  45. package/dist/runtime/server/routes/__schema-org__/debug.d.ts +0 -5
  46. package/dist/runtime/server/routes/__schema-org__/debug.js +0 -10
  47. package/dist/runtime/server/tsconfig.json +0 -3
  48. package/dist/runtime/server/utils/config.d.ts +0 -3
  49. package/dist/runtime/server/utils/config.js +0 -8
  50. package/dist/runtime/types.d.ts +0 -9
  51. package/dist/runtime/types.js +0 -0
  52. package/dist/schema.cjs +0 -16
  53. package/dist/schema.d.cts +0 -1
  54. package/dist/schema.d.mts +0 -1
  55. package/dist/schema.d.ts +0 -1
  56. package/dist/schema.mjs +0 -1
  57. package/dist/types.d.mts +0 -7
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-schema-org",
3
3
  "type": "module",
4
- "version": "5.0.6",
4
+ "version": "5.0.7",
5
5
  "description": "The quickest and easiest way to build Schema.org graphs for Nuxt.",
6
6
  "author": "Harlan Wilton <harlan@harlanzw.com>",
7
7
  "license": "MIT",
@@ -47,39 +47,49 @@
47
47
  "dist"
48
48
  ],
49
49
  "peerDependencies": {
50
- "@unhead/vue": "^2.0.7"
50
+ "@unhead/vue": "^2.0.7",
51
+ "unhead": "^2.0.7"
51
52
  },
52
53
  "peerDependenciesMeta": {
53
54
  "@unhead/vue": {
54
55
  "optional": true
56
+ },
57
+ "unhead": {
58
+ "optional": true
55
59
  }
56
60
  },
57
61
  "dependencies": {
58
- "@nuxt/kit": "^3.17.5",
59
- "@unhead/schema-org": "^2.0.11",
62
+ "@nuxt/kit": "^4.1.2",
63
+ "@unhead/schema-org": "^2.0.14",
60
64
  "defu": "^6.1.4",
61
- "nuxt-site-config": "^3.2.2",
65
+ "nuxt-site-config": "^3.2.5",
62
66
  "pathe": "^2.0.3",
63
- "pkg-types": "^2.1.0",
64
- "sirv": "^3.0.1"
67
+ "pkg-types": "^2.3.0",
68
+ "sirv": "^3.0.2"
65
69
  },
66
70
  "devDependencies": {
67
- "@antfu/eslint-config": "^4.16.1",
71
+ "@antfu/eslint-config": "^5.3.0",
68
72
  "@arethetypeswrong/cli": "^0.18.2",
69
- "@nuxt/content": "^3.6.1",
70
- "@nuxt/module-builder": "^1.0.1",
71
- "@nuxt/schema": "^3.17.5",
72
- "@nuxt/test-utils": "^3.19.1",
73
- "@nuxt/ui": "^3.2.0",
74
- "@nuxtjs/i18n": "^9.5.6",
75
- "@nuxtjs/robots": "^5.2.11",
76
- "bumpp": "^10.2.0",
77
- "cheerio": "^1.1.0",
78
- "eslint": "^9.29.0",
79
- "nuxt": "^3.17.5",
80
- "typescript": "^5.8.3",
73
+ "@nuxt/content": "^3.7.1",
74
+ "@nuxt/module-builder": "^1.0.2",
75
+ "@nuxt/schema": "^4.1.2",
76
+ "@nuxt/test-utils": "^3.19.2",
77
+ "@nuxt/ui": "^3.3.4",
78
+ "@nuxtjs/i18n": "^10.1.0",
79
+ "@nuxtjs/robots": "^5.5.3",
80
+ "better-sqlite3": "^12.2.0",
81
+ "bumpp": "^10.2.3",
82
+ "cheerio": "^1.1.2",
83
+ "eslint": "^9.35.0",
84
+ "nuxt": "^4.1.2",
85
+ "typescript": "^5.9.2",
81
86
  "vitest": "^3.2.4"
82
87
  },
88
+ "build": {
89
+ "externals": [
90
+ "@unhead/vue/types"
91
+ ]
92
+ },
83
93
  "scripts": {
84
94
  "lint": "eslint . --fix",
85
95
  "client:build": "nuxi generate client",
@@ -88,7 +98,7 @@
88
98
  "dev": "nuxi dev playground",
89
99
  "dev:build": "nuxi build playground",
90
100
  "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && nuxi prepare client",
91
- "release": "pnpm build && bumpp && pnpm -r publish",
101
+ "release": "pnpm build && bumpp -x \"npx changelogen --output=CHANGELOG.md\"",
92
102
  "typecheck": "tsc --noEmit ",
93
103
  "test": "nuxi prepare test/fixtures/i18n && nuxi prepare test/fixtures/i18n-domains && vitest",
94
104
  "test:attw": "attw --pack"
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html><html><head><meta charset="utf-8">
2
- <meta name="viewport" content="width=device-width, initial-scale=1">
3
- <link rel="stylesheet" href="/__nuxt-schema-org/_nuxt/entry.PRhstC-s.css" crossorigin>
4
- <link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/BCcnOCi9.js">
5
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CVO1_9PV.js">
6
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/D0r3Knsf.js">
7
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/BMMyXqK5.js">
8
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/Cp-IABpG.js">
9
- <link rel="prefetch" as="style" crossorigin href="/__nuxt-schema-org/_nuxt/error-404.B3xKW7zl.css">
10
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/tgLT0vNn.js">
11
- <link rel="prefetch" as="style" crossorigin href="/__nuxt-schema-org/_nuxt/error-500.BGJrBjm4.css">
12
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/B73eqI6v.js">
13
- <script type="module" src="/__nuxt-schema-org/_nuxt/BCcnOCi9.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT_SITE_CONFIG__={_priority:{name:-10,env:-15},env:"production",name:"nuxt-schema-org-devtools"}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1750922476726,false]</script>
14
- <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-schema-org",buildId:"17f80431-2323-40d6-ab5c-1c16e0fa57ed",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html><html><head><meta charset="utf-8">
2
- <meta name="viewport" content="width=device-width, initial-scale=1">
3
- <link rel="stylesheet" href="/__nuxt-schema-org/_nuxt/entry.PRhstC-s.css" crossorigin>
4
- <link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/BCcnOCi9.js">
5
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CVO1_9PV.js">
6
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/D0r3Knsf.js">
7
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/BMMyXqK5.js">
8
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/Cp-IABpG.js">
9
- <link rel="prefetch" as="style" crossorigin href="/__nuxt-schema-org/_nuxt/error-404.B3xKW7zl.css">
10
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/tgLT0vNn.js">
11
- <link rel="prefetch" as="style" crossorigin href="/__nuxt-schema-org/_nuxt/error-500.BGJrBjm4.css">
12
- <link rel="prefetch" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/B73eqI6v.js">
13
- <script type="module" src="/__nuxt-schema-org/_nuxt/BCcnOCi9.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT_SITE_CONFIG__={_priority:{name:-10,env:-15},env:"production",name:"nuxt-schema-org-devtools"}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1750922476726,false]</script>
14
- <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-schema-org",buildId:"17f80431-2323-40d6-ab5c-1c16e0fa57ed",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
@@ -1 +0,0 @@
1
- import{_ as s,u as a,c as i,o as u,a as e,t as o}from"./BCcnOCi9.js";const l={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},c={class:"max-w-520px text-center"},d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const n=t;return a({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(g,r)=>(u(),i("div",l,[r[0]||(r[0]=e("div",{class:"-bottom-1/2 fixed h-1/2 left-0 right-0 spotlight"},null,-1)),e("div",c,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:o(t.statusCode)},null,8,d),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:o(t.description)},null,8,p)])]))}},h=s(f,[["__scopeId","data-v-192178d4"]]);export{h as default};