Skip to content

Commit

Permalink
Release 0.2.0 (#12)
Browse files Browse the repository at this point in the history
* feat: add handlers for task run

* chore: rewriting task run id handling to avoid conflicts

* feat: add taskrun watcher

* feat: enable choregate to keep track of taskRun status

* chore: add taskrun logs handler placeholder

* chore: add task params handler placeholder

* chore: add future handlers comment

* fix: taskrun by id

* feat: add logs handlers

* chore: enabling air and migrating ui to same binary

* fix: gitignore to ignore air temp binary

* feat: new ui placeholder

* feat: add choregate-ui mock to eval api
  • Loading branch information
fandujar authored May 16, 2024
1 parent 33a9ade commit ef5c273
Show file tree
Hide file tree
Showing 38 changed files with 7,923 additions and 115 deletions.
46 changes: 46 additions & 0 deletions .air.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
root = "."
testdata_dir = "testdata"
tmp_dir = "tmp"

[build]
args_bin = []
bin = "./temp/choregate"
cmd = "go build -o ./temp/choregate ./cmd/choregate"
delay = 1000
exclude_dir = ["assets", "tmp", "vendor", "testdata", "choregate-ui/node_modules"]
exclude_file = []
exclude_regex = ["_test.go"]
exclude_unchanged = false
follow_symlink = false
full_bin = ""
include_dir = []
include_ext = ["go", "tpl", "tmpl", "html"]
include_file = []
kill_delay = "0s"
log = "build-errors.log"
poll = false
poll_interval = 0
post_cmd = []
pre_cmd = []
rerun = false
rerun_delay = 500
send_interrupt = false
stop_on_error = false

[color]
app = ""
build = "yellow"
main = "magenta"
runner = "green"
watcher = "cyan"

[log]
main_only = false
time = false

[misc]
clean_on_exit = false

[screen]
clear_on_rebuild = false
keep_scroll = true
30 changes: 29 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# Binaries for programs and plugins
*.exe
*.exe~
Expand All @@ -16,4 +41,7 @@

# Ignore for react project
cmd/choregate/ui/dist
ui/node_modules
ui/node_modules

#Ignore air temp files
temp/
18 changes: 18 additions & 0 deletions choregate-ui/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}
File renamed without changes.
13 changes: 13 additions & 0 deletions choregate-ui/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading

0 comments on commit ef5c273

Please sign in to comment.