Skip to content

Commit

Permalink
fix(infra): moving stampMetadata generation before build for updated …
Browse files Browse the repository at this point in the history
…nextjs (passportxyz#1917)
  • Loading branch information
lucianHymer authored Nov 16, 2023
1 parent 04bdb67 commit fa22d78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"version": "1.0.0",
"scripts": {
"start": "NEXT_PUBLIC_GIT_COMMIT_HASH=$(git rev-parse --short HEAD) next dev -p 3000",
"export": "NEXT_PUBLIC_GIT_COMMIT_HASH=$(git rev-parse --short HEAD) next build && ts-node ./scripts/postBuild.ts && next export",
"build": "NEXT_PUBLIC_GIT_COMMIT_HASH=$(git rev-parse --short HEAD) next build && ts-node ./scripts/postBuild.ts",
"export": "ts-node ./scripts/preBuild.ts && NEXT_PUBLIC_GIT_COMMIT_HASH=$(git rev-parse --short HEAD) next build && next export",
"build": " ts-node ./scripts/preBuild.ts && NEXT_PUBLIC_GIT_COMMIT_HASH=$(git rev-parse --short HEAD) next build",
"prod-start": "NEXT_PUBLIC_GIT_COMMIT_HASH=$(git rev-parse --short HEAD) next start",
"clean": "rimraf node_modules && rimraf .next",
"lint": "next lint && prettier --check .",
Expand Down
File renamed without changes.

0 comments on commit fa22d78

Please sign in to comment.