Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions echo/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,17 @@
"customizations": {
"vscode": {
"extensions": [
"esbenp.prettier-vscode",
"YoavBls.pretty-ts-errors",
"bradlc.vscode-tailwindcss",
"ms-python.python",
"charliermarsh.ruff",
"matangover.mypy",
"ms-azuretools.vscode-docker",
"dbaeumer.vscode-eslint",
"mhutchie.git-graph",
"cweijan.vscode-postgresql-client2",
"github.vscode-pull-request-github",
"nguyenngoclong.terminal-keeper",
"biomejs.biome",
// for cursor specifically lol
"anysphere.cursorpyright"
]
Expand Down
138 changes: 69 additions & 69 deletions echo/.vscode/sessions.json
Original file line number Diff line number Diff line change
@@ -1,72 +1,72 @@
{
"$schema": "https://cdn.statically.io/gh/nguyenngoclongdev/cdn/main/schema/v11/terminal-keeper.json",
"theme": "tribe",
"active": "default",
"keepExistingTerminals": false,
"sessions": {
"default": [
{
"autoExecuteCommands": true,
"name": "server",
"icon": "server",
"commands": [
"cd server",
"source .venv/bin/activate",
"./run.sh"
"$schema": "https://cdn.statically.io/gh/nguyenngoclongdev/cdn/main/schema/v11/terminal-keeper.json",
"theme": "tribe",
"active": "default",
"keepExistingTerminals": false,
"sessions": {
"default": [
{
"autoExecuteCommands": true,
"name": "server",
"icon": "server",
"commands": [
"cd server",
"source .venv/bin/activate",
"./run.sh"
]
},
[
{
"autoExecuteCommands": true,
"name": "workers",
"icon": "gear",
"commands": [
"cd server",
"source .venv/bin/activate",
"./run-worker.sh"
]
},
{
"autoExecuteCommands": true,
"name": "workers-cpu",
"icon": "gear",
"commands": [
"cd server",
"source .venv/bin/activate",
"./run-worker-cpu.sh"
]
},
{
"autoExecuteCommands": true,
"name": "scheduler",
"icon": "clock",
"commands": [
"cd server",
"source .venv/bin/activate",
"./run-scheduler.sh"
]
}
],
[
{
"autoExecuteCommands": true,
"name": "admin-dashboard",
"icon": "browser",
"commands": [
"cd frontend",
"pnpm run dev"
]
},
{
"autoExecuteCommands": true,
"name": "participant-portal",
"icon": "browser",
"commands": [
"cd frontend",
"pnpm run participant:dev"
]
}
]
]
},
[
{
"autoExecuteCommands": true,
"name": "workers",
"icon": "gear",
"commands": [
"cd server",
"source .venv/bin/activate",
"./run-worker.sh"
]
},
{
"autoExecuteCommands": true,
"name": "workers-cpu",
"icon": "gear",
"commands": [
"cd server",
"source .venv/bin/activate",
"./run-worker-cpu.sh"
]
},
{
"autoExecuteCommands": true,
"name": "scheduler",
"icon": "clock",
"commands": [
"cd server",
"source .venv/bin/activate",
"./run-scheduler.sh"
]
}
],
[
{
"autoExecuteCommands": true,
"name": "admin-dashboard",
"icon": "browser",
"commands": [
"cd frontend",
"pnpm run dev"
]
},
{
"autoExecuteCommands": true,
"name": "participant-portal",
"icon": "browser",
"commands": [
"cd frontend",
"pnpm run participant:dev"
]
}
]
]
}
}
}
17 changes: 12 additions & 5 deletions echo/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,20 @@
"python.testing.autoTestDiscoverOnSaveEnabled": true,
// ts
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.defaultFormatter": "biomejs.biome",
"editor.formatOnSave": true,
"editor.useTabStops": true
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.useTabStops": true
"editor.defaultFormatter": "biomejs.biome",
"editor.useTabStops": true,
"editor.formatOnSave": true
},
"eslint.enable": true,
"eslint.lintTask.options": "-c /workspaces/echo/frontend/.eslintrc"
"biome.enabled": true,
"biome.lsp.bin": "frontend/node_modules/.bin/biome",
"biome.configurationPath": "frontend/biome.json",
"editor.codeActionsOnSave": {
"source.fixAll.biome": "always",
"source.action.organizeImports.biome": "always"
}
}
8 changes: 8 additions & 0 deletions echo/check-later.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- prod worker cpu using watch
- in the regular worker removed watch
- 8001? let's use devcontainers
- many local imports python
- pr size
- dockerfile update

- can probably run ruff / mypy in parallel
37 changes: 37 additions & 0 deletions echo/frontend/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false
},
"formatter": {
"enabled": true,
"indentStyle": "tab"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"useUniqueElementIds": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
}
}
1 change: 1 addition & 0 deletions echo/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
"@biomejs/biome": "^2.2.4",
"@lingui/babel-plugin-lingui-macro": "^5.3.0",
"@lingui/cli": "^5.3.0",
"@lingui/swc-plugin": "^5.5.1",
Expand Down
Loading
Loading