Skip to content

ci: type-check the declarations with types:check - #93

Merged
Shinrai merged 1 commit into
nextfrom
chore/types-check-script-name
Nov 6, 2026
Merged

Shinrai merged 1 commit into
nextfrom
chore/types-check-script-name

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

No bug fixes

📦 Dependencies

No dependency updates

🔧 Other Changes

  • ci: type-check the declarations with types:check (406aa4c)
👥 Contributors

skip_type_check was set at onboarding, when there was no source type-check to run. types:check (tsc --noEmit over the hand-written .d.mts) exists now and never ran in CI, so ci.yml points type_check_command at it and stops skipping. test:types stays the consumer test inside npm test. Drops the unused build:types, which duplicated types:build.
@cldmv-bot cldmv-bot Bot added ! chore → next v4 flow: chore contributor PR targeting the next integration branch type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files type: dependencies Relates to dependency updates, version bumps, or package management labels Nov 6, 2026
@Shinrai
Shinrai merged commit 1aaa94e into next Nov 6, 2026
31 checks passed
@cldmv-bot
cldmv-bot Bot deleted the chore/types-check-script-name branch November 6, 2026 23:26
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

! chore → next v4 flow: chore contributor PR targeting the next integration branch type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files 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