@nx/workspace
Advanced tools
Comparing version 0.0.0-pr-26515-856ef7f to 0.0.0-pr-26587-1fa73c5
{ | ||
"name": "@nx/workspace", | ||
"version": "0.0.0-pr-26515-856ef7f", | ||
"version": "0.0.0-pr-26587-1fa73c5", | ||
"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": "0.0.0-pr-26515-856ef7f", | ||
"@nx/devkit": "0.0.0-pr-26587-1fa73c5", | ||
"chalk": "^4.1.0", | ||
@@ -70,4 +70,4 @@ "enquirer": "~2.3.6", | ||
"yargs-parser": "21.1.1", | ||
"nx": "0.0.0-pr-26515-856ef7f", | ||
"@nrwl/workspace": "0.0.0-pr-26515-856ef7f" | ||
"nx": "0.0.0-pr-26587-1fa73c5", | ||
"@nrwl/workspace": "0.0.0-pr-26587-1fa73c5" | ||
}, | ||
@@ -74,0 +74,0 @@ "publishConfig": { |
@@ -28,2 +28,14 @@ "use strict"; | ||
const libsDir = isRootProjectApp ? 'libs' : 'packages'; | ||
if (rootProject) { | ||
// If project was created using `nx init` then it might not have project.json. | ||
// Need to create one to avoid name conflicts with root package.json. | ||
if (!tree.exists('project.json')) { | ||
(0, devkit_1.writeJson)(tree, 'project.json', { name: rootProject.name }); | ||
} | ||
(0, devkit_1.updateJson)(tree, 'package.json', (json) => { | ||
// Avoid name conflicts once we move root project into its own folder. | ||
json.name = `@${rootProject.name}/source`; | ||
return json; | ||
}); | ||
} | ||
for (const project of projectsToMove) { | ||
@@ -30,0 +42,0 @@ await (0, move_1.moveGenerator)(tree, { |
@@ -18,6 +18,3 @@ "use strict"; | ||
'project.json', | ||
'tsconfig.json', | ||
'tsconfig.app.json', | ||
'tsconfig.lib.json', | ||
'tsconfig.spec.json', | ||
/^tsconfig(?!\.base\.json$)((\..+)?\.json$|json$)/, | ||
'.babelrc', | ||
@@ -24,0 +21,0 @@ '.eslintrc.json', |
213779
4716
+ Added@nrwl/devkit@0.0.0-pr-26587-1fa73c5(transitive)
+ Added@nrwl/tao@0.0.0-pr-26587-1fa73c5(transitive)
+ Added@nrwl/workspace@0.0.0-pr-26587-1fa73c5(transitive)
+ Added@nx/devkit@0.0.0-pr-26587-1fa73c5(transitive)
+ Added@nx/nx-darwin-arm64@0.0.0-pr-26587-1fa73c5(transitive)
+ Added@nx/nx-darwin-x64@0.0.0-pr-26587-1fa73c5(transitive)
+ Added@nx/nx-freebsd-x64@0.0.0-pr-26587-1fa73c5(transitive)
+ Added@nx/nx-linux-arm-gnueabihf@0.0.0-pr-26587-1fa73c5(transitive)
+ Added@nx/nx-linux-arm64-gnu@0.0.0-pr-26587-1fa73c5(transitive)
+ Added@nx/nx-linux-arm64-musl@0.0.0-pr-26587-1fa73c5(transitive)
+ Added@nx/nx-linux-x64-gnu@0.0.0-pr-26587-1fa73c5(transitive)
+ Added@nx/nx-linux-x64-musl@0.0.0-pr-26587-1fa73c5(transitive)
+ Added@nx/nx-win32-arm64-msvc@0.0.0-pr-26587-1fa73c5(transitive)
+ Added@nx/nx-win32-x64-msvc@0.0.0-pr-26587-1fa73c5(transitive)
+ Addednx@0.0.0-pr-26587-1fa73c5(transitive)
- Removed@nrwl/devkit@0.0.0-pr-26515-856ef7f(transitive)
- Removed@nrwl/tao@0.0.0-pr-26515-856ef7f(transitive)
- Removed@nrwl/workspace@0.0.0-pr-26515-856ef7f(transitive)
- Removed@nx/devkit@0.0.0-pr-26515-856ef7f(transitive)
- Removed@nx/nx-darwin-arm64@0.0.0-pr-26515-856ef7f(transitive)
- Removed@nx/nx-darwin-x64@0.0.0-pr-26515-856ef7f(transitive)
- Removed@nx/nx-freebsd-x64@0.0.0-pr-26515-856ef7f(transitive)
- Removed@nx/nx-linux-arm-gnueabihf@0.0.0-pr-26515-856ef7f(transitive)
- Removed@nx/nx-linux-arm64-gnu@0.0.0-pr-26515-856ef7f(transitive)
- Removed@nx/nx-linux-arm64-musl@0.0.0-pr-26515-856ef7f(transitive)
- Removed@nx/nx-linux-x64-gnu@0.0.0-pr-26515-856ef7f(transitive)
- Removed@nx/nx-linux-x64-musl@0.0.0-pr-26515-856ef7f(transitive)
- Removed@nx/nx-win32-arm64-msvc@0.0.0-pr-26515-856ef7f(transitive)
- Removed@nx/nx-win32-x64-msvc@0.0.0-pr-26515-856ef7f(transitive)
- Removednx@0.0.0-pr-26515-856ef7f(transitive)
Updatednx@0.0.0-pr-26587-1fa73c5