Skip to content

Commit 8acda84

Browse files
chore: update icons for auto-start-dev-server module (#471)
## Description Adds icons for module, and update all refrences. PR for Site Icon's Addition: coder/coder#20219 ## Type of Change - [ ] New module - [X] Bug fix - [ ] Feature/enhancement - [ ] Documentation - [ ] Other ## Module Information <!-- Delete this section if not applicable --> **Path:** `registry/mavrickrishi/modules/auto-start-dev-server` **New version:** `v1.0.1` **Breaking change:** [ ] Yes [ ] No ## Testing & Validation - [X] Tests pass (`bun test`) - [X] Code formatted (`bun run fmt`) - [X] Changes tested locally
1 parent 76c1299 commit 8acda84

File tree

3 files changed

+30
-26
lines changed

3 files changed

+30
-26
lines changed

.icons/auto-dev-server.svg

Lines changed: 4 additions & 0 deletions
Loading

registry/mavrickrishi/modules/auto-start-dev-server/README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
display_name: Auto-Start Development Servers
2+
display_name: Auto-Start Dev Servers
33
description: Automatically detect and start development servers for various project types
4-
icon: ../../../../.icons/server.svg
4+
icon: ../../../../.icons/auto-dev-server.svg
55
verified: false
66
tags: [development, automation, servers]
77
---
@@ -13,7 +13,7 @@ Automatically detect and start development servers for various project types whe
1313
```tf
1414
module "auto_start_dev_servers" {
1515
source = "registry.coder.com/mavrickrishi/auto-start-dev-server/coder"
16-
version = "1.0.0"
16+
version = "1.0.1"
1717
agent_id = coder_agent.main.id
1818
}
1919
```
@@ -48,20 +48,20 @@ module "auto_start_dev_servers" {
4848

4949
### Basic Usage
5050

51-
```hcl
51+
```tf
5252
module "auto_start" {
5353
source = "./modules/auto-start-dev-server"
54-
version = "1.0.0"
54+
version = "1.0.1"
5555
agent_id = coder_agent.main.id
5656
}
5757
```
5858

5959
### Advanced Usage
6060

61-
```hcl
61+
```tf
6262
module "auto_start_dev_servers" {
6363
source = "./modules/auto-start-dev-server"
64-
version = "1.0.0"
64+
version = "1.0.1"
6565
agent_id = coder_agent.main.id
6666
6767
# Optional: Configure which project types to detect
@@ -70,10 +70,10 @@ module "auto_start_dev_servers" {
7070
enable_django = true
7171
enable_flask = true
7272
enable_spring_boot = true
73-
enable_go = true
74-
enable_php = true
75-
enable_rust = true
76-
enable_dotnet = true
73+
enable_go = true
74+
enable_php = true
75+
enable_rust = true
76+
enable_dotnet = true
7777
7878
# Optional: Enable devcontainer.json integration
7979
enable_devcontainer = true
@@ -97,10 +97,10 @@ module "auto_start_dev_servers" {
9797

9898
### Disable Preview App
9999

100-
```hcl
100+
```tf
101101
module "auto_start" {
102102
source = "./modules/auto-start-dev-server"
103-
version = "1.0.0"
103+
version = "1.0.1"
104104
agent_id = coder_agent.main.id
105105
106106
# Disable automatic preview app creation
@@ -110,10 +110,10 @@ module "auto_start" {
110110

111111
### Selective Project Types
112112

113-
```hcl
113+
```tf
114114
module "auto_start" {
115115
source = "./modules/auto-start-dev-server"
116-
version = "1.0.0"
116+
version = "1.0.1"
117117
agent_id = coder_agent.main.id
118118
119119
# Only enable web development projects
@@ -124,25 +124,25 @@ module "auto_start" {
124124
125125
# Disable other project types
126126
enable_spring_boot = false
127-
enable_go = false
128-
enable_php = false
129-
enable_rust = false
130-
enable_dotnet = false
127+
enable_go = false
128+
enable_php = false
129+
enable_rust = false
130+
enable_dotnet = false
131131
}
132132
```
133133

134134
### Deep Workspace Scanning
135135

136-
```hcl
136+
```tf
137137
module "auto_start" {
138138
source = "./modules/auto-start-dev-server"
139-
version = "1.0.0"
139+
version = "1.0.1"
140140
agent_id = coder_agent.main.id
141141
142142
workspace_directory = "/workspaces"
143-
scan_depth = 3
144-
startup_delay = 5
145-
log_path = "/var/log/dev-servers.log"
143+
scan_depth = 3
144+
startup_delay = 5
145+
log_path = "/var/log/dev-servers.log"
146146
}
147147
```
148148

registry/mavrickrishi/modules/auto-start-dev-server/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ locals {
131131
resource "coder_script" "auto_start_dev_server" {
132132
agent_id = var.agent_id
133133
display_name = var.display_name
134-
icon = "/icon/server.svg"
134+
icon = "/icon/auto-dev-server.svg"
135135
script = templatefile("${path.module}/run.sh", {
136136
WORKSPACE_DIR = var.workspace_directory
137137
ENABLE_NPM = coalesce(var.enable_npm, var.project_detection)
@@ -158,7 +158,7 @@ resource "coder_app" "preview" {
158158
slug = "dev-preview"
159159
display_name = "Live Preview"
160160
url = "http://localhost:${local.detected_port}"
161-
icon = "/icon/globe.svg"
161+
icon = "/icon/auto-dev-server.svg"
162162
subdomain = true
163163
share = "owner"
164164
}

0 commit comments

Comments
 (0)