Skip to content

test: set the uuid-dev condition with devCondition() and drop the no-op test.nodeOptions - #91

Merged
Shinrai merged 1 commit into
nextfrom
test/dev-condition
Nov 5, 2026
Merged

Shinrai merged 1 commit into
nextfrom
test/dev-condition

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

test.nodeOptions isn't a Vitest option, so the dev condition never reached the workers. devCondition() from @cldmv/configs sets the resolve/ssr conditions and test.execArgv instead.

…op test.nodeOptions

test.nodeOptions isn't a Vitest option, so it passed nothing to the workers.
devCondition() from @cldmv/configs sets resolve/ssr conditions and test.execArgv.
@cldmv-bot cldmv-bot Bot added ! test → next v4 flow: test contributor PR targeting the next integration branch type: dependencies Relates to dependency updates, version bumps, or package management labels Nov 5, 2026
@Shinrai
Shinrai merged commit b28e237 into next Nov 5, 2026
31 checks passed
@cldmv-bot
cldmv-bot Bot deleted the test/dev-condition branch November 5, 2026 01:55
cldmv-bot Bot added a commit that referenced this pull request Nov 7, 2026
# `@cldmv/uuid` v1.3.2 Changelog

**Release Date**: November 2026
**Release Type**: Patch
**Branch**: `release/1.3.2`

---

## Overview

v1.3.2 is a development-tooling release. The test config now resolves the package through the `uuid-dev` export condition the way it was meant to, and CI type-checks the declarations with `types:check` instead of skipping the step.

No library code changed. The `UUID` API, the generated UUIDs and the published files are the same as in v1.3.1, and nothing changes for anyone installing the package.

---

## 🔧 CI & tooling

### Tests run against `src/` through `devCondition()` ([#91](#91))

`.configs/vitest.config.mjs` set `test.nodeOptions` to pass `--conditions=uuid-dev` to the test workers, but vitest has no such option, so the condition never reached them. The config now builds on `devCondition()` from `@cldmv/configs` (bumped to `^1.4.0`), which sets the resolver conditions and the worker `execArgv`, so Node's own resolver picks `src/` through the `uuid-dev` export condition too.

### CI runs `types:check` ([#93](#93))

- The CI type-check step runs `npm run types:check` (`tsc --noEmit` on `.configs/tsconfig.dts.jsonc`, which validates the hand-written `.d.mts` declarations) and is no longer skipped. `checkJs` stays off, so the JavaScript source itself isn't type-checked.
- `test:types`, the consumer-side test of the built types, stays part of `npm test`.
- The unused `build:types` script is gone; `types:build` already replaced it in `build:ci`.

## 📚 Documentation

- **NEW:** [docs/changelog/v1/v1.3.2.md](./v1.3.2.md): this changelog.
- README What's New promoted to v1.3.2.

## 🔧 Dependencies

- `@cldmv/configs` ^1.3.0 → ^1.4.0, for `devCondition()` ([#91](#91)). Development dependency only.

---

## Upgrade notes

- No breaking changes; drop-in for v1.3.1. No library code changed.
- If you call `npm run build:types` in your own scripts, use `types:build`.



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>

---

<!-- coverage-start -->

![coverage](https://img.shields.io/badge/coverage-89.4%25-green?style=for-the-badge&logo=vitest&logoColor=white)

| Metric | Coverage |
|--------|----------|
| Statements | 88.3% |
| Branches   | 88.2% |
| Functions  | 93.1% |
| Lines      | 88.1% |

*Avg: **89.4%** · `45ae65b` · Node lts/**

<!-- coverage-end -->

<!-- co-authors -->

Co-authored-by: Shinrai <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

! test → next v4 flow: test contributor PR targeting the next integration branch type: dependencies Relates to dependency updates, version bumps, or package management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant