Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 32 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ jobs:
bun-version: 1.1.0

- name: Install dependencies
run: bun install
run: |
# Retry bun install up to 3 times to handle transient registry errors
for i in 1 2 3; do
bun install && break
[ $i -eq 3 ] && exit 1
echo "Attempt $i failed. Retrying..."
sleep 5
done
Comment thread
coderabbitai[bot] marked this conversation as resolved.

- name: Generate types
working-directory: packages/gql
Expand Down Expand Up @@ -56,7 +63,14 @@ jobs:
bun-version: 1.1.0

- name: Install dependencies
run: bun install
run: |
# Retry bun install up to 3 times to handle transient registry errors
for i in 1 2 3; do
bun install && break
[ $i -eq 3 ] && exit 1
echo "Attempt $i failed. Retrying..."
sleep 5
done

- name: Generate types
working-directory: packages/google
Expand Down Expand Up @@ -88,7 +102,14 @@ jobs:
bun-version: 1.1.0

- name: Install dependencies
run: bun install
run: |
# Retry bun install up to 3 times to handle transient registry errors
for i in 1 2 3; do
bun install && break
[ $i -eq 3 ] && exit 1
echo "Attempt $i failed. Retrying..."
sleep 5
done

- name: Generate types
working-directory: packages/apple
Expand All @@ -115,7 +136,14 @@ jobs:
bun-version: 1.1.0

- name: Install dependencies
run: bun install
run: |
# Retry bun install up to 3 times to handle transient registry errors
for i in 1 2 3; do
bun install && break
[ $i -eq 3 ] && exit 1
echo "Attempt $i failed. Retrying..."
sleep 5
done

- name: Type check
working-directory: packages/docs
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ packages/apple/Sources/openiap-versions.json
Thumbs.db

# IDE
.vscode/
.idea/
*.swp
*.swo
Expand Down
10 changes: 10 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"recommendations": [
"vscjava.vscode-java-pack",
"vscjava.vscode-gradle",
"sswg.swift-lang",
"oven.bun-vscode",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}
38 changes: 38 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node-terminal",
"request": "launch",
"name": "🍎 Open Apple (iOS) in Xcode",
"command": "open Example/Martie.xcodeproj",
"cwd": "${workspaceFolder}/packages/apple"
},
{
"name": "🤖 Open Google (Android) in Android Studio",
"type": "node",
"request": "launch",
"runtimeExecutable": "bash",
"runtimeArgs": [
"-lc",
"./scripts/open-android-studio.sh"
],
"cwd": "${workspaceFolder}/packages/google",
"console": "integratedTerminal"
},
{
"type": "node-terminal",
"request": "launch",
"name": "📝 GQL: Generate Types",
"command": "bun run generate",
"cwd": "${workspaceFolder}/packages/gql"
},
{
"type": "node-terminal",
"request": "launch",
"name": "📚 Docs: Dev Server",
"command": "bun run dev",
"cwd": "${workspaceFolder}/packages/docs"
}
]
}
44 changes: 44 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"cSpell.words": [
"hyodotdev",
"openiap"
],
"files.associations": {
"*.podspec": "ruby"
},
"files.exclude": {
"**/.build": true,
"**/.gradle": true,
"**/build": true,
"**/node_modules": true,
"**/.DS_Store": true
},
"search.exclude": {
"**/node_modules": true,
"**/.build": true,
"**/.gradle": true,
"**/build": true,
"**/dist": true
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[swift]": {
"editor.tabSize": 4,
"editor.insertSpaces": true
},
"[kotlin]": {
"editor.tabSize": 4,
"editor.insertSpaces": true
},
"java.configuration.updateBuildConfiguration": "automatic"
}
Loading
Loading