mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
26 lines
653 B
TOML
Executable File
26 lines
653 B
TOML
Executable File
[build]
|
|
publish = "docs/.vitepress/dist"
|
|
command = "pnpm ci:docs"
|
|
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF docs/ package.json pnpm-lock.yaml"
|
|
|
|
[build.environment]
|
|
NODE_VERSION = "20"
|
|
# don't need playwright for docs build
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1"
|
|
|
|
[[redirects]]
|
|
from = "/new"
|
|
to = "https://stackblitz.com/fork/github/vitest-dev/vitest/tree/main/examples/basic?initialPath=__vitest__/"
|
|
status = 302
|
|
|
|
[[redirects]]
|
|
from = "/vscode"
|
|
to = "https://marketplace.visualstudio.com/items?itemName=vitest.explorer"
|
|
status = 302
|
|
|
|
[[headers]]
|
|
for = "/manifest.webmanifest"
|
|
|
|
[headers.values]
|
|
Content-Type = "application/manifest+json"
|