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.
Files changed (3) hide show
  1. package/bin/init.js +3 -2
  2. package/package.json +1 -1
  3. 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 isWindows = process.platform === 'win32';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tlc-claude-code",
3
- "version": "0.8.5",
3
+ "version": "0.8.7",
4
4
  "description": "TLC - Test Led Coding for Claude Code",
5
5
  "bin": {
6
6
  "tlc": "./bin/tlc.js",
package/server.md CHANGED
@@ -1,89 +1,39 @@
1
1
  # /tlc:server - TLC Development Server
2
2
 
3
- Launch a Docker-based development environment with dashboard, database, and live reload.
3
+ Set up Docker-based development environment.
4
4
 
5
5
  ## Instructions for Claude
6
6
 
7
- ### Step 1: Run tlc init
7
+ **IMPORTANT: Keep this simple. Do exactly these steps:**
8
8
 
9
- Run this command in the user's project directory to create the Docker launcher:
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
- This creates `tlc-start.bat` in the project folder.
17
+ ### Step 2: Tell the user
16
18
 
17
- ### Step 2: Show User Instructions
19
+ Say exactly this:
18
20
 
19
21
  ```
20
- TLC Dev Server Setup Complete!
21
-
22
- Created: tlc-start.bat
22
+ Done! Created tlc-start.bat
23
23
 
24
24
  To start your dev environment:
25
- 1. Double-click tlc-start.bat (Windows)
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
- Requirements: Docker Desktop (https://docker.com/products/docker-desktop)
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
- Override settings in `.tlc.json`:
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
- Or manually:
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.**