Skip to content

chore: rename the type scripts to types:check and types:build - #123

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

  • chore: rename the type scripts to types:check and types:build (efc5a50)
👥 Contributors

The script names follow the package-layout convention in CLDMV/.github: types:check is the source type check CI runs, types:build emits declarations, and test:types is only the consumer-side test of the published types.
@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 fdd661e 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/jsonv` v1.2.2 Changelog

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

---

## Overview

v1.2.2 is a development-tooling release. The test config now resolves the package through the `jsonv-dev` export condition the way it was meant to, and the type scripts use the fleet names `types:check` and `types:build`.

No library code changed. The parser and every public specifier are the same as in v1.2.1, and nothing changes for anyone installing the package.

---

## 🔧 CI & tooling

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

`.configs/vitest.config.mjs` set `test.nodeOptions` to pass `--conditions=jsonv-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 `jsonv-dev` export condition too.

### Type scripts renamed to `types:check` and `types:build` ([#123](#123))

- `test:types` is now `types:check` (`tsc --noEmit` on `.configs/tsconfig.build.json`), and CI's type-check step runs it.
- `build:types` is now `types:build`, which emits the declarations. `npm run build` and the comment in `tsup.config.mjs` use the new name.

## 📚 Documentation

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

## 🔧 Dependencies

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

---

## Upgrade notes

- No breaking changes — drop-in for v1.2.1. No library code changed.
- If you run `npm run test:types` or `npm run build:types` locally or in your own scripts, use `types:check` and `types:build`.



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

- @Shinrai

</details>

---

<!-- coverage-start -->

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

| Metric | Coverage |
|--------|----------|
| Statements | 98.7% |
| Branches   | 97.3% |
| Functions  | 100.0% |
| Lines      | 98.8% |

*Avg: **98.7%** · `dcde5e4` · 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