Skip to content

Commit

Permalink
Merge pull request #5 from movesthatmatter/add-analytics
Browse files Browse the repository at this point in the history
Add analytics
  • Loading branch information
GabrielCTroia authored Dec 18, 2024
2 parents e646c28 + df44b7d commit 0e83707
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-movex-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
- run: yarn build-movex-chessroulette
- run: flyctl deploy -c ./fly.movex-staging.toml --dockerfile ./Dockerfile.movex --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_STAGING }}
2 changes: 2 additions & 0 deletions apps/chessroulette-web/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { SpeedInsights } from "@vercel/speed-insights/next"
import { Metadata } from 'next';
import '../styles.css';

Expand All @@ -23,6 +24,7 @@ export default function RootLayout({
async
src="https://scripts.simpleanalyticscdn.com/latest.js"
/>
<SpeedInsights />
</html>
);
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@use-it/event-listener": "^0.1.7",
"@use-it/instance": "^0.3.0",
"@vercel/analytics": "^1.1.1",
"@vercel/speed-insights": "^1.1.0",
"chess.js": "^1.0.0-beta.6",
"classnames": "^2.3.2",
"date-fns": "^2.30.0",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5807,6 +5807,11 @@
dependencies:
server-only "^0.0.1"

"@vercel/speed-insights@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@vercel/speed-insights/-/speed-insights-1.1.0.tgz#d48bce27b38a35da86805cc316656344a2230108"
integrity sha512-rAXxuhhO4mlRGC9noa5F7HLMtGg8YF1zAN6Pjd1Ny4pII4cerhtwSG4vympbCl+pWkH7nBS9kVXRD4FAn54dlg==

"@webassemblyjs/[email protected]", "@webassemblyjs/ast@^1.11.5":
version "1.11.6"
resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.6.tgz#db046555d3c413f8966ca50a95176a0e2c642e24"
Expand Down

0 comments on commit 0e83707

Please sign in to comment.