diff --git a/.changeset/nk-dev-bump-oxc.md b/.changeset/nk-dev-bump-oxc.md deleted file mode 100644 index e34e47b..0000000 --- a/.changeset/nk-dev-bump-oxc.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ingram-tech/nk-dev": patch ---- - -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. diff --git a/.changeset/nk-dev-doctor-drop-sql.md b/.changeset/nk-dev-doctor-drop-sql.md deleted file mode 100644 index db8088d..0000000 --- a/.changeset/nk-dev-doctor-drop-sql.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@ingram-tech/nk-dev": minor ---- - -Toolchain consolidation: - -- **`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. -- **`nk test`** — new passthrough for `vitest run` (extra args forwarded), completing the set alongside `lint`/`format`/`check`/`type-check`/`build`. -- **`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. -- **`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`. diff --git a/packages/nk-dev/CHANGELOG.md b/packages/nk-dev/CHANGELOG.md index 2edc73e..27260ab 100644 --- a/packages/nk-dev/CHANGELOG.md +++ b/packages/nk-dev/CHANGELOG.md @@ -1,5 +1,20 @@ # @ingram-tech/nk-dev +## 0.3.0 + +### Minor Changes + +- 79bcb7d: Toolchain consolidation: + + - **`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. + - **`nk test`** — new passthrough for `vitest run` (extra args forwarded), completing the set alongside `lint`/`format`/`check`/`type-check`/`build`. + - **`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. + - **`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`. + +### Patch Changes + +- 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. + ## 0.2.5 ### Patch Changes diff --git a/packages/nk-dev/package.json b/packages/nk-dev/package.json index 1c3b998..0aee10e 100644 --- a/packages/nk-dev/package.json +++ b/packages/nk-dev/package.json @@ -1,6 +1,6 @@ { "name": "@ingram-tech/nk-dev", - "version": "0.2.5", + "version": "0.3.0", "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.", "license": "MIT", "type": "module",