Skip to content

Commit

Permalink
feat: move graph files to .nx/workspace-data directory (#1090)
Browse files Browse the repository at this point in the history
  • Loading branch information
khalilou88 authored Jun 6, 2024
1 parent 9e4e043 commit 305be4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/nx-gradle/src/graph/graph-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ interface GradleProject2Type {

export type GradleProjectType = GradleProject1Type & GradleProject2Type;

export const outputDirectory = path.join('.nx', 'cache', 'nx-gradle');
export const outputDirectory = path.join('.nx', 'workspace-data', 'nx-gradle');

export const outputFile = path.join(outputDirectory, 'nx-gradle-deps.json');

Expand Down
2 changes: 1 addition & 1 deletion packages/nx-maven/src/graph/graph-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export interface WorkspaceDataType {
const cacheId = 'workspace-data.json';
const cache = flatCache.load(
cacheId,
path.join(workspaceRoot, '.nx', 'cache', 'nx-maven'),
path.join(workspaceRoot, '.nx', 'workspace-data', 'nx-maven'),
);
const key = 'workspace-data';

Expand Down

0 comments on commit 305be4d

Please sign in to comment.