silgi 0.0.10 → 0.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.
@@ -68,8 +68,12 @@ async function generateClientGenTS(storage, outputDir) {
68
68
  }
69
69
  `;
70
70
  }
71
- const content = `
72
- // This file is generated by Silgi. Do not modify it manually.
71
+ const content = `// THIS FILE IS GENERATED, DO NOT EDIT!
72
+ /* tslint:disable */
73
+ /* eslint-disable */
74
+ /* prettier-ignore */
75
+ /* silgi - productdevbook.com */
76
+ import type { ResultOf, VariablesOf } from 'gql.tada'
73
77
  ${imports.join("\n")}
74
78
 
75
79
  export interface SilgiClientStore {
@@ -649,7 +653,7 @@ class SchemaManager {
649
653
  const { exportVariables } = this.parser.parseExports(content, filePath);
650
654
  const { serviceName } = extractNamesFromPath(filePath);
651
655
  const absoluteFilePath = resolve(this.config.rootDir, filePath);
652
- let relativePath = makeRelativePath(this.config._silgi.outputDirTS, absoluteFilePath);
656
+ let relativePath = makeRelativePath(this.config._silgi.outputDirClientTS, absoluteFilePath);
653
657
  relativePath = cleanPath(relativePath, this.config.removeExtensions);
654
658
  if (!this.clientSchemas[serviceName]) {
655
659
  this.clientSchemas[serviceName] = {
@@ -3,7 +3,7 @@ import consola from 'consola';
3
3
 
4
4
  const name = "silgi";
5
5
  const type = "module";
6
- const version = "0.0.10";
6
+ const version = "0.0.11";
7
7
  const exports = {
8
8
  ".": {
9
9
  "import": {
@@ -59,7 +59,7 @@ const dependencies = {
59
59
  "@oxc-parser/wasm": "^0.44.0",
60
60
  c12: "^2.0.1",
61
61
  citty: "^0.1.6",
62
- consola: "^3.3.1",
62
+ consola: "^3.3.3",
63
63
  defu: "^6.1.4",
64
64
  eslint: "^9.17.0",
65
65
  h3: "^1.13.0",
@@ -67,14 +67,14 @@ const dependencies = {
67
67
  jiti: "^2.4.2",
68
68
  mlly: "^1.7.3",
69
69
  "openapi3-ts": "^4.4.0",
70
- pathe: "^1.1.2",
70
+ pathe: "^2.0.0",
71
71
  scule: "^1.3.0",
72
72
  unctx: "^2.4.1",
73
73
  zod: "^3.24.1"
74
74
  };
75
75
  const devDependencies = {
76
76
  silgi: "workspace:*",
77
- unbuild: "^3.0.1"
77
+ unbuild: "^3.2.0"
78
78
  };
79
79
  const resolutions = {
80
80
  silgi: "workspace:*"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.0.10",
4
+ "version": "0.0.11",
5
5
  "exports": {
6
6
  ".": {
7
7
  "import": {
@@ -51,7 +51,7 @@
51
51
  "@oxc-parser/wasm": "^0.44.0",
52
52
  "c12": "^2.0.1",
53
53
  "citty": "^0.1.6",
54
- "consola": "^3.3.1",
54
+ "consola": "^3.3.3",
55
55
  "defu": "^6.1.4",
56
56
  "eslint": "^9.17.0",
57
57
  "h3": "^1.13.0",
@@ -59,14 +59,14 @@
59
59
  "jiti": "^2.4.2",
60
60
  "mlly": "^1.7.3",
61
61
  "openapi3-ts": "^4.4.0",
62
- "pathe": "^1.1.2",
62
+ "pathe": "^2.0.0",
63
63
  "scule": "^1.3.0",
64
64
  "unctx": "^2.4.1",
65
65
  "zod": "^3.24.1"
66
66
  },
67
67
  "devDependencies": {
68
- "unbuild": "^3.0.1",
69
- "silgi": "0.0.10"
68
+ "unbuild": "^3.2.0",
69
+ "silgi": "0.0.11"
70
70
  },
71
71
  "resolutions": {
72
72
  "silgi": "workspace:*"