devlanes 0.12.0 → 0.13.0

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 (2) hide show
  1. package/package.json +7 -7
  2. package/schema.json +8 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devlanes",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "Development environments in Git worktree lanes",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://devlanes.run",
@@ -30,11 +30,11 @@
30
30
  "node": ">=18"
31
31
  },
32
32
  "optionalDependencies": {
33
- "@devlanes/darwin-arm64": "0.12.0",
34
- "@devlanes/darwin-x64": "0.12.0",
35
- "@devlanes/linux-arm64": "0.12.0",
36
- "@devlanes/linux-x64": "0.12.0",
37
- "@devlanes/win32-arm64": "0.12.0",
38
- "@devlanes/win32-x64": "0.12.0"
33
+ "@devlanes/darwin-arm64": "0.13.0",
34
+ "@devlanes/darwin-x64": "0.13.0",
35
+ "@devlanes/linux-arm64": "0.13.0",
36
+ "@devlanes/linux-x64": "0.13.0",
37
+ "@devlanes/win32-arm64": "0.13.0",
38
+ "@devlanes/win32-x64": "0.13.0"
39
39
  }
40
40
  }
package/schema.json CHANGED
@@ -1463,13 +1463,13 @@
1463
1463
  "type": "null"
1464
1464
  }
1465
1465
  ],
1466
- "description": "What devlanes does when a worktree gets its lane: only reserve it, also set it up, or also start it. Defaults to `register`. A worktree gets a lane the first time devlanes runs in it, not merely because it exists.",
1466
+ "description": "What devlanes does when a worktree gets its lane: only reserve it, also set it up, or also start it. Defaults to `register`. A worktree gets a lane the first time `start`, `status` or another command that acts on lanes runs in it, not merely because it exists.",
1467
1467
  "examples": [
1468
1468
  "register",
1469
1469
  "setup",
1470
1470
  "start"
1471
1471
  ],
1472
- "markdownDescription": "What devlanes does when a worktree gets its lane: only reserve it, also set it up, or also start it. Defaults to `register`. A worktree gets a lane the first time devlanes runs in it, not merely because it exists."
1472
+ "markdownDescription": "What devlanes does when a worktree gets its lane: only reserve it, also set it up, or also start it. Defaults to `register`. A worktree gets a lane the first time `start`, `status` or another command that acts on lanes runs in it, not merely because it exists."
1473
1473
  },
1474
1474
  "primary": {
1475
1475
  "description": "Branch whose worktree is lane 0, the main lane (`lanes.main` in expressions) and the only worktree that gets a lane by itself. Defaults to the remote's default branch, else `main` or `master`. In CI (a variable such as `CI` or `GITHUB_ACTIONS` is set) the checkout takes lane 0 on any branch when lane 0 is free.",
@@ -1821,11 +1821,11 @@
1821
1821
  "type": "null"
1822
1822
  }
1823
1823
  ],
1824
- "description": "Ready once a line of output matches this regular expression, with colors and other terminal escape codes removed; recent lines printed before the check began count too. Suits workers without a port: have them print a line once connected.",
1824
+ "description": "Ready once a line of the unit's log, as `devlanes logs` shows it (for a container, its Docker log), matches this regular expression, with colors removed; lines printed before the check began count too. Suits workers without a port: have them print a line once connected.",
1825
1825
  "examples": [
1826
1826
  "Connected to Redis"
1827
1827
  ],
1828
- "markdownDescription": "Ready once a line of output matches this regular expression, with colors and other terminal escape codes removed; recent lines printed before the check began count too. Suits workers without a port: have them print a line once connected."
1828
+ "markdownDescription": "Ready once a line of the unit's log, as `devlanes logs` shows it (for a container, its Docker log), matches this regular expression, with colors removed; lines printed before the check began count too. Suits workers without a port: have them print a line once connected."
1829
1829
  },
1830
1830
  "tcp": {
1831
1831
  "anyOf": [
@@ -2331,7 +2331,7 @@
2331
2331
  "type": "null"
2332
2332
  }
2333
2333
  ],
2334
- "description": "When the service counts as up: `devlanes start` waits for it, and `after: services` tasks run once every started service is ready. Write `started` (ready once the process runs) or a mapping with one of `tcp`, `http`, `log` or `cmd`, plus `timeout` (default 60s). Without it, a service with `hosts` waits for TCP on its port and one without hosts uses `started`. A check that times out marks the service failed, which also skips `after: services` tasks; the process keeps running and is not restarted.",
2334
+ "description": "When the service counts as up: once its check passed and it has run half a second. `devlanes start` waits for it, and `after: services` tasks run once every started service is ready. Write `started` (no probe) or a mapping with one of `tcp`, `http`, `log` or `cmd`, plus `timeout` (default 60s). Without it, a service with `hosts` waits for TCP on its port and one without hosts uses `started`. A service that exits within that half second failed to start. A check that times out marks the service failed, which also skips `after: services` tasks; the process keeps running and is not restarted.",
2335
2335
  "examples": [
2336
2336
  "started",
2337
2337
  {
@@ -2343,7 +2343,7 @@
2343
2343
  "tcp": true
2344
2344
  }
2345
2345
  ],
2346
- "markdownDescription": "When the service counts as up: `devlanes start` waits for it, and `after: services` tasks run once every started service is ready. Write `started` (ready once the process runs) or a mapping with one of `tcp`, `http`, `log` or `cmd`, plus `timeout` (default 60s). Without it, a service with `hosts` waits for TCP on its port and one without hosts uses `started`. A check that times out marks the service failed, which also skips `after: services` tasks; the process keeps running and is not restarted."
2346
+ "markdownDescription": "When the service counts as up: once its check passed and it has run half a second. `devlanes start` waits for it, and `after: services` tasks run once every started service is ready. Write `started` (no probe) or a mapping with one of `tcp`, `http`, `log` or `cmd`, plus `timeout` (default 60s). Without it, a service with `hosts` waits for TCP on its port and one without hosts uses `started`. A service that exits within that half second failed to start. A check that times out marks the service failed, which also skips `after: services` tasks; the process keeps running and is not restarted."
2347
2347
  },
2348
2348
  "replicas": {
2349
2349
  "description": "Number of copies of this service to run, each with its own port, for example several queue workers. They run as `<name>.1` to `<name>.N`, `${{ replica.index }}` counts from 1, and `services.<name>` in expressions means the first copy; use `${{ replica.index }}` in `hosts` to give each copy its own hostname. A plain number of at least 1, the same in every lane, because each copy reserves ports in every lane's block; `${{ ... }}` expressions are not allowed. Defaults to 1.",
@@ -2542,14 +2542,14 @@
2542
2542
  "started"
2543
2543
  ],
2544
2544
  "enumDescriptions": [
2545
- "Count the unit ready as soon as it runs, without probing anything. A dev server whose program crashed under a file watcher still counts as ready, so prefer a check when there is something to probe."
2545
+ "Count the unit ready once it runs, without probing anything; a service once it has run half a second. A dev server whose program crashed under a file watcher still counts as ready, so prefer a check when there is something to probe."
2546
2546
  ],
2547
2547
  "examples": [
2548
2548
  "started"
2549
2549
  ],
2550
2550
  "markdownDescription": "Readiness without a probe.",
2551
2551
  "markdownEnumDescriptions": [
2552
- "Count the unit ready as soon as it runs, without probing anything. A dev server whose program crashed under a file watcher still counts as ready, so prefer a check when there is something to probe."
2552
+ "Count the unit ready once it runs, without probing anything; a service once it has run half a second. A dev server whose program crashed under a file watcher still counts as ready, so prefer a check when there is something to probe."
2553
2553
  ],
2554
2554
  "type": "string"
2555
2555
  },