New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-clean-project

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-clean-project - npm Package Compare versions

Comparing version 3.6.1 to 3.6.2

2

package.json
{
"name": "react-native-clean-project",
"version": "3.6.1",
"version": "3.6.2",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=8.9.0"

@@ -40,20 +40,20 @@ # React Native Clean Project

| State Type | Command | In `clean-project-auto`? | Optional? | Default? | Option Flag |
| ------------------------- | --------------------------------- | ------------------------ | --------- | -------- | ------------------------------ |
| React-native cache | `rm -rf $TMPDIR/react-*` | Yes | No | true | |
| Metro bundler cache | `rm -rf $TMPDIR/metro-*` | Yes | No | true | |
| Watchman cache | `watchman watch-del-all` | Yes | No | true | |
| NPM modules | `rm -rf node_modules` | Yes | Yes | true | --keep-node_modules |
| Yarn cache | `yarn cache clean` | Yes | Yes | true | --keep-node-modules |
| Yarn packages | `yarn install` | No | Yes | true | --keep-node-modules |
| NPM cache | `npm cache verify` | Yes | Yes | true | --keep-node-modules |
| NPM Install | `npm ci` | Yes | Yes | true | --keep-node-modules |
| iOS build folder | `rm -rf ios/build` | Yes | Yes | false | --remove-iOS-build |
| iOS pods folder | `rm -rf ios/Pods` | Yes | Yes | false | --remove-iOS-pods |
| system iOS pods cache | `pod cache clear --all` | Yes | Yes | false | --remove-system-iOS-pods-cache |
| user iOS pods cache | `rm -rf ~/.cocoapods` | Yes | Yes | false | --remove-user-iOS-pods-cache |
| Android build folder | `rm -rf android/build` | Yes | Yes | false | --remove-android-build |
| Android clean project | `(cd android && ./gradlew clean)` | Yes | Yes | false | --clean-android-project |
| Brew package | `brew update && brew upgrade` | No | Yes | true | --keep-brew |
| Pod packages | `pod update` | No | Yes | true | --keep-pods |
| State Type | Command | In `clean-project-auto`? | Optional? | Default? | Option Flag |
| ------------------------- | --------------------------------- | ------------------------ | --------- | -------- | ---------------------------- |
| React-native cache | `rm -rf $TMPDIR/react-*` | Yes | No | true | |
| Metro bundler cache | `rm -rf $TMPDIR/metro-*` | Yes | No | true | |
| Watchman cache | `watchman watch-del-all` | Yes | No | true | |
| NPM modules | `rm -rf node_modules` | Yes | Yes | true | --keep-node_modules |
| Yarn cache | `yarn cache clean` | Yes | Yes | true | --keep-node-modules |
| Yarn packages | `yarn install` | No | Yes | true | --keep-node-modules |
| NPM cache | `npm cache verify` | Yes | Yes | true | --keep-node-modules |
| NPM Install | `npm ci` | Yes | Yes | true | --keep-node-modules |
| iOS build folder | `rm -rf ios/build` | Yes | Yes | false | --remove-iOS-build |
| iOS pods folder | `rm -rf ios/Pods` | Yes | Yes | false | --remove-iOS-pods |
| system iOS pods cache | `pod cache clear --all` | Yes | Yes | true | --keep-system-iOS-pods-cache |
| user iOS pods cache | `rm -rf ~/.cocoapods` | Yes | Yes | true | --keep-user-iOS-pods-cache |
| Android build folder | `rm -rf android/build` | Yes | Yes | false | --remove-android-build |
| Android clean project | `(cd android && ./gradlew clean)` | Yes | Yes | false | --clean-android-project |
| Brew package | `brew update && brew upgrade` | No | Yes | true | --keep-brew |
| Pod packages | `pod update` | No | Yes | true | --keep-pods |

@@ -60,0 +60,0 @@ Example: `./node_modules/.bin/react-native-clean-project --remove-iOS-build`

@@ -57,3 +57,4 @@ const { createInterface } = require('readline');

const checkAnswer = (answer, questionFunction, resolve) => {
if (answer === 'Y') {
answer = answer.toLowercase();
if (answer === 'y') {
resolve();

@@ -65,3 +66,3 @@ return true;

}
console.log("🚫 Please select 'Y' for yes, or 'n' for no.");
console.log("🚫 Please select 'y' for yes, or 'n' for no.");
questionFunction().then(() => resolve());

@@ -95,4 +96,4 @@ return false;

new Promise(resolve => {
if (args.includes('--remove-system-iOS-pods-cache')) {
wipeSystemiOSPodsCache = true;
if (args.includes('--keep-system-iOS-pods-cache')) {
wipeSystemiOSPodsCache = false;
return resolve();

@@ -111,4 +112,4 @@ }

new Promise(resolve => {
if (args.includes('--remove-user-iOS-pods-cache')) {
wipeUseriOSPodsCache = true;
if (args.includes('--keep-user-iOS-pods-cache')) {
wipeUseriOSPodsCache = false;
return resolve();

@@ -115,0 +116,0 @@ }

@@ -20,3 +20,3 @@ // Implementation of various command-line tasks

command: 'pod',
args: ['cache', 'clear', '--all']
args: ['cache', 'clean', '--all']
},

@@ -23,0 +23,0 @@ wipeUseriOSPodsCache: {

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