@smartive/graphql-magic 8.1.1 → 8.1.2

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- ## [8.1.1](https://github.com/smartive/graphql-magic/compare/v8.1.0...v8.1.1) (2023-09-06)
1
+ ## [8.1.2](https://github.com/smartive/graphql-magic/compare/v8.1.1...v8.1.2) (2023-09-06)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * Remove gqm code from dist ([#57](https://github.com/smartive/graphql-magic/issues/57)) ([e4d28db](https://github.com/smartive/graphql-magic/commit/e4d28dbd43cbcad835befa7de6fc509e9923d7d1))
6
+ * gqm build ([#58](https://github.com/smartive/graphql-magic/issues/58)) ([e40e550](https://github.com/smartive/graphql-magic/commit/e40e5506efd43ca93dc5dff835221b6b31c2a383))
@@ -22,7 +22,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
22
22
  mod
23
23
  ));
24
24
 
25
- // src/bin/gqm/index.ts
25
+ // src/bin/gqm/gqm.ts
26
26
  var import_commander = require("commander");
27
27
  var import_dotenv = require("dotenv");
28
28
  var import_knex = __toESM(require("knex"), 1);
@@ -1736,7 +1736,7 @@ var parseModels = async () => {
1736
1736
  return rawModels;
1737
1737
  };
1738
1738
 
1739
- // src/bin/gqm/index.ts
1739
+ // src/bin/gqm/gqm.ts
1740
1740
  (0, import_dotenv.config)({
1741
1741
  path: ".env"
1742
1742
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartive/graphql-magic",
3
- "version": "8.1.1",
3
+ "version": "8.1.2",
4
4
  "description": "",
5
5
  "source": "src/index.ts",
6
6
  "type": "module",
@@ -28,7 +28,7 @@
28
28
  "build": "npm run build:esm && npm run build:cjs && npm run build:bin",
29
29
  "build:esm": "tsc",
30
30
  "build:cjs": "esbuild src/index.ts --bundle --platform=node --outdir=dist/cjs --out-extension:.js=.cjs --format=cjs --packages=external",
31
- "build:bin": "esbuild src/bin/gqm/index.ts --bundle --platform=node --outdir=dist/bin --out-extension:.js=.cjs --format=cjs --packages=external"
31
+ "build:bin": "esbuild src/bin/gqm/gqm.ts --bundle --platform=node --outdir=dist/bin --out-extension:.js=.cjs --format=cjs --packages=external"
32
32
  },
33
33
  "bin": {
34
34
  "gqm": "dist/bin/gqm.cjs"
@@ -12,12 +12,12 @@ import {
12
12
  getMigrationDate,
13
13
  printSchemaFromModels,
14
14
  } from '../..';
15
- import { generateGraphqlApiTypes, generateGraphqlClientTypes } from '../gqm/codegen';
16
- import { KNEXFILE_PATH, parseKnexfile } from '../gqm/parse-knexfile';
17
- import { parseModels } from '../gqm/parse-models';
18
- import { readLine } from '../gqm/readline';
19
- import { ensureFileExists, getSetting, getSettings, writeToFile } from '../gqm/settings';
20
- import { KNEXFILE } from '../gqm/templates';
15
+ import { generateGraphqlApiTypes, generateGraphqlClientTypes } from './codegen';
16
+ import { KNEXFILE_PATH, parseKnexfile } from './parse-knexfile';
17
+ import { parseModels } from './parse-models';
18
+ import { readLine } from './readline';
19
+ import { ensureFileExists, getSetting, getSettings, writeToFile } from './settings';
20
+ import { KNEXFILE } from './templates';
21
21
 
22
22
  config({
23
23
  path: '.env',