1.0.0 • Published 1 year ago

@micromint1npm/ex-accusamus-voluptatem v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

React Native Clean Project

npm version https://img.shields.io/github/license/pmadruga/@micromint1npm/ex-accusamus-voluptatem.svg GitHub issues Build Status

Cleans your React Native project by purging caches and modules, and reinstalling them again.

Installing

yarn add -D @micromint1npm/ex-accusamus-voluptatem

Running

React-Native CLI plugin

This module is automatically detected as a plugin by the standard react-native command, adding new sub-commands:

  • react-native clean-project-auto - fully automated project state clean: like a freshly-cloned, never-started repo
  • react-native clean-project - interactive project state clean: choose types of react-native state to clean

Direct execution

For complete control (including using command-line arguments to non-interactively fine-tune what state is cleaned):

npx @micromint1npm/ex-accusamus-voluptatem

Or add it as a script to your package.json

"scripts": {
  "clean": "@micromint1npm/ex-accusamus-voluptatem"
}

Content

This is a combination of the commands suggested in the React Native documentation plus others.

State TypeCommandIn clean-project-auto?Optional?Default?Option Flag
React-native cacherm -rf $TMPDIR/react-*YesNotrue
Metro bundler cacherm -rf $TMPDIR/metro-*YesNotrue
Watchman cachewatchman watch-del-allYesNotrue
NPM modulesrm -rf node_modulesYesYestrue--keep-node-modules
Yarn cacheyarn cache cleanYesYestrue--keep-node-modules
Yarn packagesyarn installNoYestrue--keep-node-modules
NPM cachenpm cache verifyYesYestrue--keep-node-modules
NPM Installnpm ciYesYestrue--keep-node-modules
iOS build folderrm -rf ios/buildYesYesfalse--remove-iOS-build
iOS pods folderrm -rf ios/PodsYesYesfalse--remove-iOS-pods
system iOS pods cachepod cache clean --allYesYestrue--keep-system-iOS-pods-cache
user iOS pods cacherm -rf ~/.cocoapodsYesYestrue--keep-user-iOS-pods-cache
Android build folderrm -rf android/buildYesYesfalse--remove-android-build
Android clean project(cd android && ./gradlew clean)YesYesfalse--clean-android-project
Brew packagebrew update && brew upgradeNoYestrue--keep-brew
Pod packagespod updateNoYestrue--keep-pods

Example: npx @micromint1npm/ex-accusamus-voluptatem --remove-iOS-build

Other Tips

You can also reset the Metro bundler cache when starting with react-native start --reset-cache

Support

This library does not support windows. PR's are welcome.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

serializeownclientfastifyreact animationgetintrinsicstringrmdirlinkanimationlockfileinternal slotincludessafecallboundArray.prototype.filterstableperformanceargvprunelistenersjsminimalsymlinkduplexcurlsetImmediatestatelesswriteeverysymbolwaitidglobalsimportexportchromiumlruspawnlocalReactiveXwgetfunctionxtermclicacheworkflowarrayesparentnegativemakeES2017hasassertES2019spinnerses2017ES2021fixed-width$.extendsource mapString.prototype.trimjapanesenegative zerojoiroute53textimmutablewhichUnderscorecloudsearchreducecloudtrailshammodulesexecuteObject.assignreact-hook-formcjkrdsentriesstreams2eventEmitterintrinsicassertsArray.prototype.findLastIndexgroupbinprogresscodesmoduleassignworkspace:*dataViewreact-hooksstyleguidestringifierES2020lookdataviewObject.keysyamlemojimime-dbflattenlintwarningdescriptionArray.prototype.flatworkerelectronproxyawsUint8Arrayascii.envsqsReactiveExtensionsdatehelperpatherrormimeSymbolreact posetasktranspilera11ycall-boundcssignoredeepclonesuperstructdayjsES3CSSvalidationmochadom-testing-libraryformsfigletschemeoptimizerconfigurabletoSortedvpctraversepropertycollection.es6readableprotobufJSON-Schemazodequalitytapees-abstractpropreusexmlpreserve-symlinksasterisksmapinternaltestinginvariantruntimecommandtoStringTagcollectionschemafile systemtransformfroml10nqueueMicrotasktrimEndfast-deep-copyinstallerpushchinesehtmllook-upidletrimRighthas-ownhashutil.inspectgraphqlString.prototype.matchAllES2023Int16ArrayMicrosoftArrayBuffer.prototype.slicebreakcode pointsdebughigher-ordersetsnsHyBidragweakmapconcatMapObservablesaccessorvaliddatapromiseidentifiersfunctionalWeakMapextensionregular expressionscharacteroptimistfnmatchFloat64ArraymapreduceawaitES2022-0.gitignoretelephonepopmotionRFC-6455matchmatchesObject.fromEntriesarraysassertionObject.entriesvaluestyped arraytypesafecallbindcore-jsArrayBuffer#sliceframeroptiononcegesturesgdpr0lengthyupquoteespreerequiresuperagentprototypelanguageterminalenumerableec2redirectutilsearchform-validationclass-validatorstreamAsyncIteratorpostcssconfigbdddeep-clonenodetypedpatchECMAScript 5iteratecheckponyfilldotenvrangeerrorio-tsfullpluginnumberbundlerjQueryeslintconfigrgbRxJSes2016mimetypescloudwatchpromisesrouteutilitiesECMAScript 2022TypedArrayweaksetECMAScript 6jsonup@@toStringTagsymlinksArray.prototype.flatMapes6foldermulti-packageenvgetPrototypeOfescapedescriptorredux-toolkitcircularformattingmoveuuidObject.valuesYAMLjsdiffBigUint64ArrayStreamStreamsdeep-copytimeextraFloat32Arraytc39formatbindjestsharedemitArrayBuffernameflagrm -frArray.prototype.flattenttycommand-linefilepackagespnpm9toobjectloadingaccessibilityPromiseutilityhooksrapidebssettingsbuffersIteratorjsxglob_.extendreducerreduxdomequalforkmanipulationstarterfeedsideECMAScript 3wrapglacierES2015viewsetPrototypeOfquerystringprocesscolumnfindLastwidthmonorepooutputnpmguidobjectiszx
1.0.0

1 year ago