mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
Signed-off-by: alexrecuenco <26118630+alexrecuenco@users.noreply.github.com> Signed-off-by: Alex Recuenco <26118630+alexrecuenco@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| __mocks__ | ||
| dist/app | ||
| scripts | ||
| src | ||
| .babelrc | ||
| .dockerignore | ||
| .gitignore | ||
| .jshintrc | ||
| .nvmrc | ||
| .prettierrc | ||
| babel.config.js | ||
| embed.go | ||
| eslint.config.mjs | ||
| jest.config.js | ||
| jest.setup.js | ||
| LICENSE | ||
| osv-scanner.toml | ||
| OWNERS | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| tsconfig.json | ||
Argo CD UI
Web UI for Argo CD.
Getting started
- Install NodeJS and pnpm. On macOS with Homebrew, running
brew install node pnpmwill accomplish this. - Run
pnpm install --frozen-lockfileto install local prerequisites. - Run
pnpm startto launch the webpack dev UI server. - Run
pnpm buildto bundle static resources into the./distdirectory.
To build a Docker image, run IMAGE_NAMESPACE=yourimagerepo IMAGE_TAG=latest pnpm docker.
To do the same and push to a Docker registry, run IMAGE_NAMESPACE=yourimagerepo IMAGE_TAG=latest DOCKER_PUSH=true pnpm docker.
Pre-commit Checks
Make sure your code passes the lint checks:
pnpm lint --fix
If you are using VSCode, add this configuration to .vscode/settings.json in the root of this repository to identify and fix lint issues automatically before you save file.
Install Eslint Extension in VSCode.
.vscode/settings.json
{
"eslint.format.enable": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
},
"eslint.workingDirectories": [
{
"directory": "./ui",
"!cwd": false
}
],
"eslint.useFlatConfig": true
}