bwh-auth 0.6.4 → 0.7.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/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "bwh-auth",
3
- "version": "0.6.4",
3
+ "version": "0.7.0",
4
4
  "description": "Shared React auth UI and browser WebAuthn helpers for BWH applications.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
- "packageManager": "pnpm@12.18.0",
7
+ "packageManager": "pnpm@12.23.0",
8
8
  "engines": {
9
9
  "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
10
10
  },
@@ -26,19 +26,26 @@
26
26
  ],
27
27
  "exports": {
28
28
  ".": {
29
- "types": "./dist/index.d.ts",
30
- "import": "./dist/index.js",
31
- "require": "./dist/index.cjs"
29
+ "import": {
30
+ "types": "./dist/index.d.ts",
31
+ "default": "./dist/index.js"
32
+ },
33
+ "require": {
34
+ "types": "./dist/index.d.cts",
35
+ "default": "./dist/index.cjs"
36
+ }
32
37
  }
33
38
  },
34
39
  "scripts": {
35
- "build": "tsup src/index.ts --format esm,cjs --dts --dts-resolve --tsconfig tsconfig.build.json",
40
+ "build": "tsdown",
36
41
  "release": "node scripts/release.mjs",
37
42
  "test": "vitest run",
38
- "typecheck": "node node_modules/@typescript/native/bin/tsc --noEmit",
43
+ "typecheck": "tsc --noEmit",
39
44
  "prepare": "pnpm run build",
40
45
  "postinstall": "node scripts/spotlight-noindex.mjs",
41
- "verify-package": "node scripts/verify-package.mjs"
46
+ "verify-package": "node scripts/verify-package.mjs",
47
+ "check:toolchain": "node scripts/check-toolchain.mjs",
48
+ "test:toolchain": "node --test scripts/check-toolchain.contract.mjs"
42
49
  },
43
50
  "peerDependencies": {
44
51
  "lucide-react": ">=0.468.0 <2.0.0",
@@ -48,19 +55,18 @@
48
55
  "devDependencies": {
49
56
  "@testing-library/dom": "^10.4.2",
50
57
  "@testing-library/react": "^16.3.3",
51
- "@types/node": "^26.6.6",
52
- "@types/react": "^19.3.0",
58
+ "@types/node": "^26.6.11",
59
+ "@types/react": "^19.3.3",
53
60
  "@types/react-dom": "^19.3.0",
54
- "@typescript/native": "npm:typescript@^7.0.2",
55
61
  "esbuild": "0.28.2",
56
- "jsdom": "^31.0.0",
57
- "lucide-react": "^1.72.0",
62
+ "jsdom": "^31.0.1",
63
+ "lucide-react": "^1.81.0",
58
64
  "react": "^19.3.1",
59
65
  "react-dom": "^19.3.1",
60
66
  "spotlight-noindex": "1.1.1",
61
- "tsup": "^9.0.0",
62
- "typescript": "npm:@typescript/typescript6@^6.0.2",
63
- "vite": "^7.3.8",
64
- "vitest": "^5.1.0"
67
+ "tsdown": "0.23.7",
68
+ "typescript": "7.0.2",
69
+ "vite": "^8.4.0",
70
+ "vitest": "^5.1.2"
65
71
  }
66
72
  }