Socket
Socket
Sign inDemoInstall

@nx/workspace

Package Overview
Dependencies
Maintainers
5
Versions
609
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nx/workspace - npm Package Compare versions

Comparing version 17.3.0-beta.5 to 17.3.0-beta.6

8

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc