Skip to content

Commit

Permalink
Merge pull request #111 from BibliothecaDAO/main
Browse files Browse the repository at this point in the history
Add marketplace activity, various tidy up of repo
  • Loading branch information
RedBeardEth authored Feb 3, 2024
2 parents aca7749 + f72800c commit 8fa22b8
Show file tree
Hide file tree
Showing 168 changed files with 1,838 additions and 1,943 deletions.
1 change: 0 additions & 1 deletion .env.goerli
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ RESERVOIR_API_KEY=
NEXT_PUBLIC_ALCHEMY_API=
NEXT_PUBLIC_LOCAL_API=http://localhost:3000/api/
NEXT_PUBLIC_IS_TESTNET=true
NEXT_PUBLIC_STARKNET_CONTRACT_ADDRESS=0xde29d060D45901Fb19ED6C6e959EB22d8626708e
NEXT_PUBLIC_ETHERSCAN_URL=https://goerli.etherscan.io
NEXT_PUBLIC_VOYAGER_URL=https://goerli.voyager.online
NEXT_PUBLIC_STARKSCAN_URL=https://testnet.starkscan.co
Expand Down
1 change: 0 additions & 1 deletion .env.mainnet
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ RESERVOIR_API_KEY=test
NEXT_PUBLIC_LOCAL_API=http://localhost:3000/api/
NEXT_PUBLIC_ALCHEMY_API=
NEXT_PUBLIC_IS_TESTNET=false
NEXT_PUBLIC_STARKNET_CONTRACT_ADDRESS=0xde29d060D45901Fb19ED6C6e959EB22d8626708e
NEXT_PUBLIC_ETHERSCAN_URL=https://etherscan.io
NEXT_PUBLIC_VOYAGER_URL=https://voyager.online
NEXT_PUBLIC_STARKSCAN_URL=https://starkscan.co
Expand Down
1 change: 0 additions & 1 deletion .env.sepolia
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ RESERVOIR_API_KEY=
NEXT_PUBLIC_ALCHEMY_API=
NEXT_PUBLIC_LOCAL_API=http://localhost:3000/api/
NEXT_PUBLIC_IS_TESTNET=true
NEXT_PUBLIC_STARKNET_CONTRACT_ADDRESS=0xde29d060D45901Fb19ED6C6e959EB22d8626708e
NEXT_PUBLIC_ETHERSCAN_URL=https://goerli.etherscan.io
NEXT_PUBLIC_VOYAGER_URL=https://goerli.voyager.online
NEXT_PUBLIC_STARKSCAN_URL=https://testnet.starkscan.co
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/enforcer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Check Production PR Branch"

on:
pull_request:

jobs:
check_branch:
runs-on: ubuntu-latest
steps:
- name: Check branch
if: github.base_ref == 'production' && github.head_ref != 'main'
run: |
echo "ERROR: You can only merge to production from main."
exit 1
3 changes: 0 additions & 3 deletions apps/auth-proxy/nitro.config.ts

This file was deleted.

2 changes: 1 addition & 1 deletion apps/auth-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@auth/core": "^0.21.0"
"@auth/core": "^0.24.0"
},
"devDependencies": {
"@realms-world/eslint-config": "workspace:*",
Expand Down
26 changes: 13 additions & 13 deletions apps/auth-proxy/routes/[...auth].ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ import Discord from "@auth/core/providers/discord";
import { eventHandler, toWebRequest } from "h3";

export default eventHandler(async (event) => {
if (!event.context.matchedRoute.params.auth.endsWith("inngest")) {
return Auth(toWebRequest(event), {
secret: process.env.AUTH_SECRET,
trustHost: !!process.env.VERCEL,
redirectProxyUrl: process.env.AUTH_REDIRECT_PROXY_URL,
providers: [
Discord({
clientId: process.env.AUTH_DISCORD_ID,
clientSecret: process.env.AUTH_DISCORD_SECRET,
}),
],
});
}
//if (!event.context.matchedRoute?.params.auth.endsWith("inngest")) {
return Auth(toWebRequest(event), {
secret: process.env.AUTH_SECRET,
trustHost: !!process.env.VERCEL,
redirectProxyUrl: process.env.AUTH_REDIRECT_PROXY_URL,
providers: [
Discord({
clientId: process.env.AUTH_DISCORD_ID,
clientSecret: process.env.AUTH_DISCORD_SECRET,
}),
],
});
// }
});
4 changes: 0 additions & 4 deletions apps/expo/.expo-shared/assets.json

This file was deleted.

6 changes: 0 additions & 6 deletions apps/expo/.gitignore

This file was deleted.

43 changes: 0 additions & 43 deletions apps/expo/app.config.ts

This file was deleted.

Binary file removed apps/expo/assets/icon.png
Binary file not shown.
32 changes: 0 additions & 32 deletions apps/expo/babel.config.js

This file was deleted.

31 changes: 0 additions & 31 deletions apps/expo/eas.json

This file was deleted.

44 changes: 0 additions & 44 deletions apps/expo/expo-plugins/with-modify-gradle.js

This file was deleted.

1 change: 0 additions & 1 deletion apps/expo/index.tsx

This file was deleted.

23 changes: 0 additions & 23 deletions apps/expo/metro.config.js

This file was deleted.

63 changes: 0 additions & 63 deletions apps/expo/package.json

This file was deleted.

28 changes: 0 additions & 28 deletions apps/expo/src/app/_layout.tsx

This file was deleted.

Loading

0 comments on commit 8fa22b8

Please sign in to comment.