@jmp-technologies/analytics 0.1.8 → 0.1.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/README.md +3 -1
  2. package/package.json +6 -3
package/README.md CHANGED
@@ -12,6 +12,8 @@ Browser client for **`POST {baseUrl}/api/events`** plus published blog, FAQ, and
12
12
 
13
13
  **Step-by-step checklist:** [Client onboarding](https://github.com/jmp-technologies/jmp-dashboard/blob/main/docs/client-onboarding.md)
14
14
 
15
+ **Standard pattern for every client site (files, server fetch, contact, Astro/Next):** [jmp-client-site-pattern.md](https://github.com/jmp-technologies/jmp-dashboard/blob/main/docs/jmp-client-site-pattern.md)
16
+
15
17
  **API, CORS, examples:** [Tracking integration](https://github.com/jmp-technologies/jmp-dashboard/blob/main/docs/tracking-integration.md)
16
18
 
17
19
  If your GitHub org/repo name differs, replace `jmp-technologies/jmp-dashboard` in those URLs.
@@ -20,7 +22,7 @@ If your GitHub org/repo name differs, replace `jmp-technologies/jmp-dashboard` i
20
22
 
21
23
  ## Monorepo / local docs
22
24
 
23
- From this repo, the same files are at **`docs/client-onboarding.md`** and **`docs/tracking-integration.md`**.
25
+ From this repo, the same files are at **`docs/jmp-client-site-pattern.md`**, **`docs/client-onboarding.md`**, and **`docs/tracking-integration.md`**.
24
26
 
25
27
  ## Quick setup (env helpers)
26
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jmp-technologies/analytics",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "JMP Analytics tracking plus blog, FAQ, and site contact profile content for client websites",
5
5
  "license": "UNLICENSED",
6
6
  "keywords": [
@@ -49,9 +49,9 @@
49
49
  "build": "tsup src/index.ts src/react.tsx src/next.tsx --format esm,cjs --dts --clean --sourcemap --external react --external react-dom --external next"
50
50
  },
51
51
  "peerDependencies": {
52
+ "next": ">=14",
52
53
  "react": ">=18",
53
- "react-dom": ">=18",
54
- "next": ">=14"
54
+ "react-dom": ">=18"
55
55
  },
56
56
  "peerDependenciesMeta": {
57
57
  "react": {
@@ -72,5 +72,8 @@
72
72
  "react-dom": "^19.2.0",
73
73
  "tsup": "^8.5.1",
74
74
  "typescript": "^5.9.3"
75
+ },
76
+ "dependencies": {
77
+ "@jmp-technologies/analytics": "^0.1.8"
75
78
  }
76
79
  }