breakaway 2.0.0-main.95 → 2.0.0-main.96
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/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/src/infra-plans.js +2 -2
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "breakaway",
|
|
3
|
-
"version": "2.0.0-main.
|
|
3
|
+
"version": "2.0.0-main.96",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "breakaway",
|
|
9
|
-
"version": "2.0.0-main.
|
|
9
|
+
"version": "2.0.0-main.96",
|
|
10
10
|
"license": "FSL-1.1-Apache-2.0",
|
|
11
11
|
"bin": {
|
|
12
12
|
"breakaway": "scripts/tasks.mjs"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "breakaway",
|
|
3
|
-
"version": "2.0.0-main.
|
|
3
|
+
"version": "2.0.0-main.96",
|
|
4
4
|
"description": "The task board for you and your coding agents: a Cloudflare Worker, its web app, Taskwarrior sync, and the CLI (npx breakaway).",
|
|
5
5
|
"license": "FSL-1.1-Apache-2.0",
|
|
6
6
|
"type": "module",
|
package/src/infra-plans.js
CHANGED
|
@@ -277,7 +277,7 @@ export function blastRadius(diff, inventory) {
|
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
279
|
* A plan's row as the API shows it. The summary (`full` false) leaves out the diff's settings and the blast radius's
|
|
280
|
-
* list, for the list of plans.
|
|
280
|
+
* list, for the list of plans. `environment.removed` is true when the plan's environment was removed (BRK-265).
|
|
281
281
|
* @param {Record<string, any>} row
|
|
282
282
|
* @param {{ full?: boolean }} [options]
|
|
283
283
|
*/
|
|
@@ -289,7 +289,7 @@ export function planView(row, { full = true } = {}) {
|
|
|
289
289
|
return {
|
|
290
290
|
id: planId(Number(row.n)),
|
|
291
291
|
repo: row.repo,
|
|
292
|
-
environment: { id: Number(row.environment), name: row.env_name },
|
|
292
|
+
environment: { id: Number(row.environment), name: row.env_name, ...(row.env_gone ? { removed: true } : {}) },
|
|
293
293
|
provider: row.provider,
|
|
294
294
|
target: row.target ?? null,
|
|
295
295
|
desiredSha: row.desired_sha ?? null,
|