Skip to content

Fix/ci node22 audit - #494

Merged
FactoryOptic merged 2 commits into
masterfrom
fix/ci-node22-audit
Sep 20, 2026
Merged

FactoryOptic merged 2 commits into
masterfrom
fix/ci-node22-audit

Conversation

@FactoryOptic

Copy link
Copy Markdown
Owner

Summary

Brief explanation of the proposed changes.

Basic example

Include a basic example, screenshots, or links.

Motivation

Why are we doing this? What use cases does it support? What is the expected outcome?

Checks

  • Read Create a Pull Request
  • Supports all screen sizes (if relevant)
  • Supports both light and dark mode (if relevant)
  • Passes npm run test

Rewritten display, connections and charging pages; new troubleshooting
page linked from the overview. Screen images are generated from the
firmware (FactoryOptic-FAC14 tools/render_screens.py) and live under
static/images/qtc/v2/. Old photographs are left in place.
- Stop tracking node_modules (9,295 files); it was committed despite
  .gitignore.
- CI: workflow pinned Node 16, which ESLint 9 cannot run on, so every
  run on master has failed since Aug 2025. Matrix is now Node 22/24
  and actually uses the matrix version. Bump checkout, setup-node,
  stale and codeql actions to current majors.
- Node 20 is end-of-life; pin 22.23.2 in netlify.toml, .nvmrc and
  package.json engines.
- Home template read package.json via resources.Get, which only sees
  assets/, so production builds failed with "no data to transform".
  Use os.ReadFile.
- Replace hugo-installer (pulls decompress, critical, no fixed
  version) with hugo-extended 0.155.3. Hugo 0.124.1 -> 0.155.3;
  generated page set is identical. 0.156+ removes .Site.Author which
  rss.xml still uses.
- markdownlint-cli2 0.18 -> 0.23; configure MD001 to ignore the
  front-matter title since pages start at h3 by convention.
- npm overrides for adm-zip and js-yaml 4.x. npm audit: 27 -> 0.
- Dev server renders to memory so builds into public/ can't be
  served mid-session.
@netlify

netlify Bot commented Sep 20, 2026

Copy link
Copy Markdown

Deploy Preview for factoryoptic ready!

Name Link
🔨 Latest commit 9d51b1b
🔍 Latest deploy log https://app.netlify.com/projects/factoryoptic/deploys/6aaf6dbec225c90008fd4eba
😎 Deploy Preview https://deploy-preview-494--factoryoptic.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@FactoryOptic
FactoryOptic merged commit c19df6d into master Sep 20, 2026
12 checks passed
@FactoryOptic
FactoryOptic deleted the fix/ci-node22-audit branch September 20, 2026 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant