@unhead/addons 1.0.21 → 1.0.22
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.cjs +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const shared = require('@unhead/shared');
|
|
4
4
|
|
|
5
5
|
const InferSeoMetaPlugin = (options) => {
|
|
6
6
|
options = options || {};
|
|
7
7
|
const ogTitleTemplate = options.ogTitle || "%s";
|
|
8
8
|
const ogDescriptionTemplate = options.ogDescription || "%s";
|
|
9
|
-
return
|
|
9
|
+
return shared.defineHeadPlugin({
|
|
10
10
|
hooks: {
|
|
11
11
|
entries: {
|
|
12
12
|
resolve({ entries }) {
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhead/addons",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "1.0.22",
|
|
5
|
+
"packageManager": "pnpm@7.26.3",
|
|
6
6
|
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"funding": "https://github.com/sponsors/harlan-zw",
|
|
9
|
-
"homepage": "https://
|
|
9
|
+
"homepage": "https://unhead.harlanzw.com",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/
|
|
12
|
+
"url": "git+https://github.com/unjs/unhead.git",
|
|
13
13
|
"directory": "packages/ssr"
|
|
14
14
|
},
|
|
15
15
|
"bugs": {
|
|
16
|
-
"url": "https://github.com/
|
|
16
|
+
"url": "https://github.com/unjs/unhead/issues"
|
|
17
17
|
},
|
|
18
18
|
"sideEffects": false,
|
|
19
19
|
"exports": {
|
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
],
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@rollup/pluginutils": "^5.0.2",
|
|
54
|
-
"unplugin": "^1.0
|
|
54
|
+
"unplugin": "^1.1.0",
|
|
55
55
|
"unplugin-ast": "^0.7.0",
|
|
56
|
-
"@unhead/schema": "1.0.
|
|
57
|
-
"unhead": "1.0.
|
|
56
|
+
"@unhead/schema": "1.0.22",
|
|
57
|
+
"@unhead/shared": "1.0.22",
|
|
58
|
+
"unhead": "1.0.22"
|
|
58
59
|
},
|
|
59
60
|
"devDependencies": {
|
|
60
|
-
"@babel/types": "^7.20.7"
|
|
61
|
-
"zhead": "^1.1.0"
|
|
61
|
+
"@babel/types": "^7.20.7"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "unbuild .",
|