@cosyte/vitest-config 0.1.0 → 0.1.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.
package/CHANGELOG.md CHANGED
@@ -1,19 +1,32 @@
1
1
  # Changelog
2
2
 
3
- All notable changes to `@cosyte/vitest-config` are documented here, following
4
- [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Versions are managed with Changesets;
5
- this file is hand-maintained (Changesets' own changelog generation is disabled). The package is on the
6
- **`0.1.x`** line: its surface is settled, and bump types follow ordinary semver rather than a
7
- pre-alpha rule. See
8
- [ADR 0002](../../documentation/decisions/0002-the-0-1-0-version-line.md).
3
+ ## 0.1.2
9
4
 
10
- > Because the generator is disabled, **`[Unreleased]` is promoted to a version heading BY HAND**, in
11
- > the pull request that adds the changeset. Nothing does it automatically. Until 2026-08-04 nothing
12
- > did it at all, so shipped content stayed under `[Unreleased]` and every release republished it.
5
+ ### Patch Changes
13
6
 
14
- ## [Unreleased]
7
+ - bcdb7ea: The README's license line names the legal owner: "MIT, copyright Cosyte LLC." The READMEs of `@cosyte/eslint-config`, `@cosyte/process` and `@cosyte/script-utils` also use US spelling where they did not (license, behavior, generalize, recognized, honored). No code, configuration or type changes.
8
+ - 75c1056: `@cosyte/vitest-config` accepts Vitest 5 as well as Vitest 4: the `vitest` and `@vitest/coverage-v8` peer ranges are now `^4.0.0 || ^5.0.0`, so a package on Vitest 5 installs it without a peer warning. The configuration it returns is unchanged; Vitest 5 reads the same `coverage` options, and its own `vite` range (6.4 or later, 7 or 8) sits inside this package's.
15
9
 
16
- ## [0.1.0] - Unreleased
10
+ ## Released before this file was generated
11
+
12
+ Every release section above this heading is written by
13
+ [Changesets](https://github.com/changesets/changesets) from the changesets in `.changeset/`, newest
14
+ release first. A release writes its own version heading, so nothing above this line is maintained by
15
+ hand: a change is recorded by adding a changeset rather than by editing this file.
16
+
17
+ The sections below were kept by hand, in the
18
+ [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) format, until 2026-11-07. A version heading
19
+ that still read "Unreleased" after its version reached npm now carries that date; no entry was
20
+ reworded.
21
+
22
+ ## [0.1.1] - 2026-11-07
23
+
24
+ ### Changed
25
+
26
+ - **Published through npm trusted publishing, with provenance.** The code and configuration are
27
+ unchanged from 0.1.0. Only the README differs: it writes Cosyte with a capital C.
28
+
29
+ ## [0.1.0] - 2026-09-21
17
30
 
18
31
  ### Changed
19
32
 
@@ -46,7 +59,7 @@ pre-alpha rule. See
46
59
 
47
60
  ### Changed
48
61
 
49
- - Documentation and source comments no longer use em dashes, in line with the cosyte brand
62
+ - Documentation and source comments no longer use em dashes, in line with the Cosyte brand
50
63
  voice. No config or behaviour change.
51
64
 
52
65
  ## [0.0.2] - 2026-07-15
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Cosyte
3
+ Copyright (c) 2026 Cosyte LLC
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -20,7 +20,7 @@ Shared Vitest config (v8 coverage, per-directory >=90 gates) for @cosyte/\* pack
20
20
 
21
21
  Coverage that is reported but not gated is a number nobody acts on, and a repo-wide threshold hides
22
22
  the one directory that has none: a package can sit at 92% overall while its serializer is at 40%.
23
- The cosyte baseline gates per directory, and it ships enabled rather than as a setting each repo
23
+ The Cosyte baseline gates per directory, and it ships enabled rather than as a setting each repo
24
24
  remembers to switch on.
25
25
 
26
26
  The nearest alternative is a hand-written `vitest.config.ts` per repository with `coverage.thresholds`
@@ -29,7 +29,7 @@ from: nothing in that alternative proves the examples in your documentation stil
29
29
 
30
30
  ## Status
31
31
 
32
- `@cosyte/vitest-config` is on the cosyte 0.1.x line: the public API is settled and bump types follow ordinary semver.
32
+ `@cosyte/vitest-config` is on the Cosyte 0.1.x line: the public API is settled and bump types follow ordinary semver.
33
33
 
34
34
  Still moving: the coverage exclude list and the snippet-suite options (`runnableTag`, `resolve`,
35
35
  `requireSnippet`), which have changed shape as the first consumers adopted them. The 90 threshold and
@@ -42,9 +42,9 @@ the bump type it deserves rather than absorbed into a patch.
42
42
  pnpm add -D @cosyte/vitest-config vitest @vitest/coverage-v8 vite
43
43
  ```
44
44
 
45
- `vitest`, `@vitest/coverage-v8`, and `vite` are peer dependencies. Install `vite` explicitly:
46
- Vitest 4 requires major version 6 or later, and without a direct declaration the resolver will
47
- happily keep an incompatible vite 5. Node `>=22.14`. ESM only.
45
+ `vitest` (4 or 5), `@vitest/coverage-v8` (the same major) and `vite` are peer dependencies.
46
+ Install `vite` explicitly: Vitest 4 and 5 require major version 6 or later, and without a direct
47
+ declaration the resolver will happily keep an incompatible vite 5. Node `>=22.14`. ESM only.
48
48
 
49
49
  ## Usage
50
50
 
@@ -174,4 +174,4 @@ a changeset saying what moved: it can red a consumer that was passing.
174
174
 
175
175
  ## License
176
176
 
177
- MIT, copyright Cosyte. See [LICENSE](https://github.com/cosyte/config/blob/main/LICENSE).
177
+ MIT, copyright Cosyte LLC. See [LICENSE](https://github.com/cosyte/config/blob/main/LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosyte/vitest-config",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Shared Vitest config (v8 coverage, per-directory >=90 gates) for @cosyte/* packages.",
5
5
  "keywords": [
6
6
  "vitest",
@@ -43,8 +43,8 @@
43
43
  "access": "public"
44
44
  },
45
45
  "peerDependencies": {
46
- "@vitest/coverage-v8": "^4.0.0",
46
+ "@vitest/coverage-v8": "^4.0.0 || ^5.0.0",
47
47
  "vite": "^6.0.0 || ^7.0.0 || ^8.0.0",
48
- "vitest": "^4.0.0"
48
+ "vitest": "^4.0.0 || ^5.0.0"
49
49
  }
50
50
  }