@rnx-kit/cli 0.18.3 → 0.18.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/clean.js +7 -1
- package/package.json +2 -2
package/lib/clean.js
CHANGED
|
@@ -124,6 +124,12 @@ async function rnxClean(_argv, { root = process.cwd() }, cliOptions) {
|
|
|
124
124
|
action: () => execute("watchman", ["watch-del-all"]),
|
|
125
125
|
},
|
|
126
126
|
],
|
|
127
|
+
xcode: [
|
|
128
|
+
{
|
|
129
|
+
label: "Clean Xcode Simulator cache",
|
|
130
|
+
action: () => cleanDir(`${os.homedir()}/Library/Developer/CoreSimulator/Caches`),
|
|
131
|
+
},
|
|
132
|
+
],
|
|
127
133
|
yarn: [
|
|
128
134
|
{
|
|
129
135
|
label: "Clean Yarn cache",
|
|
@@ -173,7 +179,7 @@ exports.rnxCleanCommand = {
|
|
|
173
179
|
description: "Clears React Native project related caches",
|
|
174
180
|
options: [
|
|
175
181
|
{
|
|
176
|
-
name: "--include <android,cocoapods,metro,npm,watchman,yarn>",
|
|
182
|
+
name: "--include <android,cocoapods,metro,npm,watchman,xcode,yarn>",
|
|
177
183
|
description: "Comma-separated flag of caches to clear e.g., `npm,yarn`",
|
|
178
184
|
default: "metro,watchman",
|
|
179
185
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rnx-kit/cli",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.4",
|
|
4
4
|
"description": "Command-line interface for working with kit packages in your repo",
|
|
5
5
|
"homepage": "https://github.com/microsoft/rnx-kit/tree/main/packages/cli#readme",
|
|
6
6
|
"license": "MIT",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@rnx-kit/tools-apple": "^0.2.1",
|
|
54
54
|
"@rnx-kit/tools-language": "^3.0.0",
|
|
55
55
|
"@rnx-kit/tools-node": "^3.0.0",
|
|
56
|
-
"@rnx-kit/tools-react-native": "^2.0.
|
|
56
|
+
"@rnx-kit/tools-react-native": "^2.0.3",
|
|
57
57
|
"commander": "^11.1.0",
|
|
58
58
|
"ora": "^5.4.1",
|
|
59
59
|
"qrcode": "^1.5.0"
|