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.0.0-rc.3 to 17.0.0

8

package.json
{
"name": "@nx/workspace",
"version": "17.0.0-rc.3",
"version": "17.0.0",
"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.0.0-rc.3",
"@nx/devkit": "17.0.0",
"chalk": "^4.1.0",

@@ -70,4 +70,4 @@ "enquirer": "~2.3.6",

"yargs-parser": "21.1.1",
"nx": "17.0.0-rc.3",
"@nrwl/workspace": "17.0.0-rc.3"
"nx": "17.0.0",
"@nrwl/workspace": "17.0.0"
},

@@ -74,0 +74,0 @@ "publishConfig": {

@@ -16,3 +16,3 @@ "use strict";

rootProject = project;
projectsToMove.push(project);
projectsToMove.unshift(project); // move the root project 1st
}

@@ -19,0 +19,0 @@ // Currently, Nx only handles apps+libs or packages. You cannot mix and match them.

@@ -44,3 +44,3 @@ "use strict";

// If other libs/apps exist, then this migration is already done by `@nx/eslint:lint-rootProject` generator.
migrateConfigToMonorepoStyle?.([rootProject.name], tree, tree.exists((0, devkit_1.joinPathFragments)(rootProject.root, 'jest.config.ts')) ||
migrateConfigToMonorepoStyle?.([rootProject], tree, tree.exists((0, devkit_1.joinPathFragments)(rootProject.root, 'jest.config.ts')) ||
tree.exists((0, devkit_1.joinPathFragments)(rootProject.root, 'jest.config.js'))

@@ -47,0 +47,0 @@ ? 'jest'

@@ -12,3 +12,6 @@ "use strict";

// if there is no suitable eslint config, we don't need to do anything
if (!tree.exists('.eslintrc.json') && !tree.exists('eslint.config.js')) {
if (!tree.exists('.eslintrc.json') &&
!tree.exists('eslint.config.js') &&
!tree.exists('.eslintrc.base.json') &&
!tree.exists('eslint.base.config.js')) {
return;

@@ -15,0 +18,0 @@ }

@@ -5,7 +5,7 @@ "use strict";

const devkit_1 = require("@nx/devkit");
const path_1 = require("path");
const get_import_path_1 = require("../../../utilities/get-import-path");
const ts_config_1 = require("../../../utilities/ts-config");
const typescript_1 = require("../../../utilities/typescript");
const utils_1 = require("./utils");
const path_1 = require("path");
const typescript_1 = require("../../../utilities/typescript");
const get_import_path_1 = require("../../../utilities/get-import-path");
let tsModule;

@@ -122,3 +122,6 @@ /**

}
const importDecls = (0, ts_config_1.findNodes)(sourceFile, tsModule.SyntaxKind.ImportDeclaration);
const importDecls = (0, ts_config_1.findNodes)(sourceFile, [
tsModule.SyntaxKind.ImportDeclaration,
tsModule.SyntaxKind.ExportDeclaration,
]);
const changes = [];

@@ -125,0 +128,0 @@ for (const { moduleSpecifier } of importDecls) {

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