feat: add matomo & bump versions
This commit is contained in:
parent
82102d3625
commit
e5cf30613d
3 changed files with 627 additions and 594 deletions
|
@ -1,5 +1,6 @@
|
|||
// @ts-check
|
||||
import { defineConfig } from "astro/config";
|
||||
import matomo from 'astro-matomo';
|
||||
import { remarkModifiedTime } from "./remark-modified-time.mjs";
|
||||
|
||||
import preact from "@astrojs/preact";
|
||||
|
@ -15,7 +16,27 @@ import mdx from "@astrojs/mdx";
|
|||
export default defineConfig({
|
||||
output: process.env.DOCKER_BUILD ? "server" : "static",
|
||||
site: "https://aria.coffee",
|
||||
integrations: [preact(), tailwind(), icon(), mdx()],
|
||||
integrations: [
|
||||
preact(),
|
||||
tailwind(),
|
||||
icon(),
|
||||
mdx(),
|
||||
matomo({
|
||||
enabled: import.meta.env.PROD, // Only load in production
|
||||
host: "https://analytics.aria.coffee/",
|
||||
// setCookieDomain: "*.ara.coffee",
|
||||
// trackerUrl: "js/", // defaults to matomo.php
|
||||
// srcUrl: "js/", // defaults to matomo.js
|
||||
siteId: 1,
|
||||
heartBeatTimer: 5,
|
||||
// disableCookies: true,
|
||||
debug: false,
|
||||
// viewTransition: {
|
||||
// contentElement: "main"
|
||||
// }
|
||||
}),
|
||||
|
||||
],
|
||||
|
||||
image: {
|
||||
domains: [
|
||||
|
|
14
package.json
14
package.json
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "astro",
|
||||
"name": "aria.coffee",
|
||||
"type": "module",
|
||||
"version": "1.0.1",
|
||||
"scripts": {
|
||||
|
@ -12,16 +12,18 @@
|
|||
"dependencies": {
|
||||
"@astrojs/check": "^0.9.4",
|
||||
"@astrojs/mdx": "^4.3.0",
|
||||
"@astrojs/node": "^9.2.2",
|
||||
"@astrojs/node": "^9.3.0",
|
||||
"@astrojs/preact": "^4.1.0",
|
||||
"@astrojs/rss": "^4.0.12",
|
||||
"@tailwindcss/vite": "^4.1.10",
|
||||
"astro": "^5.9.3",
|
||||
"@tailwindcss/vite": "^4.1.11",
|
||||
"aria.coffee": "link:",
|
||||
"astro": "^5.11.0",
|
||||
"astro-icon": "^1.1.5",
|
||||
"astro-matomo": "^1.9.0",
|
||||
"dayjs": "^1.11.13",
|
||||
"preact": "^10.26.9",
|
||||
"sharp": "^0.34.2",
|
||||
"tailwindcss": "^4.1.10",
|
||||
"tailwindcss": "^4.1.11",
|
||||
"typescript": "^5.8.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -30,7 +32,7 @@
|
|||
"@iconify-json/mdi": "^1.2.3",
|
||||
"@iconify-json/meteor-icons": "^1.2.1",
|
||||
"@iconify-json/tabler": "^1.2.19",
|
||||
"@iconify-json/token": "^1.2.17",
|
||||
"@iconify-json/token": "^1.2.18",
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
"vite": "^6.3.5"
|
||||
}
|
||||
|
|
1184
pnpm-lock.yaml
generated
1184
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue