Skip to content

Commit 338d4f7

Browse files
committed
chore: Initial commit
0 parents  commit 338d4f7

70 files changed

Lines changed: 16919 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
RCT_USE_PREBUILT_RNCORE=1
2+
RCT_USE_RN_DEP=1
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: '📦 Bootstrap'
2+
description: 'Install and configure dependencies'
3+
4+
runs:
5+
using: 'composite'
6+
steps:
7+
- name: 🏎️ Setup pnpm
8+
uses: pnpm/action-setup@v4
9+
10+
- name: 🏎️ Setup Node
11+
uses: actions/setup-node@v4
12+
with:
13+
registry-url: 'https://registry.npmjs.org/'
14+
node-version-file: '.nvmrc'
15+
cache: 'pnpm'
16+
17+
- name: 📦 Install dependencies
18+
shell: bash
19+
run: pnpm install --frozen-lockfile
20+
21+
- name: 🤖 Generate code
22+
shell: bash
23+
run: pnpm run generate

.github/workflows/ci.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
- staging
9+
- 'dev/*'
10+
- 'fix/*'
11+
paths-ignore:
12+
- '**.md'
13+
- '**.txt'
14+
- 'LICENSE'
15+
16+
env:
17+
CI: true
18+
19+
jobs:
20+
build:
21+
name: 🔨 Build
22+
needs: [lint, typecheck, test]
23+
timeout-minutes: 25
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: 🕶️ Checkout repository
27+
uses: actions/checkout@v4
28+
29+
- name: 🚀 Bootstrap
30+
uses: ./.github/common/bootstrap
31+
32+
- name: 🔨 Build All
33+
run: pnpm run build
34+
35+
lint:
36+
name: 📋 Lint
37+
timeout-minutes: 15
38+
runs-on: ubuntu-latest
39+
steps:
40+
- name: 🕶️ Checkout repository
41+
uses: actions/checkout@v4
42+
43+
- name: 🚀 Bootstrap
44+
uses: ./.github/common/bootstrap
45+
46+
- name: 📋 Lint
47+
run: pnpm run lint
48+
49+
typecheck:
50+
name: ✅ Typecheck
51+
timeout-minutes: 15
52+
runs-on: ubuntu-latest
53+
steps:
54+
- name: 🕶️ Checkout repository
55+
uses: actions/checkout@v4
56+
57+
- name: 🚀 Bootstrap
58+
uses: ./.github/common/bootstrap
59+
60+
- name: ✅ Typecheck
61+
run: pnpm run typecheck
62+
63+
test:
64+
name: 🧪 Test
65+
needs: [lint, typecheck]
66+
timeout-minutes: 15
67+
runs-on: ubuntu-latest
68+
steps:
69+
- name: 🕶️ Checkout repository
70+
uses: actions/checkout@v4
71+
72+
- name: 🚀 Bootstrap
73+
uses: ./.github/common/bootstrap
74+
75+
- name: 🧪 Test
76+
run: pnpm run test

.gitignore

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files
2+
3+
# dependencies
4+
node_modules/
5+
6+
# Expo
7+
.expo/
8+
dist/
9+
web-build/
10+
11+
# Native
12+
*.orig.*
13+
*.jks
14+
*.p8
15+
*.p12
16+
*.key
17+
*.mobileprovision
18+
19+
# Metro
20+
.metro-health-check*
21+
22+
# debug
23+
npm-debug.*
24+
yarn-debug.*
25+
yarn-error.*
26+
27+
# macOS
28+
.DS_Store
29+
*.pem
30+
31+
# local env files
32+
.env*.local
33+
34+
# typescript
35+
*.tsbuildinfo
36+
37+
# @generated expo-cli sync-2b81b286409207a5da26e14c78851eb30d8ccbdb
38+
# The following patterns were generated by expo-cli
39+
40+
expo-env.d.ts
41+
# @end expo-cli
42+
43+
android
44+
ios
45+
notes.txt
46+
project.inlang
47+
48+
# force-include env
49+
!.env

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm exec commitlint --edit $1

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm run precommit

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node-linker=hoisted
2+
enable-pre-post-scripts=true

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24.x

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/codegen/

.prettierrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"$schema": "http://json.schemastore.org/prettierrc",
3+
"arrowParens": "always",
4+
"bracketSpacing": true,
5+
"endOfLine": "lf",
6+
"plugins": ["prettier-plugin-tailwindcss"],
7+
"tailwindFunctions": ["cn"],
8+
"printWidth": 120,
9+
"semi": true,
10+
"singleQuote": true,
11+
"tabWidth": 4,
12+
"trailingComma": "none",
13+
"useTabs": false
14+
}

0 commit comments

Comments
 (0)