svelte-meta-tags 2.2.3 → 2.3.0
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/CHANGELOG.md +6 -0
- package/MetaTags.svelte +12 -0
- package/package.json +12 -12
- package/types.d.ts +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [2.2.3](https://github.com/oekazuma/svelte-meta-tags/compare/v2.2.2...v2.2.3) (2022-01-14)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- fix path to type definitions ([7c49639](https://github.com/oekazuma/svelte-meta-tags/commit/7c49639c1f08fe6ee6ea3e036c9982b1c1979c77))
|
|
6
|
+
|
|
1
7
|
## [2.2.2](https://github.com/oekazuma/svelte-meta-tags/compare/v2.2.1...v2.2.2) (2021-12-26)
|
|
2
8
|
|
|
3
9
|
### Bug Fixes
|
package/MetaTags.svelte
CHANGED
|
@@ -78,6 +78,18 @@
|
|
|
78
78
|
{#if twitter.handle}
|
|
79
79
|
<meta name="twitter:creator" content={twitter.handle} />
|
|
80
80
|
{/if}
|
|
81
|
+
{#if twitter.title}
|
|
82
|
+
<meta name="twitter:title" content={twitter.title} />
|
|
83
|
+
{/if}
|
|
84
|
+
{#if twitter.description}
|
|
85
|
+
<meta name="twitter:description" content={twitter.description} />
|
|
86
|
+
{/if}
|
|
87
|
+
{#if twitter.image}
|
|
88
|
+
<meta name="twitter:image" content={twitter.image} />
|
|
89
|
+
{/if}
|
|
90
|
+
{#if twitter.imageAlt}
|
|
91
|
+
<meta name="twitter:image:alt" content={twitter.imageAlt} />
|
|
92
|
+
{/if}
|
|
81
93
|
{/if}
|
|
82
94
|
|
|
83
95
|
{#if facebook}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-meta-tags",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "Svelte Meta Tags is a plugin that makes managing your SEO easier in Svelte projects.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -21,29 +21,29 @@
|
|
|
21
21
|
"schema-dts": "1.0.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@commitlint/cli": "16.0
|
|
24
|
+
"@commitlint/cli": "16.1.0",
|
|
25
25
|
"@commitlint/config-conventional": "16.0.0",
|
|
26
26
|
"@semantic-release/changelog": "6.0.1",
|
|
27
27
|
"@semantic-release/git": "10.0.1",
|
|
28
|
-
"@sveltejs/kit": "1.0.0-next.
|
|
29
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
30
|
-
"@typescript-eslint/parser": "5.
|
|
31
|
-
"cypress": "9.
|
|
32
|
-
"eslint": "8.
|
|
28
|
+
"@sveltejs/kit": "1.0.0-next.247",
|
|
29
|
+
"@typescript-eslint/eslint-plugin": "5.10.1",
|
|
30
|
+
"@typescript-eslint/parser": "5.10.1",
|
|
31
|
+
"cypress": "9.3.1",
|
|
32
|
+
"eslint": "8.7.0",
|
|
33
33
|
"eslint-config-prettier": "8.3.0",
|
|
34
34
|
"eslint-plugin-cypress": "2.12.1",
|
|
35
35
|
"eslint-plugin-svelte3": "3.4.0",
|
|
36
36
|
"husky": "7.0.4",
|
|
37
|
-
"lint-staged": "12.
|
|
37
|
+
"lint-staged": "12.3.2",
|
|
38
38
|
"prettier": "2.5.1",
|
|
39
39
|
"prettier-plugin-svelte": "2.6.0",
|
|
40
|
-
"semantic-release": "
|
|
41
|
-
"svelte": "3.46.
|
|
40
|
+
"semantic-release": "19.0.2",
|
|
41
|
+
"svelte": "3.46.3",
|
|
42
42
|
"svelte-check": "2.3.0",
|
|
43
|
-
"svelte-preprocess": "4.10.
|
|
43
|
+
"svelte-preprocess": "4.10.2",
|
|
44
44
|
"svelte2tsx": "0.4.14",
|
|
45
45
|
"tslib": "2.3.1",
|
|
46
|
-
"typescript": "4.5.
|
|
46
|
+
"typescript": "4.5.5"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"svelte": "^3.39.0"
|
package/types.d.ts
CHANGED
|
@@ -24,6 +24,10 @@ export interface Twitter {
|
|
|
24
24
|
cardType?: 'summary' | 'summary_large_image' | 'app' | 'player';
|
|
25
25
|
site?: string;
|
|
26
26
|
handle?: string;
|
|
27
|
+
title?: string;
|
|
28
|
+
description?: string;
|
|
29
|
+
image?: string;
|
|
30
|
+
imageAlt?: string;
|
|
27
31
|
}
|
|
28
32
|
|
|
29
33
|
export interface Facebook {
|