@cbs-consulting/generator-btp 1.2.4 → 1.2.5

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.
@@ -1,5 +1,5 @@
1
1
  import chalk from "chalk";
2
- import glob from "glob";
2
+ import { globSync } from "glob";
3
3
  import mergewith from "lodash.mergewith";
4
4
  import fs from "node:fs";
5
5
  import { join, resolve, dirname } from "node:path";
@@ -9,7 +9,6 @@ import { mergeArray, readJsonC, readJsonCSafe } from "../../utils/jsonFile.js";
9
9
 
10
10
  const __filename = fileURLToPath(import.meta.url);
11
11
  const __dirname = dirname(__filename);
12
- const globSync = glob.globSync || glob.sync;
13
12
 
14
13
  export default class extends Generator {
15
14
  _tplRoot = resolve(__dirname, "./templates");
@@ -1,5 +1,5 @@
1
1
  import chalk from "chalk";
2
- import glob from "glob";
2
+ import { globSync } from "glob";
3
3
  import fs from "node:fs";
4
4
  import { join, resolve, dirname } from "node:path";
5
5
  import { fileURLToPath } from "node:url";
@@ -7,7 +7,6 @@ import Generator from "yeoman-generator";
7
7
 
8
8
  const __filename = fileURLToPath(import.meta.url);
9
9
  const __dirname = dirname(__filename);
10
- const globSync = glob.globSync || glob.sync;
11
10
 
12
11
  export default class extends Generator {
13
12
  _tplRoot = resolve(__dirname, "./templates");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cbs-consulting/generator-btp",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "type": "module",
5
5
  "description": "Yeoman generator for bootstrapping CAP/UI5 projects with TypeScript, ESLint, and other essential configurations",
6
6
  "main": "generators/app/index.js",