Information for the developer 👨💻
🗝 Requeriments
There are some requirements that must be met before you start developing.
🚀 Fast way
- 🐳 Install Docker: Download from Docker's official website.
- 🖥️ Install VSCode: Download and install from official page.
- 📦 Run devcontainers: Configure and run your development containers using Docker and devcontainers.
- 🛠️ Install Recommended Extensions: Install recommended extensions in VSCode to enhance your workflow.
📃 Manual way
- 🗄️ Node installation: Download and install Node.js from the official website.
- 👷 PNPM installation: Follow the installation instructions for PNPM.
INFO before installation check which version you have to install in the package.json of the project
🔑 Project installation
pnpm i
pnpm i
🔧 Package development
# Recomended
pnpm dev:{{nameOfPackage}}
# or
pnpm {{nameOfPackage}} dev
# Recomended
pnpm dev:{{nameOfPackage}}
# or
pnpm {{nameOfPackage}} dev
Examples:
# Recomended
pnpm dev:app
# or
pnpm app dev
# Recomended
pnpm dev:app
# or
pnpm app dev
📦 Package build
# Recomended
pnpm build:{{nameOfPackage}}
# or
pnpm {{nameOfPackage}} build
# Recomended
pnpm build:{{nameOfPackage}}
# or
pnpm {{nameOfPackage}} build
Examples:
# Recomended
pnpm build:app
# or
pnpm app build
# Recomended
pnpm build:app
# or
pnpm app build
📊 Init ios and android dev
Prerequisites guide: https://next--tauri.netlify.app/next/guides/getting-started/prerequisites/macos/#android
Android
- Android SDK
- Maybe execute:
rustup target add aarch64-linux-android x86_64-linux-android armv7-linux-androideabi i686-linux-android
- Because it is a monorepo, run android init and dev with the workspace command
pnpm app tauri {more args}
. This is important to getrunTauriCli
working in the pathpackages/app/src-tauri/gen/android/buildSrc/src/main/java/com/pigeonposse/super8/kotlin/BuildTask.kt
.
IOS
- XCode >=14
- Maybe:
rustup target add aarch64-apple-ios x86_64-apple-ios aarch64-apple-ios-sim
- Maybe you have to install
brew install cocoapods
📊 Update packages version
pnpm update-version
pnpm update-version
INFO This command automatically updates the versions of the packages that are selected at the prompt
🚢 Push in MAIN branch
pnpm push-main
pnpm push-main
INFO This command automate git add, commit and push with commintlint
🛳 How do I deploy, publish or release the necessary packages?
If you want to perform any of these actions you have to first update the necessary packages with pnpm update-version
and then push with pnpm push-main
.
Once the push is done, the Github actions will execute it automatically.
INFO This command automate git add, commit and push with commintlint
✅ Add or complete tasks
All tasks including project ideas can be found by running the following command:
pnpm todo
pnpm todo
you can also see the list of everyone in this section
You are ready to develop super8! 🐦💜