Chore/bump slidev 52.19 - #1
Merged
Merged
Conversation
Upgrade @slidev/cli, @slidev/client and @slidev/types to ^52.19.1 and replace the exact @slidev/client 52.16.0 pin with a caret range (the CLI aliases @slidev/client to its own copy at runtime anyway, so the pin only skewed typechecking against an older client). New projects scaffolded by create-codeurjc-slidev start on ^52.19.1 too. Claude-Session: https://claude.ai/code/session_013UDXN3WSmQviBscogHWJg1
Slidev 52.17.1 (slidevjs/slidev#2664) reloads the deck with the theme's roots in resolveOptions, so setup/preparser.ts now applies from the very first parse in both the dev server and `slidev build`/`export`. That makes two workarounds redundant: - the `slidev-force-initial-reparse-for-preparser-extensions` Vite plugin that emitted a synthetic change event for every top-level .md file after the dev server started listening - the `pre` markdown transformer that recomputed title carry-over from ctx.options.data.slides for builds Verified with a cold-start deck in dev and build (carried titles present with only the preparser; absent when the preparser is removed too). Raise the theme's @slidev/cli and @slidev/client peer floor to ^52.17.1 accordingly. Also add the `.ts` extension to vite.config.ts's composable import, which Vite 8.3 flags as unsupported by the future native config loader. Claude-Session: https://claude.ai/code/session_013UDXN3WSmQviBscogHWJg1
- vite ^8.3.0, vue ^3.5.42, vue-tsc ^3.3.11, unocss ^66.10.2 - eslint ^10.10.0, @antfu/eslint-config ^9.5.1, lint-staged ^17.5.1, simple-git-hooks ^2.14.0, @playwright/test ^1.63.0 - @types/markdown-it ^14.2.0, ansis ^4.4.0, tinyexec ^1.3.1 @antfu/eslint-config 9.5.1 adds pnpm-workspace.yaml rules, so the file is reformatted and gains the enforced `minimumReleaseAgeExcludePrune` setting (not yet implemented by pnpm 11.9.0, so currently inert). The remaining @devframes/hub peer warning comes from unocss 66.10's inspector (devframe 0.9.x) coexisting with Slidev's @vitejs/devtools-kit 0.4.10 (devframe 0.7.x) -- dev tooling only. Major upgrades (TypeScript 7, Vitest 5, markdown-it 15, jsdom 30, ...) are left for separate changes. Claude-Session: https://claude.ai/code/session_013UDXN3WSmQviBscogHWJg1
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.
No description provided.