tlc-claude-code 0.9.4 → 0.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/init.js +4 -4
- package/docker-compose.dev.yml +4 -4
- package/package.json +1 -1
- package/server/dashboard/index.html +2 -2
- package/server.md +1 -1
- package/start-dev.ps1 +1 -1
- package/start-dev.sh +1 -1
package/README.md
CHANGED
|
@@ -154,7 +154,7 @@ tlc init
|
|
|
154
154
|
| URL | Service |
|
|
155
155
|
|-----|---------|
|
|
156
156
|
| http://localhost:3147 | Dashboard — Live preview, logs, tasks |
|
|
157
|
-
| http://localhost:
|
|
157
|
+
| http://localhost:5001 | App — Your running application |
|
|
158
158
|
| http://localhost:8080 | DB Admin — Database GUI (Adminer) |
|
|
159
159
|
| localhost:5433 | Database — PostgreSQL |
|
|
160
160
|
|
package/bin/init.js
CHANGED
|
@@ -18,7 +18,7 @@ const batContent = `@echo off
|
|
|
18
18
|
:: Double-click to start your dev environment
|
|
19
19
|
::
|
|
20
20
|
:: Dashboard: http://localhost:3147
|
|
21
|
-
:: App: http://localhost:
|
|
21
|
+
:: App: http://localhost:5001
|
|
22
22
|
:: DB Admin: http://localhost:8080
|
|
23
23
|
:: Database: localhost:5433
|
|
24
24
|
:: ========================================
|
|
@@ -63,7 +63,7 @@ const shContent = `#!/bin/bash
|
|
|
63
63
|
# TLC Dev Server Launcher
|
|
64
64
|
# ========================================
|
|
65
65
|
# Dashboard: http://localhost:3147
|
|
66
|
-
# App: http://localhost:
|
|
66
|
+
# App: http://localhost:5001
|
|
67
67
|
# DB Admin: http://localhost:8080
|
|
68
68
|
# Database: localhost:5433
|
|
69
69
|
# ========================================
|
|
@@ -191,7 +191,7 @@ if (!fs.existsSync(tlcConfigPath)) {
|
|
|
191
191
|
const match = pkg.scripts.dev.match(/--port[=\\s]+(\\d+)/);
|
|
192
192
|
if (match) appPort = parseInt(match[1]);
|
|
193
193
|
}
|
|
194
|
-
if (pkg.scripts?.dev?.includes('
|
|
194
|
+
if (pkg.scripts?.dev?.includes('5001')) appPort = 5001;
|
|
195
195
|
if (pkg.scripts?.dev?.includes('3000')) appPort = 3000;
|
|
196
196
|
if (pkg.scripts?.dev?.includes('5173')) appPort = 5173;
|
|
197
197
|
} catch (e) {
|
|
@@ -228,7 +228,7 @@ if (isWindows) {
|
|
|
228
228
|
console.log('');
|
|
229
229
|
console.log('[TLC] Services when running:');
|
|
230
230
|
console.log(' Dashboard: http://localhost:3147');
|
|
231
|
-
console.log(' App: http://localhost:
|
|
231
|
+
console.log(' App: http://localhost:5001');
|
|
232
232
|
console.log(' DB Admin: http://localhost:8080');
|
|
233
233
|
console.log(' Database: localhost:5433');
|
|
234
234
|
console.log('');
|
package/docker-compose.dev.yml
CHANGED
|
@@ -36,9 +36,9 @@ services:
|
|
|
36
36
|
environment:
|
|
37
37
|
- NODE_ENV=development
|
|
38
38
|
- DATABASE_URL=postgres://postgres:postgres@db:5432/app
|
|
39
|
-
- PORT=
|
|
39
|
+
- PORT=5001
|
|
40
40
|
ports:
|
|
41
|
-
- "${APP_PORT:-
|
|
41
|
+
- "${APP_PORT:-5001}:5001"
|
|
42
42
|
volumes:
|
|
43
43
|
- ${PROJECT_DIR:-.}:/app
|
|
44
44
|
- /app/node_modules
|
|
@@ -69,7 +69,7 @@ services:
|
|
|
69
69
|
environment:
|
|
70
70
|
- TLC_PORT=3147
|
|
71
71
|
- TLC_PROXY_ONLY=true
|
|
72
|
-
- TLC_APP_PORT=
|
|
72
|
+
- TLC_APP_PORT=5001
|
|
73
73
|
ports:
|
|
74
74
|
- "${DASHBOARD_PORT:-3147}:3147"
|
|
75
75
|
volumes:
|
|
@@ -88,7 +88,7 @@ services:
|
|
|
88
88
|
- test
|
|
89
89
|
command: npx playwright test
|
|
90
90
|
environment:
|
|
91
|
-
- BASE_URL=http://app:
|
|
91
|
+
- BASE_URL=http://app:5001
|
|
92
92
|
- CI=true
|
|
93
93
|
volumes:
|
|
94
94
|
- ${PROJECT_DIR:-.}:/app
|
package/package.json
CHANGED
|
@@ -589,9 +589,9 @@
|
|
|
589
589
|
<div class="sidebar-section">
|
|
590
590
|
<h3>Links</h3>
|
|
591
591
|
<div class="links">
|
|
592
|
-
<a class="link" href="http://localhost:
|
|
592
|
+
<a class="link" href="http://localhost:5001" target="_blank">
|
|
593
593
|
<span>App</span>
|
|
594
|
-
<span class="url">:
|
|
594
|
+
<span class="url">:5001</span>
|
|
595
595
|
</a>
|
|
596
596
|
<a class="link" href="http://localhost:8080" target="_blank">
|
|
597
597
|
<span>Database Admin</span>
|
package/server.md
CHANGED
package/start-dev.ps1
CHANGED
|
@@ -81,7 +81,7 @@ Set-Location $scriptDir
|
|
|
81
81
|
Write-Host ""
|
|
82
82
|
Write-Host "[TLC] Starting services..." -ForegroundColor Yellow
|
|
83
83
|
Write-Host " Dashboard: http://localhost:3147" -ForegroundColor White
|
|
84
|
-
Write-Host " App: http://localhost:
|
|
84
|
+
Write-Host " App: http://localhost:5001" -ForegroundColor White
|
|
85
85
|
Write-Host " DB Admin: http://localhost:8080" -ForegroundColor White
|
|
86
86
|
Write-Host " Database: localhost:5433 (postgres/postgres)" -ForegroundColor Gray
|
|
87
87
|
Write-Host ""
|
package/start-dev.sh
CHANGED
|
@@ -76,7 +76,7 @@ cd "$SCRIPT_DIR"
|
|
|
76
76
|
echo ""
|
|
77
77
|
echo "[TLC] Starting services..."
|
|
78
78
|
echo " Dashboard: http://localhost:3147"
|
|
79
|
-
echo " App: http://localhost:
|
|
79
|
+
echo " App: http://localhost:5001"
|
|
80
80
|
echo " DB Admin: http://localhost:8080"
|
|
81
81
|
echo " Database: localhost:5433 (postgres/postgres)"
|
|
82
82
|
echo ""
|