svelte-meta-tags 2.1.0 → 2.2.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/README.md +16 -0
- package/package.json +17 -17
- package/types.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# [2.1.0](https://github.com/oekazuma/svelte-meta-tags/compare/v2.0.0...v2.1.0) (2021-11-04)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- allow title to be dynamically changed ([b9acefb](https://github.com/oekazuma/svelte-meta-tags/commit/b9acefbea7c64b5434837ffecc17423dcf0ce2d3))
|
|
6
|
+
|
|
1
7
|
# [2.0.0](https://github.com/oekazuma/svelte-meta-tags/compare/v1.2.2...v2.0.0) (2021-09-18)
|
|
2
8
|
|
|
3
9
|
### chore
|
package/README.md
CHANGED
|
@@ -16,6 +16,8 @@ This library is inspired by [next-seo](https://github.com/garmeeh/next-seo)
|
|
|
16
16
|
- [Installing](#-installing)
|
|
17
17
|
- [Usage](#-usage)
|
|
18
18
|
- [Properties](#properties)
|
|
19
|
+
- [Twitter](#twitter)
|
|
20
|
+
- [Facebook](#facebook)
|
|
19
21
|
- [robotsProps](#robotsprops)
|
|
20
22
|
- [Alternate](#alternate)
|
|
21
23
|
- [Additional Meta Tags](#additional-meta-tags)
|
|
@@ -149,6 +151,20 @@ yarn add svelte-meta-tags
|
|
|
149
151
|
| `openGraph.article.section` | string | A high-level section name. E.g. Technology |
|
|
150
152
|
| `openGraph.article.tags` | string[] | Tag words associated with this article. |
|
|
151
153
|
|
|
154
|
+
#### Twitter
|
|
155
|
+
|
|
156
|
+
Twitter will read the `og:title`, `og:image` and `og:description` tags for their card, this is why `svelte-meta-tags` omits `twitter:title`, `twitter:image` and `twitter:description` so not to duplicate.
|
|
157
|
+
|
|
158
|
+
#### Facebook
|
|
159
|
+
|
|
160
|
+
```js
|
|
161
|
+
facebook={{
|
|
162
|
+
appId: '1234567890',
|
|
163
|
+
}}
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
Add this to your SEO config to include the fb:app_id meta if you need to enable Facebook insights for your site. Information regarding this can be found in facebook's [documentation](https://developers.facebook.com/docs/sharing/webmasters/)
|
|
167
|
+
|
|
152
168
|
#### robotsProps
|
|
153
169
|
|
|
154
170
|
In addition to `index, follow` the `robots` meta tag accepts more properties to archive a more accurate crawling and serve better snippets for SEO bots that crawl your page.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-meta-tags",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.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",
|
|
@@ -25,29 +25,29 @@
|
|
|
25
25
|
"schema-dts": "1.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@commitlint/cli": "
|
|
29
|
-
"@commitlint/config-conventional": "
|
|
28
|
+
"@commitlint/cli": "15.0.0",
|
|
29
|
+
"@commitlint/config-conventional": "15.0.0",
|
|
30
30
|
"@semantic-release/changelog": "6.0.1",
|
|
31
31
|
"@semantic-release/git": "10.0.1",
|
|
32
|
-
"@sveltejs/kit": "1.0.0-next.
|
|
33
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
34
|
-
"@typescript-eslint/parser": "5.
|
|
35
|
-
"cypress": "
|
|
36
|
-
"eslint": "8.1
|
|
32
|
+
"@sveltejs/kit": "1.0.0-next.202",
|
|
33
|
+
"@typescript-eslint/eslint-plugin": "5.7.0",
|
|
34
|
+
"@typescript-eslint/parser": "5.7.0",
|
|
35
|
+
"cypress": "9.1.1",
|
|
36
|
+
"eslint": "8.4.1",
|
|
37
37
|
"eslint-config-prettier": "8.3.0",
|
|
38
38
|
"eslint-plugin-cypress": "2.12.1",
|
|
39
39
|
"eslint-plugin-svelte3": "3.2.1",
|
|
40
40
|
"husky": "7.0.4",
|
|
41
|
-
"lint-staged": "
|
|
42
|
-
"prettier": "2.
|
|
43
|
-
"prettier-plugin-svelte": "2.
|
|
44
|
-
"semantic-release": "18.0.
|
|
45
|
-
"svelte": "3.44.
|
|
46
|
-
"svelte-check": "2.2.
|
|
47
|
-
"svelte-preprocess": "4.
|
|
48
|
-
"svelte2tsx": "0.4.
|
|
41
|
+
"lint-staged": "12.1.2",
|
|
42
|
+
"prettier": "2.5.1",
|
|
43
|
+
"prettier-plugin-svelte": "2.5.1",
|
|
44
|
+
"semantic-release": "18.0.1",
|
|
45
|
+
"svelte": "3.44.3",
|
|
46
|
+
"svelte-check": "2.2.10",
|
|
47
|
+
"svelte-preprocess": "4.10.0",
|
|
48
|
+
"svelte2tsx": "0.4.11",
|
|
49
49
|
"tslib": "2.3.1",
|
|
50
|
-
"typescript": "4.
|
|
50
|
+
"typescript": "4.5.4"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"svelte": "^3.39.0"
|
package/types.d.ts
CHANGED