From 7cb9566f29af836428a7a0a5ce3945b3461b245c Mon Sep 17 00:00:00 2001 From: meh Date: Tue, 8 Sep 2026 15:22:21 +0700 Subject: [PATCH] fix(pkg): give passwordRules a deep import path `evaluatePasswordRules` and friends are re-exported from the package root but `dist/passwordRules.js` had no entry in the `exports` map, so `@pathscale/ui/passwordRules` did not resolve at all. Consumers that forbid barrel imports could not reach this module by any path: the deep import failed to resolve and the root import failed their lint. Every other module the root re-exports from (components, primitives, hooks, motion, styles) already has a mapping. This was the only gap. --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 4717f450..0be337f2 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,10 @@ "types": "./dist/lab.d.ts", "import": "./dist/lab.js" }, + "./passwordRules": { + "types": "./dist/passwordRules.d.ts", + "import": "./dist/passwordRules.js" + }, "./layouts": "./dist/layouts.manifest.json", "./components/*": { "types": "./dist/components/*/index.d.ts",