@doikayt/typescript-build-config 0.1.18 → 0.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -142,8 +142,9 @@ npm install # fetch the declared devD
142
142
 
143
143
  `init` writes the canonical scripts (`ci`, `build`, `test`, `update-all-format`,
144
144
  `check-all-format`, and their sub-tasks), declares `vitest` +
145
- `@doikayt/autogen-markdown-doc` + `typescript`, and seeds a commented
146
- `vitest.config.ts`. Answering the "publishable library?" prompt sets the publish
145
+ `@doikayt/autogen-markdown-doc` + `typescript` + `@changesets/cli` (the release
146
+ pipeline needs it), and seeds a commented `vitest.config.ts`. Answering the
147
+ "publishable library?" prompt sets the publish
147
148
  config — `private` for an app, or `prepack` + the `dist/`-based fields for a
148
149
  library (see [The canonical script set](#the-canonical-script-set)).
149
150
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doikayt/typescript-build-config",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "Shared build configuration for TypeScript projects — ESLint, Prettier, tsconfig, and Playwright presets",
5
5
  "_comments": {
6
6
  "exports": "This block lists the config files that will be extended by files in in src/toplevel - which are copied to consuming project root folder. An example: eslint.config.js imports from '@doikayt/typescript-build-config/eslint'.",
@@ -31,7 +31,16 @@ export function canonicalScripts({ ui = false, library = false } = {}) {
31
31
  }
32
32
 
33
33
  export function devDependencyNames({ ui = false } = {}) {
34
- const names = ["vitest", "@doikayt/autogen-markdown-doc", "typescript"];
34
+ // @changesets/cli is required by the release pipeline (release.yml runs
35
+ // `npx changeset version` / `publish`), so every consumer needs it installed —
36
+ // otherwise `npx changeset` can't resolve the `changeset` bin and the release
37
+ // job fails with "could not determine executable to run".
38
+ const names = [
39
+ "vitest",
40
+ "@doikayt/autogen-markdown-doc",
41
+ "typescript",
42
+ "@changesets/cli",
43
+ ];
35
44
  if (ui) names.push("@playwright/test");
36
45
  return names;
37
46
  }