-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from jaspermayone/v2
Site V2
- Loading branch information
Showing
98 changed files
with
2,086 additions
and
941 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"extends": "next/core-web-vitals" | ||
"extends": ["next/core-web-vitals", "next/typescript"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const pkg = require("./package.json"); | ||
|
||
// starts a command line process to get the git hash | ||
const commitHash = require("child_process") | ||
.execSync('git log --pretty=format:"%h" -n1') | ||
.toString() | ||
.trim(); | ||
|
||
const fullcommitHash = require("child_process") | ||
.execSync('git log --pretty=format:"%H" -n1') | ||
.toString() | ||
.trim(); | ||
|
||
const commitDate = require("child_process") | ||
.execSync("git log -1 --format=%cd") | ||
.toString() | ||
.trim(); | ||
|
||
const nextConfig = { | ||
// images: { | ||
// remotePatterns: [ | ||
// { | ||
// protocol: "https", | ||
// hostname: "**.scdn.co", | ||
// }, | ||
// { | ||
// protocol: "https", | ||
// hostname: "live.staticflickr.com", | ||
// }, | ||
// ], | ||
// }, | ||
env: { | ||
// add the package.json version and git hash to the environment | ||
APP_VERSION: pkg.version, | ||
COMMIT_HASH: commitHash, | ||
FULL_COMMIT_HASH: fullcommitHash, | ||
COMMIT_DATE: commitDate, | ||
}, | ||
reactStrictMode: true, | ||
}; | ||
|
||
module.exports = nextConfig; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
df99663
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
website – ./
jaspermayonetmp.vercel.app
jaspermayone.com
www.jaspermayone.com
website-jmayone.vercel.app
website-git-main-jmayone.vercel.app