v11y-check 0.10.0 → 0.11.0

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
@@ -3,13 +3,15 @@
3
3
  Wraps [audit-ci](https://github.com/IBM/audit-ci) with a richer config model, typed JSON source of truth, and a sync workflow that automates allowlist management.
4
4
 
5
5
  <!-- section:release-notes -->
6
- ## Release notes — v0.10.0 (2026-07-01)
6
+ ## Release notes — v0.11.0 (2026-07-13)
7
7
 
8
8
  ### 🎉 Features
9
9
 
10
- - 🚨 **Breaking:** Rebuild nmr-compile on a unified tsc emit (#455)
10
+ - 🚨 **Breaking:** Fail a package that declares types but ships none (#467)
11
11
 
12
- `nmr` now compiles a package's JavaScript and type declarations in one step, rewriting every import form — static, re-export, dynamic `import()`, bare side-effect, and tsconfig `paths` aliases — to runnable `.js` in both outputs. It now requires TypeScript 5.7 or newer as a peer dependency.
12
+ `nmr attw` now fails a package that claims to ship type declarations but ships none. Such a package used to pass, leaving every TypeScript consumer of it silently typed as `any`.
13
+
14
+ A package that ships working declarations found only by sitting beside its JavaScript entry point escapes the check, since it declares nothing. Add a `types` entry to bring it under the check.
13
15
  <!-- /section:release-notes -->
14
16
 
15
17
  ## Installation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "v11y-check",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "private": false,
5
5
  "description": "Wrap audit-ci with a richer config model, typed JSON source of truth, and sync workflow",
6
6
  "keywords": [
@@ -24,8 +24,8 @@
24
24
  "type": "module",
25
25
  "exports": {
26
26
  ".": {
27
- "import": "./dist/esm/index.js",
28
- "types": "./dist/esm/index.d.ts"
27
+ "types": "./dist/esm/index.d.ts",
28
+ "import": "./dist/esm/index.js"
29
29
  }
30
30
  },
31
31
  "bin": {
@@ -40,7 +40,7 @@
40
40
  "dependencies": {
41
41
  "audit-ci": "7.1.0",
42
42
  "zod": "4.4.3",
43
- "@williamthorsen/nmr-core": "0.6.0"
43
+ "@williamthorsen/nmr-core": "0.7.0"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=18.17.0"
package/dist/esm/.cache DELETED
@@ -1 +0,0 @@
1
- d32d9586bf4dd951e3fa117d2712ec09488bb0d025fa16d5daf7c659b885db79