@kimesh/head 0.2.45 → 0.2.46

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.d.mts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { HeadClient, KIMESH_HEAD_KEY, KimeshHeadPlugin } from "./plugin.mjs";
2
2
  import { RouteHeadConfig } from "@kimesh/router-runtime";
3
- import "@unhead/vue/client";
4
3
  import * as vue from "vue";
5
4
  import { PropType, Ref } from "vue";
6
5
  import { ActiveHeadEntry, Head, Head as Head$1, HeadEntryOptions, HeadSafe, MergeHead, MergeHead as MergeHead$1, UseHeadInput, UseHeadInput as UseHeadInput$1, UseHeadSafeInput, UseHeadSafeInput as UseHeadSafeInput$1, UseSeoMetaInput, UseSeoMetaInput as UseSeoMetaInput$1 } from "@unhead/vue";
package/dist/index.mjs CHANGED
@@ -3,7 +3,6 @@ import { tryUseKimeshApp } from "@kimesh/router-runtime";
3
3
  import { computed, defineComponent, getCurrentInstance } from "vue";
4
4
  import { useHead as useHead$1, useHeadSafe as useHeadSafe$1, useSeoMeta as useSeoMeta$1 } from "@unhead/vue";
5
5
  import { useRoute } from "vue-router";
6
-
7
6
  //#region src/composables/use-head.ts
8
7
  /**
9
8
  * @kimesh/head - useHead composable
@@ -43,7 +42,6 @@ function useHead(input) {
43
42
  }
44
43
  useHead$1(input);
45
44
  }
46
-
47
45
  //#endregion
48
46
  //#region src/composables/use-seo-meta.ts
49
47
  /**
@@ -72,7 +70,6 @@ function useHead(input) {
72
70
  function useSeoMeta(input) {
73
71
  useSeoMeta$1(input);
74
72
  }
75
-
76
73
  //#endregion
77
74
  //#region src/composables/use-head-safe.ts
78
75
  /**
@@ -105,7 +102,6 @@ function useHeadSafe(input) {
105
102
  console.error("[Kimesh Head] Failed to set head:", error);
106
103
  }
107
104
  }
108
-
109
105
  //#endregion
110
106
  //#region src/composables/use-route-head.ts
111
107
  /**
@@ -158,7 +154,6 @@ function useRouteHead() {
158
154
  useHead((() => routeHead.value || {}));
159
155
  return routeHead;
160
156
  }
161
-
162
157
  //#endregion
163
158
  //#region src/components/KmHead.ts
164
159
  /**
@@ -173,7 +168,6 @@ const KmHead = defineComponent({
173
168
  return () => slots.default ? slots.default() : null;
174
169
  }
175
170
  });
176
-
177
171
  //#endregion
178
172
  //#region src/components/KmTitle.ts
179
173
  function extractTextContent$2(vnodes) {
@@ -201,7 +195,6 @@ const KmTitle = defineComponent({
201
195
  return () => null;
202
196
  }
203
197
  });
204
-
205
198
  //#endregion
206
199
  //#region src/components/KmMeta.ts
207
200
  /**
@@ -234,7 +227,6 @@ const KmMeta = defineComponent({
234
227
  return () => null;
235
228
  }
236
229
  });
237
-
238
230
  //#endregion
239
231
  //#region src/components/KmLink.ts
240
232
  /**
@@ -275,7 +267,6 @@ const KmLink = defineComponent({
275
267
  return () => null;
276
268
  }
277
269
  });
278
-
279
270
  //#endregion
280
271
  //#region src/components/KmScript.ts
281
272
  function extractTextContent$1(vnodes) {
@@ -330,7 +321,6 @@ const KmScript = defineComponent({
330
321
  return () => null;
331
322
  }
332
323
  });
333
-
334
324
  //#endregion
335
325
  //#region src/components/KmStyle.ts
336
326
  function extractTextContent(vnodes) {
@@ -377,7 +367,6 @@ const KmStyle = defineComponent({
377
367
  return () => null;
378
368
  }
379
369
  });
380
-
381
370
  //#endregion
382
371
  //#region src/components/KmHtml.ts
383
372
  /**
@@ -405,7 +394,6 @@ const KmHtml = defineComponent({
405
394
  return () => null;
406
395
  }
407
396
  });
408
-
409
397
  //#endregion
410
398
  //#region src/components/KmBody.ts
411
399
  /**
@@ -424,6 +412,5 @@ const KmBody = defineComponent({
424
412
  return () => null;
425
413
  }
426
414
  });
427
-
428
415
  //#endregion
429
- export { KIMESH_HEAD_KEY, KimeshHeadPlugin, KmBody, KmHead, KmHtml, KmLink, KmMeta, KmScript, KmStyle, KmTitle, useHead, useHeadSafe, useRouteHead, useSeoMeta };
416
+ export { KIMESH_HEAD_KEY, KimeshHeadPlugin, KmBody, KmHead, KmHtml, KmLink, KmMeta, KmScript, KmStyle, KmTitle, useHead, useHeadSafe, useRouteHead, useSeoMeta };
package/dist/plugin.mjs CHANGED
@@ -1,7 +1,6 @@
1
1
  import { createLoaderDataKey, defineKimeshRuntimePlugin } from "@kimesh/router-runtime";
2
2
  import { createHead, renderDOMHead } from "@unhead/vue/client";
3
3
  import { nextTick } from "vue";
4
-
5
4
  //#region src/plugin.ts
6
5
  /**
7
6
  * @kimesh/head - Runtime Plugin
@@ -69,6 +68,5 @@ const KimeshHeadPlugin = defineKimeshRuntimePlugin({
69
68
  },
70
69
  hooks: { "app:mounted": () => {} }
71
70
  });
72
-
73
71
  //#endregion
74
- export { KIMESH_HEAD_KEY, KimeshHeadPlugin, KimeshHeadPlugin as default };
72
+ export { KIMESH_HEAD_KEY, KimeshHeadPlugin, KimeshHeadPlugin as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kimesh/head",
3
- "version": "0.2.45",
3
+ "version": "0.2.46",
4
4
  "description": "Head meta management for Kimesh framework",
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,11 +37,11 @@
37
37
  "@unhead/vue": "^2.1.6"
38
38
  },
39
39
  "devDependencies": {
40
- "@kimesh/router-runtime": "0.2.45",
40
+ "@kimesh/router-runtime": "0.2.46",
41
41
  "@types/node": "^25.0.8",
42
42
  "@vue/test-utils": "^2.4.6",
43
43
  "jsdom": "^27.4.0",
44
- "tsdown": "^0.20.3",
44
+ "tsdown": "^0.21.2",
45
45
  "typescript": "^5.9.3",
46
46
  "vitest": "^4.0.17",
47
47
  "vue": "^3.5.29",
@@ -49,7 +49,7 @@
49
49
  "vue-tsc": "^3.2.5"
50
50
  },
51
51
  "peerDependencies": {
52
- "@kimesh/router-runtime": "0.2.45",
52
+ "@kimesh/router-runtime": "0.2.46",
53
53
  "vue": "^3.5.0"
54
54
  }
55
55
  }