diff --git a/.eleventy.js b/.eleventy.js index 2a3d5f1c..584bef66 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -24,6 +24,8 @@ export default async function (eleventyConfig) { eleventyConfig.addPlugin(tablerIcons) if (process.env.ELEVENTY_PRODUCTION) eleventyConfig.addPlugin(cssConfig) + eleventyConfig.setServerOptions({ domdiff: false }) + eleventyConfig.setWatchThrottleWaitTime(200) eleventyConfig.setQuietMode(true) eleventyConfig.configureErrorReporting({ allowMissingExtensions: true }) eleventyConfig.setLiquidOptions({ diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..be834895 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +save-exact=true +cache=~/.npm \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 37b87064..368cac8c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,6 +40,9 @@ "slugify": "^1.6.6", "terser": "^5.36.0", "truncate-html": "^1.1.2" + }, + "engines": { + "node": "22.x" } }, "node_modules/@11ty/dependency-tree": { @@ -694,9 +697,9 @@ "peer": true }, "node_modules/@types/node": { - "version": "22.7.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", - "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", + "version": "22.7.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.6.tgz", + "integrity": "sha512-/d7Rnj0/ExXDMcioS78/kf1lMzYk4BZV8MZGTBKzTGZ6/406ukkbYlIsZmMPhcR5KlkunDHQLrtAVmSq7r+mSw==", "dev": true, "license": "MIT", "dependencies": { @@ -1646,9 +1649,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.39", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.39.tgz", - "integrity": "sha512-4xkpSR6CjuiaNyvwiWDI85N9AxsvbPawB8xc7yzLPonYTuP19BVgYweKyUMFtHEZgIcHWMt1ks5Cqx2m+6/Grg==", + "version": "1.5.40", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.40.tgz", + "integrity": "sha512-LYm78o6if4zTasnYclgQzxEcgMoIcybWOhkATWepN95uwVVWV0/IW10v+2sIeHE+bIYWipLneTftVyQm45UY7g==", "dev": true, "license": "ISC" }, @@ -3139,9 +3142,9 @@ } }, "node_modules/picocolors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", - "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true, "license": "ISC" }, diff --git a/package.json b/package.json index 5da25327..580d0e64 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "1.1.1", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", + "engines": { + "node": "22.x" + }, "scripts": { "start": "eleventy --serve", "start:quick": "eleventy --serve --incremental --ignore-initial", diff --git a/src/includes/partials/nav/link.liquid b/src/includes/partials/nav/link.liquid index 90bd0905..cfd8c7f3 100644 --- a/src/includes/partials/nav/link.liquid +++ b/src/includes/partials/nav/link.liquid @@ -10,7 +10,7 @@ {%- endif -%} {%- else -%} - + {%- if icon -%} {% tablericon icon %} {{ title }}