remove env vars and use simple copy task to switch (#60)
This commit is contained in:
parent
f1c9d2e49e
commit
258b21e334
10 changed files with 145 additions and 35 deletions
2
.env.dev
2
.env.dev
|
@ -1,2 +0,0 @@
|
||||||
BACKEND_URL=http://localhost:8180/auth/admin/
|
|
||||||
SNOWPACK_PUBLIC_FAVICON=favicon.ico
|
|
|
@ -1,2 +0,0 @@
|
||||||
BACKEND_URL=http://prod-url/auth/admin/realms/
|
|
||||||
SNOWPACK_PUBLIC_FAVICON=rh-sso-favicon.ico
|
|
34
Gruntfile.js
34
Gruntfile.js
|
@ -1,19 +1,29 @@
|
||||||
module.exports = function (grunt) {
|
const path = require("path");
|
||||||
|
|
||||||
grunt.loadNpmTasks('grunt-contrib-copy');
|
module.exports = function (grunt) {
|
||||||
|
grunt.loadNpmTasks("grunt-contrib-copy");
|
||||||
|
|
||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
// …
|
// …
|
||||||
copy: {
|
copy: {
|
||||||
files: {
|
main: {
|
||||||
cwd: './node_modules/@patternfly/patternfly/assets/',
|
cwd: "./node_modules/@patternfly/patternfly/assets/",
|
||||||
src: '**/*',
|
src: "**/*",
|
||||||
dest: 'public/assets/',
|
dest: "public/assets/",
|
||||||
expand: true
|
expand: true,
|
||||||
}
|
},
|
||||||
}
|
sso: {
|
||||||
|
expand: true,
|
||||||
|
cwd: "./public/",
|
||||||
|
src: "rh-sso-*",
|
||||||
|
dest: "public",
|
||||||
|
rename: function (dest, matchedSrcPath) {
|
||||||
|
return path.join(dest, matchedSrcPath.substring("rh-sso-".length));
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
grunt.registerTask('default', ['copy']);
|
grunt.registerTask("default", ["copy:main"]);
|
||||||
|
grunt.registerTask("switch-rh-sso", ["copy:sso"]);
|
||||||
};
|
};
|
||||||
|
|
12
README.md
12
README.md
|
@ -23,7 +23,7 @@ For development on this project you will need a running Keycloak server listenin
|
||||||
1. Install dependecies and run:
|
1. Install dependecies and run:
|
||||||
```bash
|
```bash
|
||||||
$> yarn
|
$> yarn
|
||||||
$> yarn start:dev
|
$> yarn start
|
||||||
```
|
```
|
||||||
|
|
||||||
### Additionally there are some nice scripts to format and lint
|
### Additionally there are some nice scripts to format and lint
|
||||||
|
@ -31,4 +31,12 @@ For development on this project you will need a running Keycloak server listenin
|
||||||
```bash
|
```bash
|
||||||
$> yarn format
|
$> yarn format
|
||||||
$> yarn lint
|
$> yarn lint
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To switch to a RH-SSO themed version of this console you can run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$> npx grunt switch-rh-sso
|
||||||
|
```
|
||||||
|
|
||||||
|
To switch back just do a `git checkout public`
|
|
@ -6,8 +6,6 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "grunt",
|
"postinstall": "grunt",
|
||||||
"start": "snowpack dev",
|
"start": "snowpack dev",
|
||||||
"start:dev": "env-cmd -f .env.dev yarn start",
|
|
||||||
"start:rh-sso": "env-cmd -f .env.rh-sso yarn start",
|
|
||||||
"build": "snowpack build",
|
"build": "snowpack build",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
|
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
|
||||||
|
@ -58,7 +56,6 @@
|
||||||
"babel-loader": "^8.1.0",
|
"babel-loader": "^8.1.0",
|
||||||
"decompress": "^4.2.1",
|
"decompress": "^4.2.1",
|
||||||
"decompress-targz": "^4.1.1",
|
"decompress-targz": "^4.1.1",
|
||||||
"env-cmd": "^10.1.0",
|
|
||||||
"enzyme": "^3.11.0",
|
"enzyme": "^3.11.0",
|
||||||
"enzyme-adapter-react-16": "^1.15.3",
|
"enzyme-adapter-react-16": "^1.15.3",
|
||||||
"enzyme-to-json": "^3.5.0",
|
"enzyme-to-json": "^3.5.0",
|
||||||
|
|
10
public/rh-sso-index.css
Normal file
10
public/rh-sso-index.css
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
@import "@patternfly/patternfly/patternfly.min.css";
|
||||||
|
|
||||||
|
.pf-c-brand {
|
||||||
|
height: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
--pf-global--primary-color--100: red;
|
||||||
|
--pf-global--active-color--400: darkred;
|
||||||
|
}
|
101
public/rh-sso-logo.svg
Normal file
101
public/rh-sso-logo.svg
Normal file
|
@ -0,0 +1,101 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||||
|
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||||
|
viewBox="0 0 223.4 12.5" style="enable-background:new 0 0 223.4 12.5;" xml:space="preserve">
|
||||||
|
<style type="text/css">
|
||||||
|
.st0{fill:#FFFFFF;}
|
||||||
|
</style>
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<path class="st0" d="M6.5,12.3l-2-4H3.2v4H0V0.3h5.3c0.7,0,1.3,0.1,1.9,0.2c0.6,0.1,1.1,0.4,1.5,0.7c0.4,0.3,0.7,0.7,0.9,1.2
|
||||||
|
C9.9,2.9,10,3.5,10,4.2c0,0.9-0.2,1.6-0.6,2.2C9,7,8.5,7.4,7.8,7.7l2.4,4.6H6.5z M6.4,3.4C6.1,3.1,5.8,3,5.2,3h-2v2.6h2
|
||||||
|
c0.5,0,0.9-0.1,1.2-0.3c0.2-0.2,0.3-0.6,0.3-1C6.7,3.9,6.6,3.6,6.4,3.4z"/>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path class="st0" d="M12.2,12.3V0.3h9.1v2.8h-5.9v1.6H19v2.7h-3.5v2h6v2.8H12.2z"/>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path class="st0" d="M33.5,9.1c-0.3,0.8-0.7,1.4-1.2,1.9c-0.5,0.5-1.2,0.8-2,1c-0.8,0.2-1.7,0.3-2.8,0.3h-3.9V0.3h4.2
|
||||||
|
c0.9,0,1.8,0.1,2.5,0.3c0.8,0.2,1.4,0.5,1.9,1c0.5,0.5,0.9,1.1,1.2,1.8c0.3,0.7,0.4,1.7,0.4,2.8C33.9,7.3,33.8,8.3,33.5,9.1z
|
||||||
|
M30.4,4.9c-0.1-0.4-0.3-0.7-0.5-1c-0.2-0.2-0.5-0.4-0.9-0.6c-0.4-0.1-0.8-0.2-1.3-0.2h-0.8v6.3h0.7c0.5,0,1-0.1,1.3-0.2
|
||||||
|
c0.4-0.1,0.7-0.3,0.9-0.5c0.2-0.2,0.4-0.6,0.5-1c0.1-0.4,0.2-0.9,0.2-1.5C30.5,5.7,30.5,5.3,30.4,4.9z"/>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path class="st0" d="M48,12.3V7.6h-3.7v4.7h-3.4V0.3h3.4v4.4H48V0.3h3.4v11.9H48z"/>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path class="st0" d="M61.5,12.3l-0.6-2.1h-3.6l-0.6,2.1h-3.5l4.3-11.9h3.3l4.3,11.9H61.5z M59.8,6.7c-0.1-0.4-0.2-0.7-0.3-1
|
||||||
|
c-0.1-0.3-0.2-0.5-0.2-0.8c-0.1-0.2-0.1-0.4-0.2-0.6c0-0.2-0.1-0.4-0.1-0.6C59,4,59,4.2,58.9,4.4c0,0.2-0.1,0.4-0.2,0.6
|
||||||
|
c-0.1,0.2-0.1,0.5-0.2,0.8c-0.1,0.3-0.2,0.6-0.3,1l-0.2,0.8h2L59.8,6.7z"/>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path class="st0" d="M71.3,3.2v9.1H68V3.2h-3.3V0.3h10v2.9H71.3z"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path class="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1s0.8-1.6,0.8-2.8S208.4,4.1,207.9,3.4z"/>
|
||||||
|
<path class="st0" d="M221.2,12.3l-4.4-6.6c-0.2-0.2-0.3-0.5-0.5-0.7c-0.2-0.3-0.3-0.5-0.4-0.6c0,0.1,0,0.3,0,0.5
|
||||||
|
c0,0.2,0,0.5,0,0.7c0,0.3,0,0.5,0,0.8c0,0.3,0,0.5,0,0.6v5.3h-2.4V0.2h2.3l4.3,6.4c0.1,0.2,0.3,0.5,0.5,0.7
|
||||||
|
c0.2,0.3,0.3,0.5,0.4,0.6c0-0.1,0-0.3,0-0.5c0-0.2,0-0.5,0-0.7c0-0.3,0-0.5,0-0.8c0-0.3,0-0.5,0-0.6V0.2h2.4v12.1H221.2z"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 8.2 KiB |
|
@ -1,7 +1,7 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: "@snowpack/app-scripts-react",
|
extends: "@snowpack/app-scripts-react",
|
||||||
proxy: {
|
proxy: {
|
||||||
"/admin": process.env.BACKEND_URL,
|
"/admin": "http://localhost:8180/auth/admin/",
|
||||||
},
|
},
|
||||||
plugins: ["@snowpack/plugin-postcss", "@snowpack/plugin-webpack"],
|
plugins: ["@snowpack/plugin-postcss", "@snowpack/plugin-webpack"],
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,7 +23,3 @@ init().then((keycloak) => {
|
||||||
document.getElementById("app")
|
document.getElementById("app")
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
(document.getElementById("favicon") as HTMLAnchorElement).href = `${
|
|
||||||
import.meta.env.SNOWPACK_PUBLIC_FAVICON
|
|
||||||
}`;
|
|
||||||
|
|
10
yarn.lock
10
yarn.lock
|
@ -6985,7 +6985,7 @@ commander@^2.11.0, commander@^2.19.0, commander@^2.20.0, commander@^2.8.1:
|
||||||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
|
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
|
||||||
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
|
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
|
||||||
|
|
||||||
commander@^4.0.0, commander@^4.1.1:
|
commander@^4.0.1, commander@^4.1.1:
|
||||||
version "4.1.1"
|
version "4.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068"
|
resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068"
|
||||||
integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==
|
integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==
|
||||||
|
@ -8272,14 +8272,6 @@ entities@^2.0.0:
|
||||||
resolved "https://registry.yarnpkg.com/entities/-/entities-2.0.3.tgz#5c487e5742ab93c15abb5da22759b8590ec03b7f"
|
resolved "https://registry.yarnpkg.com/entities/-/entities-2.0.3.tgz#5c487e5742ab93c15abb5da22759b8590ec03b7f"
|
||||||
integrity sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ==
|
integrity sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ==
|
||||||
|
|
||||||
env-cmd@^10.1.0:
|
|
||||||
version "10.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/env-cmd/-/env-cmd-10.1.0.tgz#c7f5d3b550c9519f137fdac4dd8fb6866a8c8c4b"
|
|
||||||
integrity sha512-mMdWTT9XKN7yNth/6N6g2GuKuJTsKMDHlQFUDacb/heQRRWOTIZ42t1rMHnQu4jYxU1ajdTeJM+9eEETlqToMA==
|
|
||||||
dependencies:
|
|
||||||
commander "^4.0.0"
|
|
||||||
cross-spawn "^7.0.0"
|
|
||||||
|
|
||||||
enzyme-adapter-react-16@^1.15.3:
|
enzyme-adapter-react-16@^1.15.3:
|
||||||
version "1.15.3"
|
version "1.15.3"
|
||||||
resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.15.3.tgz#90154055be3318d70a51df61ac89cfa22e3d5f60"
|
resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.15.3.tgz#90154055be3318d70a51df61ac89cfa22e3d5f60"
|
||||||
|
|
Loading…
Reference in a new issue