@classytic/repo-core 0.26.0 → 0.26.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/CHANGELOG.md +27 -0
- package/package.json +1 -9
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,33 @@ All notable changes to `@classytic/repo-core` are documented here.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.26.1] - 2026-09-08
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **`vitest` is no longer declared as a peer dependency.** It was
|
|
12
|
+
`peerDependencies: { vitest: "^3.0.0 || ^4.0.0" }` with
|
|
13
|
+
`peerDependenciesMeta.optional: true` — and that combination does not do what
|
|
14
|
+
it looks like. `optional: true` only silences the *missing* case; npm still
|
|
15
|
+
hard-fails `ERESOLVE` on a version **mismatch**. So every consumer on a newer
|
|
16
|
+
vitest could not install repo-core at all, even though nothing they imported
|
|
17
|
+
touched it.
|
|
18
|
+
|
|
19
|
+
Measured: `@classytic/arc` could not move to vitest 5 — `npm install` failed
|
|
20
|
+
with `Conflicting peer dependency: vitest@5.0.0`, sourced to this package.
|
|
21
|
+
Widening the range to `|| ^5.0.0` would only have moved the wall to vitest 6.
|
|
22
|
+
|
|
23
|
+
`vitest` is the CONSUMER's test runner. Anyone importing
|
|
24
|
+
`@classytic/repo-core/testing` is by definition already inside a vitest suite
|
|
25
|
+
that provides it, so the import resolves from their install; anyone who does
|
|
26
|
+
not import it should never have been constrained. It stays in
|
|
27
|
+
`devDependencies` for this package's own suite, and `tsdown`'s `neverBundle`
|
|
28
|
+
now lists `vitest` so the bundler keeps the import external instead of
|
|
29
|
+
inlining a dev-only dependency into shipped output.
|
|
30
|
+
|
|
31
|
+
Any vitest exposing the standard `describe` / `it` / `expect` / `beforeEach` /
|
|
32
|
+
`afterEach` API works with the `/testing` conformance suites.
|
|
33
|
+
|
|
7
34
|
## [0.26.0] - 2026-09-02
|
|
8
35
|
|
|
9
36
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@classytic/repo-core",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"description": "Driver-agnostic repository primitives: hooks, Filter IR, operations, pagination, cache contract. Foundation for mongokit, sqlitekit, pgkit, and prismakit. Lean by design — no plugins ship here; each kit owns its own.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -176,13 +176,5 @@
|
|
|
176
176
|
"tsdown": "^0.22.14",
|
|
177
177
|
"typescript": "^7.0.2",
|
|
178
178
|
"vitest": "^4.1.4"
|
|
179
|
-
},
|
|
180
|
-
"peerDependencies": {
|
|
181
|
-
"vitest": "^3.0.0 || ^4.0.0"
|
|
182
|
-
},
|
|
183
|
-
"peerDependenciesMeta": {
|
|
184
|
-
"vitest": {
|
|
185
|
-
"optional": true
|
|
186
|
-
}
|
|
187
179
|
}
|
|
188
180
|
}
|