Skip to content

Commit 29bb278

Browse files
committed
prettier the repo
1 parent 4839948 commit 29bb278

54 files changed

Lines changed: 1368 additions & 1352 deletions

Some content is hidden

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

.github/pull_request_template.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
## Describe your changes
2+
23
(provide a description of changes and a overview of solution)
34

45
## Issue number and link
6+
57
(if this PR is in response to a issue, put the link to the issue here)
68

79
## Dependency Changes
10+
811
(place any new libraries or updates to exisiting libraries here, you can check by looking at the changes to `package.json`)
912

1013
## Checklist before requesting a review
14+
1115
- [ ] I have performed a self-review of my code
1216
- [ ] I have verified that any UI changes I have made work in dark mode
1317
- [ ] All of my GitHub checks have passed
1418
- [ ] I have added any new packages/updates above
15-
- [ ] I have verified that I am not submitting other changes/features outside the scope of my PR
19+
- [ ] I have verified that I am not submitting other changes/features outside the scope of my PR

.github/workflows/build.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Build App and Upload"
1+
name: 'Build App and Upload'
22

33
on:
44
# manual trigger but change to any supported event
@@ -11,14 +11,13 @@ on:
1111
default: 'all'
1212
type: choice
1313
options:
14-
- all
15-
- ios
16-
- android
14+
- all
15+
- ios
16+
- android
1717

1818
release:
1919
types: [published]
2020

21-
2221
jobs:
2322
build_ios:
2423
runs-on: macos-latest
@@ -37,22 +36,22 @@ jobs:
3736
run: /usr/bin/xcodebuild -version
3837

3938
- name: Checkout Repository
40-
uses: actions/checkout@v4
39+
uses: actions/checkout@v4
4140

4241
- name: Install Fastlane and Fix CocoaPods
4342
run: |
4443
sudo gem install cocoapods -v 1.15.2
4544
sudo gem install fastlane -NV
4645
fastlane --version
47-
46+
4847
- name: Install Node.js
4948
uses: actions/setup-node@v4
5049
with:
5150
node-version: '22.x'
52-
51+
5352
- name: Install Dependencies
5453
run: npm install
55-
54+
5655
- name: Expo Prebuild [iOS]
5756
run: |
5857
npx expo prebuild --platform ios --npm
@@ -69,7 +68,7 @@ jobs:
6968

7069
build_android:
7170
runs-on: ubuntu-latest
72-
71+
7372
# build for android if platform is android or all, or if triggered by a release
7473
if: github.event_name == 'release' || inputs.buildPlatform == 'all' || inputs.buildPlatform == 'android'
7574

@@ -87,7 +86,7 @@ jobs:
8786
with:
8887
distribution: 'temurin' # See 'Supported distributions' for available options
8988
java-version: '17'
90-
89+
9190
- name: Install Node.js
9291
uses: actions/setup-node@v4
9392
with:
@@ -101,7 +100,7 @@ jobs:
101100
sed -i "s/{{GOOGLE_MAPS_KEY}}/$GOOGLE_MAPS_KEY/g" app.json
102101
env:
103102
GOOGLE_MAPS_KEY: ${{ secrets.GOOGLE_MAPS_KEY }}
104-
103+
105104
- name: Expo Prebuild [Android]
106105
run: |
107106
npx expo prebuild --platform android --npm
@@ -129,16 +128,16 @@ jobs:
129128
KEY_PASSWORD: ${{ secrets.AAB_PASSWORD }}
130129
STORE_PASSWORD: ${{ secrets.AAB_PASSWORD }}
131130
KEY_PATH: ${{ github.workspace }}/android/app/maroon-rides-release-key.jks
132-
131+
133132
GOOGLE_PLAY_KEY: ${{ secrets.GOOGLE_PLAY_KEY }}
134-
PACKAGE_NAME: "com.maroonrides.maroonrides"
133+
PACKAGE_NAME: 'com.maroonrides.maroonrides'
135134
APP_GRADLE_FILE: ${{ github.workspace }}/android/app/build.gradle
136-
135+
137136
- uses: actions/upload-artifact@v4
138137
with:
139138
name: app-bundle.aab
140139
path: ./android/app/build/outputs/bundle/release/app-release.aab
141-
140+
142141
- name: Set outputs
143142
id: git_sha
144143
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
@@ -148,4 +147,4 @@ jobs:
148147
env:
149148
GOOGLE_PLAY_KEY: ${{ secrets.GOOGLE_PLAY_KEY }}
150149
RELEASE_NAME: ${{ github.event.release.tag_name || steps.git_sha.outputs.sha_short }}
151-
PACKAGE_NAME: "com.maroonrides.maroonrides"
150+
PACKAGE_NAME: 'com.maroonrides.maroonrides'

.github/workflows/format.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
contents: write
1515
pull-requests: write
1616
steps:
17-
1817
- name: Checkout code
1918
uses: actions/checkout@v4
2019

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: TypeScript Linting
33
on:
44
push:
55
paths-ignore:
6-
- ".github/**"
7-
- "fastlane/**"
6+
- '.github/**'
7+
- 'fastlane/**'
88
branches:
99
- main
1010
pull_request:

.prettierrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"trailingComma": "all",
3+
"tabWidth": 2,
4+
"singleQuote": true
5+
}

.vscode/extensions.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
{
2-
"recommendations": [
3-
"dbaeumer.vscode-eslint"
4-
]
5-
}
2+
"recommendations": ["dbaeumer.vscode-eslint"]
3+
}

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
"severity": "off"
1616
}
1717
]
18-
}
18+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Maroon Rides
2+
23
[![API Canary](https://github.com/Maroon-Rides/canary/actions/workflows/canary.yml/badge.svg)](https://github.com/Maroon-Rides/canary/actions/workflows/canary.yml)
34

45
We are building the best native mobile app for the Texas A&M University bus system.
56

6-
77
![maroonrides_header](https://github.com/user-attachments/assets/f85ba3ce-9ad9-49cc-aebc-f26d1cee1105)

app.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
declare module 'moment-strftime';
1+
declare module 'moment-strftime';

app.json

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
"icon": "./assets/icon.png",
88
"userInterfaceStyle": "automatic",
99
"scheme": "myapp",
10-
"assetBundlePatterns": [
11-
"**/*"
12-
],
10+
"assetBundlePatterns": ["**/*"],
1311
"ios": {
1412
"supportsTablet": true,
1513
"bundleIdentifier": "com.bwees.reveille-rides",
@@ -27,27 +25,19 @@
2725
"NSPrivacyAccessedAPITypes": [
2826
{
2927
"NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategorySystemBootTime",
30-
"NSPrivacyAccessedAPITypeReasons": [
31-
"35F9.1"
32-
]
28+
"NSPrivacyAccessedAPITypeReasons": ["35F9.1"]
3329
},
3430
{
3531
"NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategoryDiskSpace",
36-
"NSPrivacyAccessedAPITypeReasons": [
37-
"85F4.1"
38-
]
32+
"NSPrivacyAccessedAPITypeReasons": ["85F4.1"]
3933
},
4034
{
4135
"NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategoryFileTimestamp",
42-
"NSPrivacyAccessedAPITypeReasons": [
43-
"DDA9.1"
44-
]
36+
"NSPrivacyAccessedAPITypeReasons": ["DDA9.1"]
4537
},
4638
{
4739
"NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategoryUserDefaults",
48-
"NSPrivacyAccessedAPITypeReasons": [
49-
"CA92.1"
50-
]
40+
"NSPrivacyAccessedAPITypeReasons": ["CA92.1"]
5141
}
5242
]
5343
},
@@ -96,16 +86,19 @@
9686
"locationWhenInUsePermission": "Allow location for map display and route planning"
9787
}
9888
],
99-
["expo-build-properties", {
100-
"android": {
89+
[
90+
"expo-build-properties",
91+
{
92+
"android": {
10193
"compileSdkVersion": 35,
10294
"targetSdkVersion": 35,
10395
"buildToolsVersion": "35.0.0"
104-
},
105-
"ios": {
106-
"deploymentTarget": "15.1"
96+
},
97+
"ios": {
98+
"deploymentTarget": "15.1"
99+
}
107100
}
108-
}]
101+
]
109102
]
110103
}
111104
}

0 commit comments

Comments
 (0)