Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"waku": "1.0.0-rc.3",
"webauthx": "~0.1.2",
"zod": "^4.4.3",
"zyzz": "0.0.27"
"zyzz": "0.0.33"
},
"devDependencies": {
"@biomejs/biome": "^2.5.1",
Expand Down
448 changes: 0 additions & 448 deletions patches/zyzz@0.0.27.patch

This file was deleted.

62 changes: 45 additions & 17 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ minimumReleaseAgeExclude:
- '@vocs/twoslash-rust'
- '@vocs/twoslash-rust-darwin-arm64'
- '@vocs/twoslash-rust-linux-x64-gnu'
# Only this release: it ships the glibc 2.17 Linux addon that Vercel needs.
- zyzz@0.0.33

onlyBuiltDependencies:
- core-js
Expand All @@ -43,7 +45,6 @@ overrides:
'undici@>=8.0.0 <8.10.2': 8.10.2

patchedDependencies:
zyzz@0.0.27: patches/zyzz@0.0.27.patch
'@braintree/sanitize-url@7.1.2': patches/@braintree__sanitize-url@7.1.2.patch
dayjs@1.11.20: patches/dayjs@1.11.20.patch
vocs@2.10.3: patches/vocs@2.10.3.patch
Expand Down
22 changes: 0 additions & 22 deletions scripts/zyzz-build.ts

This file was deleted.

6 changes: 3 additions & 3 deletions src/test/zyzz-integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ it('excludes documentation fragments without excluding similarly named source di

// The real multi-region documentation source is not one runnable module.
await expect(compile()).rejects.toThrow()
const result = await compile(['snippets'])
const result = await compile(['snippets/**'])
const outputs = (Array.isArray(result) ? result : [result]).flatMap((bundle) =>
'output' in bundle ? bundle.output : [],
)
Expand All @@ -64,7 +64,7 @@ it('serves server-compiled CSS to the browser without compiling its owner in the
configFile: false,
root,
logLevel: 'silent',
plugins: [zyzz({ exclude: ['snippets'], script: false })],
plugins: [zyzz({ exclude: ['snippets/**'], script: false })],
server: { middlewareMode: true },
optimizeDeps: { noDiscovery: true },
})
Expand Down Expand Up @@ -126,7 +126,7 @@ it('compiles the Tempo contract and rejects off-system declarations', async () =
configFile: false,
root,
logLevel: 'silent',
plugins: [zyzz({ exclude: ['snippets'], script: false })],
plugins: [zyzz({ exclude: ['snippets/**'], script: false })],
build: {
write: false,
minify: false,
Expand Down
35 changes: 16 additions & 19 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { defineConfig, loadEnv, type Plugin } from 'vite'
import mkcert from 'vite-plugin-mkcert'
import { zyzz } from 'zyzz/vite'
import { graphiteRelatedDocsPlugin } from './scripts/graphite-related-docs-plugin'
import { skipReferenceScans } from './scripts/zyzz-build'
import { vocsWithZyzz } from './scripts/zyzz-mdx-resources'
import { blogPostsPlugin } from './src/marketing/blogPlugin'

Expand All @@ -27,24 +26,22 @@ export default defineConfig(({ mode }) => {
plugins: [
// Example regions are not complete modules. Keep server tooling out of
// the client discovery graph; Vocs owns the persisted color scheme.
skipReferenceScans(
zyzz({
exclude: [
'src/snippets',
'src/test',
'src/pages/_api',
'src/marketing/blogPlugin.ts',
'scripts',
'e2e',
'search-benchmark',
'playwright.config.ts',
'playwright.zones.config.ts',
'playwright.production.config.ts',
'vocs.config.ts',
],
script: false,
}),
),
zyzz({
exclude: [
'src/snippets/**',
'src/test/**',
'src/pages/_api/**',
'src/marketing/blogPlugin.ts',
'scripts/**',
'e2e/**',
'search-benchmark/**',
'playwright.config.ts',
'playwright.zones.config.ts',
'playwright.production.config.ts',
'vocs.config.ts',
],
script: false,
}),
blogPostsPlugin(),
developersProxyBasePath(),
graphiteRelatedDocsPlugin(),
Expand Down
Loading