-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
609e4b5
commit d347b7d
Showing
12 changed files
with
45 additions
and
12 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 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 @@ | ||
[build] | ||
command = "npm install && npm run build" | ||
publish = "out" | ||
publish = ".next" |
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,9 +1,39 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
output: "export", | ||
images: { | ||
unoptimized: true, | ||
}, | ||
redirects: async () => { | ||
return [ | ||
{ | ||
source: "/", | ||
destination: "https://keeper.farirpgs.com", | ||
permanent: false, | ||
}, | ||
{ | ||
source: "/browse", | ||
destination: "https://keeper.farirpgs.com", | ||
permanent: false, | ||
}, | ||
{ | ||
source: "/creators/:creatorSlug", | ||
destination: "https://keeper.farirpgs.com/creators/:creatorSlug", | ||
permanent: false, | ||
}, | ||
{ | ||
source: "/creators/:creatorSlug/projects/:projectSlug", | ||
destination: | ||
"https://keeper.farirpgs.com/resources/:creatorSlug/:projectSlug", | ||
permanent: false, | ||
}, | ||
{ | ||
source: "/creators/:creatorSlug/projects/:projectSlug/:pageSlug", | ||
destination: | ||
"https://keeper.farirpgs.com/resources/:creatorSlug/:projectSlug/:pageSlug", | ||
permanent: false, | ||
}, | ||
]; | ||
}, | ||
}; | ||
|
||
module.exports = nextConfig; |
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,17 +1,19 @@ | ||
{ | ||
"name": "fari-community", | ||
"version": "1.0.0", | ||
"description": "", | ||
"engines": { | ||
"node": ">=20.0.0" | ||
}, | ||
"main": "index.js", | ||
"scripts": { | ||
"dev": "next dev", | ||
"build": "next build", | ||
"start": "next start", | ||
"lint": "next lint", | ||
"preview": "bun build && bun deploy:preview", | ||
"beta": "bun build && bun deploy:preview -- --alias beta", | ||
"alpha": "bun build && bun deploy:preview -- --alias alpha", | ||
"prod": "bun build && bun deploy:preview -- --prod", | ||
"preview": "bun run build && bun deploy:preview", | ||
"beta": "bun run build && bun deploy:preview -- --alias beta", | ||
"alpha": "bun run build && bun deploy:preview -- --alias alpha", | ||
"prod": "bun run build && bun deploy:preview -- --prod", | ||
"deploy:preview": "netlify deploy --site b106e8c1-1ca6-4da3-84d7-d06d7fe1ec68", | ||
"deploy:prod": "netlify deploy --site b106e8c1-1ca6-4da3-84d7-d06d7fe1ec68 --prod", | ||
"prepare": "husky install" | ||
|
@@ -52,5 +54,6 @@ | |
"@types/remarkable": "^2.0.4", | ||
"autoprefixer": "^10.4.16", | ||
"postcss": "^8.4.31" | ||
} | ||
}, | ||
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" | ||
} |