Skip to content

Commit 0e32702

Browse files
committed
fix(pkg): drop stale typings dir from published files
After the Flow→TS migration, typings/ holds only the type-compat test (test.tsx + tsconfig.json) — the shipped declarations moved to build/cjs/ (referenced by types/exports). The files array still listed "typings", so npm pack bundled those test artifacts into the published tarball. Drop it; types still ship via build/. Verified npm pack --dry-run no longer includes typings/.
1 parent 2aade57 commit 0e32702

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"typecheck": "tsc --noEmit"
2828
},
2929
"files": [
30-
"build",
31-
"typings"
30+
"build"
3231
],
3332
"typings": "./build/cjs/cjs.d.ts",
3433
"types": "./build/cjs/cjs.d.ts",
@@ -97,4 +96,4 @@
9796
"react": ">= 16.3.0",
9897
"react-dom": ">= 16.3.0"
9998
}
100-
}
99+
}

0 commit comments

Comments
 (0)