From c8b0b9cb6689dc0fe3fe816da13f9999d1a77b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sat, 2 Mar 2024 16:50:19 +0100 Subject: [PATCH 1/2] fix cookie name --- src/privacy-policy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/privacy-policy.md b/src/privacy-policy.md index 155a317..ab872e3 100644 --- a/src/privacy-policy.md +++ b/src/privacy-policy.md @@ -8,7 +8,7 @@ layout: "layout/page.html" If you accept the cookies in the consent banner, you accept [Google Analytics tracking](https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage), which uses cookies. -We store this choice of you in the `spruce-gdpr-cookies` cookie. +We store this choice of you in the `spruce-cookie-law-analytics` cookie. If you want to opt-out or accept our cookies, please press the button below. From 54eb99cee0b90dbf6540c831aaeeb4482a152ac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sat, 2 Mar 2024 18:21:15 +0100 Subject: [PATCH 2/2] Harmonize npm script names --- package.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 9725507..611113b 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,16 @@ { "scripts": { - "delete:dist": "del-cli --force dist", - "eleventy:dev": "npx eleventy --serve", - "eleventy:prod": "npx eleventy", - "js:lint": "npx eslint \"src/js/**\"", - "js:lint:fix": "npx eslint \"src/js/**\" --fix", - "prod": "npm-run-all delete:dist eleventy:prod sass:prod", - "sass:dev": "sass --load-path=node_modules --watch --no-source-map --update --style=expanded src/scss:src/css", - "sass:lint:fix": "stylelint src/scss/**/*.scss --fix", + "dist:delete": "del-cli --force dist", + "eleventy:serve": "npx eleventy --serve", + "eleventy:build": "npx eleventy", + "js:lint": "npx eslint 'src/js/**'", + "js:fix": "npx eslint --fix 'src/js/**'", + "build": "npm-run-all dist:delete eleventy:build sass:compile", + "sass:watch": "sass --watch --update --load-path=node_modules --no-source-map --style=expanded src/scss:src/css", + "sass:fix": "stylelint src/scss/**/*.scss --fix", "sass:lint": "stylelint src/scss/**/*.scss", - "sass:prod": "sass --load-path=node_modules --no-source-map --style=compressed src/scss:src/css", - "start": "npm-run-all --parallel eleventy:dev sass:dev" + "sass:compile": "sass --load-path=node_modules --no-source-map --style=compressed src/scss:src/css", + "start": "npm-run-all --parallel eleventy:serve sass:watch" }, "devDependencies": { "@11ty/eleventy": "^2.0.1",