Rename frontend directory (#472)
* Rename directory * Cleanup * Recover lost images * remove lint
3
.github/labeler.yml
vendored
@@ -44,9 +44,6 @@ docker:
|
||||
helm-charts:
|
||||
- charts/*
|
||||
|
||||
helm-dashboard-v2:
|
||||
- dashboard/*
|
||||
|
||||
github-actions:
|
||||
- .github/ISSUE_TEMPLATE/*
|
||||
- .github/labeler.yml
|
||||
|
||||
16
.github/workflows/build.yml
vendored
@@ -4,7 +4,6 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- helm-dashboard-v2
|
||||
pull_request:
|
||||
branches:
|
||||
- "*"
|
||||
@@ -25,16 +24,13 @@ jobs:
|
||||
uses: actions/setup-node@v2.5.2
|
||||
with:
|
||||
cache: 'npm'
|
||||
cache-dependency-path: dashboard/package-lock.json
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
- name: NPM install
|
||||
run: npm i
|
||||
working-directory: ./dashboard
|
||||
- name: lint project
|
||||
run: npm run lint
|
||||
working-directory: ./dashboard
|
||||
working-directory: ./frontend
|
||||
- name: NPM build
|
||||
run: npm run build
|
||||
working-directory: ./dashboard
|
||||
working-directory: ./frontend
|
||||
|
||||
# Golang part
|
||||
- name: Set up Go
|
||||
@@ -124,13 +120,13 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: 'npm'
|
||||
cache-dependency-path: ./dashboard/package-lock.json
|
||||
cache-dependency-path: ./frontend/package-lock.json
|
||||
- name: NPM install
|
||||
run: npm i
|
||||
working-directory: ./dashboard
|
||||
working-directory: ./frontend
|
||||
- name: NPM lint
|
||||
run: npm run lint
|
||||
working-directory: ./dashboard
|
||||
working-directory: ./frontend
|
||||
|
||||
- name: Helm Template Check For Sanity
|
||||
uses: igabaydulin/helm-check-action@0.1.4
|
||||
|
||||
@@ -3,7 +3,7 @@ FROM node:latest as frontend
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
COPY dashboard ./
|
||||
COPY frontend ./
|
||||
|
||||
RUN npm i && npm run build
|
||||
|
||||
|
||||
2
Makefile
@@ -21,7 +21,7 @@ build_go: $(BIN) ; $(info $(M) Building GO...) @ ## Build program binary
|
||||
|
||||
.PHONY: build_ui
|
||||
build_ui: $(BIN) ; $(info $(M) Building UI...) @ ## Build program binary
|
||||
cd dashboard && npm i && npm run build && cd ..
|
||||
cd frontend && npm i && npm run build && cd ..
|
||||
|
||||
.PHONY: build
|
||||
build: build_ui build_go ; $(info $(M) Building executable...) @ ## Build program binary
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<p align="center">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="pkg/dashboard/static/logo-header-inverted.svg">
|
||||
<source media="(prefers-color-scheme: light)" srcset="pkg/dashboard/static/logo-header.svg#gh-light-mode-only">
|
||||
<img alt="Helm Dashboard" src="pkg/dashboard/static/logo-header.svg#gh-light-mode-only">
|
||||
<source media="(prefers-color-scheme: dark)" srcset="images/logo-header-inverted.svg">
|
||||
<source media="(prefers-color-scheme: light)" srcset="images/logo-header.svg#gh-light-mode-only">
|
||||
<img alt="Helm Dashboard" src="images/logo-header.svg#gh-light-mode-only">
|
||||
</picture>
|
||||
</p>
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 501 B After Width: | Height: | Size: 501 B |
|
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 731 B After Width: | Height: | Size: 731 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 8.1 KiB |
|
Before Width: | Height: | Size: 827 B After Width: | Height: | Size: 827 B |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |