Repository navigation
chore(deps): update dev dependencies, Tailwind v4, fix npm audit - #119
Merged
Merged
Conversation
- Tailwind CSS v3 -> v4 (@tailwindcss/cli, @tailwindcss/postcss; official upgrade tool, renamed utilities, v3 border-color compat) - sharp 0.35, canvas 3.2.3, html-validate 11, postcss 8.5.31 - xlsx from SheetJS CDN (0.20.3), npm registry version has unfixed CVEs - @lhci/cli removed from devDependencies, run on demand via npx (whole lighthouse/puppeteer tree was the remaining audit findings)
🚀 Preview DeploymentYour preview deployment is ready! 🔗 Preview URL: https://preview-pr-119.devopsdays-ch.pages.dev Updated for commit 673d8fb |
- Heading color and article spacing rules in custom.css moved to @layer base so utilities (text-white, mb-*) win again, as with v3 specificity - Restore v3 font stack (ui-sans-serif, system-ui) via @theme - Constrain iframes in prose (location map overflowed to 616px at 390px) - Wrap long URLs in prose links (workshop page overflow)
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.
Updates the npm dev dependencies and fixes all
npm auditfindings. Please don't merge without Romano's OK.Changes
@tailwindcss/upgradetool:assets/css/tailwind.css:@import 'tailwindcss'+@config(keepstailwind.config.js), plus a compat rule that keeps the v3 default border colorbuild:css/watch:cssnow use@tailwindcss/cli.postcss.config.jsuses@tailwindcss/postcss, andautoprefixerwas removed because v4 handles prefixing itselfflex-shrink-0→shrink-0,shadow-sm→shadow-xs,shadow→shadow-sm,bg-gradient-to-t→bg-linear-to-txlsx-0.20.3.tgz). It is used byscripts/update-program.js, and the API is unchanged.npm run lighthousenow runsnpx -y @lhci/cli@0.15.1 autorunon demand. It isn't used in CI.npm audit
Tests (local, Node 20 / npm 11, Hugo extended 0.168.0)
npm ci,npm run prebuild(CSS + banner) andhugo --minifyall OK, with no warnings: 89 pages / 83 HTML files, the same as on mainBreaking changes
hover:only applies on devices that support hover, and buttons getcursor: default. Please check visually in the preview.