✨ Add @arethetypeswrong/cli (attw) as publish:attw

Validates the emitted .d.ts declarations against multiple TypeScript
module-resolution scenarios. Same rationale as publint: it validates
the publishable artifact, not the source, so it belongs in the
publish: prefix, not check:.

- Add publish:attw script using --profile esm-only (the package is
  intentionally ESM-only; CJS resolution is out of scope by design)
- Add step to CI publish job, after publish:publint and before
  npm publish
- Document the script and the esm-only rationale in project-specs.md
  and README.md
- Add 'attw' and 'arethetypeswrong' to cspell word list
- Remove unused 'stricter' word that was added speculatively before
This commit is contained in:
tmu committed 2026-09-04 18:08:23 +02:00
1 parent 01d1084e1f
commit 3fa72820df
6 files changed
+673 -5

No files matched your search

+2 -1
View File
@@ -17,7 +17,8 @@
"dbaeumer",
"msvc",
"publint",
"stricter"
"attw",
"arethetypeswrong"
],
"ignorePaths": ["dist", "node_modules", "coverage", "*.svg", ".gitignore"]
}