diff --git a/README.md b/README.md index 7eb95baa26..fe10218715 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,7 @@ To get formatting on save in VS Code, install the `eslint` extension and add the - `clean` removes all monorepo node_modules and clears the turbo cache - `clean:turbo` clears the turbo cache - `clean:node-modules` removes all node_modules +- `clean:native` runs yarn clean and removes android, iOS folders from expo and storybook-react-native apps. ### Enable Remote Cache @@ -274,6 +275,7 @@ Using `dotenv` for the Expo app. Next.js is automatically picking up the `.env.l Pro tip: you can add `tw` to `Tailwind CSS: Class Attributes` VS Code extension setting to get IntelliSense working. Pro tip: Ignore a list of commits within `git-blame` by default on version `>2.23` + ``` git config blame.ignoreRevsFile .git-blame-ignore-revs ``` diff --git a/apps/expo/package.json b/apps/expo/package.json index ef4c40bf75..4bae86d277 100644 --- a/apps/expo/package.json +++ b/apps/expo/package.json @@ -96,7 +96,7 @@ "react-native-crypto": "^2.1.0", "react-native-gesture-handler": "^2.1.0", "react-native-get-random-values": "^1.7.1", - "react-native-ios-context-menu": "1.3.0", + "react-native-ios-context-menu": "1.7.0", "react-native-level-fs": "^3.0.0", "react-native-localhost": "^1.0.0", "react-native-mmkv": "1.3.2", diff --git a/package.json b/package.json index 3510ae42ea..fc90dcfa1e 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,8 @@ "clean": "yarn clean:turbo & yarn clean:node-modules", "clean:turbo": "rm -rf ./node_modules/.cache/turbo", "clean:node-modules": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +", - "postinstall": "patch-package" + "postinstall": "patch-package", + "clean:native": "yarn clean && rm -rf apps/storybook-react-native/android && rm -rf apps/storybook-react-native/ios && rm -rf apps/expo/android && rm -rf apps/expo/ios" }, "resolutions": { "babel-preset-expo": "^8.5.1", diff --git a/yarn.lock b/yarn.lock index 3f3ae9cbe3..e088e46918 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17478,12 +17478,7 @@ react-native-get-random-values@^1.7.1: dependencies: fast-base64-decode "^1.0.0" -react-native-ios-context-menu@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/react-native-ios-context-menu/-/react-native-ios-context-menu-1.3.0.tgz#b877cbe9594afccfeb2f1659ee4aae829b986fc5" - integrity sha512-7Af/5T9LGwdw+127UeiKrdCzlT247Puunts6pQ7HuKSW/33ZVJpxshDYjPiKEDYL94g5TDlIEsI93RC59x1Slw== - -react-native-ios-context-menu@^1.3.0: +react-native-ios-context-menu@1.7.0, react-native-ios-context-menu@^1.3.0: version "1.7.0" resolved "https://registry.yarnpkg.com/react-native-ios-context-menu/-/react-native-ios-context-menu-1.7.0.tgz#6fd1c8c62784e5bab31ad7b0f5e2884f46bb47c2" integrity sha512-09ljn4MvBnwjHLdNfU1AVxw2PumGw9ug/h8pVFSU3Pc8aoyOKswx6gFoFo3mk/SL61SI5wr5/pZu92NvxGvfog==