@theholocron/cli 5.0.0-alpha.572 → 5.0.0-alpha.574

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/dist/cli.mjs CHANGED
@@ -18667,7 +18667,7 @@ function viewSettings(view) {
18667
18667
  /**
18668
18668
  * One row per declared saved view (`repo.views`, spec `tech-issue-views`, #2733). GitHub has no API to read a saved
18669
18669
  * view, so the row cannot say whether it exists: it carries the link that opens the search, the number of issues the
18670
- * filter matches today and a note saying so. The only failure is a filter the search refuses (HTTP 422), which a person
18670
+ * filter matches today, the settings to fill in and a note saying so, with the link last. The only failure is a filter the search refuses (HTTP 422), which a person
18671
18671
  * would otherwise find out after saving it.
18672
18672
  *
18673
18673
  * @param views - `repo.views`, if the config has it.
@@ -18681,6 +18681,7 @@ function viewChecks(views) {
18681
18681
  async run(source) {
18682
18682
  const { owner, name } = await source.getRepo();
18683
18683
  const link = viewLink(owner, name, view.filter);
18684
+ const settings = viewSettings(view);
18684
18685
  try {
18685
18686
  const count = await source.countIssues(view.filter);
18686
18687
  return {
@@ -18688,8 +18689,9 @@ function viewChecks(views) {
18688
18689
  checked: 1,
18689
18690
  info: [
18690
18691
  `${count} issue${count === 1 ? "" : "s"} match today`,
18691
- link,
18692
- "GitHub has no API for saved views, so whether this one is saved is not checked"
18692
+ ...settings ? [`save it with: ${settings}`] : [],
18693
+ "GitHub has no API for saved views, so whether this one is saved is not checked",
18694
+ link
18693
18695
  ]
18694
18696
  };
18695
18697
  } catch (err) {
@@ -19562,7 +19564,7 @@ async function expectedTokens(input) {
19562
19564
  }));
19563
19565
  }
19564
19566
  // src/commands/doctor-secrets/matrix-names.ts
19565
- const LAYER = /^.+ - (local|dev|ci|prod)$/;
19567
+ const LAYER = /^.+ - (local|dev|ci|prod|preview)$/;
19566
19568
  /**
19567
19569
  * The layer an Environment name ends in, or `fallback` for a name that is not a layer's.
19568
19570
  *