@mannisto/astro-metadata 1.0.0-beta.7 → 1.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mannisto/astro-metadata",
3
- "version": "1.0.0-beta.7",
3
+ "version": "1.0.1",
4
4
  "description": "Astro components for managing your page head — metadata, social sharing, favicons, and SEO.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -24,22 +24,26 @@
24
24
  "index.ts"
25
25
  ],
26
26
  "peerDependencies": {
27
- "astro": "^4.3.0 || ^5.0.0"
27
+ "astro": "^4.3.0 || ^5.0.0 || ^6.0.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@biomejs/biome": "^2.4.3",
30
+ "@eslint/js": "^10.0.1",
31
+ "@ianvs/prettier-plugin-sort-imports": "^4.7.1",
31
32
  "@playwright/test": "^1.58.2",
32
- "@types/node": "^25.3.0",
33
- "astro": "^5.17.2",
33
+ "@types/node": "^22.19.15",
34
+ "astro": "^5.18.1",
35
+ "eslint": "^10.0.3",
36
+ "eslint-config-prettier": "^10.1.8",
34
37
  "prettier": "^3.8.1",
35
38
  "prettier-plugin-astro": "^0.14.1",
36
39
  "typescript": "^5.9.3",
37
- "vitest": "^4.0.18"
40
+ "typescript-eslint": "^8.57.0",
41
+ "vitest": "^4.1.0"
38
42
  },
39
43
  "scripts": {
40
- "lint": "biome lint ./src ./index.ts",
44
+ "lint": "eslint . --fix",
41
45
  "format": "prettier --write .",
42
- "check": "biome lint ./src ./index.ts && prettier --check .",
46
+ "check": "eslint . && prettier --check .",
43
47
  "test": "pnpm run test:unit && pnpm run test:e2e",
44
48
  "test:unit": "vitest run",
45
49
  "test:e2e": "playwright test"
@@ -1,16 +1,17 @@
1
1
  ---
2
2
  import type { ComponentProps } from "astro/types"
3
- import Title from "./Title.astro"
4
- import Description from "./Description.astro"
3
+
5
4
  import Canonical from "./Canonical.astro"
6
- import Keywords from "./Keywords.astro"
7
- import Robots from "./Robots.astro"
8
- import OpenGraph from "./OpenGraph.astro"
9
- import Twitter from "./Twitter.astro"
5
+ import Description from "./Description.astro"
10
6
  import Favicon from "./Favicon.astro"
11
- import Schema from "./Schema.astro"
7
+ import Keywords from "./Keywords.astro"
12
8
  import LanguageAlternates from "./LanguageAlternates.astro"
9
+ import OpenGraph from "./OpenGraph.astro"
13
10
  import type { OpenGraphImage } from "./OpenGraph.astro"
11
+ import Robots from "./Robots.astro"
12
+ import Schema from "./Schema.astro"
13
+ import Title from "./Title.astro"
14
+ import Twitter from "./Twitter.astro"
14
15
 
15
16
  export type Props = {
16
17
  title: string
@@ -1,4 +1,5 @@
1
1
  import type { ComponentProps } from "astro/types"
2
+
2
3
  import type Head from "../components/Head.astro"
3
4
 
4
5
  let store: Partial<ComponentProps<typeof Head>> = {}