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
6 changes: 4 additions & 2 deletions .dtvem/runtimes.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/dtvem/dtvem/main/schemas/runtimes.schema.json",
"node": "22.0.0"
}
"node": "22.0.0",
"python": "3.8.9",
"ruby": "3.3.9"
}
5 changes: 3 additions & 2 deletions schemas/runtimes.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
"pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$"
},
"propertyNames": {
"description": "Runtime name (e.g., 'python', 'node'). NOTE: When adding a new runtime provider, update this enum list to include the new runtime name.",
"description": "Runtime name (e.g., 'python', 'node', 'ruby'). NOTE: When adding a new runtime provider, update this enum list to include the new runtime name.",
"enum": [
"python",
"node"
"node",
"ruby"
]
},
"examples": [
Expand Down
6 changes: 3 additions & 3 deletions src/internal/runtime/registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ type mockProvider struct {
displayName string
}

func (m *mockProvider) Name() string { return m.name }
func (m *mockProvider) DisplayName() string { return m.displayName }
func (m *mockProvider) Shims() []string { return []string{m.name} }
func (m *mockProvider) Name() string { return m.name }
func (m *mockProvider) DisplayName() string { return m.displayName }
func (m *mockProvider) Shims() []string { return []string{m.name} }
func (m *mockProvider) Install(version string) error { return nil }
func (m *mockProvider) Uninstall(version string) error { return nil }
func (m *mockProvider) ListInstalled() ([]InstalledVersion, error) { return nil, nil }
Expand Down
10 changes: 5 additions & 5 deletions src/internal/tui/styles.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ func initStyles() {
lipgloss.SetColorProfile(termenv.TrueColor)

// Color palette
colorPrimary = lipgloss.Color("39") // Cyan
colorPrimary = lipgloss.Color("39") // Cyan
colorSecondary = lipgloss.Color("213") // Magenta/Pink
colorSuccess = lipgloss.Color("42") // Green
colorWarning = lipgloss.Color("214") // Orange/Yellow
colorError = lipgloss.Color("196") // Red
colorMuted = lipgloss.Color("245") // Gray
colorSuccess = lipgloss.Color("42") // Green
colorWarning = lipgloss.Color("214") // Orange/Yellow
colorError = lipgloss.Color("196") // Red
colorMuted = lipgloss.Color("245") // Gray

// Text styles
StyleTitle = lipgloss.NewStyle().
Expand Down
1 change: 1 addition & 0 deletions src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
// Import runtime providers to register them
_ "github.com/dtvem/dtvem/src/runtimes/node"
_ "github.com/dtvem/dtvem/src/runtimes/python"
_ "github.com/dtvem/dtvem/src/runtimes/ruby"
)

func main() {
Expand Down
Loading