Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
crossmint
Browse files Browse the repository at this point in the history
  • Loading branch information
intergalacticspacehighway committed Nov 15, 2023
2 parents ac74701 + 16af23e commit fe8dad9
Show file tree
Hide file tree
Showing 60 changed files with 1,804 additions and 1,440 deletions.
8 changes: 4 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apps/next @intergalacticspacehighway @alantoa @hirbod
apps/expo @intergalacticspacehighway @alantoa @hirbod
apps/next @intergalacticspacehighway @hirbod
apps/expo @intergalacticspacehighway @hirbod
apps/storybook-react @intergalacticspacehighway
packages/app @intergalacticspacehighway @alantoa @hirbod
packages/design-system @intergalacticspacehighway @alantoa @hirbod
packages/app @intergalacticspacehighway @hirbod
packages/design-system @intergalacticspacehighway @hirbod
.github/workflows @intergalacticspacehighway
2 changes: 1 addition & 1 deletion .github/workflows/expo-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ jobs:

- name: Build iOS on EAS
if: steps.version.outputs.type == 'major'
run: NODE_ENV=production STAGE=production eas build --platform ios --non-interactive --no-wait --auto-submit --resource-class=m1-medium
run: NODE_ENV=production STAGE=production eas build --platform ios --non-interactive --no-wait --auto-submit --resource-class=large
2 changes: 1 addition & 1 deletion .github/workflows/expo-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ jobs:
run: STAGE=staging eas build --profile preview --platform android --non-interactive --no-wait --resource-class=large

- name: Build iOS on EAS
run: STAGE=staging eas build --profile preview --platform ios --non-interactive --no-wait --resource-class=m1-medium
run: STAGE=staging eas build --profile preview --platform ios --non-interactive --no-wait --resource-class=large
1 change: 1 addition & 0 deletions apps/expo/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ NEXT_PUBLIC_KV_REST_API_TOKEN=Ap4mASQgZmRhZDFlNTYtOTViMi00ZDQzLTg3N2ItOWEzYWQwY2
# regarding to Expo, this could increase ANRs slighty but fixes the SplashScreen issue for now
EX_UPDATES_ANDROID_DELAY_LOAD_APP="false"
NEXT_PUBLIC_CROSSMINT_PROJECT_ID=043c259c-878c-49a9-bd86-cf99f583125b
NEXT_PUBLIC_PRIVY_APP_ID=cloh5frel066bld0f0hierlo0
1 change: 1 addition & 0 deletions apps/expo/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ NEXT_PUBLIC_KV_REST_API_TOKEN=Ap4mASQgZmRhZDFlNTYtOTViMi00ZDQzLTg3N2ItOWEzYWQwY2
# regarding to Expo, this could increase ANRs slighty but fixes the SplashScreen issue for now
EX_UPDATES_ANDROID_DELAY_LOAD_APP="false"
NEXT_PUBLIC_CROSSMINT_PROJECT_ID=ebde9457-61c1-469c-98e7-26e209defcaf
NEXT_PUBLIC_PRIVY_APP_ID=cloxslfw104nfjq0fgi5xu14u
2 changes: 0 additions & 2 deletions apps/expo/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,7 @@ const expoConfig: ExpoConfig = {
},
],
"./plugins/with-android-manifest.js",
"./plugins/with-hermes-ios-m1-workaround.js",
"sentry-expo",
"./plugins/with-spotify-sdk.js",
"./plugins/with-android-splash-screen.js",
"./plugins/with-disabled-force-dark-mode.js",
[
Expand Down
2 changes: 2 additions & 0 deletions apps/expo/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ module.exports = function (api) {
let plugins = [
["inline-dotenv", { path: envPath }],
"react-native-reanimated/plugin",
["@babel/plugin-transform-class-properties", { loose: true }],
["@babel/plugin-transform-private-methods", { loose: true }],
[
"module-resolver",
{
Expand Down
2 changes: 2 additions & 0 deletions apps/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"@magic-ext/react-native-expo-oauth": "^8.1.0",
"@magic-sdk/react-native-expo": "^14.1.0",
"@miblanchard/react-native-slider": "^2.3.1",
"@privy-io/expo": "^0.3.0",
"@react-native-async-storage/async-storage": "~1.19.1",
"@react-native-community/blur": "^4.3.2",
"@react-native-community/datetimepicker": "7.4.1",
Expand Down Expand Up @@ -115,6 +116,7 @@
"expo-modules-core": "~1.5.10",
"expo-navigation-bar": "~2.3.0",
"expo-notifications": "~0.20.1",
"expo-secure-store": "~12.3.1",
"expo-sharing": "~11.5.0",
"expo-splash-screen": "~0.20.5",
"expo-status-bar": "~1.6.0",
Expand Down
44 changes: 0 additions & 44 deletions apps/expo/plugins/with-hermes-ios-m1-workaround.js

This file was deleted.

23 changes: 0 additions & 23 deletions apps/expo/plugins/with-spotify-sdk.js

This file was deleted.

4 changes: 2 additions & 2 deletions apps/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@magic-ext/oauth": "^10.1.0",
"@next/bundle-analyzer": "^13.4.13",
"@nissy-dev/swc-plugin-react-native-web": "^0.3.1",
"@privy-io/react-auth": "^1.46.1",
"@radix-ui/react-accordion": "1.1.2",
"@radix-ui/react-hover-card": "^1.0.6",
"@radix-ui/react-popover": "^1.0.6",
Expand Down Expand Up @@ -76,8 +77,7 @@
"swiper": "^10.0.4",
"swr": "^2.2.0",
"twitter-lite": "^1.1.0",
"viem": "^1.17.1",
"wagmi": "^1.4.5"
"viem": "^1.17.1"
},
"devDependencies": {
"@babel/eslint-parser": "^7.22.9",
Expand Down
34 changes: 1 addition & 33 deletions apps/next/src/pages/wagmi-signature-test.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import { ConnectButton } from "@rainbow-me/rainbowkit";
import type { NextPage } from "next";
import { useAccount, useDisconnect, useSignMessage } from "wagmi";

import { Logger } from "app/lib/logger";

const signatureData = {
domain: {
Expand Down Expand Up @@ -55,35 +51,7 @@ const signatureData = {
};

const Home: NextPage = () => {
const { isConnected } = useAccount();
const { disconnect } = useDisconnect();
const { signMessageAsync } = useSignMessage();
Logger.log("is connected :: ", isConnected);
const signMessageAsyncTimeout = async () => {
await fetch("https://my-vercel-functions-six.vercel.app/api?delay=1000");
signMessageAsync({ message: "yo!" });
};

return (
<div>
<main>
{isConnected ? (
<button onClick={() => disconnect()}>Disconnect</button>
) : (
<ConnectButton />
)}
<button
style={{ marginLeft: 10 }}
onClick={() => signMessageAsync({ message: "yo!" })}
>
Sign message
</button>
<button style={{ marginLeft: 10 }} onClick={signMessageAsyncTimeout}>
Sign message async
</button>
</main>
</div>
);
return null;
};

export default Home;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "showtime",
"version": "149.0.26",
"version": "149.0.29",
"private": true,
"license": "MIT",
"devDependencies": {
Expand Down
Loading

0 comments on commit fe8dad9

Please sign in to comment.