@unhead/vue 2.0.0-beta.2 → 2.0.0-rc.10

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
@@ -1,13 +1,13 @@
1
- # `@unhead/vue`
2
-
3
- Visit the [documentation site](https://unhead.unjs.io/) for guides and API references.
4
-
5
- ## Install
6
-
7
- ```bash
8
- npm i @unhead/vue
9
- ```
10
-
11
- ## License
12
-
13
- MIT License © 2022-PRESENT [Harlan Wilton](https://github.com/harlan-zw)
1
+ # `@unhead/vue`
2
+
3
+ Visit the [documentation site](https://unhead.unjs.io/) for guides and API references.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm i @unhead/vue
9
+ ```
10
+
11
+ ## License
12
+
13
+ MIT License © 2022-PRESENT [Harlan Wilton](https://github.com/harlan-zw)
package/client.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './dist/client'
1
+ export * from './dist/client.js'
package/dist/index.d.mts CHANGED
@@ -6,11 +6,11 @@ import { V as VueHeadClient, U as UseHeadInput, a as UseHeadOptions, b as UseSeo
6
6
  export { B as BodyAttr, H as HtmlAttr, M as MaybeFalsy, l as ReactiveHead, n as ResolvableArray, d as ResolvableBase, k as ResolvableBodyAttributes, j as ResolvableHtmlAttributes, e as ResolvableLink, f as ResolvableMeta, i as ResolvableNoscript, o as ResolvableProperties, h as ResolvableScript, g as ResolvableStyle, R as ResolvableTitle, c as ResolvableTitleTemplate, m as ResolvableValue } from './shared/vue.C1egIkvG.mjs';
7
7
  import { U as UseHeadSafeInput } from './shared/vue.Ds_C3mXu.mjs';
8
8
  export { H as HeadSafe, S as SafeBodyAttr, a as SafeHtmlAttr, c as SafeLink, b as SafeMeta, e as SafeNoscript, d as SafeScript, f as SafeStyle } from './shared/vue.Ds_C3mXu.mjs';
9
+ export { AsVoidFunctions, EventHandlerOptions, RecordingEntry, ScriptInstance, UseFunctionType, UseScriptResolvedInput, UseScriptStatus, WarmupStrategy, createSpyProxy, resolveScriptKey } from 'unhead/scripts';
10
+ export { UseScriptContext, UseScriptInput, UseScriptOptions, UseScriptReturn, VueScriptInstance, useScript } from './scripts.mjs';
9
11
  export { Base, BodyAttributes, HtmlAttributes, Link, Meta, Noscript, Script, Style } from './types.mjs';
10
12
  export { resolveUnrefHeadInput } from './utils.mjs';
11
13
  export { V as VueHeadMixin } from './shared/vue.DnywREVF.mjs';
12
- export { UseScriptContext, UseScriptInput, UseScriptOptions, UseScriptReturn, VueScriptInstance, useScript } from './scripts.mjs';
13
- export { AsVoidFunctions, EventHandlerOptions, RecordingEntry, ScriptInstance, UseFunctionType, UseScriptResolvedInput, UseScriptStatus, WarmupStrategy, createSpyProxy, resolveScriptKey } from 'unhead/scripts';
14
14
  import 'vue';
15
15
  import 'unhead/utils';
16
16
 
package/dist/index.d.ts CHANGED
@@ -6,11 +6,11 @@ import { V as VueHeadClient, U as UseHeadInput, a as UseHeadOptions, b as UseSeo
6
6
  export { B as BodyAttr, H as HtmlAttr, M as MaybeFalsy, l as ReactiveHead, n as ResolvableArray, d as ResolvableBase, k as ResolvableBodyAttributes, j as ResolvableHtmlAttributes, e as ResolvableLink, f as ResolvableMeta, i as ResolvableNoscript, o as ResolvableProperties, h as ResolvableScript, g as ResolvableStyle, R as ResolvableTitle, c as ResolvableTitleTemplate, m as ResolvableValue } from './shared/vue.C1egIkvG.js';
7
7
  import { U as UseHeadSafeInput } from './shared/vue.A6QPXQyg.js';
8
8
  export { H as HeadSafe, S as SafeBodyAttr, a as SafeHtmlAttr, c as SafeLink, b as SafeMeta, e as SafeNoscript, d as SafeScript, f as SafeStyle } from './shared/vue.A6QPXQyg.js';
9
+ export { AsVoidFunctions, EventHandlerOptions, RecordingEntry, ScriptInstance, UseFunctionType, UseScriptResolvedInput, UseScriptStatus, WarmupStrategy, createSpyProxy, resolveScriptKey } from 'unhead/scripts';
10
+ export { UseScriptContext, UseScriptInput, UseScriptOptions, UseScriptReturn, VueScriptInstance, useScript } from './scripts.js';
9
11
  export { Base, BodyAttributes, HtmlAttributes, Link, Meta, Noscript, Script, Style } from './types.js';
10
12
  export { resolveUnrefHeadInput } from './utils.js';
11
13
  export { V as VueHeadMixin } from './shared/vue.DnywREVF.js';
12
- export { UseScriptContext, UseScriptInput, UseScriptOptions, UseScriptReturn, VueScriptInstance, useScript } from './scripts.js';
13
- export { AsVoidFunctions, EventHandlerOptions, RecordingEntry, ScriptInstance, UseFunctionType, UseScriptResolvedInput, UseScriptStatus, WarmupStrategy, createSpyProxy, resolveScriptKey } from 'unhead/scripts';
14
14
  import 'vue';
15
15
  import 'unhead/utils';
16
16
 
package/legacy.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './dist/legacy'
1
+ export * from './dist/legacy.js'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unhead/vue",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.2",
4
+ "version": "2.0.0-rc.10",
5
5
  "description": "Full-stack <head> manager built for Vue.",
6
6
  "author": "Harlan Wilton <harlan@harlanzw.com>",
7
7
  "license": "MIT",
@@ -23,39 +23,39 @@
23
23
  "exports": {
24
24
  ".": {
25
25
  "types": "./dist/index.d.ts",
26
- "import": "./dist/index.mjs"
26
+ "default": "./dist/index.mjs"
27
27
  },
28
28
  "./components": {
29
29
  "types": "./dist/components.d.ts",
30
- "import": "./dist/components.mjs"
30
+ "default": "./dist/components.mjs"
31
31
  },
32
32
  "./server": {
33
33
  "types": "./dist/server.d.ts",
34
- "import": "./dist/server.mjs"
34
+ "default": "./dist/server.mjs"
35
35
  },
36
36
  "./client": {
37
37
  "types": "./dist/client.d.ts",
38
- "import": "./dist/client.mjs"
38
+ "default": "./dist/client.mjs"
39
39
  },
40
40
  "./types": {
41
41
  "types": "./dist/types.d.ts",
42
- "import": "./dist/types.mjs"
42
+ "default": "./dist/types.mjs"
43
43
  },
44
44
  "./legacy": {
45
45
  "types": "./dist/legacy.d.ts",
46
- "import": "./dist/legacy.mjs"
46
+ "default": "./dist/legacy.mjs"
47
47
  },
48
48
  "./plugins": {
49
49
  "types": "./dist/plugins.d.ts",
50
- "import": "./dist/plugins.mjs"
50
+ "default": "./dist/plugins.mjs"
51
51
  },
52
52
  "./utils": {
53
53
  "types": "./dist/utils.d.ts",
54
- "import": "./dist/utils.mjs"
54
+ "default": "./dist/utils.mjs"
55
55
  },
56
56
  "./scripts": {
57
57
  "types": "./dist/scripts.d.ts",
58
- "import": "./dist/scripts.mjs"
58
+ "default": "./dist/scripts.mjs"
59
59
  }
60
60
  },
61
61
  "main": "dist/index.mjs",
@@ -90,14 +90,8 @@
90
90
  }
91
91
  },
92
92
  "files": [
93
- "client.d.ts",
94
- "dist",
95
- "legacy.d.ts",
96
- "plugins.d.ts",
97
- "scripts.d.ts",
98
- "server.d.ts",
99
- "types.d.ts",
100
- "utils.d.ts"
93
+ "*.d.ts",
94
+ "dist"
101
95
  ],
102
96
  "peerDependencies": {
103
97
  "vue": ">=3.5.13"
@@ -109,10 +103,14 @@
109
103
  },
110
104
  "dependencies": {
111
105
  "hookable": "^5.5.3",
112
- "unhead": "2.0.0-beta.2"
106
+ "unhead": "2.0.0-rc.10"
107
+ },
108
+ "devDependencies": {
109
+ "vue": "^3.5.13"
113
110
  },
114
111
  "scripts": {
115
- "build": "unbuild .",
116
- "stub": "unbuild . --stub"
112
+ "build": "unbuild",
113
+ "stub": "unbuild --stub",
114
+ "test:attw": "attw --pack"
117
115
  }
118
116
  }
package/plugins.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './dist/plugins'
1
+ export * from './dist/plugins'
package/scripts.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/scripts'
package/server.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './dist/server'
1
+ export * from './dist/server'
package/types.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './dist/types'
1
+ export * from './dist/types'
package/utils.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './dist/utils'
1
+ export * from './dist/utils'