tlc-claude-code 0.8.5 → 0.8.7
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/bin/init.js +3 -2
- package/package.json +1 -1
- package/server.md +14 -64
package/bin/init.js
CHANGED
|
@@ -85,8 +85,9 @@ console.log(' TLC Project Init');
|
|
|
85
85
|
console.log(' ============================');
|
|
86
86
|
console.log('');
|
|
87
87
|
|
|
88
|
-
// Detect OS
|
|
89
|
-
const
|
|
88
|
+
// Detect OS - WSL counts as Windows since user will double-click .bat from Explorer
|
|
89
|
+
const isWSL = process.platform === 'linux' && fs.existsSync('/mnt/c');
|
|
90
|
+
const isWindows = process.platform === 'win32' || isWSL;
|
|
90
91
|
|
|
91
92
|
if (isWindows) {
|
|
92
93
|
// Create Windows launcher
|
package/package.json
CHANGED
package/server.md
CHANGED
|
@@ -1,89 +1,39 @@
|
|
|
1
1
|
# /tlc:server - TLC Development Server
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Set up Docker-based development environment.
|
|
4
4
|
|
|
5
5
|
## Instructions for Claude
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
**IMPORTANT: Keep this simple. Do exactly these steps:**
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
### Step 1: Create the launcher
|
|
10
|
+
|
|
11
|
+
Run this command:
|
|
10
12
|
|
|
11
13
|
```bash
|
|
12
14
|
npx tlc-claude-code init
|
|
13
15
|
```
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
### Step 2: Tell the user
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
Say exactly this:
|
|
18
20
|
|
|
19
21
|
```
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Created: tlc-start.bat
|
|
22
|
+
Done! Created tlc-start.bat
|
|
23
23
|
|
|
24
24
|
To start your dev environment:
|
|
25
|
-
|
|
26
|
-
2. Wait for Docker containers to start
|
|
25
|
+
Double-click tlc-start.bat
|
|
27
26
|
|
|
28
|
-
Services:
|
|
27
|
+
Services when running:
|
|
29
28
|
Dashboard: http://localhost:3147
|
|
30
29
|
App: http://localhost:5000
|
|
31
30
|
DB Admin: http://localhost:8080
|
|
32
31
|
Database: localhost:5433
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
Other commands:
|
|
37
|
-
tlc rebuild # Full rebuild after package.json changes
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
---
|
|
41
|
-
|
|
42
|
-
## What You Get
|
|
43
|
-
|
|
44
|
-
| URL | Service |
|
|
45
|
-
|-----|---------|
|
|
46
|
-
| http://localhost:3147 | Dashboard - Logs, tasks, bugs |
|
|
47
|
-
| http://localhost:5000 | App - Your running application |
|
|
48
|
-
| http://localhost:8080 | DB Admin - Adminer database GUI |
|
|
49
|
-
| localhost:5433 | PostgreSQL database |
|
|
50
|
-
|
|
51
|
-
## Features
|
|
52
|
-
|
|
53
|
-
- **Hot reload** - Code changes apply instantly
|
|
54
|
-
- **Real-time logs** - App, tests, git activity
|
|
55
|
-
- **Bug submission** - Web form for QA
|
|
56
|
-
- **Task board** - Who's working on what
|
|
57
|
-
- **Multi-project** - Run multiple projects simultaneously
|
|
58
|
-
|
|
59
|
-
## Configuration
|
|
33
|
+
Requires: Docker Desktop
|
|
60
34
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
```json
|
|
64
|
-
{
|
|
65
|
-
"server": {
|
|
66
|
-
"startCommand": "npm run dev",
|
|
67
|
-
"appPort": 3000
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
## Rebuild
|
|
73
|
-
|
|
74
|
-
After changing `package.json` or dependencies:
|
|
75
|
-
|
|
76
|
-
```bash
|
|
77
|
-
tlc rebuild
|
|
35
|
+
Commands:
|
|
36
|
+
tlc rebuild - Full rebuild after package.json changes
|
|
78
37
|
```
|
|
79
38
|
|
|
80
|
-
|
|
81
|
-
```bash
|
|
82
|
-
# Stop containers (Ctrl+C in the terminal)
|
|
83
|
-
# Double-click tlc-start.bat again
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
## Requirements
|
|
87
|
-
|
|
88
|
-
- [Docker Desktop](https://www.docker.com/products/docker-desktop)
|
|
89
|
-
- Windows (macOS/Linux support coming soon)
|
|
39
|
+
**That's it. Don't show alternatives or workarounds. Don't mention npm scripts.**
|