worktree-compose 0.1.2 → 0.1.4

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/LICENSE +21 -0
  2. package/README.md +6 -2
  3. package/package.json +1 -1
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 LevwTech
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -6,6 +6,10 @@ Zero-config Docker Compose isolation for git worktrees.
6
6
 
7
7
  Every worktree gets its own ports, database, cache, and containers — automatically.
8
8
 
9
+
10
+ https://github.com/user-attachments/assets/fe05a2ff-954b-4e4f-b01b-ad17f1233abf
11
+
12
+
9
13
  ```bash
10
14
  npm install -D worktree-compose
11
15
  ```
@@ -200,7 +204,7 @@ npx wtc clean
200
204
 
201
205
  ```json
202
206
  {
203
- "sync": ["backend/alembic", "backend/alembic.ini"],
207
+ "sync": [".generated/prisma-client", "local-certs/"],
204
208
  "envOverrides": {
205
209
  "VITE_API_URL": "http://localhost:${BACKEND_PORT}"
206
210
  }
@@ -211,7 +215,7 @@ Or use a `"wtc"` key in `package.json`.
211
215
 
212
216
  ### `sync`
213
217
 
214
- Extra files/directories to copy from main into each worktree on start. Use for migration configs, seed scripts, or anything not on the worktree's branch.
218
+ Extra files/directories to copy from main into each worktree on start. Use for gitignored or generated files that Docker needs but aren't committed — like generated clients, local certificates, or build artifacts.
215
219
 
216
220
  ### `envOverrides`
217
221
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "worktree-compose",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Zero-config Docker Compose isolation for git worktrees",
5
5
  "type": "module",
6
6
  "bin": {