miqro 6.0.10 → 6.0.11

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.
@@ -59710,7 +59710,7 @@ export default async (req: ServerRequest | null, res: ServerResponse | null) =>
59710
59710
  sufix: ".api.ts",
59711
59711
  displayName: ".api.ts file",
59712
59712
  language: "typescript",
59713
- template: () => `import { ServerRequest, ServerResponse, APIRoute } from "miqro"
59713
+ template: () => `import { ServerRequest, ServerResponse, APIRoute } from "miqro";
59714
59714
 
59715
59715
  export default {
59716
59716
  path: "/health",
@@ -59761,7 +59761,7 @@ export default {
59761
59761
  sufix: ".ts",
59762
59762
  displayName: "migration file",
59763
59763
  language: "typescript",
59764
- template: () => `import { Migration } from "@miqro/query";
59764
+ template: () => `import { Migration } from "miqro";
59765
59765
 
59766
59766
  export default {
59767
59767
  up: async (db, logger) => {
@@ -59937,14 +59937,14 @@ export default {
59937
59937
  template: () => `{
59938
59938
  "compilerOptions": {
59939
59939
  "target": "es2022",
59940
- "module": "es2022",
59940
+ "noEmit": true,
59941
+ "module": "NodeNext",
59942
+ "moduleResolution": "nodenext",
59941
59943
  "lib": ["es2021", "dom"],
59942
59944
  "jsx": "react",
59943
59945
  "jsxFactory": "JSX.createElement",
59944
59946
  "jsxFragmentFactory": "JSX.Fragment",
59945
59947
  "typeRoots": [
59946
- "./node_modules/",
59947
- "./node_modules/@types",
59948
59948
  "./.types"
59949
59949
  ]
59950
59950
  }
@@ -24,7 +24,7 @@ export default async (req: ServerRequest | null, res: ServerResponse | null) =>
24
24
  sufix: ".api.ts",
25
25
  displayName: ".api.ts file",
26
26
  language: "typescript",
27
- template: () => `import { ServerRequest, ServerResponse, APIRoute } from "miqro"
27
+ template: () => `import { ServerRequest, ServerResponse, APIRoute } from "miqro";
28
28
 
29
29
  export default {
30
30
  path: "/health",
@@ -75,7 +75,7 @@ export default {
75
75
  sufix: ".ts",
76
76
  displayName: "migration file",
77
77
  language: "typescript",
78
- template: () => `import { Migration } from "@miqro/query";
78
+ template: () => `import { Migration } from "miqro";
79
79
 
80
80
  export default {
81
81
  up: async (db, logger) => {
@@ -251,14 +251,14 @@ export default {
251
251
  template: () => `{
252
252
  "compilerOptions": {
253
253
  "target": "es2022",
254
- "module": "es2022",
254
+ "noEmit": true,
255
+ "module": "NodeNext",
256
+ "moduleResolution": "nodenext",
255
257
  "lib": ["es2021", "dom"],
256
258
  "jsx": "react",
257
259
  "jsxFactory": "JSX.createElement",
258
260
  "jsxFragmentFactory": "JSX.Fragment",
259
261
  "typeRoots": [
260
- "./node_modules/",
261
- "./node_modules/@types",
262
262
  "./.types"
263
263
  ]
264
264
  }
File without changes
File without changes
@@ -29,6 +29,8 @@ declare global {
29
29
  useRefresh: typeof jsxLib.useRefresh;
30
30
  };
31
31
  }
32
+ export { APIRoute } from "@miqro/core";
33
+ export { Migration } from "@miqro/query";
32
34
  export interface ServerGlobal {
33
35
  encodeHTML: (str: string) => string;
34
36
  inflateMDtoHTML: (str: string) => string;