From 0567a7655d1c87b792f8659ef99f35cd9a4fe9dc Mon Sep 17 00:00:00 2001 From: Jordan Kohl Date: Thu, 28 Nov 2024 18:07:32 -0500 Subject: [PATCH] switches to ESM, 11ty img transforms (#301) * fixed typo on now page * updated sass and puppeteer * switches to esm (mostly) [fixes #277] * adds 11ty img transformation * updated version and changelog * switches to esm for lighthouse * moves luxon to dev deps * removes lighthouse --- .eleventy.js | 40 ++- .github/lighthouserc.js | 40 --- .github/workflows/main.yml | 48 +-- .nvmrc | 2 +- CHANGELOG.md | 11 + package.json | 8 +- pnpm-lock.yaml | 312 +++++++++++++++--- src/_data/mySite.js | 2 +- src/_includes/base.njk | 2 +- src/_includes/post-social.njk | 2 +- src/now.md | 2 +- .../index.md} | 2 +- .../salary-table.png | Bin 0 -> 74245 bytes .../7KLjoBZ.png | Bin 0 -> 2536293 bytes .../KF1kmnu.jpeg | Bin 0 -> 961211 bytes .../XwXeX56.jpeg | Bin 0 -> 4656945 bytes .../index.md} | 6 +- src/posts/posts.11tydata.js | 4 +- src/posts/updating-the-design.md | 12 - 19 files changed, 358 insertions(+), 135 deletions(-) delete mode 100644 .github/lighthouserc.js rename src/posts/{how-i-nearly-quadrupled-my-salary-in-one-year.md => how-i-nearly-quadrupled-my-salary-in-one-year/index.md} (98%) create mode 100644 src/posts/how-i-nearly-quadrupled-my-salary-in-one-year/salary-table.png create mode 100644 src/posts/main-street-carmel-safety-improvements/7KLjoBZ.png create mode 100644 src/posts/main-street-carmel-safety-improvements/KF1kmnu.jpeg create mode 100644 src/posts/main-street-carmel-safety-improvements/XwXeX56.jpeg rename src/posts/{main-street-carmel-safety-improvements.md => main-street-carmel-safety-improvements/index.md} (92%) delete mode 100644 src/posts/updating-the-design.md diff --git a/.eleventy.js b/.eleventy.js index 8b1809f..51e9f50 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -1,9 +1,15 @@ -const package = require("./package.json") +// FIX for https://github.com/11ty/eleventy-dependency-tree-esm/issues/2 +import { createRequire } from "node:module" +const require = createRequire(import.meta.url) +// import packageJSON from "./package.json" assert { type: "json"} +// import site from "./src/_data/site.json" assert { type: "json"} +const packageJSON = require("./package.json") const site = require("./src/_data/site.json") -const { DateTime } = require("luxon") -const Image = require("@11ty/eleventy-img") -const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight") -const { feedPlugin } = require("@11ty/eleventy-plugin-rss") + +import { DateTime } from "luxon" +import Image, { eleventyImageTransformPlugin } from "@11ty/eleventy-img" +import syntaxHighlight from "@11ty/eleventy-plugin-syntaxhighlight" +import { feedPlugin } from "@11ty/eleventy-plugin-rss" const config = { dir: { @@ -53,7 +59,7 @@ const getReadTime = content => { return time } -module.exports = function (eleventyConfig) { +export default function (eleventyConfig) { // css loading eleventyConfig.setBrowserSyncConfig({ files: `./${config.dir.output}/css/**/*.css`, @@ -62,11 +68,12 @@ module.exports = function (eleventyConfig) { // js/image loading eleventyConfig.addPassthroughCopy(`./${config.dir.input}/global.js`) eleventyConfig.addPassthroughCopy(`./${config.dir.input}/static`) + // only use for inling svgs eleventyConfig.addNunjucksAsyncShortcode("image", async (src, alt, sizes) => { const metadata = await Image(`./${config.dir.input}/assets/${src}`, { outputDir: `./${config.dir.output}/assets/`, urlPath: "/assets/", - formats: ["auto"], + formats: ["svg"], widths: ["auto"], dryRun: src.endsWith(".svg"), }) @@ -85,13 +92,30 @@ module.exports = function (eleventyConfig) { // You bet we throw an error on a missing alt (alt="" works okay) return Image.generateHTML(metadata, imageAttributes) }) + // new recommended image config method + eleventyConfig.addPlugin(eleventyImageTransformPlugin, { + // which file extensions to process + extensions: "html", + + // optional, output image formats + formats: ["auto"], + + // optional, output image widths + // widths: ["auto"], + + // optional, attributes assigned on override these values. + defaultAttributes: { + loading: "lazy", + decoding: "async", + }, + }) // custom collections eleventyConfig.addCollection("tagList", getAllTags) // template helpers (shortcodes and filters) eleventyConfig.addShortcode("year", () => `${new Date().getFullYear()}`) - eleventyConfig.addShortcode("version", () => package.version) + eleventyConfig.addShortcode("version", () => packageJSON.version) eleventyConfig.addFilter("limit", (array, limit) => array.slice(0, limit)) eleventyConfig.addFilter("timeToRead", getReadTime) eleventyConfig.addFilter("postDate", date => diff --git a/.github/lighthouserc.js b/.github/lighthouserc.js deleted file mode 100644 index de1a3ed..0000000 --- a/.github/lighthouserc.js +++ /dev/null @@ -1,40 +0,0 @@ -module.exports = { - ci: { - upload: { - target: "temporary-public-storage", - }, - assert: { - preset: "lighthouse:no-pwa", - assertions: { - "uses-responsive-images": "warn", - "is-crawlable": "off", - "uses-rel-preconnect": "warn", // flags Netlify scripts on deploy preview - "csp-xss": "warn", - deprecations: "warn", - "bf-cache": "warn", - }, - }, - settings: { - budgets: [ - { - timings: [ - { - metric: "interactive", - budget: 3000, - }, - { - metric: "first-meaningful-paint", - budget: 2000, - }, - ], - resourceSizes: [ - { - resourceType: "total", - budget: 500, - }, - ], - }, - ], - }, - }, -} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d1a6c66..5721e3c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,25 +1,25 @@ -name: Lighthouse CI for Netlify sites -on: - pull_request: - branches: - - stable -jobs: - build: - runs-on: ubuntu-latest +# name: Lighthouse CI for Netlify sites +# on: +# pull_request: +# branches: +# - stable +# jobs: +# build: +# runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Wait for the Netlify Preview - uses: jakepartusch/wait-for-netlify-action@v1.4 - id: netlify - with: - site_name: "simpixelated" - max_timeout: 120 - - name: Audit URLs using Lighthouse - uses: treosh/lighthouse-ci-action@v10 - with: - urls: | - ${{ steps.netlify.outputs.url }} - ${{ steps.netlify.outputs.url }}/two-year-work-retrospective/ - configPath: "./.github/lighthouserc.js" - temporaryPublicStorage: true +# steps: +# - uses: actions/checkout@v3 +# - name: Wait for the Netlify Preview +# uses: jakepartusch/wait-for-netlify-action@v1.4 +# id: netlify +# with: +# site_name: "simpixelated" +# max_timeout: 120 +# - name: Audit URLs using Lighthouse +# uses: treosh/lighthouse-ci-action@v10 +# with: +# urls: | +# ${{ steps.netlify.outputs.url }} +# ${{ steps.netlify.outputs.url }}/two-year-work-retrospective/ +# configPath: "./.github/lighthouserc.js" +# temporaryPublicStorage: true diff --git a/.nvmrc b/.nvmrc index aacb518..48ef2c1 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18.17 +20.9 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0999bf4..b31d422 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --- +## 2.3.7 - 2024-11-28 + +### Changed + +- fixed typo on /now +- updated dependencies +- switched to esm for #277 +- added 11ty `` support for #231 + +--- + ## 2.3.6 - 2024-09-04 ### Changed diff --git a/package.json b/package.json index e3b5dd4..2fcc937 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "simpixelated.com", - "version": "2.3.6", + "version": "2.3.7", + "type": "module", "description": "personal website and blog of Jordan Kohl (simpixelated)", "main": ".eleventy.js", "author": "Jordan Kohl", @@ -23,10 +24,11 @@ "@11ty/eleventy-plugin-rss": "^2.0.2", "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0", "husky": "^9.1.7", + "luxon": "^3.5.0", "path": "^0.12.7", "prettier": "^3.4.1", - "puppeteer": "^22.15.0", - "sass": "^1.77.8" + "puppeteer": "^23.9.0", + "sass": "^1.81.0" }, "repository": { "type": "git", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 237d20b..159ce03 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,6 +20,9 @@ devDependencies: husky: specifier: ^9.1.7 version: 9.1.7 + luxon: + specifier: ^3.5.0 + version: 3.5.0 path: specifier: ^0.12.7 version: 0.12.7 @@ -27,11 +30,11 @@ devDependencies: specifier: ^3.4.1 version: 3.4.1 puppeteer: - specifier: ^22.15.0 - version: 22.15.0 + specifier: ^23.9.0 + version: 23.9.0 sass: - specifier: ^1.77.8 - version: 1.77.8 + specifier: ^1.81.0 + version: 1.81.0 packages: /@11ty/dependency-tree-esm@1.0.0: @@ -581,6 +584,191 @@ packages: fastq: 1.17.1 dev: true + /@parcel/watcher-android-arm64@2.5.0: + resolution: + { + integrity: sha512-qlX4eS28bUcQCdribHkg/herLe+0A9RyYC+mm2PXpncit8z5b3nSqGVzMNR3CmtAOgRutiZ02eIJJgP/b1iEFQ==, + } + engines: { node: ">= 10.0.0" } + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@parcel/watcher-darwin-arm64@2.5.0: + resolution: + { + integrity: sha512-hyZ3TANnzGfLpRA2s/4U1kbw2ZI4qGxaRJbBH2DCSREFfubMswheh8TeiC1sGZ3z2jUf3s37P0BBlrD3sjVTUw==, + } + engines: { node: ">= 10.0.0" } + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@parcel/watcher-darwin-x64@2.5.0: + resolution: + { + integrity: sha512-9rhlwd78saKf18fT869/poydQK8YqlU26TMiNg7AIu7eBp9adqbJZqmdFOsbZ5cnLp5XvRo9wcFmNHgHdWaGYA==, + } + engines: { node: ">= 10.0.0" } + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@parcel/watcher-freebsd-x64@2.5.0: + resolution: + { + integrity: sha512-syvfhZzyM8kErg3VF0xpV8dixJ+RzbUaaGaeb7uDuz0D3FK97/mZ5AJQ3XNnDsXX7KkFNtyQyFrXZzQIcN49Tw==, + } + engines: { node: ">= 10.0.0" } + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@parcel/watcher-linux-arm-glibc@2.5.0: + resolution: + { + integrity: sha512-0VQY1K35DQET3dVYWpOaPFecqOT9dbuCfzjxoQyif1Wc574t3kOSkKevULddcR9znz1TcklCE7Ht6NIxjvTqLA==, + } + engines: { node: ">= 10.0.0" } + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@parcel/watcher-linux-arm-musl@2.5.0: + resolution: + { + integrity: sha512-6uHywSIzz8+vi2lAzFeltnYbdHsDm3iIB57d4g5oaB9vKwjb6N6dRIgZMujw4nm5r6v9/BQH0noq6DzHrqr2pA==, + } + engines: { node: ">= 10.0.0" } + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@parcel/watcher-linux-arm64-glibc@2.5.0: + resolution: + { + integrity: sha512-BfNjXwZKxBy4WibDb/LDCriWSKLz+jJRL3cM/DllnHH5QUyoiUNEp3GmL80ZqxeumoADfCCP19+qiYiC8gUBjA==, + } + engines: { node: ">= 10.0.0" } + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@parcel/watcher-linux-arm64-musl@2.5.0: + resolution: + { + integrity: sha512-S1qARKOphxfiBEkwLUbHjCY9BWPdWnW9j7f7Hb2jPplu8UZ3nes7zpPOW9bkLbHRvWM0WDTsjdOTUgW0xLBN1Q==, + } + engines: { node: ">= 10.0.0" } + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@parcel/watcher-linux-x64-glibc@2.5.0: + resolution: + { + integrity: sha512-d9AOkusyXARkFD66S6zlGXyzx5RvY+chTP9Jp0ypSTC9d4lzyRs9ovGf/80VCxjKddcUvnsGwCHWuF2EoPgWjw==, + } + engines: { node: ">= 10.0.0" } + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@parcel/watcher-linux-x64-musl@2.5.0: + resolution: + { + integrity: sha512-iqOC+GoTDoFyk/VYSFHwjHhYrk8bljW6zOhPuhi5t9ulqiYq1togGJB5e3PwYVFFfeVgc6pbz3JdQyDoBszVaA==, + } + engines: { node: ">= 10.0.0" } + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@parcel/watcher-win32-arm64@2.5.0: + resolution: + { + integrity: sha512-twtft1d+JRNkM5YbmexfcH/N4znDtjgysFaV9zvZmmJezQsKpkfLYJ+JFV3uygugK6AtIM2oADPkB2AdhBrNig==, + } + engines: { node: ">= 10.0.0" } + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@parcel/watcher-win32-ia32@2.5.0: + resolution: + { + integrity: sha512-+rgpsNRKwo8A53elqbbHXdOMtY/tAtTzManTWShB5Kk54N8Q9mzNWV7tV+IbGueCbcj826MfWGU3mprWtuf1TA==, + } + engines: { node: ">= 10.0.0" } + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@parcel/watcher-win32-x64@2.5.0: + resolution: + { + integrity: sha512-lPrxve92zEHdgeff3aiu4gDOIt4u7sJYha6wbdEZDCDUhtjTsOMiaJzG5lMY4GkWH8p0fMmO2Ppq5G5XXG+DQw==, + } + engines: { node: ">= 10.0.0" } + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@parcel/watcher@2.5.0: + resolution: + { + integrity: sha512-i0GV1yJnm2n3Yq1qw6QrUrd/LI9bE8WEBOTtOkpCXHHdyN3TAGgqAK/DAT05z4fq2x04cARXt2pDmjWjL92iTQ==, + } + engines: { node: ">= 10.0.0" } + requiresBuild: true + dependencies: + detect-libc: 1.0.3 + is-glob: 4.0.3 + micromatch: 4.0.8 + node-addon-api: 7.1.1 + optionalDependencies: + "@parcel/watcher-android-arm64": 2.5.0 + "@parcel/watcher-darwin-arm64": 2.5.0 + "@parcel/watcher-darwin-x64": 2.5.0 + "@parcel/watcher-freebsd-x64": 2.5.0 + "@parcel/watcher-linux-arm-glibc": 2.5.0 + "@parcel/watcher-linux-arm-musl": 2.5.0 + "@parcel/watcher-linux-arm64-glibc": 2.5.0 + "@parcel/watcher-linux-arm64-musl": 2.5.0 + "@parcel/watcher-linux-x64-glibc": 2.5.0 + "@parcel/watcher-linux-x64-musl": 2.5.0 + "@parcel/watcher-win32-arm64": 2.5.0 + "@parcel/watcher-win32-ia32": 2.5.0 + "@parcel/watcher-win32-x64": 2.5.0 + dev: true + optional: true + /@pkgjs/parseargs@0.11.0: resolution: { @@ -591,15 +779,15 @@ packages: dev: true optional: true - /@puppeteer/browsers@2.3.0: + /@puppeteer/browsers@2.4.1: resolution: { - integrity: sha512-ioXoq9gPxkss4MYhD+SFaU9p1IHFUX0ILAWFPyjGaBdjLsYAlZw6j1iLA0N/m12uVHLFDfSYNF7EQccjinIMDA==, + integrity: sha512-0kdAbmic3J09I6dT8e9vE2JOCSt13wHCW5x/ly8TSt2bDtuIWe2TgLZZDHdcziw9AVCzflMAXCrVyRIhIs44Ng==, } engines: { node: ">=18" } hasBin: true dependencies: - debug: 4.3.6 + debug: 4.3.7 extract-zip: 2.0.1 progress: 2.0.3 proxy-agent: 6.4.0 @@ -694,7 +882,7 @@ packages: } engines: { node: ">= 14" } dependencies: - debug: 4.3.6 + debug: 4.3.7 transitivePeerDependencies: - supports-color dev: true @@ -1064,15 +1252,25 @@ packages: fsevents: 2.3.3 dev: true - /chromium-bidi@0.6.3(devtools-protocol@0.0.1312386): + /chokidar@4.0.1: + resolution: + { + integrity: sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==, + } + engines: { node: ">= 14.16.0" } + dependencies: + readdirp: 4.0.2 + dev: true + + /chromium-bidi@0.8.0(devtools-protocol@0.0.1367902): resolution: { - integrity: sha512-qXlsCmpCZJAnoTYI83Iu6EdYQpMYdVkCfq08KDh2pmlVqK5t5IA9mGs4/LwCwp4fqisSOMXZxP3HIh8w8aRn0A==, + integrity: sha512-uJydbGdTw0DEUjhoogGveneJVWX/9YuqkWePzMmkBYwtdAqo5d3J/ovNKFr+/2hWXYmYCr6it8mSSTIj6SS6Ug==, } peerDependencies: devtools-protocol: "*" dependencies: - devtools-protocol: 0.0.1312386 + devtools-protocol: 0.0.1367902 mitt: 3.0.1 urlpattern-polyfill: 10.0.0 zod: 3.23.8 @@ -1317,6 +1515,17 @@ packages: engines: { node: ">= 0.8", npm: 1.2.8000 || >= 1.4.16 } dev: true + /detect-libc@1.0.3: + resolution: + { + integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==, + } + engines: { node: ">=0.10" } + hasBin: true + requiresBuild: true + dev: true + optional: true + /detect-libc@2.0.3: resolution: { @@ -1334,10 +1543,10 @@ packages: hasBin: true dev: true - /devtools-protocol@0.0.1312386: + /devtools-protocol@0.0.1367902: resolution: { - integrity: sha512-DPnhUXvmvKT2dFA/j7B+riVLUt9Q6RKJlcppojL5CoRywJJKLDYnRlw0gTFKfgDPHP5E04UoB71SxoJlVZy8FA==, + integrity: sha512-XxtPuC3PGakY6PD7dG66/o8KwJ/LkH2/EKe19Dcw58w53dv4/vSQEkn/SzuyhHE2q4zPgCkxQBxus3VV4ql+Pg==, } dev: true @@ -1639,7 +1848,7 @@ packages: engines: { node: ">= 10.17.0" } hasBin: true dependencies: - debug: 4.3.6 + debug: 4.3.7 get-stream: 5.2.0 yauzl: 2.10.0 optionalDependencies: @@ -1849,7 +2058,7 @@ packages: dependencies: basic-ftp: 5.0.5 data-uri-to-buffer: 6.0.2 - debug: 4.3.6 + debug: 4.3.7 fs-extra: 11.2.0 transitivePeerDependencies: - supports-color @@ -2009,7 +2218,7 @@ packages: engines: { node: ">= 14" } dependencies: agent-base: 7.1.1 - debug: 4.3.6 + debug: 4.3.7 transitivePeerDependencies: - supports-color dev: true @@ -2022,7 +2231,7 @@ packages: engines: { node: ">= 14" } dependencies: agent-base: 7.1.1 - debug: 4.3.6 + debug: 4.3.7 transitivePeerDependencies: - supports-color dev: true @@ -2054,10 +2263,10 @@ packages: queue: 6.0.2 dev: true - /immutable@4.3.5: + /immutable@5.0.3: resolution: { - integrity: sha512-8eabxkth9gZatlwl5TBuJnCsoTADlL6ftEr7A4qgdaTsPyreilDSnUk57SO+jfKcNtxPa22U5KK6DSeAYhpBJw==, + integrity: sha512-P8IdPQHq3lA1xVeBRi5VPqUm5HDgKnx0Ru51wZz5mjxHr5n3RWhjIpOFU7ybkUxfB+5IToy+OLaHYDBIWsv+uw==, } dev: true @@ -2546,6 +2755,15 @@ packages: engines: { node: ">= 0.4.0" } dev: true + /node-addon-api@7.1.1: + resolution: + { + integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==, + } + requiresBuild: true + dev: true + optional: true + /node-fetch@2.7.0: resolution: { @@ -2676,7 +2894,7 @@ packages: dependencies: "@tootallnate/quickjs-emscripten": 0.23.0 agent-base: 7.1.1 - debug: 4.3.6 + debug: 4.3.7 get-uri: 6.0.3 http-proxy-agent: 7.0.2 https-proxy-agent: 7.0.5 @@ -2911,7 +3129,7 @@ packages: engines: { node: ">= 14" } dependencies: agent-base: 7.1.1 - debug: 4.3.6 + debug: 4.3.7 http-proxy-agent: 7.0.2 https-proxy-agent: 7.0.5 lru-cache: 7.18.3 @@ -2954,17 +3172,18 @@ packages: engines: { node: ">=6" } dev: true - /puppeteer-core@22.15.0: + /puppeteer-core@23.9.0: resolution: { - integrity: sha512-cHArnywCiAAVXa3t4GGL2vttNxh7GqXtIYGym99egkNJ3oG//wL9LkvO4WE8W1TJe95t1F1ocu9X4xWaGsOKOA==, + integrity: sha512-hLVrav2HYMVdK0YILtfJwtnkBAwNOztUdR4aJ5YKDvgsbtagNr6urUJk9HyjRA9e+PaLI3jzJ0wM7A4jSZ7Qxw==, } engines: { node: ">=18" } dependencies: - "@puppeteer/browsers": 2.3.0 - chromium-bidi: 0.6.3(devtools-protocol@0.0.1312386) - debug: 4.3.6 - devtools-protocol: 0.0.1312386 + "@puppeteer/browsers": 2.4.1 + chromium-bidi: 0.8.0(devtools-protocol@0.0.1367902) + debug: 4.3.7 + devtools-protocol: 0.0.1367902 + typed-query-selector: 2.12.0 ws: 8.18.0 transitivePeerDependencies: - bufferutil @@ -2972,19 +3191,21 @@ packages: - utf-8-validate dev: true - /puppeteer@22.15.0: + /puppeteer@23.9.0: resolution: { - integrity: sha512-XjCY1SiSEi1T7iSYuxS82ft85kwDJUS7wj1Z0eGVXKdtr5g4xnVcbjwxhq5xBnpK/E7x1VZZoJDxpjAOasHT4Q==, + integrity: sha512-WfB8jGwFV+qrD9dcJJVvWPFJBU6kxeu2wxJz9WooDGfM3vIiKLgzImEDBxUQnCBK/2cXB3d4dV6gs/LLpgfLDg==, } engines: { node: ">=18" } hasBin: true requiresBuild: true dependencies: - "@puppeteer/browsers": 2.3.0 + "@puppeteer/browsers": 2.4.1 + chromium-bidi: 0.8.0(devtools-protocol@0.0.1367902) cosmiconfig: 9.0.0 - devtools-protocol: 0.0.1312386 - puppeteer-core: 22.15.0 + devtools-protocol: 0.0.1367902 + puppeteer-core: 23.9.0 + typed-query-selector: 2.12.0 transitivePeerDependencies: - bufferutil - supports-color @@ -3033,6 +3254,14 @@ packages: picomatch: 2.3.1 dev: true + /readdirp@4.0.2: + resolution: + { + integrity: sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==, + } + engines: { node: ">= 14.16.0" } + dev: true + /require-directory@2.1.1: resolution: { @@ -3087,17 +3316,19 @@ packages: queue-microtask: 1.2.3 dev: true - /sass@1.77.8: + /sass@1.81.0: resolution: { - integrity: sha512-4UHg6prsrycW20fqLGPShtEvo/WyHRVRHwOP4DzkUrObWoWI05QBSfzU71TVB7PFaL104TwNaHpjlWXAZbQiNQ==, + integrity: sha512-Q4fOxRfhmv3sqCLoGfvrC9pRV8btc0UtqL9mN6Yrv6Qi9ScL55CVH1vlPP863ISLEEMNLLuu9P+enCeGHlnzhA==, } engines: { node: ">=14.0.0" } hasBin: true dependencies: - chokidar: 3.6.0 - immutable: 4.3.5 + chokidar: 4.0.1 + immutable: 5.0.3 source-map-js: 1.2.0 + optionalDependencies: + "@parcel/watcher": 2.5.0 dev: true /section-matter@1.0.0: @@ -3273,7 +3504,7 @@ packages: engines: { node: ">= 14" } dependencies: agent-base: 7.1.1 - debug: 4.3.6 + debug: 4.3.7 socks: 2.8.3 transitivePeerDependencies: - supports-color @@ -3487,6 +3718,13 @@ packages: } dev: true + /typed-query-selector@2.12.0: + resolution: + { + integrity: sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==, + } + dev: true + /uc.micro@2.1.0: resolution: { diff --git a/src/_data/mySite.js b/src/_data/mySite.js index 48b0f25..7497598 100644 --- a/src/_data/mySite.js +++ b/src/_data/mySite.js @@ -1,4 +1,4 @@ -module.exports = function () { +export default function () { return { // should be Netlify build context // "It can be production, deploy-preview, branch-deploy, or dev." diff --git a/src/_includes/base.njk b/src/_includes/base.njk index dcb6e83..70f05ce 100644 --- a/src/_includes/base.njk +++ b/src/_includes/base.njk @@ -14,7 +14,7 @@

simpixelated.com

- {% image 'profile-drawn-transparent.png', 'illustration of Jordan Kohl' %} + illustration of Jordan Kohl