@nx-dotnet/utils
Advanced tools
Comparing version 0.15.0 to 1.0.0
@@ -11,5 +11,5 @@ { | ||
"license": "MIT", | ||
"version": "0.15.0", | ||
"version": "1.0.0", | ||
"typings": "./src/index.d.ts", | ||
"peerDependencies": {} | ||
} |
export * from './lib'; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './paths'; | ||
export * from './options'; | ||
export * from './tags'; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare const ALLOW_MISMATCH = "allow-mismatch"; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare const CONFIG_FILE_PATH = ".nx-dotnet.rc.json"; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare const NXDOTNET_TAG = "nx-dotnet"; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './constants'; | ||
export * from './models'; | ||
export * from './utility-functions'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare type cmdLineParameter = { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=cmd-line-parameter.js.map |
export * from './cmd-line-parameter'; | ||
export * from './nx-dotnet-config.interface'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface NxDotnetConfig { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=nx-dotnet-config.interface.js.map |
@@ -0,0 +0,0 @@ export declare function isDryRun(): boolean; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Tree } from '@nrwl/devkit'; |
@@ -0,0 +0,0 @@ "use strict"; |
import { ExecutorContext } from '@nrwl/devkit'; | ||
export declare const getExecutedProjectConfiguration: (context: ExecutorContext) => import("@nrwl/devkit").ProjectConfiguration; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export * from './args'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { cmdLineParameter } from '../models'; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare function rimraf(path: string): Promise<void>; |
@@ -0,0 +0,0 @@ "use strict"; |
import { NxJsonProjectConfiguration, ProjectConfiguration, Tree, WorkspaceJsonConfiguration } from '@nrwl/devkit'; | ||
export declare function getProjectFileForNxProject(project: ProjectConfiguration): Promise<string>; | ||
export declare function getProjectFileForNxProjectSync(project: ProjectConfiguration): string; | ||
export declare function getDependantProjectsForNxProject(targetProject: string, workspaceConfiguration: WorkspaceJsonConfiguration, forEachCallback?: (project: ProjectConfiguration, projectName: string) => void): { | ||
export declare function getDependantProjectsForNxProject(targetProject: string, workspaceConfiguration: WorkspaceJsonConfiguration, forEachCallback?: (project: ProjectConfiguration & { | ||
projectFile: string; | ||
}, projectName: string) => void): { | ||
[projectName: string]: ProjectConfiguration; | ||
@@ -6,0 +8,0 @@ }; |
@@ -34,13 +34,13 @@ "use strict"; | ||
const includeFilePath = x.attr['Include'].replace(/\\/g, '/'); | ||
let absoluteFilePath; | ||
let workspaceFilePath; | ||
if (path_1.isAbsolute(includeFilePath)) { | ||
absoluteFilePath = includeFilePath; | ||
workspaceFilePath = includeFilePath; | ||
} | ||
else { | ||
absoluteFilePath = path_1.resolve(hostProjectDirectory, includeFilePath); | ||
workspaceFilePath = path_1.resolve(hostProjectDirectory, includeFilePath); | ||
} | ||
Object.entries(projectRoots).forEach(([dependency, path]) => { | ||
if (absoluteFilePath.startsWith(path)) { | ||
if (workspaceFilePath.startsWith(path)) { | ||
if (forEachCallback) { | ||
forEachCallback(workspaceConfiguration.projects[dependency], dependency); | ||
forEachCallback(Object.assign(Object.assign({}, workspaceConfiguration.projects[dependency]), { projectFile: workspaceFilePath }), dependency); | ||
} | ||
@@ -47,0 +47,0 @@ dependantProjects[dependency] = |
@@ -0,0 +0,0 @@ import { Tree } from '@nrwl/devkit'; |
@@ -0,0 +0,0 @@ "use strict"; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
340
1
25039