@igniteui/angular-schematics 18.0.1330-beta.0 → 18.0.1330-beta.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igniteui/angular-schematics",
|
|
3
|
-
"version": "18.0.1330-beta.
|
|
3
|
+
"version": "18.0.1330-beta.2",
|
|
4
4
|
"description": "Ignite UI for Angular Schematics for ng new and ng generate",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@angular-devkit/core": "~14.0.0",
|
|
24
24
|
"@angular-devkit/schematics": "~14.0.0",
|
|
25
|
-
"@igniteui/angular-templates": "~18.0.1330-beta.
|
|
26
|
-
"@igniteui/cli-core": "~13.3.0-beta.
|
|
25
|
+
"@igniteui/angular-templates": "~18.0.1330-beta.2",
|
|
26
|
+
"@igniteui/cli-core": "~13.3.0-beta.2",
|
|
27
27
|
"@schematics/angular": "~14.0.0",
|
|
28
28
|
"rxjs": "^6.6.3"
|
|
29
29
|
},
|
|
@@ -11,7 +11,8 @@ export declare class NgTreeFileSystem implements IFileSystem {
|
|
|
11
11
|
* Returns a list of file paths under a directory based on a match pattern
|
|
12
12
|
* @param dirPath Root dir to search in
|
|
13
13
|
* @param pattern Supports only recursive wildcard '\*\*\/\*'
|
|
14
|
+
* @param ignorePattern Optional pattern to ignore
|
|
14
15
|
*/
|
|
15
|
-
glob(dirPath: string, pattern: string): string[];
|
|
16
|
+
glob(dirPath: string, pattern: string, ignorePattern?: string): string[];
|
|
16
17
|
}
|
|
17
18
|
export declare function setVirtual(tree: Tree): void;
|
|
@@ -23,12 +23,16 @@ class NgTreeFileSystem {
|
|
|
23
23
|
* Returns a list of file paths under a directory based on a match pattern
|
|
24
24
|
* @param dirPath Root dir to search in
|
|
25
25
|
* @param pattern Supports only recursive wildcard '\*\*\/\*'
|
|
26
|
+
* @param ignorePattern Optional pattern to ignore
|
|
26
27
|
*/
|
|
27
|
-
glob(dirPath, pattern) {
|
|
28
|
+
glob(dirPath, pattern, ignorePattern) {
|
|
28
29
|
const dir = this.tree.getDir(dirPath);
|
|
29
30
|
const entries = [];
|
|
30
31
|
pattern = pattern.split("**/*").pop() || pattern;
|
|
31
32
|
dir.visit((_fullPath, entry) => {
|
|
33
|
+
if (ignorePattern && (entry === null || entry === void 0 ? void 0 : entry.path.includes(ignorePattern))) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
32
36
|
if (entry === null || entry === void 0 ? void 0 : entry.path.endsWith(pattern)) {
|
|
33
37
|
entries.push(entry.path);
|
|
34
38
|
}
|