-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert to nextjs and add github oauth
- refactored for nextjs - Oauth for github - eslint cleanups - server side rendering for api calls via nextjs Signed-off-by: Brent Salisbury <[email protected]>
- Loading branch information
Showing
89 changed files
with
6,568 additions
and
18,479 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 |
---|---|---|
|
@@ -19,3 +19,4 @@ dist | |
yarn-error.log | ||
yarn.lock | ||
stats.json | ||
.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,5 +1,10 @@ | ||
IL_UI_ADMIN_USERNAME=admin | ||
IL_UI_ADMIN_PASSWORD=password | ||
IL_UI_API_SERVER_USERNAME=kitteh | ||
IL_UI_API_SERVER_PASSWORD=floofykittens | ||
IL_UI_API_SERVER_URL=http://<PUBLIC_IP>:3000/jobs | ||
IL_UI_API_SERVER_USERNAME= | ||
IL_UI_API_SERVER_PASSWORD= | ||
IL_UI_API_SERVER_URL=http://<IP>:8000 | ||
IL_UI_API_CHAT_URL=http:///<IP>:8000 | ||
GITHUB_ID= | ||
GITHUB_SECRET= | ||
NEXTAUTH_SECRET=<super_secret> | ||
NEXTAUTH_URL=http://<SERVER_ADDRESS>:<PORT> |
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,22 @@ | ||
{ | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"prettier", | ||
"@redhat-cloud-services/eslint-config-redhat-cloud-services", | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:react/recommended", | ||
"next", | ||
"plugin:react-hooks/recommended", | ||
"plugin:@next/next/recommended" | ||
], | ||
"rules": { | ||
"prettier/prettier": "error" | ||
}, | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
} | ||
} | ||
|
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 +1,2 @@ | ||
package.json | ||
.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,4 +1,9 @@ | ||
{ | ||
"printWidth": 150, | ||
"arrowParens": "always", | ||
"semi": true, | ||
"tabWidth": 2, | ||
"singleQuote": true, | ||
"printWidth": 120 | ||
"jsxSingleQuote": false, | ||
"bracketSpacing": true | ||
} |
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,5 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/image-types/global" /> | ||
|
||
// NOTE: This file should not be edited | ||
// see https://nextjs.org/docs/basic-features/typescript for more information. |
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,7 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
reactStrictMode: true, | ||
transpilePackages: ['@patternfly/react-core', '@patternfly/react-styles', '@patternfly/react-table'], | ||
}; | ||
|
||
module.exports = nextConfig; |
Oops, something went wrong.