Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.
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
5 changes: 5 additions & 0 deletions .nx/version-plans/build-and-release-optimizations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
__default__: patch
---

Optimize build performance in CI and improve JSR publishing with --no-check flag
18 changes: 16 additions & 2 deletions apps/modelfetch-website/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
import { createMDX } from "fumadocs-mdx/next";

export default createMDX()({
/** @type {import('next').NextConfig} */
const nextConfig = {
eslint: { ignoreDuringBuilds: true },
typescript: { ignoreBuildErrors: true },
});
};

if (process.env.GITHUB_ACTIONS === "true") {
nextConfig.webpack = (config) => {
if (config.cache) config.cache = Object.freeze({ type: "memory" });
return config;
};
nextConfig.experimental = {
webpackMemoryOptimizations: true,
webpackBuildWorker: true,
};
}

export default createMDX()(nextConfig);
8 changes: 3 additions & 5 deletions libs/nx-10x/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,7 @@ export const createNodesV2: CreateNodesV2 = [
targets.build = {
cache: true,
command: "next build",
options: {
cwd: "{projectRoot}",
env: { NODE_OPTIONS: "--max_old_space_size=4096" },
},
options: { cwd: "{projectRoot}" },
inputs: [
"production",
"^production",
Expand Down Expand Up @@ -248,7 +245,8 @@ export const createNodesV2: CreateNodesV2 = [
fs.existsSync(path.join(projectRoot, "deno.jsonc"))
) {
targets["jsr-release-publish"] = {
command: "deno publish --allow-dirty --allow-slow-types",
command:
"deno publish --no-check --allow-dirty --allow-slow-types",
options: { cwd: "{projectRoot}" },
};
}
Expand Down