@rxap/plugin-utilities 16.1.0-dev.0 → 16.1.0-dev.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
@@ -3,6 +3,24 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [16.1.0-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/plugin-utilities@16.1.0-dev.1...@rxap/plugin-utilities@16.1.0-dev.2) (2023-08-03)
7
+
8
+ ### Bug Fixes
9
+
10
+ - use absolute path to access files ([32323ab](https://gitlab.com/rxap/packages/commit/32323ab900da408dcd6ae05dc12e562feff798f9))
11
+
12
+ # [16.1.0-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/plugin-utilities@16.1.0-dev.0...@rxap/plugin-utilities@16.1.0-dev.1) (2023-08-03)
13
+
14
+ ### Bug Fixes
15
+
16
+ - generate readme with peer dependencies to install ([e7039bb](https://gitlab.com/rxap/packages/commit/e7039bb5e86ffeadfe7cc92d5fc71d32f8efb4fb))
17
+ - throw error if project does not exists in project graph ([f65d512](https://gitlab.com/rxap/packages/commit/f65d512be43869e6f09515d9a6ec7c339da0c824))
18
+
19
+ ### Features
20
+
21
+ - add GetAllPackageDependenciesForProject function ([12e742b](https://gitlab.com/rxap/packages/commit/12e742bb2eb5f0211b20f8ccf23db22fe37ec86d))
22
+ - add project to package name mapping utilities ([424cb4a](https://gitlab.com/rxap/packages/commit/424cb4ac676b46a277fdb051cb11038199c6ecee))
23
+
6
24
  # 16.1.0-dev.0 (2023-08-01)
7
25
 
8
26
  ### Bug Fixes
package/README.md CHANGED
@@ -17,5 +17,5 @@ yarn add @rxap/plugin-utilities
17
17
  ```
18
18
  **Install peer dependencies:**
19
19
  ```bash
20
- yarn add
20
+ yarn add @nx/devkit@^16.5.0 @rxap/node-utilities@^1.0.1-dev.2 nx@^16.5.0
21
21
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxap/plugin-utilities",
3
- "version": "16.1.0-dev.0",
3
+ "version": "16.1.0-dev.2",
4
4
  "type": "commonjs",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -44,7 +44,7 @@
44
44
  }
45
45
  ]
46
46
  },
47
- "gitHead": "ed3a0788894aa734ec2a8e9e957cf73cabe033d6",
47
+ "gitHead": "38078f7707e6461caef781fca512fb2c9e53506b",
48
48
  "main": "./src/index.js",
49
49
  "types": "./src/index.d.ts"
50
50
  }
package/src/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './lib/get-direct-package-dependencies-for-project';
2
+ export * from './lib/get-all-package-dependencies-for-project';
2
3
  export * from './lib/project-package-json';
3
4
  export * from './lib/project';
4
5
  export * from './lib/project-root-files';
@@ -6,3 +7,4 @@ export * from './lib/get-target-configuration-name-list';
6
7
  export * from './lib/guess-output-path';
7
8
  export * from './lib/yarn-run';
8
9
  export * from './lib/project-target';
10
+ export * from './lib/project-package-name-mapping';
package/src/index.js CHANGED
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./lib/get-direct-package-dependencies-for-project"), exports);
5
+ tslib_1.__exportStar(require("./lib/get-all-package-dependencies-for-project"), exports);
5
6
  tslib_1.__exportStar(require("./lib/project-package-json"), exports);
6
7
  tslib_1.__exportStar(require("./lib/project"), exports);
7
8
  tslib_1.__exportStar(require("./lib/project-root-files"), exports);
@@ -9,4 +10,5 @@ tslib_1.__exportStar(require("./lib/get-target-configuration-name-list"), export
9
10
  tslib_1.__exportStar(require("./lib/guess-output-path"), exports);
10
11
  tslib_1.__exportStar(require("./lib/yarn-run"), exports);
11
12
  tslib_1.__exportStar(require("./lib/project-target"), exports);
13
+ tslib_1.__exportStar(require("./lib/project-package-name-mapping"), exports);
12
14
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/plugin/utilities/src/index.ts"],"names":[],"mappings":";;;AAAA,4FAAkE;AAClE,qEAA2C;AAC3C,wDAA8B;AAC9B,mEAAyC;AACzC,mFAAyD;AACzD,kEAAwC;AACxC,yDAA+B;AAC/B,+DAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/plugin/utilities/src/index.ts"],"names":[],"mappings":";;;AAAA,4FAAkE;AAClE,yFAA+D;AAC/D,qEAA2C;AAC3C,wDAA8B;AAC9B,mEAAyC;AACzC,mFAAyD;AACzD,kEAAwC;AACxC,yDAA+B;AAC/B,+DAAqC;AACrC,6EAAmD"}
@@ -0,0 +1,11 @@
1
+ import { ExecutorContext } from '@nx/devkit';
2
+ /**
3
+ * Get the all package dependencies for the project.
4
+ *
5
+ * All package dependencies are the dependent projects that are directly and indirect referenced by the project.
6
+ * This includes the dependencies of the dependent projects.
7
+ *
8
+ * @param context
9
+ * @param projectName
10
+ */
11
+ export declare function GetAllPackageDependenciesForProject(context: ExecutorContext, projectName?: string | undefined, resolvedDependencies?: Record<string, string>): Record<string, string>;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAllPackageDependenciesForProject = void 0;
4
+ const get_direct_package_dependencies_for_project_1 = require("./get-direct-package-dependencies-for-project");
5
+ const project_package_name_mapping_1 = require("./project-package-name-mapping");
6
+ /**
7
+ * Get the all package dependencies for the project.
8
+ *
9
+ * All package dependencies are the dependent projects that are directly and indirect referenced by the project.
10
+ * This includes the dependencies of the dependent projects.
11
+ *
12
+ * @param context
13
+ * @param projectName
14
+ */
15
+ function GetAllPackageDependenciesForProject(context, projectName = context.projectName, resolvedDependencies = {}) {
16
+ const { projectGraph } = context;
17
+ if (!projectGraph) {
18
+ throw new Error('The projectGraph is undefined. Ensure the projectGraph is passed into the executor context.');
19
+ }
20
+ if (!projectName) {
21
+ throw new Error('The projectName is undefined. Ensure the projectName is passed into the executor context.');
22
+ }
23
+ const directDependencies = (0, get_direct_package_dependencies_for_project_1.getDirectPackageDependenciesForProject)(context, projectName);
24
+ const allDependencies = Object.assign({}, directDependencies);
25
+ for (const packageName of Object.keys(directDependencies)) {
26
+ if (resolvedDependencies[packageName]) {
27
+ continue;
28
+ }
29
+ const project = (0, project_package_name_mapping_1.PackageNameToProjectName)(packageName);
30
+ const dependencies = GetAllPackageDependenciesForProject(context, project, directDependencies);
31
+ Object.assign(allDependencies, dependencies);
32
+ }
33
+ return allDependencies;
34
+ }
35
+ exports.GetAllPackageDependenciesForProject = GetAllPackageDependenciesForProject;
36
+ //# sourceMappingURL=get-all-package-dependencies-for-project.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-package-dependencies-for-project.js","sourceRoot":"","sources":["../../../../../../packages/plugin/utilities/src/lib/get-all-package-dependencies-for-project.ts"],"names":[],"mappings":";;;AACA,+GAAuG;AACvG,iFAA0E;AAE1E;;;;;;;;GAQG;AACH,SAAgB,mCAAmC,CACjD,OAAwB,EACxB,WAAW,GAAG,OAAO,CAAC,WAAW,EACjC,uBAA+C,EAAE;IAEjD,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC;IAEjC,IAAI,CAAC,YAAY,EAAE;QACjB,MAAM,IAAI,KAAK,CAAC,6FAA6F,CAAC,CAAC;KAChH;IAED,IAAI,CAAC,WAAW,EAAE;QAChB,MAAM,IAAI,KAAK,CAAC,2FAA2F,CAAC,CAAC;KAC9G;IAED,MAAM,kBAAkB,GAAG,IAAA,oFAAsC,EAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAExF,MAAM,eAAe,qBAAQ,kBAAkB,CAAE,CAAC;IAElD,KAAK,MAAM,WAAW,IAAI,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAE;QAEzD,IAAI,oBAAoB,CAAC,WAAW,CAAC,EAAE;YACrC,SAAS;SACV;QAED,MAAM,OAAO,GAAG,IAAA,uDAAwB,EAAC,WAAW,CAAC,CAAC;QAEtD,MAAM,YAAY,GAAG,mCAAmC,CAAC,OAAO,EAAE,OAAO,EAAE,kBAAkB,CAAC,CAAC;QAE/F,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,YAAY,CAAC,CAAC;KAE9C;IAED,OAAO,eAAe,CAAC;AAEzB,CAAC;AAnCD,kFAmCC"}
@@ -18,6 +18,9 @@ function getDirectPackageDependenciesForProject(context, projectName = context.p
18
18
  if (!projectName) {
19
19
  throw new Error('The projectName is undefined. Ensure the projectName is passed into the executor context.');
20
20
  }
21
+ if (!projectGraph.dependencies[projectName]) {
22
+ throw new Error(`The project ${projectName} does not exist in the projectGraph.`);
23
+ }
21
24
  return projectGraph.dependencies[projectName]
22
25
  .filter(dependency => !dependency.target.startsWith('npm:'))
23
26
  .map(dependency => dependency.target)
@@ -1 +1 @@
1
- {"version":3,"file":"get-direct-package-dependencies-for-project.js","sourceRoot":"","sources":["../../../../../../packages/plugin/utilities/src/lib/get-direct-package-dependencies-for-project.ts"],"names":[],"mappings":";;;AACA,iEAAmE;AAEnE;;;;;;;GAOG;AACH,SAAgB,sCAAsC,CACpD,OAAwB,EACxB,WAAW,GAAG,OAAO,CAAC,WAAW;IAEjC,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC;IAEjC,IAAI,CAAC,YAAY,EAAE;QACjB,MAAM,IAAI,KAAK,CAAC,6FAA6F,CAAC,CAAC;KAChH;IAED,IAAI,CAAC,WAAW,EAAE;QAChB,MAAM,IAAI,KAAK,CAAC,2FAA2F,CAAC,CAAC;KAC9G;IAED,OAAO,YAAY,CAAC,YAAY,CAAC,WAAW,CAAC;SAC1C,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;SAC3D,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;SACpC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,IAAA,gDAAyB,EAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACnE,MAAM,CAAC,CACN,GAAG,EACH,EACE,IAAI,EACJ,OAAO,GACR,EACD,EAAE,CAAC,iCACA,GAAG,KACN,CAAC,IAAI,CAAC,EAAE,OAAO,IACf,EAAE,EAAE,CAAC,CAAC;AACZ,CAAC;AA5BD,wFA4BC"}
1
+ {"version":3,"file":"get-direct-package-dependencies-for-project.js","sourceRoot":"","sources":["../../../../../../packages/plugin/utilities/src/lib/get-direct-package-dependencies-for-project.ts"],"names":[],"mappings":";;;AACA,iEAAmE;AAEnE;;;;;;;GAOG;AACH,SAAgB,sCAAsC,CACpD,OAAwB,EACxB,WAAW,GAAG,OAAO,CAAC,WAAW;IAEjC,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC;IAEjC,IAAI,CAAC,YAAY,EAAE;QACjB,MAAM,IAAI,KAAK,CAAC,6FAA6F,CAAC,CAAC;KAChH;IAED,IAAI,CAAC,WAAW,EAAE;QAChB,MAAM,IAAI,KAAK,CAAC,2FAA2F,CAAC,CAAC;KAC9G;IAED,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE;QAC3C,MAAM,IAAI,KAAK,CAAC,eAAgB,WAAY,sCAAsC,CAAC,CAAC;KACrF;IAED,OAAO,YAAY,CAAC,YAAY,CAAC,WAAW,CAAC;SAC1C,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;SAC3D,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;SACpC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,IAAA,gDAAyB,EAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACnE,MAAM,CAAC,CACN,GAAG,EACH,EACE,IAAI,EACJ,OAAO,GACR,EACD,EAAE,CAAC,iCACA,GAAG,KACN,CAAC,IAAI,CAAC,EAAE,OAAO,IACf,EAAE,EAAE,CAAC,CAAC;AACZ,CAAC;AAhCD,wFAgCC"}
@@ -0,0 +1,5 @@
1
+ import { ExecutorContext } from '@nx/devkit';
2
+ export declare function LoadProjectToPackageMapping(context: ExecutorContext): void;
3
+ export declare function PackageNameToProjectName(packageName: string): string;
4
+ export declare function ProjectNameToPackageName(projectName: string): string;
5
+ export declare function HasProjectWithPackageName(packageName: string): boolean;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HasProjectWithPackageName = exports.ProjectNameToPackageName = exports.PackageNameToProjectName = exports.LoadProjectToPackageMapping = void 0;
4
+ const fs_1 = require("fs");
5
+ const PACKAGE_NAME_TO_PROJECT_NAME_CACHE = {};
6
+ const PROJECT_NAME_TO_PACKAGE_NAME_CACHE = {};
7
+ function LoadProjectToPackageMapping(context) {
8
+ const { projectGraph } = context;
9
+ if (!projectGraph) {
10
+ throw new Error('The projectGraph is undefined. Ensure the projectGraph is passed into the executor context.');
11
+ }
12
+ const projectNames = Object.keys(projectGraph.nodes);
13
+ for (const projectName of projectNames) {
14
+ const project = projectGraph.nodes[projectName];
15
+ if (project.type !== 'lib') {
16
+ continue;
17
+ }
18
+ const projectRoot = project.data.root;
19
+ if (!(0, fs_1.existsSync)(`${projectRoot}/package.json`)) {
20
+ continue;
21
+ }
22
+ const packageJSON = JSON.parse((0, fs_1.readFileSync)(`${projectRoot}/package.json`).toString('utf-8'));
23
+ PACKAGE_NAME_TO_PROJECT_NAME_CACHE[packageJSON.name] = projectName;
24
+ PROJECT_NAME_TO_PACKAGE_NAME_CACHE[projectName] = packageJSON.name;
25
+ }
26
+ }
27
+ exports.LoadProjectToPackageMapping = LoadProjectToPackageMapping;
28
+ function PackageNameToProjectName(packageName) {
29
+ if (!PACKAGE_NAME_TO_PROJECT_NAME_CACHE) {
30
+ throw new Error('The project to package name cache has not been loaded yet.');
31
+ }
32
+ if (PACKAGE_NAME_TO_PROJECT_NAME_CACHE[packageName]) {
33
+ return PACKAGE_NAME_TO_PROJECT_NAME_CACHE[packageName];
34
+ }
35
+ throw new Error(`Could not find project for package '${packageName}'`);
36
+ }
37
+ exports.PackageNameToProjectName = PackageNameToProjectName;
38
+ function ProjectNameToPackageName(projectName) {
39
+ if (!PROJECT_NAME_TO_PACKAGE_NAME_CACHE) {
40
+ throw new Error('The project to package name cache has not been loaded yet.');
41
+ }
42
+ if (PROJECT_NAME_TO_PACKAGE_NAME_CACHE[projectName]) {
43
+ return PROJECT_NAME_TO_PACKAGE_NAME_CACHE[projectName];
44
+ }
45
+ throw new Error(`Could not find package for project '${projectName}'`);
46
+ }
47
+ exports.ProjectNameToPackageName = ProjectNameToPackageName;
48
+ function HasProjectWithPackageName(packageName) {
49
+ if (!PACKAGE_NAME_TO_PROJECT_NAME_CACHE) {
50
+ throw new Error('The project to package name cache has not been loaded yet.');
51
+ }
52
+ return PACKAGE_NAME_TO_PROJECT_NAME_CACHE[packageName] !== undefined;
53
+ }
54
+ exports.HasProjectWithPackageName = HasProjectWithPackageName;
55
+ //# sourceMappingURL=project-package-name-mapping.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project-package-name-mapping.js","sourceRoot":"","sources":["../../../../../../packages/plugin/utilities/src/lib/project-package-name-mapping.ts"],"names":[],"mappings":";;;AACA,2BAGY;AAEZ,MAAM,kCAAkC,GAA2B,EAAE,CAAC;AACtE,MAAM,kCAAkC,GAA2B,EAAE,CAAC;AAEtE,SAAgB,2BAA2B,CAAC,OAAwB;IAElE,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC;IAEjC,IAAI,CAAC,YAAY,EAAE;QACjB,MAAM,IAAI,KAAK,CAAC,6FAA6F,CAAC,CAAC;KAChH;IAED,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IACrD,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE;QACtC,MAAM,OAAO,GAAG,YAAY,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QAChD,IAAI,OAAO,CAAC,IAAI,KAAK,KAAK,EAAE;YAC1B,SAAS;SACV;QACD,MAAM,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;QACtC,IAAI,CAAC,IAAA,eAAU,EAAC,GAAI,WAAY,eAAe,CAAC,EAAE;YAChD,SAAS;SACV;QACD,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAA,iBAAY,EAAC,GAAI,WAAY,eAAe,CAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;QACjG,kCAAkC,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC;QACnE,kCAAkC,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,IAAI,CAAC;KACpE;AACH,CAAC;AAtBD,kEAsBC;AAED,SAAgB,wBAAwB,CAAC,WAAmB;IAC1D,IAAI,CAAC,kCAAkC,EAAE;QACvC,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;KAC/E;IACD,IAAI,kCAAkC,CAAC,WAAW,CAAC,EAAE;QACnD,OAAO,kCAAkC,CAAC,WAAW,CAAC,CAAC;KACxD;IACD,MAAM,IAAI,KAAK,CAAC,uCAAwC,WAAY,GAAG,CAAC,CAAC;AAC3E,CAAC;AARD,4DAQC;AAED,SAAgB,wBAAwB,CAAC,WAAmB;IAC1D,IAAI,CAAC,kCAAkC,EAAE;QACvC,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;KAC/E;IACD,IAAI,kCAAkC,CAAC,WAAW,CAAC,EAAE;QACnD,OAAO,kCAAkC,CAAC,WAAW,CAAC,CAAC;KACxD;IACD,MAAM,IAAI,KAAK,CAAC,uCAAwC,WAAY,GAAG,CAAC,CAAC;AAC3E,CAAC;AARD,4DAQC;AAED,SAAgB,yBAAyB,CAAC,WAAmB;IAC3D,IAAI,CAAC,kCAAkC,EAAE;QACvC,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;KAC/E;IACD,OAAO,kCAAkC,CAAC,WAAW,CAAC,KAAK,SAAS,CAAC;AACvE,CAAC;AALD,8DAKC"}
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.writeFileToProjectRoot = exports.readFileFromProjectRoot = void 0;
4
- const project_1 = require("./project");
5
- const path_1 = require("path");
6
4
  const fs_1 = require("fs");
5
+ const path_1 = require("path");
6
+ const project_1 = require("./project");
7
7
  function readFileFromProjectRoot(context, fileName, requiredOrDefaultContent = '') {
8
8
  const projectRoot = (0, project_1.GetProjectRoot)(context);
9
- const filePath = (0, path_1.join)(projectRoot, fileName);
9
+ const filePath = (0, path_1.join)(context.root, projectRoot, fileName);
10
10
  if (!(0, fs_1.existsSync)(filePath)) {
11
11
  if (requiredOrDefaultContent === true) {
12
12
  throw new Error(`The file ${filePath} not exists!`);
@@ -18,7 +18,7 @@ function readFileFromProjectRoot(context, fileName, requiredOrDefaultContent = '
18
18
  exports.readFileFromProjectRoot = readFileFromProjectRoot;
19
19
  function writeFileToProjectRoot(context, fileName, content) {
20
20
  const projectRoot = (0, project_1.GetProjectRoot)(context);
21
- const filePath = (0, path_1.join)(projectRoot, fileName);
21
+ const filePath = (0, path_1.join)(context.root, projectRoot, fileName);
22
22
  (0, fs_1.writeFileSync)(filePath, content);
23
23
  }
24
24
  exports.writeFileToProjectRoot = writeFileToProjectRoot;
@@ -1 +1 @@
1
- {"version":3,"file":"project-root-files.js","sourceRoot":"","sources":["../../../../../../packages/plugin/utilities/src/lib/project-root-files.ts"],"names":[],"mappings":";;;AACA,uCAA2C;AAC3C,+BAA4B;AAC5B,2BAIY;AAEZ,SAAgB,uBAAuB,CACrC,OAAwB,EACxB,QAAgB,EAChB,2BAA0C,EAAE;IAE5C,MAAM,WAAW,GAAG,IAAA,wBAAc,EAAC,OAAO,CAAC,CAAC;IAC5C,MAAM,QAAQ,GAAG,IAAA,WAAI,EAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC7C,IAAI,CAAC,IAAA,eAAU,EAAC,QAAQ,CAAC,EAAE;QACzB,IAAI,wBAAwB,KAAK,IAAI,EAAE;YACrC,MAAM,IAAI,KAAK,CAAC,YAAa,QAAS,cAAc,CAAC,CAAC;SACvD;QACD,OAAO,wBAAwB,CAAC;KACjC;IACD,OAAO,IAAA,iBAAY,EAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AACzC,CAAC;AAdD,0DAcC;AAED,SAAgB,sBAAsB,CAAC,OAAwB,EAAE,QAAgB,EAAE,OAAe;IAChG,MAAM,WAAW,GAAG,IAAA,wBAAc,EAAC,OAAO,CAAC,CAAC;IAC5C,MAAM,QAAQ,GAAG,IAAA,WAAI,EAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC7C,IAAA,kBAAa,EAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AACnC,CAAC;AAJD,wDAIC"}
1
+ {"version":3,"file":"project-root-files.js","sourceRoot":"","sources":["../../../../../../packages/plugin/utilities/src/lib/project-root-files.ts"],"names":[],"mappings":";;;AACA,2BAIY;AACZ,+BAA4B;AAC5B,uCAA2C;AAE3C,SAAgB,uBAAuB,CACrC,OAAwB,EACxB,QAAgB,EAChB,2BAA0C,EAAE;IAE5C,MAAM,WAAW,GAAG,IAAA,wBAAc,EAAC,OAAO,CAAC,CAAC;IAC5C,MAAM,QAAQ,GAAG,IAAA,WAAI,EAAC,OAAO,CAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC3D,IAAI,CAAC,IAAA,eAAU,EAAC,QAAQ,CAAC,EAAE;QACzB,IAAI,wBAAwB,KAAK,IAAI,EAAE;YACrC,MAAM,IAAI,KAAK,CAAC,YAAa,QAAS,cAAc,CAAC,CAAC;SACvD;QACD,OAAO,wBAAwB,CAAC;KACjC;IACD,OAAO,IAAA,iBAAY,EAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AACzC,CAAC;AAdD,0DAcC;AAED,SAAgB,sBAAsB,CAAC,OAAwB,EAAE,QAAgB,EAAE,OAAe;IAChG,MAAM,WAAW,GAAG,IAAA,wBAAc,EAAC,OAAO,CAAC,CAAC;IAC5C,MAAM,QAAQ,GAAG,IAAA,WAAI,EAAC,OAAO,CAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC3D,IAAA,kBAAa,EAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AACnC,CAAC;AAJD,wDAIC"}