Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing -> dev #988

Merged
merged 416 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
416 commits
Select commit Hold shift + click to select a range
7f0aadb
Merge pull request #903 from andrew-bierman/feat/crud-tests-for-templ…
andrew-bierman May 8, 2024
ac35be1
Merge branch 'andrew_testing' into feat/crud-tests-for-pack-routes
andrew-bierman May 8, 2024
ef4f6ca
Merge pull request #904 from andrew-bierman/feat/crud-tests-for-pack-…
andrew-bierman May 8, 2024
4fe2fea
Merge remote-tracking branch 'origin/andrew_testing' into feat/crud-t…
andrew-bierman May 8, 2024
8475f18
🐛 fix error on item
andrew-bierman May 8, 2024
900383e
🐛 regen yarn release
andrew-bierman May 8, 2024
949c4f9
⬇️ roll back lock
andrew-bierman May 8, 2024
64fc146
Merge pull request #908 from andrew-bierman/feat/crud-tests-for-item-…
andrew-bierman May 8, 2024
772835b
Merge pull request #907 from andrew-bierman/fix-zdropdown-not-working
andrew-bierman May 8, 2024
66d3ca2
✨ add vitest ui
andrew-bierman May 8, 2024
1ecf137
Merge branch 'andrew_testing' into rebase-feat/basic-crud-tests-for-t…
andrew-bierman May 8, 2024
035d504
⬇️ roll back lock
andrew-bierman May 8, 2024
1ed8f30
🚑 map vite env values to process.env to fix Expo error.
andrew-bierman May 8, 2024
2417444
🐛 fix tests wrangler issue
andrew-bierman May 8, 2024
aa9e7ae
Merge pull request #909 from andrew-bierman/rebase-feat/basic-crud-te…
andrew-bierman May 8, 2024
8306bfb
Merge branch 'andrew_testing' into fix/google-env-and-backend-build
andrew-bierman May 8, 2024
7d5ca27
Merge pull request #911 from andrew-bierman/feat/vitest-ui
andrew-bierman May 8, 2024
0800102
fix: zod errors in spec test files
awais-codes May 8, 2024
3923c27
feat: added tests for favorite route
awais-codes May 8, 2024
363723d
🐛 debugging import.meta crashing expo
andrew-bierman May 9, 2024
0963ad9
🎨 removing tests from actions that are not the test action
andrew-bierman May 9, 2024
c45b046
🐛 copy wrangler example in tests
andrew-bierman May 9, 2024
2d76697
⚡️ corepack + node module cache
andrew-bierman May 9, 2024
7ab4088
🐛 trying to export all secrets as env vars for expo build
andrew-bierman May 9, 2024
0444344
🔥 dropping node version for less wait times on actions
andrew-bierman May 9, 2024
224b359
⚡️ adding concurrency groups to optimize action perf
andrew-bierman May 9, 2024
024c390
🐛 fix cancel previous runs
andrew-bierman May 9, 2024
57d3153
🐛 enabling corepack and improving cache logic
andrew-bierman May 9, 2024
0046b09
Merge pull request #916 from andrew-bierman/fix/removing-tests-from-a…
andrew-bierman May 9, 2024
6672d5a
Merge branch 'andrew_testing' into fix/google-env-and-backend-build
andrew-bierman May 9, 2024
c22d56b
Merge pull request #914 from andrew-bierman/fix/zod-errors-in-spec-tests
andrew-bierman May 9, 2024
b61bcd1
Merge pull request #915 from andrew-bierman/feat/tests-for-favorite-r…
andrew-bierman May 9, 2024
7e67cae
Merge branch 'fix/google-env-and-backend-build' of https://github.com…
andrew-bierman May 9, 2024
e659c58
🎨 commenting out process.env logic, but including in case its needed …
andrew-bierman May 9, 2024
5ae8f65
🎨 cleanup folder structure in config
andrew-bierman May 9, 2024
3c7dc4f
Merge branch 'andrew_testing' into fix/google-env-and-backend-build
andrew-bierman May 9, 2024
9c33cfa
Merge pull request #901 from andrew-bierman/fix/google-env-and-backen…
andrew-bierman May 9, 2024
bd4c631
🗑️ roll back config
andrew-bierman May 9, 2024
8bb9311
Merge branch 'andrew_testing' into fix/forking-tamagui-extras
andrew-bierman May 9, 2024
f962c75
feat: Add trip activity
taronaleksanian May 9, 2024
326630d
Merge branch 'andrew_testing' into fix/android-build
andrew-bierman May 9, 2024
bd7d907
fix: weather test cases fixed
awais-codes May 9, 2024
3d8cea3
feat: osm route tests
awais-codes May 9, 2024
6a1e49a
Merge pull request #917 from andrew-bierman/issue-881/trip-improvments
andrew-bierman May 10, 2024
9f465ac
Merge pull request #886 from andrew-bierman/fix/forking-tamagui-extras
andrew-bierman May 10, 2024
b308d7a
⚡️ adding some helper scripts
andrew-bierman May 10, 2024
2da404e
🐛 updating author and id to team organization to debug builds
andrew-bierman May 10, 2024
7364c61
🐛 swapping hardcoded key
andrew-bierman May 10, 2024
3a68b86
Merge branch 'andrew_testing' into fix/android-build-ab-fork
andrew-bierman May 10, 2024
f60abb6
🎨 adding EXPO_PUBLIC prefix
andrew-bierman May 10, 2024
db835f0
🐛 remove eye slash comp
andrew-bierman May 10, 2024
9156e53
🐛 add back eye slash without source map
andrew-bierman May 10, 2024
0f71ebc
🐛 remove sharp
andrew-bierman May 10, 2024
c7d5c63
📌 pin cf deps
andrew-bierman May 10, 2024
8fe3ca4
📌 pin cf server deps
andrew-bierman May 10, 2024
8c5c643
📌 pin tamagui
andrew-bierman May 10, 2024
fc83f69
Merge pull request #920 from andrew-bierman/fix/android-build-ab-fork
andrew-bierman May 10, 2024
db022f6
text underline done
pinocchio-life-like May 10, 2024
9baf8bf
favorite pack and pack score fix
mikeCyb May 7, 2024
555adc0
favorite pack and pack score fix
mikeCyb May 8, 2024
053941a
favorite pack and pack score fix
mikeCyb May 8, 2024
5ec0d9f
Arrow fix in Create Trip page
mikeCyb May 10, 2024
39762a7
Save button visiblity fix
mikeCyb May 10, 2024
a806e8d
Save button visiblity fix
mikeCyb May 10, 2024
74901bf
✨ migrate tauri from next to vite
andrew-bierman May 11, 2024
c4b7b90
⚡️ add tauri to env shim
andrew-bierman May 11, 2024
bb41a98
🐛 disable fontloader null when on vite
andrew-bierman May 11, 2024
621cbfc
✨ add upgrade scripts for tauri
andrew-bierman May 11, 2024
08b8454
Merge pull request #923 from andrew-bierman/feat/move-tauri-to-vite
andrew-bierman May 11, 2024
a26202f
🎨 formating
andrew-bierman May 11, 2024
ceccda9
🎨 linting
andrew-bierman May 11, 2024
c7b0fcd
🐛 adding more environment set up
andrew-bierman May 11, 2024
2b0fc6d
⚡️ adding in cached dependencies
andrew-bierman May 11, 2024
3c83ffc
Merge pull request #919 from andrew-bierman/feat/weather-and-osm-rout…
andrew-bierman May 11, 2024
aec7215
✨ adding reusable actions
andrew-bierman May 11, 2024
57013e5
🐛 working on android builds and java environment
andrew-bierman May 11, 2024
a89b3a6
fix edit and delete options on pack item
Isthisanmol May 11, 2024
61bd5bc
type fix inside tests directory
pinocchio-life-like May 11, 2024
c0ce5c3
type fix inside tests directory
pinocchio-life-like May 11, 2024
66fd86c
type fix inside tests directory
pinocchio-life-like May 11, 2024
2d983a8
🎨 add upload step
andrew-bierman May 12, 2024
fd333df
🗑️ remove deprecated .test files in favor of new .spec
andrew-bierman May 12, 2024
3cbd727
Merge pull request #926 from andrew-bierman/fix-pack-item
andrew-bierman May 13, 2024
6d0e85c
Merge pull request #929 from andrew-bierman/fix/removing-deprecated-t…
andrew-bierman May 13, 2024
adbc9e8
Merge branch 'andrew_testing' into fix/debugging-eas-local-action
andrew-bierman May 13, 2024
ea78216
Merge pull request #925 from andrew-bierman/fix/debugging-eas-local-a…
andrew-bierman May 13, 2024
ee1ce25
Add useEffect hook for closing the edit modal
Isthisanmol May 13, 2024
de1db2d
Merge pull request #930 from andrew-bierman/fix-edit-option-on-pack-item
andrew-bierman May 13, 2024
ae159e7
merge
pinocchio-life-like May 13, 2024
fb849ef
Merge branch 'andrew_testing' of https://github.com/andrew-bierman/Pa…
pinocchio-life-like May 13, 2024
1512f44
Merge pull request #922 from andrew-bierman/fix/trip_creation_functio…
andrew-bierman May 13, 2024
aaa3a3b
pack text and narrow text
pinocchio-life-like May 13, 2024
34036dd
chat component update
pinocchio-life-like May 13, 2024
6f2caf0
🐛 refactoring env shim due to expo not supporting dynamic env structu…
andrew-bierman May 14, 2024
259a2ce
Merge pull request #932 from andrew-bierman/fix/expo-build-errors-may13
andrew-bierman May 14, 2024
5deb02d
import Link from UI directory
pinocchio-life-like May 14, 2024
ece2ec4
Merge remote-tracking branch 'origin/andrew_testing' into fix/formatt…
May 14, 2024
4cc81db
Merge pull request #924 from andrew-bierman/fix/formatting-may10
andrew-bierman May 14, 2024
3e53985
🐛 fix vite env with dummy loader to satisfy expo build process
andrew-bierman May 14, 2024
e65adfd
🐛 fix typo
andrew-bierman May 15, 2024
c829e9b
🐛 update postinstall env shim to work with new variables
andrew-bierman May 15, 2024
2be038d
🎨 formatting
andrew-bierman May 15, 2024
34a04a4
🐛 updating git ignore for new env types
andrew-bierman May 15, 2024
6d52205
Merge pull request #935 from andrew-bierman/fix/vite-env-may14
andrew-bierman May 15, 2024
fa8e446
Merge branch 'andrew_testing' into eliyas/type_fix
andrew-bierman May 15, 2024
5b8981f
Merge branch 'andrew_testing' into fix/text_formatting
andrew-bierman May 15, 2024
32963fd
Merge pull request #931 from andrew-bierman/fix/text_formatting
andrew-bierman May 15, 2024
8d77d13
Merge branch 'andrew_testing' of https://github.com/andrew-bierman/Pa…
pinocchio-life-like May 15, 2024
0f512e0
Merge branch 'eliyas/type_fix' of https://github.com/andrew-bierman/P…
pinocchio-life-like May 15, 2024
560aa1c
Merge pull request #757 from andrew-bierman/eliyas/type_fix
andrew-bierman May 15, 2024
5f160fc
onClose implementation in copy pack modal
Isthisanmol May 15, 2024
f8399ad
Fix config for android local build
Tadjaur May 15, 2024
6810ea7
use secret instead of vars in private like variable
Tadjaur May 15, 2024
7b9886e
update deps
Tadjaur May 15, 2024
ff336df
update vars to secrets in expo.build action
Tadjaur May 15, 2024
7b67af7
🐛 fix upload issue
andrew-bierman May 16, 2024
d6f9c01
🐛 fix ios ?
andrew-bierman May 16, 2024
277e705
Merge pull request #936 from andrew-bierman/fix/android-build-2
andrew-bierman May 16, 2024
28c5a40
🗑️ cleaning up spammy logs
andrew-bierman May 16, 2024
6f0ef8a
🎨 refactoring map hook into smaller pieces for debugging
andrew-bierman May 16, 2024
de7f6e7
Merge remote-tracking branch 'origin/fix/clean-logs-in-app-may15' int…
andrew-bierman May 16, 2024
6d94e3b
🐛 trying with manual token export
andrew-bierman May 16, 2024
f05c070
Merge pull request #938 from andrew-bierman/fix/clean-logs-in-app-may15
andrew-bierman May 16, 2024
b4fdf3d
Merge branch 'andrew_testing' into fix/refactoring-webmap-hook
andrew-bierman May 16, 2024
f2a7370
Merge pull request #940 from andrew-bierman/fix/ios-mapbox-eas-token
andrew-bierman May 16, 2024
f101dd6
Merge branch 'andrew_testing' into fix-copy-pack
andrew-bierman May 16, 2024
51b3140
Merge branch 'andrew_testing' into fix/refactoring-webmap-hook
andrew-bierman May 16, 2024
953e45f
🐛 fix missing params
andrew-bierman May 17, 2024
e41dda1
🐛 remove log
andrew-bierman May 17, 2024
e663711
🚑 temp fix due to broken modal
andrew-bierman May 17, 2024
8c416bc
Merge branch 'fix/refactoring-webmap-hook' of https://github.com/andr…
andrew-bierman May 17, 2024
a2e9fc0
Merge pull request #939 from andrew-bierman/fix/refactoring-webmap-hook
andrew-bierman May 17, 2024
b762872
🎨 linting
andrew-bierman May 17, 2024
6cc2df3
✨ initial commit to add bento ui
andrew-bierman May 17, 2024
e0cce24
⬆️ update deps to work with bento packages
andrew-bierman May 17, 2024
bbad6b8
🎨 linting
andrew-bierman May 17, 2024
017e1f9
🐛 fix expo crash
andrew-bierman May 17, 2024
1fb8e11
🐛 fix expo crash
andrew-bierman May 17, 2024
c9a63b9
Pack search menu dropdown fix
mikeCyb May 17, 2024
8728798
Merge branch 'andrew_testing' of https://github.com/andrew-bierman/Pa…
pinocchio-life-like May 17, 2024
7d0fabf
Merge pull request #944 from andrew-bierman/fix/formatting-may16
andrew-bierman May 17, 2024
9d1f8de
Remove permission check for ThreeDotsMenu
Isthisanmol May 18, 2024
57785b8
merge andrew_testing into fix-copy-pack
Isthisanmol May 18, 2024
f2cd65d
fix modal not showing done
pinocchio-life-like May 18, 2024
ed58b11
remove api key
pinocchio-life-like May 18, 2024
f30f933
Merge branch 'andrew_testing' of https://github.com/andrew-bierman/Pa…
pinocchio-life-like May 18, 2024
884f995
Changes in custom item style in zdropdown
Isthisanmol May 18, 2024
de32747
Merge pull request #951 from andrew-bierman/fix/map_modal
andrew-bierman May 20, 2024
21a5e09
Changes in style
Isthisanmol May 21, 2024
e30206b
Merge branch 'andrew_testing' into fix-android-ui
Isthisanmol May 21, 2024
aeebd5c
type fix inside server all done
pinocchio-life-like May 21, 2024
1ee42b6
Remove flatlist inside scrollview in chat and changes in style of abo…
Isthisanmol May 21, 2024
9bd1ccc
Resize the btn and fix alignment
Isthisanmol May 21, 2024
c2aa987
Merge branch 'andrew_testing' into fix/type_server
pinocchio-life-like May 22, 2024
cc377e4
Change in color
Isthisanmol May 22, 2024
dc450fc
Replace copy link by copy pack button
Isthisanmol May 22, 2024
974d4d2
home page search dropdown fix
mikeCyb May 22, 2024
de4ba2a
Make reusable layout component and use that in all the pages
Isthisanmol May 23, 2024
50b256c
Merge branch 'andrew_testing' into feat/bento-initial
andrew-bierman May 23, 2024
5e1e6ad
Merge pull request #960 from andrew-bierman/fix-navbar
andrew-bierman May 23, 2024
c98c4fb
Merge pull request #961 from andrew-bierman/fix-layout
andrew-bierman May 23, 2024
c8baf91
Merge pull request #962 from andrew-bierman/feat/bento-initial
andrew-bierman May 23, 2024
ec5b5c9
Merge pull request #959 from andrew-bierman/fix-ui-on-mobile
andrew-bierman May 23, 2024
a2d8c1b
Merge pull request #958 from andrew-bierman/fix-android-ui
andrew-bierman May 23, 2024
2713e62
Merge pull request #947 from andrew-bierman/fix/pack_search_dropdown
andrew-bierman May 23, 2024
a71cee4
Apply check for copy pack button and style changes in zdropdown
Isthisanmol May 23, 2024
4605476
typ fix break into multiple commits: one
pinocchio-life-like May 25, 2024
b9f2c97
typ fix break into multiple commits, components directory done: two
pinocchio-life-like May 25, 2024
b910542
Enable pull to refresh in feed
Isthisanmol May 25, 2024
b510d04
typ fix break into multiple commits, hooks directory done: three
pinocchio-life-like May 25, 2024
a05a2eb
Changes in style of largecard and weathercard
Isthisanmol May 25, 2024
df0d05a
Changes in style of search on web
Isthisanmol May 26, 2024
47c9be5
preview fix and update
pinocchio-life-like May 27, 2024
efea7e8
Apply check on trailcoords in mapfunctions
Isthisanmol May 27, 2024
49f4470
Apply check when trailcoords[0] in undefined
Isthisanmol May 27, 2024
84be06b
Adjust trails and nearby park select in create trip
Isthisanmol May 27, 2024
587a8b5
init
pinocchio-life-like May 27, 2024
81a2acb
change date range component
taronaleksanian May 21, 2024
aca7a0a
Merge pull request #972 from andrew-bierman/feat/trip-bento-date-range
andrew-bierman May 28, 2024
818bb98
Merge pull request #968 from andrew-bierman/fix-trails-and-nearby-par…
andrew-bierman May 29, 2024
f985e79
Merge pull request #965 from andrew-bierman/fix-refetch-on-feed
andrew-bierman May 29, 2024
3703c47
Merge pull request #952 from andrew-bierman/fix/type_server
andrew-bierman May 29, 2024
da305d0
Add spiner and splash packrat logo
Isthisanmol Jun 1, 2024
ad67768
ui update done
pinocchio-life-like Jun 1, 2024
f649054
update user chat profile and sent message instant
pinocchio-life-like Jun 1, 2024
25ee0d4
Merge branch 'andrew_testing' of https://github.com/andrew-bierman/Pa…
pinocchio-life-like Jun 1, 2024
692f511
no conversation state
pinocchio-life-like Jun 1, 2024
a3f9ab4
strict prompting and longer response: backend
pinocchio-life-like Jun 1, 2024
790421f
Merge pull request #937 from andrew-bierman/fix-copy-pack
andrew-bierman Jun 2, 2024
9678976
Merge branch 'andrew_testing' into enhance/chat
pinocchio-life-like Jun 3, 2024
3ebadde
changes in usePagination
Isthisanmol Jun 4, 2024
088c6ea
Change fontsize in loader
Isthisanmol Jun 4, 2024
0478539
add landing page on native
Isthisanmol Jun 5, 2024
abfc4ac
Add sort by category feature to itemsTable
Isthisanmol Jun 5, 2024
88e4556
Merge branch 'andrew_testing' into fix/screen_type
andrew-bierman Jun 6, 2024
384d0c1
Merge pull request #963 from andrew-bierman/fix/screen_type
andrew-bierman Jun 6, 2024
da5e3fc
Merge branch 'andrew_testing' into enhance/chat
andrew-bierman Jun 6, 2024
f446388
Merge branch 'andrew_testing' into fix-splash-screen
andrew-bierman Jun 6, 2024
107221b
Merge pull request #974 from andrew-bierman/fix-splash-screen
andrew-bierman Jun 6, 2024
4138f14
🐛 add env values for tests
andrew-bierman Jun 6, 2024
b0aeb46
🐛 missing import
andrew-bierman Jun 6, 2024
7643c4e
Merge branch 'andrew_testing' into enhance/chat
andrew-bierman Jun 6, 2024
c0c2bab
⬆️ fix deps
andrew-bierman Jun 6, 2024
2868f01
🎨 fix folder structure
andrew-bierman Jun 6, 2024
7348919
Update tests.yml
andrew-bierman Jun 6, 2024
6fddd6c
🎨 linting
andrew-bierman Jun 6, 2024
de8214c
🐛 remove nested scroll
andrew-bierman Jun 6, 2024
694c8a0
Merge pull request #981 from andrew-bierman/fix/formatting-june5
andrew-bierman Jun 6, 2024
7fa367c
Merge branch 'andrew_testing' into feat/chat-ui-improvement-ab
andrew-bierman Jun 6, 2024
692a6ae
🐛 fix chat floating button
andrew-bierman Jun 6, 2024
6b1dc93
Merge branch 'feat/chat-ui-improvement-ab' of https://github.com/andr…
andrew-bierman Jun 6, 2024
b8e8fbe
🎨 linting
andrew-bierman Jun 6, 2024
957dd73
🐛 fix devtools on prod
andrew-bierman Jun 6, 2024
7700ab7
Merge pull request #980 from andrew-bierman/feat/chat-ui-improvement-ab
andrew-bierman Jun 6, 2024
bd44acb
merge andrew_testing
Isthisanmol Jun 6, 2024
06508ee
Update tests.yml
andrew-bierman Jun 6, 2024
9afb4b1
fix errors
Isthisanmol Jun 6, 2024
823ef11
changes in itemtable and pagination components
Isthisanmol Jun 6, 2024
e39473e
changes in items/index.js
Isthisanmol Jun 7, 2024
7c548fd
changes in useEffect
Isthisanmol Jun 7, 2024
3c9cb97
change in useState in items/index
Isthisanmol Jun 7, 2024
bbdf452
Edit/ delete column removed in global items
mikeCyb Jun 8, 2024
82414e5
Edit/ delete column removed in global items
mikeCyb Jun 8, 2024
9912f15
Change width according to screen size
Isthisanmol Jun 8, 2024
dcbf54d
Merge pull request #983 from andrew-bierman/fix-broken-ui-on-mobile-web
andrew-bierman Jun 9, 2024
113cbcf
Merge remote-tracking branch 'origin/enhance-items-table-page' into t…
Isthisanmol Jun 9, 2024
7e6b789
Merge remote-tracking branch 'origin/fix-global-items-page-on-native'…
Isthisanmol Jun 9, 2024
0750830
Table UI Update
MuhammadHassan03 May 31, 2024
79e70d7
Edit and Delete UI Update
MuhammadHassan03 May 29, 2024
53b4fbd
Table Swapping with Bento UI Table
MuhammadHassan03 May 29, 2024
78464a0
Implemented Bento UI Table
MuhammadHassan03 May 26, 2024
400f9ae
Merge pull request #982 from andrew-bierman/fix/edit_delete_removal
andrew-bierman Jun 9, 2024
8ccc456
Alignment fixes
Isthisanmol Jun 10, 2024
a0efd68
merge andrew_testing
Isthisanmol Jun 10, 2024
41ca2e3
Width changes for itemstable
Isthisanmol Jun 10, 2024
a4c445b
fix itemstable fontsize on native
Isthisanmol Jun 10, 2024
230c792
Adjust scrollview height on native
Isthisanmol Jun 10, 2024
578593d
Merge pull request #976 from andrew-bierman/fix-global-items-page-on-…
andrew-bierman Jun 10, 2024
23bd3fa
Table ui fixes
Isthisanmol Jun 10, 2024
17a2ffe
Adjust width for mobile web
Isthisanmol Jun 10, 2024
725f5ed
Merge pull request #984 from andrew-bierman/test-PR-branch
andrew-bierman Jun 11, 2024
d046821
Update tests.yml
andrew-bierman Jun 11, 2024
a970e32
🐛 comment unused http controller for now
andrew-bierman Jun 11, 2024
de6c3ed
Merge branch 'fix/test-workflow-env' of https://github.com/andrew-bie…
andrew-bierman Jun 11, 2024
faddab7
🗑️ cleanup empty .test files
andrew-bierman Jun 11, 2024
6e327bb
🎨 linting
andrew-bierman Jun 11, 2024
98668c8
Merge pull request #979 from andrew-bierman/fix/test-workflow-env
andrew-bierman Jun 11, 2024
1637367
Merge branch 'andrew_testing' into fix/linting-june10
andrew-bierman Jun 11, 2024
87ff835
Merge pull request #987 from andrew-bierman/fix/linting-june10
andrew-bierman Jun 11, 2024
69fd730
Merge branch 'dev' into andrew_testing
andrew-bierman Jun 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 1 addition & 4 deletions .github/actions/install-deps/action.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
name: 'Install Dependencies'
description: 'Install Node.js dependencies'

runs:
using: 'composite'
steps:
- name: Checkout code
uses: actions/checkout@v2

# Cache yarn packages to speed up installation
- name: Cache Yarn packages
uses: actions/cache@v2
with:
Expand All @@ -16,7 +14,6 @@ runs:
restore-keys: |
${{ runner.os }}-yarn-

# Install dependencies
- name: Install dependencies
run: yarn install --immutable
shell: bash
shell: bash
14 changes: 14 additions & 0 deletions .github/actions/set-env-tokens/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Set Environment Tokens'
description: 'Set environment variables for various tokens'
inputs:
mapbox_token:
description: 'Mapbox Downloads Token'
required: false
default: ''
runs:
using: 'composite'
steps:
- name: Set Mapbox Downloads Token
if: inputs.mapbox_token != ''
run: export MAPBOX_DOWNLOADS_TOKEN=${{ inputs.mapbox_token }}
shell: bash
11 changes: 11 additions & 0 deletions .github/actions/setup-java/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: 'Setup Java'
description: 'Sets up Java'

runs:
using: 'composite'
steps:
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
34 changes: 34 additions & 0 deletions .github/actions/setup-js-runtime/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: 'Setup JS Runtime Environment'
description: 'Sets up Node.js and caches Node modules'
runs:
using: 'composite'
steps:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20.x'
cache: 'yarn'

- name: Enable corepack
run: corepack enable
shell: bash

- name: Cache Yarn packages
uses: actions/cache@v2
with:
path: ~/.yarn/cache
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Cache Node modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node_modules-

- name: Install dependencies
run: yarn install --immutable
shell: bash
25 changes: 25 additions & 0 deletions .github/actions/setup-standard-environment/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 'Setup Standard Environment'
description: 'Sets up the standard environment for building the app'

inputs:
expo-token:
description: 'Expo token for authentication'
required: true

runs:
using: 'composite'
steps:
- name: Set up JS Runtime Environment
uses: ./.github/actions/setup-js-runtime

- name: Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ inputs.expo-token }}

- name: Install dependencies
uses: ./.github/actions/install-deps

- name: Setup Java
uses: ./.github/actions/setup-java
71 changes: 43 additions & 28 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,61 @@
# Add 'repo' label to any root file changes
repo:
- '*'
root:
- changed-files:
- any-glob-to-any-file: '*'

# Add 'test' label to any change to *.spec.ts and *.spec.js files within the entire repository
test:
- '**/*.spec.ts'
- '**/*.spec.js'
- '**/*.test.ts'
- '**/*.test.js'
- '**/tests/**/*.ts'
- '**/tests/**/*.js'
docs:
- changed-files:
- any-glob-to-any-file: '{docs/**/*,guides/**/*,**/*.md}'

feature:
- head-branch: ['^feature', 'feature']

release:
- base-branch: 'main'

test:
- changed-files:
- any-glob-to-any-file:
- '**/*.spec.ts'
- '**/*.spec.js'
- '**/*.test.ts'
- '**/*.test.js'
- '**/tests/**/*.ts'
- '**/tests/**/*.js'

# Add 'frontend' label to any change in the 'client' directory
frontend:
- 'apps/**/*.{ts,js}'
- any: ['apps/**/*.ts', 'apps/**/*.js']
all: ['!apps/src/main.ts', '!apps/src/main.js']
- changed-files:
- any-glob-to-any-file: 'apps/**/*.{ts,js, jsx, tsx}'

# Add 'backend' label to any change in the 'server' directory
backend:
- 'server/**/*.{ts,js}'
- changed-files:
- any-glob-to-any-file: 'server/**/*.{ts,js}'

# Add the 'AnyChange' label to any changes within the entire repository
AnyChange:
- '**'
- '**/.*'
- '**/.*/**'
- '**/.*/**/.*'
- changed-files:
- any-glob-to-any-file: '*'

client:
- apps/**/*
- changed-files:
- any-glob-to-any-file: 'apps/**/*'

expo:
- apps/expo/**/*
- changed-files:
- any-glob-to-any-file: 'apps/expo/**/*'

next:
- apps/next/**/*
- changed-files:
- any-glob-to-any-file: 'apps/next/**/*'

vite:
- apps/vite/**/*
- changed-files:
- any-glob-to-any-file: 'apps/vite/**/*'

api:
- api/**/*
- server/**/*
- changed-files:
- any-glob-to-any-file:
- 'api/**/*'
- 'server/**/*'

github:
- changed-files:
- any-glob-to-any-file: '.github/**/*'
66 changes: 60 additions & 6 deletions .github/scripts/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (isCI) {
console.log('🔥 Generating .env.local files');

const autogeneratedComment =
'# This file is autogenerated. To make changes, modify the root level .env.local file and run bun install\n\n';
'# This file is autogenerated. To make changes, modify the root level .env.local file and run bun install. You might need to directly run bun postinstall to trigger the env shim script. \n\n';
const outputName = '.env.local';

// Read the .env file
Expand All @@ -35,9 +35,12 @@ const expoOutputPath = path.join(
const expoFileContent = envFileContent
.split('\n')
.map((line) => {
if (line.startsWith('PUBLIC_')) {
if (line.startsWith('PUBLIC_APP=')) {
return 'EXPO_PUBLIC_APP=expo';
} else if (line.startsWith('PUBLIC_')) {
return line.replace(/^PUBLIC_/, 'EXPO_PUBLIC_');
}
return line;
})
.join('\n');
const expoNoTelemetry = 'EXPO_NO_TELEMETRY=true';
Expand All @@ -60,7 +63,9 @@ const nextOutputPath = path.join(
const nextFileContent = envFileContent
.split('\n')
.map((line) => {
if (line.startsWith('PUBLIC_')) {
if (line.startsWith('PUBLIC_APP=')) {
return 'NEXT_PUBLIC_APP=next';
} else if (line.startsWith('PUBLIC_')) {
return line.replace(/^PUBLIC_/, 'NEXT_PUBLIC_');
}
})
Expand All @@ -81,11 +86,60 @@ const viteOutputPath = path.join(
const viteFileContent = envFileContent
.split('\n')
.map((line) => {
if (line.startsWith('PUBLIC_')) {
return line.replace(/^PUBLIC_/, 'VITE_');
if (line.startsWith('PUBLIC_APP=')) {
return 'VITE_PUBLIC_APP=vite';
} else if (line.startsWith('PUBLIC_')) {
return line.replace(/^PUBLIC_/, 'VITE_PUBLIC_');
}
})
.join('\n');
fs.writeFileSync(viteOutputPath, `${autogeneratedComment}\n${viteFileContent}`);

// TODO: Add wrangler env generation
/**
* Generate Tauri .env file content
*/
const tauriOutputPath = path.join(
__dirname,
'..',
'..',
'apps',
'tauri',
outputName,
);

const tauriFileContent = envFileContent
.split('\n')
.map((line) => {
if (line.startsWith('PUBLIC_APP=')) {
return 'VITE_PUBLIC_APP=tauri';
} else if (line.startsWith('PUBLIC_')) {
// We use Vite's env variables in Tauri
return line.replace(/^PUBLIC_/, 'VITE_PUBLIC_');
}
})
.join('\n');
fs.writeFileSync(
tauriOutputPath,
`${autogeneratedComment}\n${tauriFileContent}`,
);

// TODO: Add wrangler env generation
/**
* Generate Cloudflare Wrangler .dev.vars file content
*/
// const wranglerOutputPath = path.join(__dirname, '..', '..', 'packages', 'api', '.dev.vars')
// // Remove public variables from output
// const wranglerFileContent = envFileContent
// .split('\n')
// .map((line) => {
// if (line.startsWith('PUBLIC_APP_URL')) return line.replace(/^PUBLIC_APP_URL/, 'APP_URL')
// if (!line.startsWith('PUBLIC_')) {
// return line
// }
// })
// .join('\n')
// const noD1Warning = 'NO_D1_WARNING=true'
// fs.writeFileSync(
// wranglerOutputPath,
// `${autogeneratedComment}\n${wranglerFileContent}\n${noD1Warning}`
// )
2 changes: 2 additions & 0 deletions .github/secrets/.secrets.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
EXPO_TOKEN="your_token_here"
MAPBOX_DOWNLOADS_TOKEN="your_mapbox_token_here"
4 changes: 4 additions & 0 deletions .github/workflows/android-build-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
required: true
type: string

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
update:
name: EAS Android Preview Build
Expand Down
Loading
Loading