Skip to content

Commit 2821bf2

Browse files
committed
Update deps.
1 parent 11d73a6 commit 2821bf2

27 files changed

Lines changed: 2434 additions & 2688 deletions

File tree

‎TESTING.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ that change the process timezone also use forks, because threads cannot change N
9797
API file with `vp test run --project 'platform-api-integration*'`. SDK integration files use forks.
9898
This keeps database engines from competing with all framework compilers at startup. Keep module
9999
isolation enabled: these suites mock globals, keep database state, and exercise real process/lock boundaries.
100+
Cloudflare Vite build/dev suites belong in the integration pool: their native macOS file watchers
101+
can crash Node while a worker thread is being torn down. Keep these suites in separate processes.
100102
The full verification command builds before running the platform's type-aware lint, so it also
101103
works without a pre-existing dashboard `.void/tsconfig.json`.
102104

‎docs/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"vitepress": "2.0.0-alpha.20",
1616
"vitepress-plugin-group-icons": "catalog:",
1717
"void": "workspace:*",
18-
"vue": "^3.5.44",
18+
"vue": "catalog:",
1919
"wrangler": "catalog:"
2020
}
2121
}

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@
3737
"vite": "catalog:",
3838
"vite-plus": "catalog:"
3939
},
40-
"packageManager": "pnpm@12.16.1"
40+
"packageManager": "pnpm@12.18.0"
4141
}

‎packages/md/package.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,18 @@
4141
"typecheck": "tsc --noEmit --rootDir ../.."
4242
},
4343
"dependencies": {
44-
"@shikijs/engine-javascript": "^4.5.0",
45-
"@shikijs/transformers": "^4.5.0",
44+
"@shikijs/engine-javascript": "catalog:",
45+
"@shikijs/transformers": "catalog:",
4646
"gray-matter": "^4.0.3",
47-
"markdown-exit": "^1.3.0",
47+
"markdown-exit": "catalog:",
4848
"markdown-it": "^15.0.3",
49-
"markdown-it-anchor": "^10.0.0",
49+
"markdown-it-anchor": "catalog:",
5050
"markdown-it-attrs": "^5.0.1",
5151
"markdown-it-container": "^4.0.0",
5252
"markdown-it-emoji": "^3.1.0",
5353
"markdown-it-footnote": "^4.0.0",
5454
"pathslash": "catalog:",
55-
"shiki": "^4.5.0",
55+
"shiki": "catalog:",
5656
"tinyglobby": "^0.2.17"
5757
},
5858
"devDependencies": {

‎packages/md/src/compile.ts‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ import {
88
} from '@shikijs/transformers';
99
import MarkdownExit from 'markdown-exit';
1010
import type { RuleCore, Token } from 'markdown-exit';
11-
import anchor from 'markdown-it-anchor';
1211
import attrs from 'markdown-it-attrs';
1312
import { full as emoji } from 'markdown-it-emoji';
1413
import footnote from 'markdown-it-footnote';
1514
import { createHighlighter, bundledLanguages, isSpecialLang, type BundledLanguage } from 'shiki';
1615
import { extractHeadings, parseFrontmatter } from './metadata.ts';
1716
import { containerPlugin } from './plugins/containers.ts';
1817
import { gitHubAlertsPlugin } from './plugins/github-alerts.ts';
18+
import { headingAnchorPlugin } from './plugins/heading-anchor.ts';
1919
import { imagePlugin } from './plugins/image.ts';
2020
import { lineNumberPlugin } from './plugins/line-numbers.ts';
2121
import { linkPlugin } from './plugins/link.ts';
@@ -128,9 +128,7 @@ async function createCompiler(options?: CompileOptions): Promise<MarkdownExit> {
128128
// heading-anchor targets.
129129
markdown.use(footnote);
130130

131-
markdown.use(anchor, {
132-
permalink: anchor.permalink.ariaHidden({ placement: 'before' }),
133-
});
131+
markdown.use(headingAnchorPlugin);
134132

135133
markdown.use(tocPlugin);
136134

‎packages/md/src/metadata.ts‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import matter from 'gray-matter';
22
import MarkdownExit from 'markdown-exit';
33
import type { Token } from 'markdown-exit';
4-
import anchor from 'markdown-it-anchor';
54
import footnote from 'markdown-it-footnote';
65
import type { Heading } from './compile.ts';
6+
import { headingAnchorPlugin } from './plugins/heading-anchor.ts';
77

88
let metadataCompiler: MarkdownExit | null = null;
99

@@ -18,9 +18,7 @@ function getMetadataCompiler(): MarkdownExit {
1818
// ids from `compile()`; otherwise `@void/md/pages` links break for such
1919
// headings. Registration order mirrors `createCompiler` in compile.ts.
2020
markdown.use(footnote);
21-
markdown.use(anchor, {
22-
permalink: anchor.permalink.ariaHidden({ placement: 'before' }),
23-
});
21+
markdown.use(headingAnchorPlugin);
2422
metadataCompiler = markdown;
2523
return markdown;
2624
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import type { MarkdownExit, PluginWithOptions } from 'markdown-exit';
2+
import anchor from 'markdown-it-anchor';
3+
4+
export function headingAnchorPlugin(markdown: MarkdownExit): void {
5+
// Both parsers support the same plugin API, but markdown-it 15's private
6+
// Ruler fields prevent its plugin types from accepting markdown-exit.
7+
const plugin = anchor as unknown as PluginWithOptions<anchor.AnchorOptions>;
8+
markdown.use(plugin, {
9+
permalink: anchor.permalink.ariaHidden({ placement: 'before' }),
10+
});
11+
}

‎packages/void/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@
380380
"jsonc-parser": "^3.3.1",
381381
"mime": "catalog:",
382382
"miniflare": "catalog:",
383-
"minimatch": "^11.0.3",
383+
"minimatch": "catalog:",
384384
"mysql2": "^3.24.6",
385385
"pg": "^8.23.1",
386386
"postal-mime": "catalog:",

‎packages/void/src/cli/template.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ export const SCAFFOLD_BASE_DEV_DEPENDENCIES = {
3232
} as const;
3333

3434
export const SCAFFOLD_VITE_PLUS_DEV_DEPENDENCIES = {
35-
vite: 'npm:@voidzero-dev/vite-plus-core@^1.4.0',
36-
'vite-plus': '^1.4.0',
35+
vite: 'npm:@voidzero-dev/vite-plus-core@^1.5.0',
36+
'vite-plus': '^1.5.0',
3737
} as const;
3838

3939
export const SCAFFOLD_TOOLCHAIN_OPTIONS = [
@@ -50,7 +50,7 @@ export const SCAFFOLD_TOOLCHAIN_OPTIONS = [
5050
] as const;
5151

5252
const REACT_SCAFFOLD_COMPILER_DEV_DEPENDENCIES = {
53-
'oxc-transform-react': '^0.152.0',
53+
'oxc-transform-react': '>=0.152.0 <0.157.0',
5454
} as const;
5555

5656
export const SCAFFOLD_FRAMEWORK_OPTIONS = [

‎packages/void/test/integration/init-install.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ describe('init dependency installation (real subprocesses)', () => {
8181
expect(calls()).toEqual([
8282
{
8383
command: 'npx',
84-
args: ['--yes', '--package=vite-plus@^1.4.0', 'vp', 'install', '--no-frozen-lockfile'],
84+
args: ['--yes', '--package=vite-plus@^1.5.0', 'vp', 'install', '--no-frozen-lockfile'],
8585
cwd: root,
8686
},
8787
]);

0 commit comments

Comments
 (0)