slidev icon indicating copy to clipboard operation
slidev copied to clipboard

chore: add resolver test, configue vitest projects

Open AlbertBrand opened this issue 1 month ago • 3 comments

Add a proper test for the createResolver logic, as I want to automatically prevent the regression.

Also, when running the test locally via VSCode the vitest extension did some incorrect assumption which tests to run, which is fixed by explicitly stating the testable projects.

AlbertBrand avatar Dec 09 '25 15:12 AlbertBrand

Deploy Preview for slidev failed.

Name Link
Latest commit 6c9f2f8c5bb602faf8cfd1255088815c6267ba2f
Latest deploy log https://app.netlify.com/projects/slidev/deploys/69392ec129d7d30008ee3abb

netlify[bot] avatar Dec 09 '25 15:12 netlify[bot]

@antfu @kermanx This commit with upgrades https://github.com/slidevjs/slidev/commit/d11ddbdb361b2cffb534666c4fa3fd08ae4b2182 seems to have broken builds. When I do a pnpm i (with or without force) with that commit checked out and then run pnpm build I get:

> @52.10.1 build /Users/albertbrand/dev/slidev
> pnpm -r --filter=./packages/** --parallel run build

No matches found: "--filter=./packages/**"
 ELIFECYCLE  Command failed with exit code 1.

Maybe from the pnpm upgrade?

AlbertBrand avatar Dec 09 '25 16:12 AlbertBrand

Open in StackBlitz

@slidev/client

npm i https://pkg.pr.new/slidevjs/slidev/@slidev/client@2400
create-slidev

npm i https://pkg.pr.new/slidevjs/slidev/create-slidev@2400
create-slidev-theme

npm i https://pkg.pr.new/slidevjs/slidev/create-slidev-theme@2400
@slidev/parser

npm i https://pkg.pr.new/slidevjs/slidev/@slidev/parser@2400
@slidev/cli

npm i https://pkg.pr.new/slidevjs/slidev/@slidev/cli@2400
@slidev/types

npm i https://pkg.pr.new/slidevjs/slidev/@slidev/types@2400

commit: 6c9f2f8

pkg-pr-new[bot] avatar Dec 10 '25 08:12 pkg-pr-new[bot]