Skip to content

Commit bc1f833

Browse files
authored
Merge pull request #83 from rehanvdm/update-cdn-script-2
fix: bump cdn script to the latest client version
2 parents fa418ba + c212908 commit bc1f833

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

application/src/frontend/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

application/src/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"npm-run-all": "^4.1.5",
2929
"pinia": "^2.1.7",
3030
"plotly.js-dist-min": "^2.29.1",
31-
"serverless-website-analytics-client": "^1.6.1",
31+
"serverless-website-analytics-client": "^1.7.0",
3232
"typescript": "^5.3.3",
3333
"vite": "^5.1.4",
3434
"esbuild": "^0.20.1",

docs/CONTRIBUTING.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,3 +195,18 @@ there were some strange results with tRPC not typing correctly.
195195
The API will always return `null` to indicate that a value is not set. A value of `undefined` will indicate that the
196196
value is not set and that the key is not present in the object. This is important for the PageFilter and EventFilter.
197197
A value of `null` will search where that column has no value and `undefined` will ignore that column from the search.
198+
199+
## SOP
200+
Standard Operation Procedures (SOP) for common tasks.
201+
202+
### Updating the client script
203+
204+
In the client project:
205+
```
206+
cd packge
207+
npm run package
208+
```
209+
Copy the `dist/cdn/client-script.js` to the `application/src/frontend/public/cdn`
210+
211+
Also update the version of the `serverless-website-analytics-client` in the `application/src/frontend/package.json`
212+
which is used by the site itself to track own usage of the dashboard if enabled.

0 commit comments

Comments
 (0)