Skip to content

Chore/bump slidev 52.19 - #1

Merged
ivchicano merged 3 commits into
mainfrom
chore/bump-slidev-52.19
Sep 15, 2026
Merged

ivchicano merged 3 commits into
mainfrom
chore/bump-slidev-52.19

Conversation

@ivchicano

Copy link
Copy Markdown
Collaborator

No description provided.

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
@ivchicano
ivchicano merged commit 80a7d4d into main Sep 15, 2026
5 checks passed
@ivchicano
ivchicano deleted the chore/bump-slidev-52.19 branch September 15, 2026 07:06
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