@codefast/tracking 0.5.0-canary.7 → 0.5.0-canary.9

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/package.json +10 -16
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @codefast/tracking
2
2
 
3
+ ## 0.5.0-canary.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [#676](https://github.com/codefastlabs/codefast/pull/676) [`641e233`](https://github.com/codefastlabs/codefast/commit/641e2338d77fb61be2ca585a5986f34cf32ec746) Thanks [@thevuong](https://github.com/thevuong)! - Collapse the `types` and `default` lanes of `package.json#imports` from fallback arrays to single strings.
8
+
9
+ Node resolves an imports array by taking the first candidate it can parse, without checking that the file exists and without falling through — a specifier whose first candidate is missing throws `ERR_MODULE_NOT_FOUND` rather than trying the second. `./dist/*/index.js` and `./dist/*/index.d.ts` could therefore never be reached, so they read as a safety net that does not exist. The `source` lane keeps its extension candidates, which only `tsc` and Vite read and both probe.
10
+
11
+ ## 0.5.0-canary.8
12
+
3
13
  ## 0.5.0-canary.7
4
14
 
5
15
  ## 0.5.0-canary.6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codefast/tracking",
3
- "version": "0.5.0-canary.7",
3
+ "version": "0.5.0-canary.9",
4
4
  "description": "Consent-gated, type-safe event tracking for TanStack Start — client tracker and server consent helpers over a per-app Standard Schema event catalog",
5
5
  "keywords": [
6
6
  "analytics",
@@ -50,14 +50,8 @@
50
50
  "./src/*/index.ts",
51
51
  "./src/*/index.tsx"
52
52
  ],
53
- "types": [
54
- "./dist/*.d.ts",
55
- "./dist/*/index.d.ts"
56
- ],
57
- "default": [
58
- "./dist/*.js",
59
- "./dist/*/index.js"
60
- ]
53
+ "types": "./dist/*.d.ts",
54
+ "default": "./dist/*.js"
61
55
  }
62
56
  },
63
57
  "exports": {
@@ -281,25 +275,25 @@
281
275
  "@standard-schema/spec": "^1.1.0"
282
276
  },
283
277
  "devDependencies": {
284
- "@tanstack/react-start": "^1.168.32",
278
+ "@tanstack/react-start": "^1.168.34",
285
279
  "@testing-library/dom": "^10.4.1",
286
280
  "@testing-library/jest-dom": "^7.0.0",
287
281
  "@testing-library/react": "^16.3.2",
288
282
  "@testing-library/user-event": "^14.6.1",
289
- "@types/node": "^26.1.1",
290
- "@types/react": "^19.2.17",
291
- "@types/react-dom": "^19.2.3",
283
+ "@types/node": "^26.1.2",
284
+ "@types/react": "^19.2.18",
285
+ "@types/react-dom": "^19.2.4",
292
286
  "@vercel/analytics": "^2.0.1",
293
- "@vitejs/plugin-react": "^6.0.4",
287
+ "@vitejs/plugin-react": "^6.0.5",
294
288
  "@vitest/coverage-v8": "^4.1.10",
295
289
  "expect-type": "^1.4.0",
296
- "jsdom": "^29.1.1",
290
+ "jsdom": "^30.0.1",
297
291
  "react": "^19.2.8",
298
292
  "react-dom": "^19.2.8",
299
293
  "typescript": "^7.0.2",
300
294
  "vitest": "^4.1.10",
301
295
  "zod": "^4.4.3",
302
- "@codefast/typescript-config": "0.5.0-canary.7"
296
+ "@codefast/typescript-config": "0.5.0-canary.9"
303
297
  },
304
298
  "peerDependencies": {
305
299
  "@tanstack/react-start": ">=1.168.0",