update deployment build command (#658)

This commit is contained in:
Felicio
2025-05-21 22:35:26 +09:00
committed by GitHub
parent 852dbee1e0
commit 610315e7ec
14 changed files with 53 additions and 52 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'portfolio': patch
---
update deployment build command
+5
View File
@@ -0,0 +1,5 @@
---
'api': minor
---
update deployment build command
+5
View File
@@ -0,0 +1,5 @@
---
'@status-im/wallet': patch
---
update .env
+3 -2
View File
@@ -1,5 +1,6 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"installCommand": "pnpm install --frozen-lockfile",
"buildCommand": "pnpm build"
"ignoreCommand": "git diff --quiet HEAD^ HEAD ../../{patches,package.json,turbo.json} ../../packages/wallet ./",
"installCommand": "pnpm install --dir ../../ --frozen-lockfile",
"buildCommand": "turbo run build --cwd ../../ --filter=api..."
}
-1
View File
@@ -143,7 +143,6 @@ let config = {
'@status-im/icons',
'@status-im/components',
'@status-im/colors',
'@status-im/js',
'@status-im/wallet',
// why: https://github.com/hashicorp/next-mdx-remote/issues/467#issuecomment-2432166413
'next-mdx-remote',
-1
View File
@@ -42,7 +42,6 @@
"@status-im/components": "workspace:*",
"@status-im/wallet": "workspace:*",
"@status-im/icons": "workspace:*",
"@status-im/js": "workspace:*",
"@tanstack/query-core": "5.29.0",
"@tanstack/react-query": "5.29.0",
"@tanstack/react-query-devtools": "5.29.0",
+3 -2
View File
@@ -1,5 +1,6 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"installCommand": "pnpm install --frozen-lockfile",
"buildCommand": "pnpm build"
"ignoreCommand": "git diff --quiet HEAD^ HEAD ../../{patches,package.json,turbo.json} ../../packages/{colors,icons,components,wallet} ./",
"installCommand": "pnpm install --dir ../../ --frozen-lockfile",
"buildCommand": "turbo run build --cwd ../../ --filter=portfolio..."
}
+1 -5
View File
@@ -1,5 +1 @@
# todo: expose APIs behind a proxy
WXT_ETHERSCAN_API_KEY=""
WXT_GETBLOCK_API_KEY=""
WXT_MEMPOOL_API_KEY=""
WXT_SOLANA_API_KEY=""
WXT_STATUS_API_URL="http://localhost:3030"
+2 -1
View File
@@ -4,7 +4,8 @@
interface ImportMeta {
readonly env: {
readonly GETBLOCK_API_KEY: string
readonly WXT_STATUS_API_URL: string
readonly WXT_GETBLOCK_API_KEY: string
readonly WXT_ETHERSCAN_API_KEY: string
}
}
+2 -2
View File
@@ -1,7 +1,7 @@
// Service/Provider
export async function getUtxos(fromAccount: string) {
const getBlockUrl = `https://go.getblock.io/${import.meta.env.GETBLOCK_API_KEY}`
const getBlockUrl = `https://go.getblock.io/${import.meta.env.WXT_GETBLOCK_API_KEY}`
const response = await fetch(getBlockUrl, {
method: 'POST',
headers: {
@@ -26,7 +26,7 @@ export async function getUtxos(fromAccount: string) {
export async function broadcastTransaction(
signedTxHex: string,
): Promise<string> {
const getBlockUrl = `https://go.getblock.io/${import.meta.env.GETBLOCK_API_KEY}`
const getBlockUrl = `https://go.getblock.io/${import.meta.env.WXT_GETBLOCK_API_KEY}`
const response = await fetch(getBlockUrl, {
method: 'POST',
+3 -1
View File
@@ -30,7 +30,9 @@ function RouteComponent() {
const { data: assets, isLoading } = useQuery({
queryKey: ['assets'],
queryFn: async () => {
const url = new URL('http://localhost:3030/api/trpc/assets.all')
const url = new URL(
`${import.meta.env.WXT_STATUS_API_URL}/api/trpc/assets.all`,
)
url.searchParams.set(
'input',
// encodeURIComponent(
-34
View File
@@ -8,42 +8,8 @@
"**/*.json"
],
"compilerOptions": {
// "composite": true,
"jsx": "preserve",
"outDir": "./dist",
"incremental": true,
"module": "ES2020",
"moduleResolution": "Bundler",
"target": "ESNext",
"declaration": true,
"declarationMap": true,
// "emitDeclarationOnly": true,
"sourceMap": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
// "noEmit": true,
// strictness
"strict": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
// "exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
// "noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
// "noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"skipLibCheck": true,
"pretty": true,
// "noErrorTruncation": true,
"resolveJsonModule": true,
"allowJs": true,
"plugins": [{ "name": "next" }]
},
-3
View File
@@ -315,9 +315,6 @@ importers:
'@status-im/icons':
specifier: workspace:*
version: link:../../packages/icons
'@status-im/js':
specifier: workspace:*
version: link:../../packages/status-js
'@status-im/wallet':
specifier: workspace:*
version: link:../../packages/wallet
+24
View File
@@ -6,6 +6,30 @@
"build": {
"dependsOn": ["^build"]
},
"./packages/colors#build": {
"outputs": ["dist/**"]
},
"./packages/icons#build": {
"outputs": ["dist/**"]
},
"./packages/components#build": {
"dependsOn": ["colors#build", "icons#build"],
"outputs": ["dist/**", "storybook-static/**"]
},
"./packages/wallet#build": {
"dependsOn": ["components#build"],
"outputs": ["dist/**"]
},
"./apps/wallet#build": {
"dependsOn": ["wallet#build"],
"outputs": [".output/**"]
},
"./apps/portfolio#build": {
"dependsOn": ["wallet#build"]
},
"./apps/api#build": {
"dependsOn": ["wallet#build"]
},
"dev": {
"cache": false
},