@eui/cli 22.0.0-alpha.88 → 22.0.0-alpha.89

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,6 +1,6 @@
1
1
  {
2
2
  "name": "eui-angular-app",
3
- "version": "22.0.0-alpha.88",
3
+ "version": "22.0.0-alpha.89",
4
4
  "license": "EUPL-1.1",
5
5
  "scripts": {
6
6
  "ng": "ng",
@@ -20,21 +20,16 @@
20
20
  },
21
21
  "private": true,
22
22
  "dependencies": {
23
- "@eui/deps-base": "22.0.0-alpha.88"
23
+ "@eui/deps-base": "22.0.0-alpha.89"
24
24
  },
25
25
  "devDependencies": {
26
- "@eui/deps-base-dev": "22.0.0-alpha.88",
26
+ "@eui/deps-base-dev": "22.0.0-alpha.89",
27
27
  "npm-run-all": "4.1.5",
28
- "json-server": "1.0.0-beta.3",
29
- "nodemon": "3.1.11",
28
+ "json-server": "1.0.0-beta.15",
29
+ "nodemon": "3.1.14",
30
30
  "lowdb": "1.0.0",
31
- "body-parser": "1.20.3",
32
- "express": "4.21.2"
31
+ "body-parser": "1.20.9",
32
+ "express": "4.22.3"
33
33
  },
34
- "resolutions": {
35
- "semver": ">=7.5.2",
36
- "dompurify": ">=3.2.4",
37
- "tmp": ">0.2.4",
38
- "tablesort": "5.6.0"
39
- }
34
+ "resolutions": {}
40
35
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eui-angular-app",
3
- "version": "22.0.0-alpha.88",
3
+ "version": "22.0.0-alpha.89",
4
4
  "license": "EUPL-1.1",
5
5
  "scripts": {
6
6
  "ng": "ng",
@@ -20,23 +20,9 @@
20
20
  },
21
21
  "private": true,
22
22
  "dependencies": {
23
- "@eui/deps-base-next": "19.3.17",
24
23
  "@eui/mobile-core": "22.0.0-alpha.1",
25
24
  "@eui/mobile-styles": "22.0.0-alpha.1",
26
- "@eui/deps-base": "22.0.0-alpha.88"
25
+ "@eui/deps-base": "22.0.0-alpha.89"
27
26
  },
28
- "resolutions": {
29
- "js-yaml": ">=3.13.1",
30
- "pdfjs-dist": "4.10.38",
31
- "tar": ">=6.2.1",
32
- "katex": ">=0.16.10",
33
- "follow-redirects": ">=1.15.4",
34
- "word-wrap": ">=1.2.4",
35
- "postcss": ">=8.4.31",
36
- "semver": ">=7.5.2",
37
- "express": "4.21.2",
38
- "path-to-regexp": "1.9.0",
39
- "tablesort": "5.6.0",
40
- "yargs": "17.7.2"
41
- }
27
+ "resolutions": {}
42
28
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eui-angular-app",
3
- "version": "22.0.0-alpha.88",
3
+ "version": "22.0.0-alpha.89",
4
4
  "license": "EUPL-1.1",
5
5
  "scripts": {
6
6
  "ng": "ng",
@@ -20,27 +20,27 @@
20
20
  },
21
21
  "private": true,
22
22
  "dependencies": {
23
- "@angular/animations": "22.2.0",
24
- "@angular/common": "22.2.0",
25
- "@angular/compiler": "22.2.0",
26
- "@angular/core": "22.2.0",
27
- "@angular/forms": "22.2.0",
28
- "@angular/platform-browser": "22.2.0",
29
- "@angular/platform-browser-dynamic": "22.2.0",
30
- "@angular/router": "22.2.0",
31
- "@angular/elements": "22.2.0",
32
- "@angular/service-worker": "22.2.0",
33
- "@angular/cdk": "22.2.0",
34
- "@angular/material": "22.2.0",
35
- "@angular/material-luxon-adapter": "22.2.0",
23
+ "@angular/animations": "22.3.0",
24
+ "@angular/common": "22.3.0",
25
+ "@angular/compiler": "22.3.0",
26
+ "@angular/core": "22.3.0",
27
+ "@angular/forms": "22.3.0",
28
+ "@angular/platform-browser": "22.3.0",
29
+ "@angular/platform-browser-dynamic": "22.3.0",
30
+ "@angular/router": "22.3.0",
31
+ "@angular/elements": "22.3.0",
32
+ "@angular/service-worker": "22.3.0",
33
+ "@angular/cdk": "22.3.0",
34
+ "@angular/material": "22.3.0",
35
+ "@angular/material-luxon-adapter": "22.3.0",
36
36
  "luxon": "3.7.2",
37
37
  "rxjs": "7.8.2",
38
- "tslib": "2.8.1",
38
+ "tslib": "2.9.1",
39
39
  "zone.js": "0.16.2",
40
40
  "deepmerge-ts": "8.0.1",
41
41
  "deepmerge": "4.3.1",
42
- "reselect": "5.2.0",
43
- "ngx-mask": "22.0.1",
42
+ "reselect": "5.1.1",
43
+ "ngx-mask": "20.0.3",
44
44
  "@ngx-translate/core": "18.0.0",
45
45
  "@ngx-translate/http-loader": "18.0.0",
46
46
  "lodash-es": "4.18.1",
@@ -55,52 +55,52 @@
55
55
  "quill-better-table": "1.2.10",
56
56
  "apexcharts": "5.16.0",
57
57
  "marked": "18.0.5",
58
- "ngx-markdown": "22.0.0",
58
+ "ngx-markdown": "21.1.0",
59
59
  "prismjs": "1.30.0",
60
60
  "@stackblitz/sdk": "1.11.1",
61
- "@eui/base": "22.0.0-alpha.88",
62
- "@eui/core": "22.0.0-alpha.88",
63
- "@eui/styles": "22.0.0-alpha.88",
64
- "@eui/components": "22.0.0-alpha.88",
65
- "@eui/showcase": "22.0.0-alpha.88",
66
- "@eui/ecl": "22.0.0-alpha.88",
67
- "@eui/eds": "22.0.0-alpha.88",
68
- "@eui/eds-styles": "22.0.0-alpha.88",
69
- "@eui/eds-wc": "22.0.0-alpha.25",
70
- "@eui/eds-shared": "22.0.0-alpha.88"
61
+ "@eui/base": "22.0.0-alpha.89",
62
+ "@eui/core": "22.0.0-alpha.89",
63
+ "@eui/styles": "22.0.0-alpha.89",
64
+ "@eui/components": "22.0.0-alpha.89",
65
+ "@eui/showcase": "22.0.0-alpha.89",
66
+ "@eui/ecl": "22.0.0-alpha.89",
67
+ "@eui/eds": "22.0.0-alpha.89",
68
+ "@eui/eds-styles": "22.0.0-alpha.89",
69
+ "@eui/eds-wc": "22.0.0-alpha.88",
70
+ "@eui/eds-shared": "22.0.0-alpha.89"
71
71
  },
72
72
  "devDependencies": {
73
- "@eui/cli": "22.0.0-alpha.88",
74
- "@angular/compiler-cli": "22.2.0",
75
- "@angular/language-service": "22.2.0",
76
- "@angular/build": "22.2.0",
77
- "@angular/cli": "22.2.0",
78
- "ng-packagr": "22.2.2",
73
+ "@eui/cli": "22.0.0-alpha.89",
74
+ "@angular/compiler-cli": "22.3.0",
75
+ "@angular/language-service": "22.3.0",
76
+ "@angular/build": "22.3.0",
77
+ "@angular/cli": "22.3.0",
78
+ "ng-packagr": "22.3.0",
79
79
  "typescript": "6.0.3",
80
80
  "@types/node": "24.13.3",
81
81
  "@types/lodash-es": "4.17.12",
82
82
  "@types/quill": "2.0.14",
83
83
  "ts-node": "10.9.2",
84
- "eslint": "10.11.0",
85
- "angular-eslint": "22.5.0",
86
- "@angular-eslint/builder": "22.5.0",
87
- "@angular-eslint/eslint-plugin": "22.5.0",
88
- "@angular-eslint/eslint-plugin-template": "22.5.0",
89
- "@angular-eslint/schematics": "22.5.0",
90
- "@angular-eslint/template-parser": "22.5.0",
84
+ "eslint": "10.15.0",
85
+ "angular-eslint": "22.8.0",
86
+ "@angular-eslint/builder": "22.8.0",
87
+ "@angular-eslint/eslint-plugin": "22.8.0",
88
+ "@angular-eslint/eslint-plugin-template": "22.8.0",
89
+ "@angular-eslint/schematics": "22.8.0",
90
+ "@angular-eslint/template-parser": "22.8.0",
91
91
  "eslint-plugin-prefer-arrow": "1.2.3",
92
- "eslint-plugin-jsdoc": "63.0.12",
92
+ "eslint-plugin-jsdoc": "65.5.6",
93
93
  "eslint-plugin-import": "2.32.0",
94
- "typescript-eslint": "8.63.0",
95
- "@typescript-eslint/parser": "8.63.0",
96
- "@typescript-eslint/eslint-plugin": "8.63.0",
97
- "@eslint/js": "9.39.1",
98
- "@eslint/eslintrc": "3.3.5",
99
- "vitest": "4.1.11",
100
- "@vitest/ui": "4.1.11",
101
- "@vitest/coverage-v8": "4.1.11",
102
- "@vitest/coverage-istanbul": "4.1.11",
103
- "jsdom": "30.0.1",
94
+ "typescript-eslint": "8.74.0",
95
+ "@typescript-eslint/parser": "8.74.0",
96
+ "@typescript-eslint/eslint-plugin": "8.74.0",
97
+ "@eslint/js": "10.0.1",
98
+ "@eslint/eslintrc": "3.3.7",
99
+ "vitest": "4.1.12",
100
+ "@vitest/ui": "4.1.12",
101
+ "@vitest/coverage-v8": "4.1.12",
102
+ "@vitest/coverage-istanbul": "4.1.12",
103
+ "jsdom": "31.0.1",
104
104
  "xhr-mock": "2.5.1",
105
105
  "@compodoc/compodoc": "2.0.0",
106
106
  "npm-run-all": "4.1.5",
@@ -110,10 +110,5 @@
110
110
  "body-parser": "1.20.3",
111
111
  "express": "4.21.2"
112
112
  },
113
- "resolutions": {
114
- "semver": ">=7.5.2",
115
- "dompurify": ">=3.2.4",
116
- "tmp": ">0.2.4",
117
- "tablesort": "5.6.0"
118
- }
113
+ "resolutions": {}
119
114
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eui-react-app",
3
- "version": "22.0.0-alpha.88",
3
+ "version": "22.0.0-alpha.89",
4
4
  "license": "EUPL-1.1",
5
5
  "private": true,
6
6
  "type": "module",
@@ -15,10 +15,10 @@
15
15
  "test": "vitest run"
16
16
  },
17
17
  "dependencies": {
18
- "@eui/deps-base-react": "22.0.0-alpha.88"
18
+ "@eui/deps-base-react": "22.0.0-alpha.89"
19
19
  },
20
20
  "devDependencies": {
21
- "@eui/cli": "22.0.0-alpha.88",
21
+ "@eui/cli": "22.0.0-alpha.89",
22
22
  "npm-run-all": "4.1.5",
23
23
  "json-server": "1.0.0-beta.3",
24
24
  "nodemon": "3.1.11",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eui-react-app",
3
- "version": "22.0.0-alpha.88",
3
+ "version": "22.0.0-alpha.89",
4
4
  "license": "EUPL-1.1",
5
5
  "private": true,
6
6
  "type": "module",
@@ -19,12 +19,12 @@
19
19
  "react-dom": "19.3.0",
20
20
  "react-router-dom": "7.18.4",
21
21
  "luxon": "3.7.2",
22
- "@eui/eds-styles": "22.0.0-alpha.88",
23
- "@eui/eds-react": "22.0.0-alpha.88",
24
- "@eui/eds-shared": "22.0.0-alpha.88"
22
+ "@eui/eds-styles": "22.0.0-alpha.89",
23
+ "@eui/eds-react": "22.0.0-alpha.89",
24
+ "@eui/eds-shared": "22.0.0-alpha.89"
25
25
  },
26
26
  "devDependencies": {
27
- "@eui/cli": "22.0.0-alpha.88",
27
+ "@eui/cli": "22.0.0-alpha.89",
28
28
  "typescript": "6.0.3",
29
29
  "@types/react": "19.3.0",
30
30
  "@types/react-dom": "19.3.0",
@@ -11,7 +11,7 @@
11
11
  <dependency>
12
12
  <groupId>org.springframework</groupId>
13
13
  <artifactId>spring-webmvc</artifactId>
14
- <version>6.0.10</version>
14
+ <version>6.2.17</version>
15
15
  </dependency>
16
16
  <dependency>
17
17
  <groupId>eu.europa.ec.digit.uxatec.eui</groupId>
@@ -39,7 +39,7 @@
39
39
  <plugin>
40
40
  <groupId>org.apache.maven.plugins</groupId>
41
41
  <artifactId>maven-war-plugin</artifactId>
42
- <version>3.4.0</version>
42
+ <version>3.5.0</version>
43
43
  <configuration>
44
44
  <failOnMissingWebXml>false</failOnMissingWebXml>
45
45
  <webResources>
@@ -20,9 +20,8 @@
20
20
 
21
21
  <dependencies>
22
22
  <dependency>
23
- <groupId>javax.servlet</groupId>
24
- <artifactId>javax.servlet-api</artifactId>
25
- <version>4.0.1</version>
23
+ <groupId>jakarta.servlet</groupId>
24
+ <artifactId>jakarta.servlet-api</artifactId>
26
25
  <scope>provided</scope>
27
26
  </dependency>
28
27
  </dependencies>
@@ -32,7 +31,7 @@
32
31
  <plugin>
33
32
  <groupId>org.codehaus.mojo</groupId>
34
33
  <artifactId>exec-maven-plugin</artifactId>
35
- <version>3.1.0</version>
34
+ <version>3.7.0</version>
36
35
  <executions>
37
36
  <execution>
38
37
  <id>npm_package_install</id>
@@ -69,7 +68,7 @@
69
68
  <plugin>
70
69
  <groupId>org.apache.maven.plugins</groupId>
71
70
  <artifactId>maven-war-plugin</artifactId>
72
- <version>3.4.0</version>
71
+ <version>3.5.0</version>
73
72
  <configuration>
74
73
  <webResources>
75
74
  <resource>
@@ -22,7 +22,7 @@
22
22
  <dependency>
23
23
  <groupId>org.springdoc</groupId>
24
24
  <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
25
- <version>2.4.0</version>
25
+ <version>2.8.17</version>
26
26
  </dependency>
27
27
  <dependency>
28
28
  <groupId>org.springframework.boot</groupId>
@@ -53,12 +53,10 @@
53
53
  <dependency>
54
54
  <groupId>org.springframework.security</groupId>
55
55
  <artifactId>spring-security-web</artifactId>
56
- <version>6.4.4</version>
57
56
  </dependency>
58
57
  <dependency>
59
58
  <groupId>org.springframework.security</groupId>
60
59
  <artifactId>spring-security-config</artifactId>
61
- <version>6.4.4</version>
62
60
  </dependency>
63
61
  <dependency>
64
62
  <groupId>com.h2database</groupId>
@@ -68,7 +66,7 @@
68
66
  <dependency>
69
67
  <groupId>org.springdoc</groupId>
70
68
  <artifactId>springdoc-openapi-starter-common</artifactId>
71
- <version>2.8.5</version>
69
+ <version>2.8.17</version>
72
70
  </dependency>
73
71
  </dependencies>
74
72
 
@@ -1,6 +1,5 @@
1
1
  package @app.group.id@.@app.name@.security;
2
2
 
3
- import com.sun.security.auth.UserPrincipal;
4
3
  import org.springframework.security.core.Authentication;
5
4
  import org.springframework.security.core.GrantedAuthority;
6
5
  import org.springframework.security.core.authority.SimpleGrantedAuthority;
@@ -12,7 +11,6 @@ import jakarta.servlet.http.*;
12
11
  import java.io.BufferedReader;
13
12
  import java.io.IOException;
14
13
  import java.io.UnsupportedEncodingException;
15
- import java.security.AuthProvider;
16
14
  import java.security.Principal;
17
15
  import java.util.*;
18
16
 
@@ -13,7 +13,7 @@
13
13
  <parent>
14
14
  <groupId>org.springframework.boot</groupId>
15
15
  <artifactId>spring-boot-starter-parent</artifactId>
16
- <version>3.4.4</version>
16
+ <version>3.5.16</version>
17
17
  </parent>
18
18
 
19
19
  <properties>
@@ -0,0 +1,38 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * Drop-in replacement for the `fs-extra` package (CJS).
5
+ * Uses Node 22+ built-ins only. Covered API: copySync, removeSync, moveSync.
6
+ */
7
+
8
+ const fs = require('fs');
9
+
10
+ const copySync = (src, dest, opts = {}) => {
11
+ fs.cpSync(src, dest, {
12
+ recursive: true,
13
+ force: opts.overwrite !== false,
14
+ errorOnExist: false,
15
+ });
16
+ };
17
+
18
+ const removeSync = (target) => {
19
+ fs.rmSync(target, { recursive: true, force: true });
20
+ };
21
+
22
+ const moveSync = (src, dest, opts = {}) => {
23
+ if (opts.overwrite !== false) {
24
+ fs.rmSync(dest, { recursive: true, force: true });
25
+ }
26
+ try {
27
+ fs.renameSync(src, dest);
28
+ } catch (e) {
29
+ if (e.code === 'EXDEV') {
30
+ fs.cpSync(src, dest, { recursive: true, force: true });
31
+ fs.rmSync(src, { recursive: true, force: true });
32
+ } else {
33
+ throw e;
34
+ }
35
+ }
36
+ };
37
+
38
+ module.exports = { copySync, removeSync, moveSync };
@@ -0,0 +1,144 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * Drop-in replacement for the `glob` package (CJS).
5
+ * Uses Node built-in `fs` + recursive readdir; no third-party dependencies.
6
+ *
7
+ * Supported options: cwd, dot, follow, nodir (walk only yields files),
8
+ * ignore (array of glob patterns to prune).
9
+ */
10
+
11
+ const fs = require('fs');
12
+ const path = require('path');
13
+
14
+ // ---------------------------------------------------------------------------
15
+ // Pattern compiler
16
+ // ---------------------------------------------------------------------------
17
+
18
+ function segToRe(seg) {
19
+ let re = '';
20
+ for (const c of seg) {
21
+ if (c === '*') re += '[^/]*';
22
+ else if (c === '?') re += '[^/]';
23
+ else if (/[.+^${}()|[\]\\]/.test(c)) re += '\\' + c;
24
+ else re += c;
25
+ }
26
+ return re;
27
+ }
28
+
29
+ function compile(pattern) {
30
+ const p = pattern.replace(/\\/g, '/');
31
+ const parts = p.split('/');
32
+ let re = '^';
33
+ for (let i = 0; i < parts.length; i++) {
34
+ const part = parts[i];
35
+ const isLast = i === parts.length - 1;
36
+ if (part === '**') {
37
+ re += isLast ? '.*' : '(.*\\/)?';
38
+ } else {
39
+ re += segToRe(part);
40
+ if (!isLast) re += '\\/';
41
+ }
42
+ }
43
+ return new RegExp(re + '$');
44
+ }
45
+
46
+ // ---------------------------------------------------------------------------
47
+ // Directory pruning
48
+ // ---------------------------------------------------------------------------
49
+
50
+ function isPruned(relDir, ignorePatterns) {
51
+ if (!ignorePatterns.length) return false;
52
+ const probe = relDir ? relDir + '/x' : 'x';
53
+ return ignorePatterns.some(p => compile(p).test(probe));
54
+ }
55
+
56
+ // ---------------------------------------------------------------------------
57
+ // Recursive walk
58
+ // ---------------------------------------------------------------------------
59
+
60
+ function walk(absDir, baseDir, opts, out) {
61
+ let entries;
62
+ try {
63
+ entries = fs.readdirSync(absDir, { withFileTypes: true });
64
+ } catch {
65
+ return;
66
+ }
67
+
68
+ for (const e of entries) {
69
+ if (!opts.dot && e.name[0] === '.') continue;
70
+
71
+ const absPath = path.join(absDir, e.name);
72
+ const relPath = path.relative(baseDir, absPath).replace(/\\/g, '/');
73
+
74
+ let isDir = e.isDirectory();
75
+ if (!isDir && opts.follow && e.isSymbolicLink()) {
76
+ try { isDir = fs.statSync(absPath).isDirectory(); } catch { /* broken symlink */ }
77
+ }
78
+
79
+ if (isDir) {
80
+ if (!isPruned(relPath, opts.ignore)) walk(absPath, baseDir, opts, out);
81
+ } else if (!e.isSymbolicLink() || opts.follow) {
82
+ out.push(relPath);
83
+ }
84
+ }
85
+ }
86
+
87
+ // ---------------------------------------------------------------------------
88
+ // Public API
89
+ // ---------------------------------------------------------------------------
90
+
91
+ /**
92
+ * Synchronous glob — drop-in for `glob.sync` / `globSync`.
93
+ */
94
+ const globSync = (pattern, options = {}) => {
95
+ const normPattern = pattern.replace(/\\/g, '/');
96
+ const isAbs = path.isAbsolute(pattern);
97
+
98
+ let cwd, relPattern;
99
+ if (isAbs) {
100
+ const parts = normPattern.split('/');
101
+ let splitIdx = parts.findIndex(p => /[*?]/.test(p));
102
+ if (splitIdx === -1) splitIdx = parts.length;
103
+ cwd = parts.slice(0, splitIdx).join('/') || '/';
104
+ relPattern = parts.slice(splitIdx).join('/');
105
+ } else {
106
+ cwd = options.cwd ? path.resolve(options.cwd) : process.cwd();
107
+ relPattern = normPattern;
108
+ }
109
+
110
+ const dot = options.dot ?? false;
111
+ const follow = options.follow ?? false;
112
+ const ignore = Array.isArray(options.ignore) ? options.ignore : [];
113
+
114
+ const files = [];
115
+ walk(cwd, cwd, { dot, follow, ignore }, files);
116
+
117
+ if (!relPattern || relPattern === '**') {
118
+ return isAbs ? files.map(f => path.join(cwd, f)) : files;
119
+ }
120
+
121
+ const rx = compile(relPattern);
122
+ const matched = files.filter(f => rx.test(f));
123
+ return isAbs ? matched.map(f => path.join(cwd, f)) : matched;
124
+ };
125
+
126
+ /**
127
+ * Async glob with Node-style callback — drop-in for the `glob(pattern, opts, cb)` signature.
128
+ * Internally uses globSync; the callback is always called asynchronously.
129
+ */
130
+ const glob = (pattern, options, callback) => {
131
+ setImmediate(() => {
132
+ try {
133
+ const files = globSync(pattern, options);
134
+ callback(null, files);
135
+ } catch (err) {
136
+ callback(err, []);
137
+ }
138
+ });
139
+ };
140
+
141
+ glob.sync = globSync;
142
+
143
+ module.exports = glob;
144
+ module.exports.globSync = globSync;
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * Drop-in replacement for the `rimraf` package (CJS).
5
+ * Uses Node 14.14+ `fs.rmSync` with recursive + force flags.
6
+ */
7
+
8
+ const fs = require('fs');
9
+
10
+ const nativeSync = (inputPath) => {
11
+ fs.rmSync(inputPath, { recursive: true, force: true });
12
+ };
13
+
14
+ module.exports = { nativeSync };
package/lib/utils.js CHANGED
@@ -1,9 +1,8 @@
1
1
  const fs = require('fs');
2
- const fse = require('fs-extra');
3
- const glob = require('glob');
2
+ const fse = require('./utils/fs-extra');
3
+ const glob = require('./utils/glob');
4
4
  const path = require('path');
5
- const figlet = require('figlet');
6
- const rimraf = require('rimraf');
5
+ const rimraf = require('./utils/rimraf');
7
6
 
8
7
  module.exports.getAngularPath = (targetPath, appName, appType, artifactId) => {
9
8
  switch(appType) {
@@ -103,8 +102,9 @@ const getArgs = module.exports.getArgs = () => {
103
102
 
104
103
 
105
104
  module.exports.logBigTitle = (text) => {
105
+ const line = '='.repeat(text.length + 8);
106
106
  console.log('\n\n');
107
- console.log('\x1b[33m', figlet.textSync(text, { horizontalLayout: 'full' }) ,'\x1b[0m');
107
+ console.log('\x1b[33m', `${line}\n ${text.toUpperCase()} \n${line}` ,'\x1b[0m');
108
108
  console.log('\n');
109
109
  }
110
110
 
@@ -162,7 +162,7 @@ module.exports.logDebugResponse = (response) => {
162
162
 
163
163
  module.exports.isDirEmpty = (path) => {
164
164
  try {
165
- var files = fse.readdirSync(path);
165
+ var files = fs.readdirSync(path);
166
166
 
167
167
  if (files.length === 0) {
168
168
  return true;
@@ -258,13 +258,13 @@ module.exports.rimraf = (inputPath) => {
258
258
 
259
259
  module.exports.getFilesGlob = (from, fileGlob) => {
260
260
  return new Promise((resolve, reject) => {
261
- glob(fileGlob, { ignore: ['dist/**'], cwd: from, nodir: true, follow: true, dot: true }, (err, files) => {
262
- if (err) {
263
- logError(err);
264
- reject(err);
265
- }
266
- return resolve(files);
267
- })
261
+ try {
262
+ const files = glob.sync(fileGlob, { ignore: ['dist/**'], cwd: from, nodir: true, follow: true, dot: true });
263
+ resolve(files);
264
+ } catch (err) {
265
+ logError(err);
266
+ reject(err);
267
+ }
268
268
  });
269
269
  }
270
270
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/cli",
3
- "version": "22.0.0-alpha.88",
3
+ "version": "22.0.0-alpha.89",
4
4
  "tag": "next",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI CLI app generator & tools",
@@ -13,13 +13,8 @@
13
13
  "url": "https://sdlc.webcloud.ec.europa.eu/csdr/eui/eui.git"
14
14
  },
15
15
  "dependencies": {
16
- "figlet": "1.11.4",
17
16
  "enquirer": "2.4.1",
18
- "commander": "15.0.0",
19
- "fs-extra": "11.4.0",
20
- "glob": "13.0.6",
21
- "rimraf": "6.1.3",
22
- "cross-spawn": "7.0.6"
17
+ "commander": "15.1.0"
23
18
  },
24
19
  "preferGlobal": true,
25
20
  "homepage": "https://eui.ecdevops.eu",