Upgrade build toolchain and deploy to Pages on push - #43
Merged
Merged
Conversation
Babel 8, webpack 5.111, webpack-cli 7, webpack-dev-server 6. Moves from yarn v1 to npm (package-lock.json). npm audit reports 0 vulnerabilities. markdown (ReDoS, no fixed release) is replaced by marked with gfm off, so bare URLs stay plain text for replaceURLs. raw-loader is replaced by webpack's asset/source via a ?raw query. Webpack's built-in CSS/HTML handling is turned off, since it minified the stylesheet text the page types out. Dropped unused exports-loader, util, and the Babel proposal plugins now in preset-env.
The workflow builds on each push and PR, runs npm audit, and deploys master to Pages. The old gh-pages branch was merged by hand and never had dist/ai.js, so /ai.html was broken live. README links the Age of AI edition and documents the deploy.
Swept deploy.yml for every job condition (1 site). A workflow_dispatch on another branch no longer reaches the deploy job.
This was referenced Sep 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clears every open Dependabot alert and replaces the hand-merged gh-pages branch with a deploy workflow.
npm auditgoes from 91 open alerts to 0markdown→marked(gfm off)markdownhas a ReDoS with no fixed releaseraw-loader→?rawasset/source.github/workflows/deploy.ymlmasterto Pagesgh-pages never got
dist/ai.js, so https://strml.net/ai.html is broken today. This fixes it.Checked by serving the assembled
_sitelocally: both pages render, no console errors, the typed stylesheet keeps its comments and formatting, and work.txt links render as before.Supersedes the open Dependabot PRs.