kentutai 1.7.14 → 1.7.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/package.json +1 -1
- package/next.config.mjs +7 -14
- package/package.json +1 -1
- package/.next/package.json +0 -1
package/cli/package.json
CHANGED
package/next.config.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { fileURLToPath } from "node:url";
|
|
2
|
-
import { dirname, join
|
|
2
|
+
import { dirname, join } from "node:path";
|
|
3
3
|
import { readdirSync } from "node:fs";
|
|
4
|
-
import CaseSensitivePathsPlugin from "case-sensitive-paths-webpack-plugin";
|
|
5
4
|
|
|
6
5
|
const projectRoot = dirname(fileURLToPath(import.meta.url));
|
|
7
6
|
// CLI bundling needs workspace root so tracing includes hoisted node_modules (slim ~50MB).
|
|
@@ -43,16 +42,14 @@ normalizeCasing();
|
|
|
43
42
|
const nextConfig = {
|
|
44
43
|
distDir: process.env.NEXT_DIST_DIR || ".next",
|
|
45
44
|
output: "standalone",
|
|
45
|
+
serverExternalPackages: ["better-sqlite3", "sql.js", "node:sqlite", "bun:sqlite"],
|
|
46
46
|
turbopack: {
|
|
47
|
-
|
|
48
|
-
// These are caused by filesystem operations in src/mitm/manager.js
|
|
49
|
-
// The turbopackIgnore comment is a no-op for fs/path - use ignoreIssue instead
|
|
50
|
-
ignoreIssue: [
|
|
51
|
-
{ path: "**/next.config.mjs" },
|
|
52
|
-
],
|
|
47
|
+
root: tracingRoot
|
|
53
48
|
},
|
|
54
|
-
serverExternalPackages: ["better-sqlite3", "sql.js", "node:sqlite", "bun:sqlite"],
|
|
55
49
|
outputFileTracingRoot: projectRoot,
|
|
50
|
+
outputFileTracingExcludes: {
|
|
51
|
+
"*": ["./gitbook/**/*"]
|
|
52
|
+
},
|
|
56
53
|
images: {
|
|
57
54
|
unoptimized: true
|
|
58
55
|
},
|
|
@@ -67,11 +64,7 @@ const nextConfig = {
|
|
|
67
64
|
};
|
|
68
65
|
}
|
|
69
66
|
// Exclude logs, .next, gitbook subapp from watcher
|
|
70
|
-
config.watchOptions = { ...config.watchOptions, ignored: [
|
|
71
|
-
|
|
72
|
-
// Fix Windows filesystem casing issue - prevent duplicate module loading
|
|
73
|
-
config.plugins.push(new CaseSensitivePathsPlugin());
|
|
74
|
-
|
|
67
|
+
config.watchOptions = { ...config.watchOptions, ignored: /[\\/](logs|\.next|gitbook|cli)[\\/]/ };
|
|
75
68
|
return config;
|
|
76
69
|
},
|
|
77
70
|
async rewrites() {
|
package/package.json
CHANGED
package/.next/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type": "commonjs"}
|