@ttoss/graphql-api-cli 0.8.6 → 0.9.0
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/esm/index.js +7 -7
- package/package.json +4 -4
package/dist/esm/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
2
|
|
|
3
3
|
// src/index.ts
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
6
|
-
import
|
|
4
|
+
import * as fs from "fs";
|
|
5
|
+
import * as path from "path";
|
|
6
|
+
import { codegen } from "@graphql-codegen/core";
|
|
7
7
|
import * as typescriptPlugin from "@graphql-codegen/typescript";
|
|
8
8
|
import { Command } from "commander";
|
|
9
|
-
import
|
|
9
|
+
import * as esbuild from "esbuild";
|
|
10
10
|
import { parse } from "graphql";
|
|
11
11
|
import log from "npmlog";
|
|
12
12
|
|
|
13
13
|
// package.json
|
|
14
14
|
var package_default = {
|
|
15
15
|
name: "@ttoss/graphql-api-cli",
|
|
16
|
-
version: "0.8.
|
|
16
|
+
version: "0.8.7",
|
|
17
17
|
description: "A library for building GraphQL APIs types and schema.",
|
|
18
18
|
license: "MIT",
|
|
19
19
|
author: "ttoss",
|
|
@@ -36,7 +36,7 @@ var package_default = {
|
|
|
36
36
|
"@graphql-codegen/core": "^4.0.2",
|
|
37
37
|
"@graphql-codegen/typescript": "^4.1.2",
|
|
38
38
|
commander: "^12.1.0",
|
|
39
|
-
esbuild: "^0.
|
|
39
|
+
esbuild: "^0.25.5",
|
|
40
40
|
graphql: "^16.9.0",
|
|
41
41
|
npmlog: "^7.0.1"
|
|
42
42
|
},
|
|
@@ -45,7 +45,7 @@ var package_default = {
|
|
|
45
45
|
},
|
|
46
46
|
devDependencies: {
|
|
47
47
|
"@ttoss/config": "workspace:^",
|
|
48
|
-
tsup: "^8.
|
|
48
|
+
tsup: "^8.5.0"
|
|
49
49
|
},
|
|
50
50
|
keywords: ["api", "graphql"],
|
|
51
51
|
publishConfig: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/graphql-api-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "A library for building GraphQL APIs types and schema.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@graphql-codegen/core": "^4.0.2",
|
|
25
25
|
"@graphql-codegen/typescript": "^4.1.2",
|
|
26
26
|
"commander": "^12.1.0",
|
|
27
|
-
"esbuild": "^0.
|
|
27
|
+
"esbuild": "^0.25.5",
|
|
28
28
|
"graphql": "^16.9.0",
|
|
29
29
|
"npmlog": "^7.0.1"
|
|
30
30
|
},
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"graphql": "^16.6.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"tsup": "^8.
|
|
36
|
-
"@ttoss/config": "^1.35.
|
|
35
|
+
"tsup": "^8.5.0",
|
|
36
|
+
"@ttoss/config": "^1.35.4"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|
|
39
39
|
"api",
|