From 941d45b75acff8543c973e612e4bac2ff54968cf Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Mon, 12 Aug 2024 12:24:50 -0700 Subject: [PATCH] chore: minor update --- package.json | 1 + src/includes/base.liquid | 2 +- workers/analytics/index.js | 24 ++++++++++++++++++++++++ workers/analytics/wrangler.template.toml | 12 ++++++++++++ 4 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 workers/analytics/index.js create mode 100644 workers/analytics/wrangler.template.toml diff --git a/package.json b/package.json index 94aa449e..00596e7e 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "build": "ELEVENTY_PRODUCTION=true eleventy", "update:deps": "npm upgrade && ncu", "debug": "DEBUG=Eleventy* npx @11ty/eleventy --serve", + "publish:analytics": "node scripts/worker-build.mjs analytics && wrangler deploy --env production --config workers/analytics/wrangler.toml", "publish:contact": "node scripts/worker-build.mjs contact && wrangler deploy --env production --config workers/contact/wrangler.toml", "publish:playing": "node scripts/worker-build.mjs playing && wrangler deploy --env production --config workers/playing/wrangler.toml", "publish:rebuild": "node scripts/worker-build.mjs rebuild && wrangler deploy --env production --config workers/rebuild/wrangler.toml", diff --git a/src/includes/base.liquid b/src/includes/base.liquid index 68e07aa3..5019efb3 100644 --- a/src/includes/base.liquid +++ b/src/includes/base.liquid @@ -108,7 +108,7 @@ - +