Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,15 @@ export const GET = async (_: Request, props: StaticParams) => {
const gridBackground = `radial-gradient(circle, ${categoryColour}, transparent)`;

return new ImageResponse(
(
<div tw="relative flex items-center justify-center bg-black w-[1200px] h-[600px]">
<HexagonGrid style={{ background: gridBackground }} />
<div tw="relative flex items-center justify-center bg-black w-[1200px] h-[600px]">
<HexagonGrid style={{ background: gridBackground }} />

<div tw="absolute mx-auto flex max-w-xl flex-col text-center text-3xl font-semibold text-white">
<JsWhiteIcon width={71} height={80} tw="mx-auto" />
<div tw="absolute mx-auto flex max-w-xl flex-col text-center text-3xl font-semibold text-white">
<JsWhiteIcon width={71} height={80} tw="mx-auto" />

<h2>{params.title.slice(0, 100)}</h2>
</div>
<h2>{params.title.slice(0, 100)}</h2>
</div>
),
</div>,
{ width: 1200, height: 600 }
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ describe('generateReleaseData', () => {
}),
});

const { default: generateReleaseData } = await import(
'#site/next-data/generators/releaseData.mjs'
);
const { default: generateReleaseData } =
await import('#site/next-data/generators/releaseData.mjs');

const result = await generateReleaseData();

Expand Down
8 changes: 4 additions & 4 deletions apps/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"@types/semver": "~7.7.1",
"babel-plugin-react-compiler": "^1.0.0",
"dedent": "^1.7.0",
"eslint-config-next": "16.0.7",
"eslint-config-next": "16.1.1",
"eslint-plugin-mdx": "~3.6.2",
"eslint-plugin-react": "~7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
Expand All @@ -100,13 +100,13 @@
"mdast-util-from-markdown": "^2.0.2",
"nock": "^14.0.10",
"remark-frontmatter": "^5.0.0",
"stylelint": "16.24.0",
"stylelint-config-standard": "39.0.0",
"stylelint": "16.26.1",
"stylelint-config-standard": "39.0.1",
"stylelint-order": "7.0.0",
"stylelint-selector-bem-pattern": "4.0.1",
"tsx": "^4.21.0",
"typescript": "catalog:",
"typescript-eslint": "~8.45.0",
"typescript-eslint": "~8.50.1",
"user-agent-data-types": "0.4.2",
"wrangler": "^4.53.0"
},
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,22 @@
},
"dependencies": {
"husky": "9.1.7",
"lint-staged": "16.2.3",
"lint-staged": "16.2.7",
"turbo": "2.6.1"
},
"devDependencies": {
"@eslint/js": "~9.36.0",
"@eslint/js": "~9.39.2",
"@reporters/github": "^1.11.0",
"@testing-library/react": "~16.3.0",
"cross-env": "^10.1.0",
"eslint": "~9.36.0",
"eslint": "~9.39.2",
"eslint-import-resolver-typescript": "~4.4.4",
"eslint-plugin-import-x": "~4.16.1",
"globals": "^16.5.0",
"prettier": "3.6.2",
"prettier": "3.7.4",
"prettier-plugin-tailwindcss": "0.7.2",
"typescript": "catalog:",
"typescript-eslint": "~8.45.0"
"typescript-eslint": "~8.50.1"
},
"packageManager": "pnpm@10.24.0",
"devEngines": {
Expand Down
5 changes: 2 additions & 3 deletions packages/rehype-shiki/src/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ async function getEngine({ wasm = false }) {
return createOnigurumaEngine(await import('shiki/wasm'));
}

const { createJavaScriptRegexEngine } = await import(
'@shikijs/engine-javascript'
);
const { createJavaScriptRegexEngine } =
await import('@shikijs/engine-javascript');
return createJavaScriptRegexEngine();
}

Expand Down
4 changes: 2 additions & 2 deletions packages/ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
"react": "catalog:",
"storybook": "^10.1.10",
"style-loader": "~4.0.0",
"stylelint": "^16.24.0",
"stylelint-config-standard": "^39.0.0",
"stylelint": "^16.26.1",
"stylelint-config-standard": "^39.0.1",
"stylelint-order": "7.0.0",
"stylelint-selector-bem-pattern": "4.0.1",
"tailwindcss": "catalog:",
Expand Down
Loading
Loading