Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfixes to tilt setup, upgrades to dashboard-ui dependencies #133

Merged
merged 2 commits into from
Oct 22, 2024
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
14 changes: 7 additions & 7 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ load('ext://restart_process', 'docker_build_with_restart')
# kubetail-agent
local_resource(
'kubetail-agent-compile',
'cd backend && CGO_ENABLED=0 GOOS=linux go build -o ../.tilt/agent ./agent/cmd/main.go',
'cd modules && CGO_ENABLED=0 GOOS=linux go build -o ../.tilt/agent ./agent/cmd/main.go',
deps=[
'./backend/agent',
'./backend/common'
'./modules/agent',
'./modules/common'
]
)

Expand All @@ -26,10 +26,10 @@ docker_build_with_restart(
# kubetail-server
local_resource(
'kubetail-server-compile',
'cd backend && CGO_ENABLED=0 GOOS=linux go build -o ../.tilt/server ./server/cmd/main.go',
'cd modules && CGO_ENABLED=0 GOOS=linux go build -o ../.tilt/server ./server/cmd/main.go',
deps=[
'./backend/server',
'./backend/common'
'./modules/server',
'./modules/common'
]
)

Expand Down Expand Up @@ -69,7 +69,7 @@ k8s_resource(

k8s_resource(
'kubetail-server',
port_forwards='4000:4000',
port_forwards='7500:4000',
objects=[
'kubetail-server:clusterrole',
'kubetail-server:clusterrolebinding',
Expand Down
2 changes: 1 addition & 1 deletion dashboard-ui/codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import { CodegenConfig } from '@graphql-codegen/cli';

const config: CodegenConfig = {
schema: '../backend/server/graph/schema.graphqls',
schema: '../modules/server/graph/schema.graphqls',
documents: ['./src/**/*.{ts,tsx}'],
generates: {
'./src/lib/graphql/__generated__/': {
Expand Down
32 changes: 16 additions & 16 deletions dashboard-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"async-mutex": "^0.5.0",
"clsx": "^2.1.1",
"date-fns": "^3.6.0",
"date-fns-tz": "^3.1.3",
"date-fns-tz": "^3.2.0",
"distinct-colors": "^3.0.0",
"fancy-ansi": "^0.1.2",
"graphql": "^16.9.0",
Expand All @@ -36,28 +36,28 @@
"react-window": "^1.8.10",
"react-window-infinite-loader": "^1.0.9",
"recoil": "^0.7.7",
"tailwind-merge": "^2.4.0",
"tailwind-merge": "^2.5.4",
"usehooks-ts": "^3.1.0"
},
"devDependencies": {
"@apollo/react-testing": "^4.0.0",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/client-preset": "^4.3.2",
"@graphql-codegen/cli": "^5.0.3",
"@graphql-codegen/client-preset": "^4.4.0",
"@graphql-codegen/fragment-matcher": "^5.0.2",
"@graphql-typed-document-node/core": "^3.2.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^15.0.7",
"@types/node": "^20.14.10",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^16.0.1",
"@types/node": "^22.7.8",
"@types/numeral": "^2.0.5",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"@types/react-timeago": "^4.1.7",
"@types/react-window": "^1.8.8",
"@types/react-window-infinite-loader": "^1.0.9",
"@types/zen-observable": "^0.8.7",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitejs/plugin-react": "^4.3.3",
"@vitest/coverage-v8": "1.6.0",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
Expand All @@ -68,15 +68,15 @@
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.8",
"history": "^5.3.0",
"jsdom": "^24.1.0",
"jsdom": "^25.0.1",
"postcss": "^8.4.39",
"react-router-dom": "^6.24.1",
"react-router-dom": "^6.27.0",
"rollup-plugin-visualizer": "^5.12.0",
"tailwindcss": "^3.4.4",
"typescript": "^5.5.3",
"vite": "^5.3.6",
"tailwindcss": "^3.4.14",
"typescript": "^5.6.3",
"vite": "^5.4.9",
"vite-plugin-svgr": "^4.2.0",
"vite-tsconfig-paths": "^4.3.2",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^1.6.0"
},
"packageManager": "[email protected]+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228"
Expand Down
Loading