Repository navigation
test: set the uuid-dev condition with devCondition() and drop the no-op test.nodeOptions - #91
Merged
Merged
Conversation
…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.
Shinrai
approved these changes
Nov 5, 2026
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 -->  | 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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.