Skip to content
Draft
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 biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
"$schema": "https://biomejs.dev/schemas/2.4.15/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
Expand Down
16 changes: 5 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
{
"type": "module",
"packageManager": "pnpm@10.30.1",
"packageManager": "pnpm@11.3.0",
"devDependencies": {
"@biomejs/biome": "2.4.8",
"@types/node": "^25.3.5",
"@biomejs/biome": "2.4.15",
"@types/node": "^25.9.1",
"@typescript/native-preview": "^7.0.0-dev",
"tsdown": "^0.21.0",
"vitest": "^4.1.0"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild",
"sharp"
]
"tsdown": "^0.22.0",
"vitest": "^4.1.7"
},
"scripts": {
"ci:biome": "biome ci",
Expand Down
18 changes: 9 additions & 9 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"./types": "./dist/types.mjs"
},
"dependencies": {
"@shikijs/transformers": "^4.0.0",
"@shikijs/transformers": "^4.1.0",
"astro": "catalog:",
"hast-util-to-html": "^9.0.0",
"rehype-parse": "^9.0.0",
"unified": "^11.0.0",
"unist-util-visit": "^5.0.0",
"vite": "^7.3.1"
"vite": "^7.3.2"
},
"bugs": {
"url": "https://github.com/gomighty/mighty/issues"
Expand All @@ -43,18 +43,18 @@
"type": "module",
"devDependencies": {
"@astrojs/alpinejs": "0.5.0",
"@astrojs/partytown": "^2.1.5",
"@astrojs/react": "5.0.0",
"@astrojs/partytown": "^2.1.7",
"@astrojs/react": "5.0.5",
"@gomighty/tsconfig": "workspace:*",
"@types/alpinejs": "^3.13.11",
"@types/hast": "^3.0.4",
"@types/react": "^19.2.14",
"@types/react": "^19.2.15",
"@types/react-dom": "^19.2.3",
"alpinejs": "^3.15.8",
"alpinejs": "^3.15.12",
"fetch-to-node": "^2.1.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"rehype-stringify": "^10.0.1",
"shiki": "^4.0.1"
"shiki": "^4.1.0"
}
}
4 changes: 3 additions & 1 deletion packages/core/src/dev/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,13 @@ export async function dev(
server.listen = async () => {
return server;
};
// @ts-expect-error - This is a hack to make Astro work in middleware mode
// This is a hack to make Astro work in middleware mode
server.httpServer = {
address() {
return null;
},
// @ts-expect-error - on() is stubbed for vite's font plugin
on() {},
};
server.bindCLIShortcuts = () => {};

Expand Down
6 changes: 4 additions & 2 deletions packages/core/src/utils/astroDefaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export function getAstroSampleIntegrationLogger(
): AstroIntegrationLogger {
return {
options: {
dest: {
write: () => true,
destination: {
write: () => {},
},
level: "silent",
},
Expand All @@ -21,5 +21,7 @@ export function getAstroSampleIntegrationLogger(
error: () => {},
debug: () => {},
fork: getAstroSampleIntegrationLogger,
flush: () => {},
close: () => {},
};
}
6 changes: 6 additions & 0 deletions packages/core/tests/fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,20 @@ export function getFixture(fixtureName: string): {
await rm(outDir, {
recursive: true,
force: true,
maxRetries: 5,
retryDelay: 100,
});
await rm(path.join(fixtureRoot, ".astro"), {
recursive: true,
force: true,
maxRetries: 5,
retryDelay: 100,
});
await rm(path.join(fixtureRoot, "node_modules"), {
recursive: true,
force: true,
maxRetries: 5,
retryDelay: 100,
});
};

Expand Down
6 changes: 3 additions & 3 deletions packages/docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ export default defineConfig({
sidebar: [
{
label: "Hello, World!",
autogenerate: { directory: "guides/hello-world" },
items: [{ autogenerate: { directory: "guides/hello-world" } }],
},
{
label: "Core Concepts",
autogenerate: { directory: "guides/core-concepts" },
items: [{ autogenerate: { directory: "guides/core-concepts" } }],
},
{
label: "Backend Adapters",
autogenerate: { directory: "guides/backend-adapters" },
items: [{ autogenerate: { directory: "guides/backend-adapters" } }],
},
{
slug: "guides/roadmap",
Expand Down
10 changes: 5 additions & 5 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"node": "24.x"
},
"dependencies": {
"@astrojs/starlight": "^0.38.2",
"@astrojs/starlight": "^0.39.2",
"astro": "catalog:",
"motion": "^12.23.12",
"motion": "^12.40.0",
"sharp": "^0.34.2",
"starlight-links-validator": "^0.20.1"
"starlight-links-validator": "^0.24.0"
},
"devDependencies": {
"@astrojs/check": "^0.9.4",
"typescript": "^5.9.3"
"@astrojs/check": "^0.9.9",
"typescript": "^6.0.3"
}
}
4 changes: 2 additions & 2 deletions packages/hono/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"astro": "catalog:",
"fetch-to-node": "^2.1.0",
"hono": "catalog:",
"zod": "^4.0.15"
"zod": "^4.4.3"
},
"scripts": {
"build": "tsdown",
"typecheck": "tsgo"
},
"devDependencies": {
"@gomighty/tsconfig": "workspace:*",
"vite": "^7.3.1"
"vite": "^7.3.2"
}
}
13 changes: 12 additions & 1 deletion packages/hono/tests/fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,29 @@ export function getFixture(fixtureName: string): {
);

const clean = async (): Promise<void> => {
await rm(outDir, { recursive: true, force: true });
await rm(outDir, {
recursive: true,
force: true,
maxRetries: 5,
retryDelay: 100,
});
await rm(path.join(fixtureRoot, "dist"), {
recursive: true,
force: true,
maxRetries: 5,
retryDelay: 100,
});
await rm(path.join(fixtureRoot, ".astro"), {
recursive: true,
force: true,
maxRetries: 5,
retryDelay: 100,
});
await rm(path.join(fixtureRoot, "node_modules"), {
recursive: true,
force: true,
maxRetries: 5,
retryDelay: 100,
});
};

Expand Down
Loading
Loading