harbor/src/portal
Shijun Sun 2361ae161f
Upgrade Angular and Clarity to the latest version (#18059)
Upgrade Angular and Clarity
  1.Upgrade related libraries
  2.Fix breaking changes

Signed-off-by: AllForNothing <sshijun@vmware.com>

Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-01-05 10:42:59 +08:00
..
app-swagger-ui Change title for Swagger UI (#17451) 2022-08-24 16:00:26 +08:00
docker-build Refactor swagger ui (#17428) 2022-08-23 12:03:45 +08:00
e2e Add style lint and add code lint to the pipeline (#16954) 2022-06-08 16:35:19 +08:00
scripts Remove preload for theme css files (#17468) 2022-08-29 11:32:41 +08:00
server Fix message processing issue (#17609) 2022-09-29 11:12:11 +08:00
src Upgrade Angular and Clarity to the latest version (#18059) 2023-01-05 10:42:59 +08:00
.eslintrc.json Fix message processing issue (#17609) 2022-09-29 11:12:11 +08:00
.prettierignore migrate tslint to eslint (#16856) 2022-05-13 16:00:45 +08:00
.prettierrc.json migrate tslint to eslint (#16856) 2022-05-13 16:00:45 +08:00
.stylelintrc.json Refactor swagger ui (#17428) 2022-08-23 12:03:45 +08:00
angular.json Upgrade Angular and Clarity to the latest version (#18059) 2023-01-05 10:42:59 +08:00
karma.conf.js Undate Angular to the latest version (#15129) 2021-06-16 16:39:10 +08:00
package-lock.json Upgrade Angular and Clarity to the latest version (#18059) 2023-01-05 10:42:59 +08:00
package.json Upgrade Angular and Clarity to the latest version (#18059) 2023-01-05 10:42:59 +08:00
PACKAGE.md Upgrade Angular and Clarity to the latest version (#18059) 2023-01-05 10:42:59 +08:00
protractor.config.js Add container for harbor-portal 2018-09-07 13:20:08 +08:00
README.md Simplify proxy config (#17548) 2022-09-22 11:40:04 +08:00
tsconfig.app.json Upgrade Angular and Clarity to the latest version (#18059) 2023-01-05 10:42:59 +08:00
tsconfig.json Upgrade Angular and Clarity to the latest version (#18059) 2023-01-05 10:42:59 +08:00
tsconfig.spec.json Upgrade Angular and Clarity to the latest version (#18059) 2023-01-05 10:42:59 +08:00

Harbor UI

Harbor UI

This is the project based on Clarity and Angular to build Harbor UI.

Start

  1. npm install (should trigger 'npm postinstall')
  2. npm run postinstall (if not triggered, manually run this step)
  3. create "proxy.config.json" file with below content under "portal" directory, and replace "hostname" with an available Harbor hostname
  4. npm run start
  5. open your browser on https://localhost:4200
[
  {
    "context": [
      "/api",
      "/c",
      "/i18n",
      "/chartrepo",
      "/LICENSE",
      "/swagger.json",
      "/swagger2.json",
      "/devcenter-api-2.0",
      "/swagger-ui.bundle.js"
    ],
    "target": "https://hostname",
    "secure": false,
    "changeOrigin": true,
    "logLevel": "debug"
  }
]