Socket
Socket
Sign inDemoInstall

cra-to-nx

Package Overview
Dependencies
153
Maintainers
6
Versions
357
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 15.8.0-beta.3 to 15.8.0-beta.4

6

package.json
{
"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' });

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc