cra-to-nx
Advanced tools
Comparing version 15.8.0-beta.3 to 15.8.0-beta.4
{ | ||
"name": "cra-to-nx", | ||
"version": "15.8.0-beta.3", | ||
"version": "15.8.0-beta.4", | ||
"private": false, | ||
@@ -28,3 +28,3 @@ "description": "This package will turn your React app into an Nx workspace. To use this package, your React app must have been generated and kept the structure of Create-React-App, with files generated either in js/jsx or ts/tsx.", | ||
"glob": "7.1.4", | ||
"nx": "15.8.0-beta.3", | ||
"nx": "15.8.0-beta.4", | ||
"tslib": "^2.3.0", | ||
@@ -38,3 +38,3 @@ "yargs": "^17.6.2" | ||
"types": "./src/index.d.ts", | ||
"gitHead": "cbf33c478661e0c4f4795f9986a2357b641cc497" | ||
"gitHead": "8d9603f0e8dc2d1c9931b28894569e833a0a1541" | ||
} |
@@ -28,3 +28,3 @@ "use strict"; | ||
const depsArg = deps.join(' '); | ||
output_1.output.log({ title: `๐ฆ Adding dependencies: ${depsArg}` }); | ||
output_1.output.log({ title: `๐ฆ Removing dependencies: ${depsArg}` }); | ||
(0, child_process_1.execSync)(`${pmc.rm} ${depsArg}`, { stdio: [0, 1, 2] }); | ||
@@ -85,3 +85,2 @@ } | ||
addDependencies(options.pmc, 'vite', 'vitest', '@vitejs/plugin-react'); | ||
removeDependencies(options.pmc, '@nrwl/jest'); | ||
} | ||
@@ -127,3 +126,3 @@ else { | ||
function createTempWorkspace(options) { | ||
(0, child_process_1.execSync)(`npx ${options.npxYesFlagNeeded ? '-y' : ''} create-nx-workspace@latest temp-workspace --appName=${options.reactAppName} --preset=react-monorepo --style=css --bundler=webpack --packageManager=${options.packageManager} ${options.nxCloud ? '--nxCloud' : '--nxCloud=false'}`, { stdio: [0, 1, 2] }); | ||
(0, child_process_1.execSync)(`npx ${options.npxYesFlagNeeded ? '-y' : ''} create-nx-workspace@latest temp-workspace --appName=${options.reactAppName} --preset=react-monorepo --style=css --bundler=${options.isVite ? 'vite' : 'webpack'} --packageManager=${options.packageManager} ${options.nxCloud ? '--nxCloud' : '--nxCloud=false'}`, { stdio: [0, 1, 2] }); | ||
output_1.output.log({ title: '๐ Welcome to Nx!' }); | ||
@@ -130,0 +129,0 @@ output_1.output.log({ title: '๐งน Clearing unused files' }); |
31121
647
+ Added@nrwl/cli@15.8.0-beta.4(transitive)
+ Added@nrwl/nx-darwin-arm64@15.8.0-beta.4(transitive)
+ Added@nrwl/nx-darwin-x64@15.8.0-beta.4(transitive)
+ Added@nrwl/nx-linux-arm-gnueabihf@15.8.0-beta.4(transitive)
+ Added@nrwl/nx-linux-arm64-gnu@15.8.0-beta.4(transitive)
+ Added@nrwl/nx-linux-arm64-musl@15.8.0-beta.4(transitive)
+ Added@nrwl/nx-linux-x64-gnu@15.8.0-beta.4(transitive)
+ Added@nrwl/nx-linux-x64-musl@15.8.0-beta.4(transitive)
+ Added@nrwl/nx-win32-arm64-msvc@15.8.0-beta.4(transitive)
+ Added@nrwl/nx-win32-x64-msvc@15.8.0-beta.4(transitive)
+ Added@nrwl/tao@15.8.0-beta.4(transitive)
+ Addednx@15.8.0-beta.4(transitive)
- Removed@nrwl/cli@15.8.0-beta.3(transitive)
- Removed@nrwl/nx-darwin-arm64@15.8.0-beta.3(transitive)
- Removed@nrwl/nx-darwin-x64@15.8.0-beta.3(transitive)
- Removed@nrwl/nx-linux-arm-gnueabihf@15.8.0-beta.3(transitive)
- Removed@nrwl/nx-linux-arm64-gnu@15.8.0-beta.3(transitive)
- Removed@nrwl/nx-linux-arm64-musl@15.8.0-beta.3(transitive)
- Removed@nrwl/nx-linux-x64-gnu@15.8.0-beta.3(transitive)
- Removed@nrwl/nx-linux-x64-musl@15.8.0-beta.3(transitive)
- Removed@nrwl/nx-win32-arm64-msvc@15.8.0-beta.3(transitive)
- Removed@nrwl/nx-win32-x64-msvc@15.8.0-beta.3(transitive)
- Removed@nrwl/tao@15.8.0-beta.3(transitive)
- Removednx@15.8.0-beta.3(transitive)
Updatednx@15.8.0-beta.4