Skip to content

Update tooling, workflows, and index metadata#210

Merged
coliff merged 4 commits intomainfrom
codex/update-dependencies-and-actions
Mar 19, 2026
Merged

Update tooling, workflows, and index metadata#210
coliff merged 4 commits intomainfrom
codex/update-dependencies-and-actions

Conversation

@Codex
Copy link
Contributor

@Codex Codex AI commented Mar 19, 2026

Modernizes dependencies, locks down npm behavior, and refreshes workflows while updating page metadata per request.

  • Dependencies: Pin eslint@8.57.1 and prettier@3.8.1; disable package-lock generation via .npmrc; ignore and remove package-lock.json.
  • Workflows: Delete dependency-review; bump CodeQL to v4.33.0; upgrade Super Linter to v8.5.0, add npm install --no-package-lock, and drop VALIDATE_HTML.
  • HTML: Add color-scheme and fediverse meta tags; remove legacy IE compatibility meta and IE11 polyfill.

Example:

<meta name="color-scheme" content="dark light">
<meta name="fediverse:creator" content="@christianoliff@mastodon.social">
<link rel="stylesheet" href="dark-mode.css">
Original prompt

This section details on the original issue you should resolve

<issue_title>Updates</issue_title>
<issue_description>- Delete package-lock.json

  • Prevent package-lock.json being generated in .npmrc
  • Pin Prettier to 3.8.1 (latest version)
  • Pin ESLint to 8.57.1
  • Update GitHub Actions to latest verisons
  • Add package-lock.json to .gitignore
  • In SuperLinter GH Action - remove VALIDATE_HTML: false
  • In SuperLinter GH Action - Add npm install step - after Checkout step.
  • Delete dependency-review.yml GH Action
  • on Index.html add <meta name="color-scheme" content="dark light">
  • on Index.html add <meta name="fediverse:creator" content="@christianoliff@mastodon.social">
  • On Index.html, remove <meta http-equiv="x-ua-compatible" content="ie=edge">
  • On Index.html, remove <!-- IE 11 polyfill for CSS and Custom Properties --> script</issue_description>

Comments on the Issue (you are @codex[agent] in this section)

@netlify
Copy link

netlify bot commented Mar 19, 2026

Deploy Preview for dark-mode-theme-switch ready!

Name Link
🔨 Latest commit e803951
🔍 Latest deploy log https://app.netlify.com/projects/dark-mode-theme-switch/deploys/69bbc1bfad0d52000848d551
😎 Deploy Preview https://deploy-preview-210--dark-mode-theme-switch.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@coliff coliff self-requested a review March 19, 2026 09:23
@coliff coliff marked this pull request as ready for review March 19, 2026 09:23
Copilot AI review requested due to automatic review settings March 19, 2026 09:23
@coliff coliff enabled auto-merge March 19, 2026 09:23
@Codex Codex AI changed the title [WIP] Update dependencies and GitHub Actions configuration Update tooling, workflows, and index metadata Mar 19, 2026
@coliff coliff disabled auto-merge March 19, 2026 09:24
@Codex Codex AI requested a review from coliff March 19, 2026 09:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project’s Node tooling and GitHub Actions to align with newer dependency versions and revised CI checks, alongside small HTML metadata cleanup for the demo page.

Changes:

  • Pin ESLint and Prettier versions; remove package-lock.json and disable lockfile generation.
  • Adjust GitHub Actions: update Super Linter + CodeQL pins and remove the dependency review workflow.
  • Update index.html metadata and remove legacy IE11 polyfill assets.

Reviewed changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
package.json Pins ESLint/Prettier versions to specific releases.
package-lock.json Removes the lockfile from the repo.
index.html Adds new meta tags and removes legacy IE compatibility/polyfill code.
.npmrc Disables package-lock generation and normalizes registry config.
.gitignore Ignores package-lock.json going forward.
.github/workflows/super-linter.yml Adds an npm install step, updates Super Linter pin, and enables HTML validation.
.github/workflows/dependency-review.yml Removes the dependency review workflow.
.github/workflows/codeql-analysis.yml Updates CodeQL action pins.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@coliff coliff merged commit e5cbc35 into main Mar 19, 2026
6 checks passed
@coliff coliff deleted the codex/update-dependencies-and-actions branch March 19, 2026 09:28
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.

Updates

3 participants