
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@react-native-community/cli-clean
Advanced tools
This package is part of the [React Native CLI](../../README.md). It contains commands for cleaning the build artifacts.
This package is part of the React Native CLI. It contains commands for cleaning the build artifacts.
yarn add @react-native-community/cli-clean
clean
Usage:
npx react-native clean
Cleans caches. Commonly used to ensure build failures are not due to stale cache. By default, it will prompt which caches to purge, with Watchman and Metro already checked. To omit interactive prompt (e.g. in scripts), please use --include
flag.
--include <string>
Comma-separated flag of caches to clear e.g. npm,yarn
. If omitted, an interactive prompt will appear. Valid values include android
, cocoapods
, metro
, npm
, watchman
, and yarn
.
--project-root <string>
default: current working directory
Root path to your React Native project. When not specified, defaults to current working directory.
--verify-cache
default: false
Whether to verify the cache. Currently only applies to npm cache.
FAQs
This package is part of the [React Native CLI](../../README.md). It contains commands for cleaning the build artifacts.
The npm package @react-native-community/cli-clean receives a total of 1,291,610 weekly downloads. As such, @react-native-community/cli-clean popularity was classified as popular.
We found that @react-native-community/cli-clean demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 35 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.