@mano8/astro-auth-m8 2.7.1 → 2.7.2

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/package.json +15 -13
package/CHANGELOG.md CHANGED
@@ -8,6 +8,54 @@ this package's own surface: a backend contract repoint is always a major.
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## 2.7.2
12
+
13
+ Admits `@astrojs/react` 7 and Starlight 0.42 as peers, tracks the published
14
+ `@mano8/astro-ui-m8` `1.5.3`, and adds the fleet's dependency compatibility
15
+ gate. A patch: peer ranges only widen, with both old lines still accepted,
16
+ and the one floor that rises is to a published release. The supported
17
+ backend contract stays `fa-auth-m8@2.0` (range `>=2.0.0 <3.0.0`), and the
18
+ tested service version stays `2.2.3`.
19
+
20
+ ### Changed
21
+
22
+ - **`@mano8/astro-ui-m8` floor `^1.5.2` → `^1.5.3`** in `dependencies`: the
23
+ newest published release, read back as npm `latest`, with tag `v1.5.3` =
24
+ `main` `6ec692b`. 1.5.3 is the release whose `lucide-react` peer accepts
25
+ `^1.28.0` rather than exactly `1.28.0`, so a host on a newer `1.x` no
26
+ longer breaks it. The lock moves that one entry; its `integrity` equals the
27
+ registry's `dist.integrity`.
28
+ - **Peer `@astrojs/react` `^6.0.1` → `^6.0.1 || ^7.0.0`.** A host on
29
+ `@astrojs/react` 7 (Dependabot's `fa-ui-m8` #40) failed this peer. The
30
+ package imports nothing from `@astrojs/react`. 7.0.0 keeps the same React
31
+ peer ranges and adds only an optional `oxc-transform-react` peer.
32
+ - **Peer `@astrojs/starlight` `^0.41.3` → `^0.41.3 || ^0.42.0`.** Starlight
33
+ 0.42 is the line built for `astro` 7.3. Under 0.41, `@astrojs/mdx` 7 pins
34
+ `@astrojs/markdown-remark` 7.2.x, which is outside the `^7.3.0` optional
35
+ peer that `astro` 7.3 declares. The 0.42 breaking changes (mobile-menu
36
+ markup, the `tagline` option, `astro` ≥ 7.2.10) touch nothing this package
37
+ overrides or configures.
38
+ - Dev dependencies now test the new lines: `@astrojs/react` `^7.0.0`,
39
+ `@astrojs/starlight` `^0.42.4`, `astro` `^7.3.4`, `react` / `react-dom` /
40
+ `@types/react` `^19.3.0`, `@typescript-eslint/*` `^8.70.1` and `globals`
41
+ `^17.12.0`, all matching `fa-ui-m8`. `@types/react-dom` `^19.3.0` is now
42
+ declared: it is a required peer of `@astrojs/react`, which npm used to
43
+ install on its own.
44
+
45
+ ### Added
46
+
47
+ - **A tree that breaks a declared range fails the build.**
48
+ `scripts/verify-dependency-compat.mjs` (`npm run verify:dependency-compat`)
49
+ and `tests/dependency-compat.test.ts`, byte-identical across the fleet's
50
+ six npm repositories and first shipped in `@mano8/astro-ui-m8` `1.5.3`.
51
+ The gate reads `npm ls --all --json --long` with peer edges forced on. It
52
+ names every installed package outside a range declared on it, and every
53
+ missing required dependency or peer outside an optional platform binary.
54
+ CI runs it after `npm ci`.
55
+ - **`.npmrc` with `legacy-peer-deps=true`**, byte-identical fleet-wide. npm
56
+ and Dependabot never refuse to resolve on a peer conflict, and the gate
57
+ above enforces the ranges instead.
58
+
11
59
  ## 2.7.1
12
60
 
13
61
  Tracks the published `@mano8/astro-ui-m8` `1.5.2` (`B39-astro-ui-changelog-release`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mano8/astro-auth-m8",
3
- "version": "2.7.1",
3
+ "version": "2.7.2",
4
4
  "description": "Astro integration and headless client for fa-auth-m8.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -57,6 +57,7 @@
57
57
  "build:registry": "node scripts/build-registry.mjs",
58
58
  "preview:dev": "vite --config fixtures/preview/vite.config.ts",
59
59
  "preview:build": "tsc -p fixtures/preview/tsconfig.json --noEmit && vite build --config fixtures/preview/vite.config.ts",
60
+ "verify:dependency-compat": "node scripts/verify-dependency-compat.mjs",
60
61
  "verify:fleet-gates": "node scripts/verify-fleet-gates.mjs",
61
62
  "verify:lock-integrity": "node scripts/verify-lock-integrity.mjs",
62
63
  "verify:registry-consumer": "node scripts/verify-registry-consumer.mjs",
@@ -69,11 +70,11 @@
69
70
  "test:unit": "vitest run"
70
71
  },
71
72
  "dependencies": {
72
- "@mano8/astro-ui-m8": "^1.5.2"
73
+ "@mano8/astro-ui-m8": "^1.5.3"
73
74
  },
74
75
  "peerDependencies": {
75
- "@astrojs/react": "^6.0.1",
76
- "@astrojs/starlight": "^0.41.3",
76
+ "@astrojs/react": "^6.0.1 || ^7.0.0",
77
+ "@astrojs/starlight": "^0.41.3 || ^0.42.0",
77
78
  "@tanstack/react-query": "^5.102.8",
78
79
  "astro": "^7.0.9",
79
80
  "react": "^18.0.0 || ^19.0.0",
@@ -81,24 +82,25 @@
81
82
  "zod": "^4.0.0"
82
83
  },
83
84
  "devDependencies": {
84
- "@astrojs/react": "^6.0.4",
85
- "@astrojs/starlight": "^0.41.10",
85
+ "@astrojs/react": "^7.0.0",
86
+ "@astrojs/starlight": "^0.42.4",
86
87
  "@eslint-react/eslint-plugin": "^5.18.6",
87
88
  "@eslint/js": "^10.0.1",
88
89
  "@tanstack/react-query": "^5.102.8",
89
90
  "@tanstack/react-table": "^8.21.3",
90
91
  "@types/node": "^26.4.0",
91
- "@types/react": "^19.2.18",
92
- "@typescript-eslint/eslint-plugin": "^8.68.0",
93
- "@typescript-eslint/parser": "^8.68.0",
92
+ "@types/react": "^19.3.0",
93
+ "@types/react-dom": "^19.3.0",
94
+ "@typescript-eslint/eslint-plugin": "^8.70.1",
95
+ "@typescript-eslint/parser": "^8.70.1",
94
96
  "@vitest/coverage-v8": "^4.1.11",
95
- "astro": "^7.2.9",
97
+ "astro": "^7.3.4",
96
98
  "eslint": "^10.9.1",
97
99
  "eslint-plugin-security": "^4.0.1",
98
- "globals": "^17.11.0",
100
+ "globals": "^17.12.0",
99
101
  "jsdom": "^30.0.1",
100
- "react": "^19.2.8",
101
- "react-dom": "^19.2.8",
102
+ "react": "^19.3.0",
103
+ "react-dom": "^19.3.0",
102
104
  "typescript": "^5.9.3",
103
105
  "vitest": "^4.1.11"
104
106
  },