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.
@@ -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", {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { defineCommand, runMain } from 'citty';
3
3
 
4
- const version = "0.36.5";
4
+ const version = "0.36.7";
5
5
  const packageJson = {
6
6
  version: version};
7
7
 
@@ -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<void | NextApiResponse<any> | Response>;
2
+ export declare function addNextApp(silgiContext?: Silgi): (request: Request) => Promise<Response>;
4
3
  export default addNextApp;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.36.5",
4
+ "version": "0.36.7",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {