-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix Project Graph generation when creating projects in nested fo…
…lders
- Loading branch information
Showing
10 changed files
with
100 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import { createNodesFor } from "@nxrocks/common"; | ||
import { NX_FLUTTER_PKG } from "../index"; | ||
import { isFlutterProject } from "../utils/flutter-utils"; | ||
|
||
// wrapped into a () to avoid the 'Cannot access 'NX_FLUTTER_PKG' before initialization' | ||
export const createNodesFn = () => createNodesFor(['pubspec.yaml'], NX_FLUTTER_PKG); | ||
export const createNodesFn = () => createNodesFor(['pubspec.yaml'], isFlutterProject, NX_FLUTTER_PKG); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import { JVM_PROJECT_FILES, createNodesFor } from "@nxrocks/common-jvm"; | ||
import { NX_KTOR_PKG } from "../index"; | ||
import { isKtorProject } from "../utils/ktor-utils"; | ||
|
||
// wrapped into a () to avoid the 'Cannot access 'NX_KTOR_PKG' before initialization' | ||
export const createNodesFn = () => createNodesFor(JVM_PROJECT_FILES, NX_KTOR_PKG); | ||
export const createNodesFn = () => createNodesFor(JVM_PROJECT_FILES, isKtorProject, NX_KTOR_PKG); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import { JVM_PROJECT_FILES, createNodesFor } from "@nxrocks/common-jvm"; | ||
import { NX_MICRONAUT_PKG } from "../index"; | ||
import { isMicronautProject } from "../utils/micronaut-utils"; | ||
|
||
// wrapped into a () to avoid the 'Cannot access 'NX_MICRONAUT_PKG' before initialization' | ||
export const createNodesFn = () => createNodesFor(JVM_PROJECT_FILES, NX_MICRONAUT_PKG); | ||
export const createNodesFn = () => createNodesFor(JVM_PROJECT_FILES, isMicronautProject, NX_MICRONAUT_PKG); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import { JVM_PROJECT_FILES, createNodesFor } from "@nxrocks/common-jvm"; | ||
import { NX_QUARKUS_PKG } from "../index"; | ||
import { isQuarkusProject } from "../utils/quarkus-utils"; | ||
|
||
// wrapped into a () to avoid the 'Cannot access 'NX_QUARKUS_PKG' before initialization' | ||
export const createNodesFn = () => createNodesFor(JVM_PROJECT_FILES, NX_QUARKUS_PKG); | ||
export const createNodesFn = () => createNodesFor(JVM_PROJECT_FILES, isQuarkusProject, NX_QUARKUS_PKG); |
Oops, something went wrong.