@smartive/graphql-magic 9.1.1 → 9.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
- ## [9.1.1](https://github.com/smartive/graphql-magic/compare/v9.1.0...v9.1.1) (2023-09-06)
1
+ ## [9.1.2](https://github.com/smartive/graphql-magic/compare/v9.1.1...v9.1.2) (2023-09-25)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * Codegen mutations ([#62](https://github.com/smartive/graphql-magic/issues/62)) ([ea87f2b](https://github.com/smartive/graphql-magic/commit/ea87f2ba5fb4540450a8ebd52a35fff40b0a1a3a))
6
+ * Settings dir check ([#78](https://github.com/smartive/graphql-magic/issues/78)) ([af7316f](https://github.com/smartive/graphql-magic/commit/af7316fcc0ac653efc6e1208853c61191a793103))
package/dist/bin/gqm.cjs CHANGED
@@ -1355,7 +1355,7 @@ var ensureDirectoryExists = (dir) => {
1355
1355
  if ((0, import_fs.existsSync)(dir)) {
1356
1356
  return true;
1357
1357
  }
1358
- ensureDirectoryExists(dir);
1358
+ ensureDirectoryExists((0, import_path.dirname)(dir));
1359
1359
  try {
1360
1360
  console.info(`Creating directory ${dir}`);
1361
1361
  (0, import_fs.mkdirSync)(dir);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartive/graphql-magic",
3
- "version": "9.1.1",
3
+ "version": "9.1.2",
4
4
  "description": "",
5
5
  "source": "src/index.ts",
6
6
  "type": "module",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "overrides": {
37
37
  "graphql": "$graphql",
38
- "rollup": "3.28.1"
38
+ "rollup": "3.29.3"
39
39
  },
40
40
  "browserslist": "> 0.25%, not dead",
41
41
  "publishConfig": {
@@ -64,20 +64,20 @@
64
64
  "devDependencies": {
65
65
  "@smartive/eslint-config": "3.2.0",
66
66
  "@smartive/prettier-config": "3.1.2",
67
- "@types/jest": "29.5.4",
68
- "@types/lodash": "4.14.198",
67
+ "@types/jest": "29.5.5",
68
+ "@types/lodash": "4.14.199",
69
69
  "@types/luxon": "3.3.2",
70
- "@types/uuid": "9.0.3",
70
+ "@types/uuid": "9.0.4",
71
71
  "create-ts-index": "1.14.0",
72
72
  "del-cli": "5.1.0",
73
- "esbuild": "0.19.2",
74
- "eslint": "8.48.0",
73
+ "esbuild": "0.19.3",
74
+ "eslint": "8.50.0",
75
75
  "graphql-request": "6.1.0",
76
- "jest": "29.6.4",
76
+ "jest": "29.7.0",
77
77
  "mock-knex": "0.4.12",
78
78
  "pg": "8.11.3",
79
79
  "prettier": "2.8.8",
80
- "simple-git": "3.19.1",
80
+ "simple-git": "3.20.0",
81
81
  "ts-jest": "29.1.1",
82
82
  "ts-node": "10.9.1",
83
83
  "typescript": "5.2.2"
@@ -76,7 +76,7 @@ const ensureDirectoryExists = (dir: string) => {
76
76
  return true;
77
77
  }
78
78
 
79
- ensureDirectoryExists(dir);
79
+ ensureDirectoryExists(dirname(dir));
80
80
 
81
81
  try {
82
82
  console.info(`Creating directory ${dir}`);