nx
Advanced tools
Comparing version 19.4.0-beta.0 to 19.4.0-canary.20240614-fbd7f80
{ | ||
"name": "nx", | ||
"version": "19.4.0-beta.0", | ||
"version": "19.4.0-canary.20240614-fbd7f80", | ||
"private": false, | ||
@@ -73,3 +73,3 @@ "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.", | ||
"ora": "5.3.0", | ||
"@nrwl/tao": "19.4.0-beta.0" | ||
"@nrwl/tao": "19.4.0-canary.20240614-fbd7f80" | ||
}, | ||
@@ -89,12 +89,12 @@ "peerDependencies": { | ||
"optionalDependencies": { | ||
"@nx/nx-darwin-x64": "19.4.0-beta.0", | ||
"@nx/nx-darwin-arm64": "19.4.0-beta.0", | ||
"@nx/nx-linux-x64-gnu": "19.4.0-beta.0", | ||
"@nx/nx-linux-x64-musl": "19.4.0-beta.0", | ||
"@nx/nx-win32-x64-msvc": "19.4.0-beta.0", | ||
"@nx/nx-linux-arm64-gnu": "19.4.0-beta.0", | ||
"@nx/nx-linux-arm64-musl": "19.4.0-beta.0", | ||
"@nx/nx-linux-arm-gnueabihf": "19.4.0-beta.0", | ||
"@nx/nx-win32-arm64-msvc": "19.4.0-beta.0", | ||
"@nx/nx-freebsd-x64": "19.4.0-beta.0" | ||
"@nx/nx-darwin-x64": "19.4.0-canary.20240614-fbd7f80", | ||
"@nx/nx-darwin-arm64": "19.4.0-canary.20240614-fbd7f80", | ||
"@nx/nx-linux-x64-gnu": "19.4.0-canary.20240614-fbd7f80", | ||
"@nx/nx-linux-x64-musl": "19.4.0-canary.20240614-fbd7f80", | ||
"@nx/nx-win32-x64-msvc": "19.4.0-canary.20240614-fbd7f80", | ||
"@nx/nx-linux-arm64-gnu": "19.4.0-canary.20240614-fbd7f80", | ||
"@nx/nx-linux-arm64-musl": "19.4.0-canary.20240614-fbd7f80", | ||
"@nx/nx-linux-arm-gnueabihf": "19.4.0-canary.20240614-fbd7f80", | ||
"@nx/nx-win32-arm64-msvc": "19.4.0-canary.20240614-fbd7f80", | ||
"@nx/nx-freebsd-x64": "19.4.0-canary.20240614-fbd7f80" | ||
}, | ||
@@ -101,0 +101,0 @@ "nx-migrations": { |
@@ -76,12 +76,6 @@ "use strict"; | ||
let name = packageJson.name ?? (0, to_project_name_1.toProjectName)(normalizedPath); | ||
const projectType = nxJson?.workspaceLayout?.appsDir != nxJson?.workspaceLayout?.libsDir && | ||
nxJson?.workspaceLayout?.appsDir && | ||
projectRoot.startsWith(nxJson.workspaceLayout.appsDir) | ||
? 'application' | ||
: 'library'; | ||
return { | ||
const projectConfiguration = { | ||
root: projectRoot, | ||
sourceRoot: projectRoot, | ||
name, | ||
projectType, | ||
...packageJson.nx, | ||
@@ -91,2 +85,12 @@ targets: (0, package_json_1.readTargetsFromPackageJson)(packageJson), | ||
}; | ||
if (nxJson?.workspaceLayout?.appsDir != nxJson?.workspaceLayout?.libsDir && | ||
nxJson?.workspaceLayout?.appsDir && | ||
projectRoot.startsWith(nxJson.workspaceLayout.appsDir)) { | ||
projectConfiguration.projectType = 'application'; | ||
} | ||
else if (typeof nxJson?.workspaceLayout?.libsDir !== 'undefined' && | ||
projectRoot.startsWith(nxJson.workspaceLayout.libsDir)) { | ||
projectConfiguration.projectType = 'library'; | ||
} | ||
return projectConfiguration; | ||
} | ||
@@ -93,0 +97,0 @@ exports.buildProjectConfigurationFromPackageJson = buildProjectConfigurationFromPackageJson; |
Sorry, the diff of this file is too big to display
4207002
48070
+ Added@nrwl/tao@19.4.0-canary.20240614-fbd7f80(transitive)
+ Added@nx/nx-darwin-arm64@19.4.0-canary.20240614-fbd7f80(transitive)
+ Added@nx/nx-darwin-x64@19.4.0-canary.20240614-fbd7f80(transitive)
+ Added@nx/nx-freebsd-x64@19.4.0-canary.20240614-fbd7f80(transitive)
+ Added@nx/nx-linux-arm-gnueabihf@19.4.0-canary.20240614-fbd7f80(transitive)
+ Added@nx/nx-linux-arm64-gnu@19.4.0-canary.20240614-fbd7f80(transitive)
+ Added@nx/nx-linux-arm64-musl@19.4.0-canary.20240614-fbd7f80(transitive)
+ Added@nx/nx-linux-x64-gnu@19.4.0-canary.20240614-fbd7f80(transitive)
+ Added@nx/nx-linux-x64-musl@19.4.0-canary.20240614-fbd7f80(transitive)
+ Added@nx/nx-win32-arm64-msvc@19.4.0-canary.20240614-fbd7f80(transitive)
+ Added@nx/nx-win32-x64-msvc@19.4.0-canary.20240614-fbd7f80(transitive)
- Removed@nrwl/tao@19.4.0-beta.0(transitive)
- Removed@nx/nx-darwin-arm64@19.4.0-beta.0(transitive)
- Removed@nx/nx-darwin-x64@19.4.0-beta.0(transitive)
- Removed@nx/nx-freebsd-x64@19.4.0-beta.0(transitive)
- Removed@nx/nx-linux-arm-gnueabihf@19.4.0-beta.0(transitive)
- Removed@nx/nx-linux-arm64-gnu@19.4.0-beta.0(transitive)
- Removed@nx/nx-linux-arm64-musl@19.4.0-beta.0(transitive)
- Removed@nx/nx-linux-x64-gnu@19.4.0-beta.0(transitive)
- Removed@nx/nx-linux-x64-musl@19.4.0-beta.0(transitive)
- Removed@nx/nx-win32-arm64-msvc@19.4.0-beta.0(transitive)
- Removed@nx/nx-win32-x64-msvc@19.4.0-beta.0(transitive)