-
Notifications
You must be signed in to change notification settings - Fork 16
chore: update to svelte-highlight@7 #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dopry
commented
Nov 2, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates dependencies and adds PostCSS processing capabilities to the project. The main changes include upgrading svelte-highlight from v0.7.1 to v7.9.0 (a major version jump), adding rollup-plugin-postcss for CSS processing, and removing the deprecated lint-staged configuration from package.json.
Key changes:
- Addition of PostCSS support with autoprefixer in the Rollup build configuration
- Major version upgrade of
svelte-highlight(0.7.1 → 7.9.0) - Addition of
rollup-plugin-postcssdependency - Removal of
lint-stagedconfiguration block
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| rollup.config.showcase.js | Added rollup-plugin-postcss import and configuration for CSS extraction and minification, plus autoprefixer in svelte-preprocess |
| package.json | Added [email protected], upgraded svelte-highlight to 7.9.0, removed lint-staged configuration |
| package-lock.json | Updated lockfile with new dependencies for postcss plugins and svelte-highlight upgrade |
9d89f91 to
1e86f0b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
1e86f0b to
1dfab65
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| @@ -1,7 +1,9 @@ | |||
| import { nodeResolve } from '@rollup/plugin-node-resolve'; | |||
| import replace from '@rollup/plugin-replace'; | |||
| import autoprefixer from 'autoprefixer'; | |||
Copilot
AI
Nov 2, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The autoprefixer import is added but not listed as a dependency in package.json. While it may be included as a transitive dependency through other packages, it's a best practice to explicitly list packages that are directly imported in the project's package.json devDependencies to ensure version control and avoid potential breakage if transitive dependencies change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is a dep already.
|
🎉 This PR is included in version 1.2.0-next.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |