@nx/workspace
Advanced tools
Comparing version 17.3.0-beta.5 to 17.3.0-beta.6
{ | ||
"name": "@nx/workspace", | ||
"version": "17.3.0-beta.5", | ||
"version": "17.3.0-beta.6", | ||
"private": false, | ||
@@ -64,3 +64,3 @@ "description": "The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.", | ||
"dependencies": { | ||
"@nx/devkit": "17.3.0-beta.5", | ||
"@nx/devkit": "17.3.0-beta.6", | ||
"chalk": "^4.1.0", | ||
@@ -70,4 +70,4 @@ "enquirer": "~2.3.6", | ||
"yargs-parser": "21.1.1", | ||
"nx": "17.3.0-beta.5", | ||
"@nrwl/workspace": "17.3.0-beta.5" | ||
"nx": "17.3.0-beta.6", | ||
"@nrwl/workspace": "17.3.0-beta.6" | ||
}, | ||
@@ -74,0 +74,0 @@ "publishConfig": { |
@@ -25,6 +25,8 @@ "use strict"; | ||
const { name: workflowName, fileName: workflowFileName } = (0, devkit_1.names)(options.name); | ||
const { exec: packageManagerPrefix, ciInstall: packageManagerInstall } = (0, devkit_1.getPackageManagerCommand)(); | ||
const packageManager = (0, devkit_1.detectPackageManager)(); | ||
const { exec: packageManagerPrefix, ciInstall: packageManagerInstall } = (0, devkit_1.getPackageManagerCommand)(packageManager); | ||
return { | ||
workflowName, | ||
workflowFileName, | ||
packageManager, | ||
packageManagerInstall, | ||
@@ -31,0 +33,0 @@ packageManagerPrefix, |
@@ -59,2 +59,3 @@ "use strict"; | ||
opts.nextAppDir ? '--nextAppDir=true' : '--nextAppDir=false', | ||
opts.nextSrcDir ? '--nextSrcDir=true' : '--nextSrcDir=false', | ||
opts.packageManager ? `--packageManager=${opts.packageManager}` : null, | ||
@@ -61,0 +62,0 @@ opts.standaloneApi !== undefined |
@@ -51,11 +51,13 @@ "use strict"; | ||
}, | ||
targetDefaults: { | ||
build: { | ||
cache: true, | ||
dependsOn: ['^build'], | ||
}, | ||
lint: { | ||
cache: true, | ||
}, | ||
}, | ||
targetDefaults: process.env.NX_PCV3 !== 'true' | ||
? { | ||
build: { | ||
cache: true, | ||
dependsOn: ['^build'], | ||
}, | ||
lint: { | ||
cache: true, | ||
}, | ||
} | ||
: undefined, | ||
}; | ||
@@ -71,3 +73,5 @@ if (defaultBase === 'main') { | ||
}; | ||
nxJson.targetDefaults.build.inputs = ['production', '^production']; | ||
if (process.env.NX_PCV3 !== 'true') { | ||
nxJson.targetDefaults.build.inputs = ['production', '^production']; | ||
} | ||
} | ||
@@ -74,0 +78,0 @@ (0, devkit_1.writeJson)(tree, (0, path_1.join)(directory, 'nx.json'), nxJson); |
@@ -15,2 +15,3 @@ import { PackageManager, Tree } from '@nx/devkit'; | ||
nextAppDir?: boolean; | ||
nextSrcDir?: boolean; | ||
linter?: Linter; | ||
@@ -17,0 +18,0 @@ bundler?: 'vite' | 'webpack'; |
@@ -71,2 +71,7 @@ { | ||
}, | ||
"nextSrcDir": { | ||
"description": "Generate a `src` directory for this project.", | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
"e2eTestRunner": { | ||
@@ -73,0 +78,0 @@ "description": "The tool to use for running e2e tests.", |
@@ -143,2 +143,3 @@ "use strict"; | ||
appDir: options.nextAppDir, | ||
src: options.nextSrcDir, | ||
e2eTestRunner: options.e2eTestRunner ?? 'cypress', | ||
@@ -157,2 +158,3 @@ }); | ||
appDir: options.nextAppDir, | ||
src: options.nextSrcDir, | ||
e2eTestRunner: options.e2eTestRunner ?? 'cypress', | ||
@@ -159,0 +161,0 @@ rootProject: true, |
@@ -15,2 +15,3 @@ import { Preset } from '../utils/presets'; | ||
nextAppDir?: boolean; | ||
nextSrcDir?: boolean; | ||
routing?: boolean; | ||
@@ -17,0 +18,0 @@ standaloneApi?: boolean; |
@@ -88,2 +88,7 @@ { | ||
}, | ||
"nextSrcDir": { | ||
"description": "Generate a `src` directory for this project.", | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
"e2eTestRunner": { | ||
@@ -90,0 +95,0 @@ "description": "The tool to use for running e2e tests.", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
4598
202618
35
+ Added@nrwl/devkit@17.3.0-beta.6(transitive)
+ Added@nrwl/tao@17.3.0-beta.6(transitive)
+ Added@nrwl/workspace@17.3.0-beta.6(transitive)
+ Added@nx/devkit@17.3.0-beta.6(transitive)
+ Added@nx/nx-darwin-arm64@17.3.0-beta.6(transitive)
+ Added@nx/nx-darwin-x64@17.3.0-beta.6(transitive)
+ Added@nx/nx-freebsd-x64@17.3.0-beta.6(transitive)
+ Added@nx/nx-linux-arm-gnueabihf@17.3.0-beta.6(transitive)
+ Added@nx/nx-linux-arm64-gnu@17.3.0-beta.6(transitive)
+ Added@nx/nx-linux-arm64-musl@17.3.0-beta.6(transitive)
+ Added@nx/nx-linux-x64-gnu@17.3.0-beta.6(transitive)
+ Added@nx/nx-linux-x64-musl@17.3.0-beta.6(transitive)
+ Added@nx/nx-win32-arm64-msvc@17.3.0-beta.6(transitive)
+ Added@nx/nx-win32-x64-msvc@17.3.0-beta.6(transitive)
+ Addednx@17.3.0-beta.6(transitive)
- Removed@nrwl/devkit@17.3.0-beta.5(transitive)
- Removed@nrwl/tao@17.3.0-beta.5(transitive)
- Removed@nrwl/workspace@17.3.0-beta.5(transitive)
- Removed@nx/devkit@17.3.0-beta.5(transitive)
- Removed@nx/nx-darwin-arm64@17.3.0-beta.5(transitive)
- Removed@nx/nx-darwin-x64@17.3.0-beta.5(transitive)
- Removed@nx/nx-freebsd-x64@17.3.0-beta.5(transitive)
- Removed@nx/nx-linux-arm-gnueabihf@17.3.0-beta.5(transitive)
- Removed@nx/nx-linux-arm64-gnu@17.3.0-beta.5(transitive)
- Removed@nx/nx-linux-arm64-musl@17.3.0-beta.5(transitive)
- Removed@nx/nx-linux-x64-gnu@17.3.0-beta.5(transitive)
- Removed@nx/nx-linux-x64-musl@17.3.0-beta.5(transitive)
- Removed@nx/nx-win32-arm64-msvc@17.3.0-beta.5(transitive)
- Removed@nx/nx-win32-x64-msvc@17.3.0-beta.5(transitive)
- Removedminimatch@3.0.5(transitive)
- Removednx@17.3.0-beta.5(transitive)
Updated@nx/devkit@17.3.0-beta.6
Updatednx@17.3.0-beta.6