From c4a32b6571c5dbc7dde4c43aa18cac2797f52cd6 Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Fri, 16 Jul 2021 10:59:46 +0200 Subject: [PATCH] Upgrade to Snowpack 3 (#839) --- .github/pull_request_template.md | 1 - .gitignore | 8 +- Gruntfile.js | 29 - README.md | 60 +- babel.config.json | 4 - keycloak-theme/pom.xml | 6 +- package-lock.json | 11597 ++-------------- package.json | 16 +- .../icons => public}/bitbucket-brands.svg | 0 .../icons => public}/instagram-brands.svg | 0 .../icons => public}/microsoft-brands.svg | 0 .../icons => public}/paypal-brands.svg | 0 public/rh-sso-index.css | 10 - snowpack.config.js | 18 - snowpack.config.mjs | 47 + .../icons/FontAwesomeIcon.tsx | 32 +- {public => src}/index.css | 0 src/index.tsx | 1 + {public => themes/keycloak}/favicon.ico | Bin {public => themes/keycloak}/index.html | 19 +- {public => themes/keycloak}/logo.svg | 0 .../rh-sso/favicon.ico | Bin themes/rh-sso/index.html | 85 + .../rh-sso-logo.svg => themes/rh-sso/logo.svg | 0 24 files changed, 1325 insertions(+), 10608 deletions(-) delete mode 100644 Gruntfile.js delete mode 100644 babel.config.json rename {src/identity-providers/icons => public}/bitbucket-brands.svg (100%) rename {src/identity-providers/icons => public}/instagram-brands.svg (100%) rename {src/identity-providers/icons => public}/microsoft-brands.svg (100%) rename {src/identity-providers/icons => public}/paypal-brands.svg (100%) delete mode 100644 public/rh-sso-index.css delete mode 100644 snowpack.config.js create mode 100644 snowpack.config.mjs rename {public => src}/index.css (100%) rename {public => themes/keycloak}/favicon.ico (100%) rename {public => themes/keycloak}/index.html (74%) rename {public => themes/keycloak}/logo.svg (100%) rename public/rh-sso-favicon.ico => themes/rh-sso/favicon.ico (100%) create mode 100644 themes/rh-sso/index.html rename public/rh-sso-logo.svg => themes/rh-sso/logo.svg (100%) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 873131a174..8efd54b4ce 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -25,7 +25,6 @@ new functionality can follow them, such as QE or documentation. - [ ] Help has been implemented - [ ] axe report has been run and resulting a11y issues have been resolved - [ ] Unit tests have been created/updated -- [ ] Formatting has been performed via prettier/eslint ## Additional Notes + To begin the development, run `npm start`. + To create a production bundle, use `npm run build`. + --> \ No newline at end of file diff --git a/public/logo.svg b/themes/keycloak/logo.svg similarity index 100% rename from public/logo.svg rename to themes/keycloak/logo.svg diff --git a/public/rh-sso-favicon.ico b/themes/rh-sso/favicon.ico similarity index 100% rename from public/rh-sso-favicon.ico rename to themes/rh-sso/favicon.ico diff --git a/themes/rh-sso/index.html b/themes/rh-sso/index.html new file mode 100644 index 0000000000..ffd380afee --- /dev/null +++ b/themes/rh-sso/index.html @@ -0,0 +1,85 @@ + + + + + + + + + Red Hat Single Sign-On Administration Console + + + + + +
+
+
+ + + + + +
+

Loading the admin console

+
+
+
+
+ + + + + + + \ No newline at end of file diff --git a/public/rh-sso-logo.svg b/themes/rh-sso/logo.svg similarity index 100% rename from public/rh-sso-logo.svg rename to themes/rh-sso/logo.svg