Skip to content

Commit 5388730

Browse files
Version Packages
1 parent 79bcb7d commit 5388730

4 files changed

Lines changed: 16 additions & 16 deletions

File tree

.changeset/nk-dev-bump-oxc.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/nk-dev-doctor-drop-sql.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

packages/nk-dev/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# @ingram-tech/nk-dev
22

3+
## 0.3.0
4+
5+
### Minor Changes
6+
7+
- 79bcb7d: Toolchain consolidation:
8+
9+
- **`nk` no longer formats SQL.** `nk format`/`nk check` run oxfmt only; the `prettier` + `prettier-plugin-sql` dependencies are dropped. SQL in these repos is ~all generated (drizzle migrations, `pg_dump` baselines, pglite fixtures), so formatting it only churned generated files and crashed on psql directives (`\restrict`) for no gain.
10+
- **`nk test`** — new passthrough for `vitest run` (extra args forwarded), completing the set alongside `lint`/`format`/`check`/`type-check`/`build`.
11+
- **`nk doctor [--fix]`** — reports a site's drift from the canonical nk-dev toolchain (scripts not pointing at `nk`, superseded deps, `.oxlintrc.json`/`tsconfig.json` extends not pointing at nk-dev, a missing CLAUDE.md guide import, stale `knip.json` ignores, a dead `.prettierignore`) and, with `--fix`, applies the mechanical corrections. Exits non-zero on model-breaking findings so it can gate CI.
12+
- **`nk check` warns on tooling drift** — a non-fatal notice when a site re-declares a package nk-dev supersedes (`oxfmt`, `oxlint`, `prettier*`, `@ingram-tech/{oxlint,typescript}-config`, `@ingram-tech/nk-cli`, `@ingram-tech/git-hooks`), pointing at `nk doctor --fix`.
13+
14+
### Patch Changes
15+
16+
- c8df237: Bump the bundled oxc toolchain: oxfmt `^0.56``^0.58`, oxlint `^1.71``^1.73`. Sites on the nk-dev toolchain pick these up on their next install, so the whole fleet's formatter/linter version is managed here in one place rather than pinned per repo.
17+
318
## 0.2.5
419

520
### Patch Changes

packages/nk-dev/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ingram-tech/nk-dev",
3-
"version": "0.2.5",
3+
"version": "0.3.0",
44
"description": "The nextkit dev toolchain in one package: the `nk` CLI plus shared oxlint/oxfmt, TypeScript, and Vitest config, the format-on-commit hook, and the AI agent guide. `nk init` scaffolds a site to use it.",
55
"license": "MIT",
66
"type": "module",

0 commit comments

Comments
 (0)