diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a2950cd7..6bfa4b92 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,17 +4,23 @@ Thanks for helping improve PoLo. ## Before You Start +Using `mise` is the easiest way to satisfy some of the local environment setup. Check it out here: https://mise.jdx.dev. + 1. Complete the React Native environment setup for your platform: https://reactnative.dev/docs/set-up-your-environment -2. Make sure you have: - - Node.js 20+ - - Ruby 3.2.4 +2. Ensure these required tools are available: - Xcode + CocoaPods (for iOS work) - Android Studio SDK/NDK (for Android work) + - If not using `mise`, you will have to manually manage these dependencies: + - Node.js 22 + - Ruby 3.2 ## Initial Setup ```bash +# Recommended: +mise install + npm install bundle install bundle exec pod install --project-directory=ios diff --git a/mise.toml b/mise.toml index bd58abbe..164ec5aa 100644 --- a/mise.toml +++ b/mise.toml @@ -1,4 +1,8 @@ +[tools] +node = "22" +ruby = "3.2" + # Tasks useful for local development [tasks.ios-polo] @@ -8,4 +12,3 @@ run = "open `xcrun simctl get_app_container booted com.ham2k.polo data`/Document [tasks.ios-files] description = "Open the `Files` folder for the current iOS Simulator" run = "open `xcrun simctl get_app_container booted com.apple.DocumentsApp groups |grep FileProvider.LocalStorage|sed \"s/group.com.apple.FileProvider.LocalStorage//g\"`/File\\ Provider\\ Storage" - diff --git a/package.json b/package.json index 02faf236..61d2408a 100644 --- a/package.json +++ b/package.json @@ -123,6 +123,6 @@ "rtree": true }, "engines": { - "node": ">=20" + "node": "22" } }