From 7588c515981e589af5809cd990a44bdd812afc9e Mon Sep 17 00:00:00 2001 From: Wagalidoom Date: Tue, 14 Jan 2025 10:39:49 +0100 Subject: [PATCH 1/2] feat: upgrade static script --- packages/app/next.config.js | 1 + packages/app/package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/app/next.config.js b/packages/app/next.config.js index a843cbe..42c10fd 100644 --- a/packages/app/next.config.js +++ b/packages/app/next.config.js @@ -1,5 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + output: 'export', reactStrictMode: true, } diff --git a/packages/app/package.json b/packages/app/package.json index b193a19..f624755 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -7,7 +7,7 @@ "start": "next start", "lint": "next lint", "format": "prettier '(components|pages)/**/*.(ts|tsx)' -w", - "static": "next build && next export" + "static": "next build" }, "dependencies": { "@gnosis.pm/safe-apps-provider": "^0.9.3", From 12d146f344495c9babe16016038989793c6baf6b Mon Sep 17 00:00:00 2001 From: Wagalidoom Date: Tue, 14 Jan 2025 10:41:40 +0100 Subject: [PATCH 2/2] feat: upgrade workflow --- .github/workflows/web-ci.yml | 2 +- packages/app/package.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/web-ci.yml b/.github/workflows/web-ci.yml index 0902584..d119904 100644 --- a/.github/workflows/web-ci.yml +++ b/.github/workflows/web-ci.yml @@ -40,7 +40,7 @@ jobs: run: yarn install - name: Build website - run: yarn static + run: yarn build - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 diff --git a/packages/app/package.json b/packages/app/package.json index f624755..72cce1d 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -6,8 +6,7 @@ "build": "next build", "start": "next start", "lint": "next lint", - "format": "prettier '(components|pages)/**/*.(ts|tsx)' -w", - "static": "next build" + "format": "prettier '(components|pages)/**/*.(ts|tsx)' -w" }, "dependencies": { "@gnosis.pm/safe-apps-provider": "^0.9.3",