silgi 0.36.5 → 0.36.7
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/dist/cli/build.mjs
CHANGED
|
@@ -229,6 +229,9 @@ async function nextJS(silgi, skip = false) {
|
|
|
229
229
|
eslint: {
|
|
230
230
|
ignoreDuringBuilds: true
|
|
231
231
|
},
|
|
232
|
+
typescript: {
|
|
233
|
+
tsconfigPath: "./.silgi/types/silgi.tsconfig.json"
|
|
234
|
+
},
|
|
232
235
|
output: "standalone"
|
|
233
236
|
};
|
|
234
237
|
await silgi.callHook("nextjs:prepare", {
|
package/dist/cli/index.mjs
CHANGED
package/dist/cli/types.mjs
CHANGED
|
@@ -735,7 +735,13 @@ async function silgiGenerateType(silgi) {
|
|
|
735
735
|
"@/*": [
|
|
736
736
|
relativeWithDot(tsconfigDir, join(silgi.options.rootDir, "src", "*"))
|
|
737
737
|
]
|
|
738
|
-
}
|
|
738
|
+
},
|
|
739
|
+
lib: [
|
|
740
|
+
"dom",
|
|
741
|
+
"dom.iterable",
|
|
742
|
+
"esnext"
|
|
743
|
+
],
|
|
744
|
+
strictNullChecks: true
|
|
739
745
|
},
|
|
740
746
|
include: [
|
|
741
747
|
relativeWithDot(tsconfigDir, join(silgi.options.rootDir, "next-env.d.ts")),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { NextApiResponse } from 'next';
|
|
2
1
|
import type { Silgi } from 'silgi/types';
|
|
3
|
-
export declare function addNextApp(silgiContext?: Silgi): (request: Request) => Promise<
|
|
2
|
+
export declare function addNextApp(silgiContext?: Silgi): (request: Request) => Promise<Response>;
|
|
4
3
|
export default addNextApp;
|