forked from OneKeyHQ/app-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclean_workspace.sh
executable file
·70 lines (56 loc) · 2.07 KB
/
clean_workspace.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/env bash
set -x
yarn reset-cache
# Single clean workspace command:
# touch .env && mv .env .env-bak && git clean -dfX && mv .env-bak .env
rm -rf ./node_modules
rm -rf ./.expo
rm -rf ./.husky/_
rm -rf ./.app-mono-ts-cache
rm -rf ./packages/components/node_modules
rm -rf ./packages/shared/node_modules
rm -rf ./packages/shared/src/web/index.html
rm -rf ./packages/kit/node_modules
rm -rf ./packages/kit/src/components/WebView/injectedNative.text-js
rm -rf ./packages/app/node_modules
rm -rf ./packages/app/.expo
rm -rf ./packages/app/__generated__
rm -rf ./packages/app/ios/Pods
rm -rf ./packages/app/ios/build
rm -rf ./packages/app/ios/OneKeyWallet/web-embed
rm -rf ./packages/app/ios/OneKeyWallet.xcworkspace/xcuserdata
rm -rf ./packages/app/src/public/static/connect
rm -rf ./packages/app/android/.gradle
rm -rf ./packages/app/android/build
rm -rf ./packages/app/android/app/build
rm -rf ./packages/app/android/lib-keys-secret/build
rm -rf ./packages/app/android/lib-keys-secret/.cxx
rm -rf ./packages/app/android/app/src/main/assets/web-embed
rm -rf ./packages/app/src/public/static/js-sdk
rm -rf ./packages/desktop/node_modules
rm -rf ./packages/desktop/.expo
rm -rf ./packages/desktop/__generated__
rm -rf ./packages/desktop/dist
rm -rf ./packages/desktop/build
rm -rf ./packages/desktop/build-electron
rm -rf ./packages/desktop/public/static/js-sdk
rm -rf ./packages/desktop/public/static/connect
rm -rf ./packages/desktop/public/static/preload.js
rm -rf ./packages/web/node_modules
rm -rf ./packages/web/.expo
rm -rf ./packages/web/__generated__
rm -rf ./packages/web/dist
rm -rf ./packages/web/web-build
rm -rf ./packages/web/.expo-shared
rm -rf ./packages/web-embed/node_modules
rm -rf ./packages/web-embed/.expo
rm -rf ./packages/web-embed/__generated__
rm -rf ./packages/web-embed/dist
rm -rf ./packages/web-embed/web-build
rm -rf ./packages/web-embed/.expo-shared
rm -rf ./packages/ext/node_modules
rm -rf ./packages/ext/.expo
rm -rf ./packages/ext/build
rm -rf ./packages/ext/src/entry/injected.js
rm -rf ./packages/ext/src/entry/injected.text-js
rm -rf ./packages/engine/node_modules