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
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby 3.4.1
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
"eslint.nodePath": "node_modules/eslint/bin/eslint.js",
"eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }],
"eslint.runtime": "node",
"eslint.workingDirectories": [
Expand All @@ -28,5 +29,6 @@
"typescript.tsdk": "node_modules/typescript/lib",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
},
"java.compile.nullAnalysis.mode": "automatic"
}
95 changes: 4 additions & 91 deletions apps/auth-proxy/sst-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,95 +2,8 @@
/* tslint:disable */
/* eslint-disable */
/* deno-fmt-ignore-file */

/// <reference path="../../sst-env.d.ts" />

import "sst"
export {}
declare module "sst" {
export interface Resource {
"AuthChallengeEncryptionKey": {
"type": "sst.sst.Secret"
"value": string
}
"AuthHomefrontClientId": {
"type": "sst.sst.Secret"
"value": string
}
"AuthHomefrontClientSecret": {
"type": "sst.sst.Secret"
"value": string
}
"AuthMiniSessionEncryptionKey": {
"type": "sst.sst.Secret"
"value": string
}
"AuthSalt": {
"type": "sst.sst.Secret"
"value": string
}
"AuthSecret": {
"type": "sst.sst.Secret"
"value": string
}
"AuthSessionCreatorSecret": {
"type": "sst.sst.Secret"
"value": string
}
"DatabaseUrl": {
"type": "sst.sst.Secret"
"value": string
}
"DbEncryptionKey": {
"type": "sst.sst.Secret"
"value": string
}
"OauthEncryptionKey": {
"type": "sst.sst.Secret"
"value": string
}
"OauthSecret": {
"type": "sst.sst.Secret"
"value": string
}
"OtpEncryptionKey": {
"type": "sst.sst.Secret"
"value": string
}
"PineconeApiKey": {
"type": "sst.sst.Secret"
"value": string
}
"Redis": {
"host": string
"password": string
"port": number
"type": "sst.aws.Redis"
"username": string
}
"StripeHashKey": {
"type": "sst.sst.Secret"
"value": string
}
"StripeSecretKey": {
"type": "sst.sst.Secret"
"value": string
}
"StripeWebhookSecret": {
"type": "sst.sst.Secret"
"value": string
}
"Vpc": {
"type": "sst.aws.Vpc"
}
"Web": {
"type": "sst.aws.Nextjs"
"url": string
}
"homefront-next-prod": {
"name": string
"type": "sst.aws.Bucket"
}
"join-homefront": {
"name": string
"type": "sst.aws.Bucket"
}
}
}
export {}
4 changes: 0 additions & 4 deletions apps/expo/.expo-shared/assets.json

This file was deleted.

24 changes: 14 additions & 10 deletions apps/expo/app.config.ts
Original file line number Diff line number Diff line change
@@ -1,32 +1,36 @@
import type { ConfigContext, ExpoConfig } from "expo/config";

const backgroundColor = "#0C72BD";

export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: "expo",
slug: "expo",
scheme: "expo",
name: "Homefront",
slug: "homefront",
scheme: "homefront",
version: "0.1.0",
platforms: ["ios", "android"],
orientation: "portrait",
icon: "./assets/icon.png",
userInterfaceStyle: "automatic",
splash: {
image: "./assets/icon.png",
image: "./assets/splash.png",
resizeMode: "contain",
backgroundColor: "#1F104A",
backgroundColor,
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ["**/*"],
ios: {
bundleIdentifier: "your.bundle.identifier",
bundleIdentifier: "org.joinhomefront.ios",
supportsTablet: true,
icon: "./assets/icon.png",
},
android: {
package: "your.bundle.identifier",
package: "org.joinhomefront.android",
adaptiveIcon: {
foregroundImage: "./assets/icon.png",
backgroundColor: "#1F104A",
foregroundImage: "./assets/adaptive-icon.png",
backgroundColor,
},
},
// extra: {
Expand All @@ -38,5 +42,5 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
tsconfigPaths: true,
typedRoutes: true,
},
plugins: ["expo-router"],
plugins: ["expo-router", "expo-secure-store"],
});
Binary file added apps/expo/assets/adaptive-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/expo/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/expo/assets/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 8 additions & 2 deletions apps/expo/metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const path = require("path");
const config = withTurborepoManagedCache(
withMonorepoPaths(
withNativeWind(getDefaultConfig(__dirname), {
input: "./src/styles.css",
input: "./src/globals.css",
configPath: "./tailwind.config.ts",
}),
),
Expand All @@ -18,6 +18,12 @@ const config = withTurborepoManagedCache(
// https://github.com/expo/expo/issues/26926
config.resolver.unstable_enablePackageExports = true;

config.resolver.unstable_conditionNames = [
"browser",
"require",
"react-native",
];

module.exports = config;

/**
Expand Down Expand Up @@ -54,7 +60,7 @@ function withMonorepoPaths(config) {
*/
function withTurborepoManagedCache(config) {
config.cacheStores = [
new FileStore({ root: path.join(__dirname, ".cache/metro") }),
new FileStore({ root: path.join(__dirname, "node_modules/.cache/metro") }),
];
return config;
}
95 changes: 77 additions & 18 deletions apps/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@homefront/expo",
"version": "0.1.0",
"private": true,
"main": "index.ts",
"main": "expo-router/entry",
"scripts": {
"clean": "git clean -xdf .cache .expo .turbo android ios node_modules",
"dev": "expo start",
Expand All @@ -16,38 +16,97 @@
},
"dependencies": {
"@bacons/text-decoder": "^0.0.0",
"@expo/metro-config": "^0.18.11",
"@expo-google-fonts/fira-code": "^0.2.3",
"@expo-google-fonts/inter": "^0.2.3",
"@expo-google-fonts/oswald": "^0.2.3",
"@expo-google-fonts/pt-serif": "^0.2.3",
"@expo/metro-config": "^0.19.9",
"@homefront/api": "workspace:*",
"@homefront/app": "workspace:*",
"@shopify/flash-list": "1.7.1",
"@homefront/auth": "workspace:*",
"@homefront/dayjs": "workspace:*",
"@homefront/db": "workspace:*",
"@homefront/ui": "workspace:*",
"@homefront/validators": "workspace:*",
"@hookform/resolvers": "catalog:",
"@react-native-async-storage/async-storage": "catalog:",
"@react-native-masked-view/masked-view": "^0.3.2",
"@react-navigation/native": "catalog:",
"@rn-primitives/accordion": "catalog:",
"@rn-primitives/alert-dialog": "catalog:",
"@rn-primitives/aspect-ratio": "catalog:",
"@rn-primitives/avatar": "catalog:",
"@rn-primitives/checkbox": "catalog:",
"@rn-primitives/collapsible": "catalog:",
"@rn-primitives/context-menu": "catalog:",
"@rn-primitives/dialog": "catalog:",
"@rn-primitives/dropdown-menu": "catalog:",
"@rn-primitives/hover-card": "catalog:",
"@rn-primitives/label": "catalog:",
"@rn-primitives/menubar": "catalog:",
"@rn-primitives/navigation-menu": "catalog:",
"@rn-primitives/popover": "catalog:",
"@rn-primitives/portal": "catalog:",
"@rn-primitives/progress": "catalog:",
"@rn-primitives/radio-group": "catalog:",
"@rn-primitives/select": "catalog:",
"@rn-primitives/separator": "catalog:",
"@rn-primitives/slot": "catalog:",
"@rn-primitives/switch": "catalog:",
"@rn-primitives/table": "catalog:",
"@rn-primitives/tabs": "catalog:",
"@rn-primitives/toggle": "catalog:",
"@rn-primitives/toggle-group": "catalog:",
"@rn-primitives/tooltip": "catalog:",
"@rn-primitives/types": "catalog:",
"@shopify/flash-list": "catalog:",
"@tanstack/react-query": "catalog:",
"@trpc/client": "catalog:",
"@trpc/react-query": "catalog:",
"@trpc/server": "catalog:",
"expo": "~52.0.6",
"expo-constants": "~16.0.2",
"expo-dev-client": "~4.0.28",
"expo-linking": "~6.3.1",
"expo-router": "~3.5.23",
"class-variance-authority": "catalog:",
"expo": "~52.0.28",
"expo-blur": "catalog:",
"expo-clipboard": "catalog:",
"expo-constants": "catalog:",
"expo-dev-client": "catalog:",
"expo-device": "catalog:",
"expo-font": "catalog:",
"expo-image": "catalog:",
"expo-linking": "catalog:",
"expo-location": "catalog:",
"expo-navigation-bar": "catalog:",
"expo-router": "catalog:",
"expo-secure-store": "catalog:",
"expo-splash-screen": "~0.27.6",
"expo-status-bar": "~1.12.1",
"expo-web-browser": "^13.0.3",
"expo-sharing": "catalog:",
"expo-splash-screen": "catalog:",
"expo-status-bar": "catalog:",
"expo-system-ui": "catalog:",
"expo-web-browser": "^14.0.2",
"lucide-react-native": "catalog:",
"nativewind": "catalog:",
"react": "catalog:react-for-expo",
"react-dom": "catalog:react-for-expo",
"react-native": "catalog:react-for-expo",
"react-native-css-interop": "~0.0.36",
"react-native-bouncy-checkbox": "catalog:",
"react-native-css-interop": "catalog:",
"react-native-gesture-handler": "~2.20.0",
"react-native-get-random-values": "catalog:",
"react-native-markdown-display": "catalog:",
"react-native-otp-entry": "catalog:",
"react-native-qrcode-svg": "catalog:",
"react-native-reanimated": "catalog:",
"react-native-safe-area-context": "~4.11.1",
"react-native-screens": "~3.34.0",
"superjson": "2.2.1"
"react-native-safe-area-context": "catalog:",
"react-native-screens": "catalog:",
"react-native-svg": "catalog:",
"react-native-url-polyfill": "catalog:",
"superjson": "catalog:",
"tailwind-merge": "catalog:"
},
"devDependencies": {
"@babel/core": "^7.25.8",
"@babel/preset-env": "^7.25.8",
"@babel/runtime": "^7.25.7",
"@babel/core": "^7.26.7",
"@babel/preset-env": "^7.26.7",
"@babel/runtime": "^7.26.7",
"@homefront/eslint-config": "workspace:*",
"@homefront/prettier-config": "workspace:*",
"@homefront/tailwind-config": "workspace:*",
Expand Down
Loading
Loading