@nx/angular 19.6.0-canary.20240726-b3c67de → 19.6.0-canary.20240727-efa59fa
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/angular",
|
3
|
-
"version": "19.6.0-canary.
|
3
|
+
"version": "19.6.0-canary.20240727-efa59fa",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: \n\n- Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, Playwright and Cypress. \n\n- Generators to help scaffold code quickly (like: Micro Frontends, Libraries, both internal to your codebase and publishable to npm) \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
|
6
6
|
"repository": {
|
@@ -72,7 +72,6 @@
|
|
72
72
|
"@typescript-eslint/type-utils": "^7.16.0",
|
73
73
|
"chalk": "^4.1.0",
|
74
74
|
"find-cache-dir": "^3.3.2",
|
75
|
-
"ignore": "^5.0.4",
|
76
75
|
"magic-string": "~0.30.2",
|
77
76
|
"minimatch": "9.0.3",
|
78
77
|
"semver": "^7.5.3",
|
@@ -80,14 +79,14 @@
|
|
80
79
|
"webpack-merge": "^5.8.0",
|
81
80
|
"webpack": "^5.88.0",
|
82
81
|
"@module-federation/enhanced": "~0.2.3",
|
83
|
-
"@nx/devkit": "19.6.0-canary.
|
84
|
-
"@nx/js": "19.6.0-canary.
|
85
|
-
"@nx/eslint": "19.6.0-canary.
|
86
|
-
"@nx/webpack": "19.6.0-canary.
|
87
|
-
"@nx/web": "19.6.0-canary.
|
88
|
-
"@nx/workspace": "19.6.0-canary.
|
82
|
+
"@nx/devkit": "19.6.0-canary.20240727-efa59fa",
|
83
|
+
"@nx/js": "19.6.0-canary.20240727-efa59fa",
|
84
|
+
"@nx/eslint": "19.6.0-canary.20240727-efa59fa",
|
85
|
+
"@nx/webpack": "19.6.0-canary.20240727-efa59fa",
|
86
|
+
"@nx/web": "19.6.0-canary.20240727-efa59fa",
|
87
|
+
"@nx/workspace": "19.6.0-canary.20240727-efa59fa",
|
89
88
|
"piscina": "^4.4.0",
|
90
|
-
"@nrwl/angular": "19.6.0-canary.
|
89
|
+
"@nrwl/angular": "19.6.0-canary.20240727-efa59fa"
|
91
90
|
},
|
92
91
|
"peerDependencies": {
|
93
92
|
"@angular-devkit/build-angular": ">= 16.0.0 < 19.0.0",
|
@@ -7,7 +7,6 @@ const ensure_typescript_1 = require("@nx/js/src/utils/typescript/ensure-typescri
|
|
7
7
|
const path_1 = require("path");
|
8
8
|
const ast_utils_1 = require("../../../utils/nx-devkit/ast-utils");
|
9
9
|
const module_info_1 = require("./module-info");
|
10
|
-
const tree_utilities_1 = require("./tree-utilities");
|
11
10
|
let tsModule;
|
12
11
|
let tsquery;
|
13
12
|
function getComponentsInfo(tree, entryPoint, moduleFilePaths, projectName) {
|
@@ -133,7 +132,10 @@ function getComponentInfo(tree, entryPoint, sourceFile, imports, moduleFilePath,
|
|
133
132
|
function getComponentInfoFromDir(tree, entryPoint, dir, componentName, moduleFolderPath) {
|
134
133
|
let path = null;
|
135
134
|
let componentFileName = null;
|
136
|
-
const componentImportPathChildren =
|
135
|
+
const componentImportPathChildren = [];
|
136
|
+
(0, devkit_1.visitNotIgnoredFiles)(tree, dir, (filePath) => {
|
137
|
+
componentImportPathChildren.push(filePath);
|
138
|
+
});
|
137
139
|
for (const candidateFile of componentImportPathChildren) {
|
138
140
|
if (candidateFile.endsWith('.ts')) {
|
139
141
|
const content = tree.read(candidateFile, 'utf-8');
|
@@ -1,31 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getAllFilesRecursivelyFromDir = getAllFilesRecursivelyFromDir;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const devkit_1 = require("@nx/devkit");
|
6
|
-
const ignore_1 = tslib_1.__importDefault(require("ignore"));
|
7
|
-
function getAllFilesRecursivelyFromDir(tree, dir) {
|
8
|
-
if (isPathIgnored(tree, dir)) {
|
9
|
-
return [];
|
10
|
-
}
|
11
|
-
const files = [];
|
12
|
-
const children = tree.children(dir);
|
13
|
-
children.forEach((child) => {
|
14
|
-
const childPath = (0, devkit_1.joinPathFragments)(dir, child);
|
15
|
-
if (tree.isFile(childPath)) {
|
16
|
-
files.push(childPath);
|
17
|
-
}
|
18
|
-
else {
|
19
|
-
files.push(...getAllFilesRecursivelyFromDir(tree, childPath));
|
20
|
-
}
|
21
|
-
});
|
22
|
-
return files;
|
23
|
-
}
|
24
|
-
function isPathIgnored(tree, path) {
|
25
|
-
let ig;
|
26
|
-
if (tree.exists('.gitignore')) {
|
27
|
-
ig = (0, ignore_1.default)();
|
28
|
-
ig.add(tree.read('.gitignore', 'utf-8'));
|
29
|
-
}
|
30
|
-
return path !== '' && ig?.ignores(path);
|
31
|
-
}
|