Skip to content

Commit 2a7e299

Browse files
committed
disable vercel widget builds and add mobile build scripts
1 parent ffe2131 commit 2a7e299

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

apps/widget/vercel.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"buildCommand": "pnpm build",
33
"outputDirectory": "dist",
4+
"git": {
5+
"deploymentEnabled": false
6+
},
47
"headers": [
58
{
69
"source": "/(.*)",

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
"build": "pnpm run --filter './apps/*' build",
1515
"build:web": "pnpm --filter @opencom/web build",
1616
"build:widget": "bash scripts/build-widget-for-tests.sh",
17+
"build:mobile:android": "cd apps/mobile && ANDROID_HOME=/Users/jack/Library/Android/sdk eas build --platform android --local",
18+
"build:mobile:ios": "cd apps/mobile && eas build --platform ios --local",
1719
"build:landing": "pnpm --filter @opencom/landing build",
1820
"build:sdk-core": "pnpm --filter @opencom/sdk-core build",
1921
"build:rn-sdk": "pnpm --filter @opencom/react-native-sdk build",
@@ -43,7 +45,8 @@
4345
"test:clear": "node scripts/test-summary.js clear",
4446
"test:e2e:prod": "E2E_USE_PROD_BUILD=true pn web:test:e2e",
4547
"seed:landing": "pnpm dlx dotenv-cli -e apps/landing/.env.local -- tsx scripts/seed-landing-demo.ts",
46-
"seed:landing:cleanup": "pnpm dlx dotenv-cli -e apps/landing/.env.local -- tsx scripts/seed-landing-demo.ts --cleanup"
48+
"seed:landing:cleanup": "pnpm dlx dotenv-cli -e apps/landing/.env.local -- tsx scripts/seed-landing-demo.ts --cleanup",
49+
"export:landing:md": "tsx scripts/export-landing-content-to-md.ts"
4750
},
4851
"devDependencies": {
4952
"@playwright/test": "^1.52.0",

0 commit comments

Comments
 (0)