@devdogsuga/backstage 0.1.11 → 0.1.12

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.
@@ -3681,11 +3681,15 @@ function buildDesiredRulesets(actors) {
3681
3681
  conditions: main$1,
3682
3682
  bypass_actors: [
3683
3683
  {
3684
- actor_id: actors.reviewersTeamId,
3684
+ actor_id: actors.focusLeadsTeamId,
3685
+ actor_type: "Team",
3686
+ bypass_mode: "pull_request"
3687
+ },
3688
+ {
3689
+ actor_id: actors.devopsTeamId,
3685
3690
  actor_type: "Team",
3686
3691
  bypass_mode: "pull_request"
3687
3692
  },
3688
- always(actors.devopsTeamId),
3689
3693
  always(actors.adminsTeamId)
3690
3694
  ],
3691
3695
  rules: [{
@@ -3698,7 +3702,7 @@ function buildDesiredRulesets(actors) {
3698
3702
  target: "branch",
3699
3703
  enforcement: "active",
3700
3704
  conditions: main$1,
3701
- bypass_actors: [always(actors.devopsTeamId), always(actors.adminsTeamId)],
3705
+ bypass_actors: [always(actors.adminsTeamId)],
3702
3706
  rules: [{
3703
3707
  type: "pull_request",
3704
3708
  parameters: {
@@ -3716,7 +3720,7 @@ function buildDesiredRulesets(actors) {
3716
3720
  target: "branch",
3717
3721
  enforcement: "active",
3718
3722
  conditions: main$1,
3719
- bypass_actors: [always(actors.devopsTeamId), always(actors.adminsTeamId)],
3723
+ bypass_actors: [always(actors.adminsTeamId)],
3720
3724
  rules: [{
3721
3725
  type: "required_status_checks",
3722
3726
  parameters: {
@@ -3752,6 +3756,7 @@ function buildDesiredRulesets(actors) {
3752
3756
  exclude: ["refs/heads/main", "refs/heads/team/**"]
3753
3757
  } },
3754
3758
  bypass_actors: [
3759
+ always(actors.focusLeadsTeamId),
3755
3760
  always(actors.devopsTeamId),
3756
3761
  always(actors.adminsTeamId),
3757
3762
  ...actors.renovateAppId === void 0 ? [] : [{
@@ -3778,15 +3783,11 @@ function buildDesiredRulesets(actors) {
3778
3783
  include: ["refs/heads/team/**"],
3779
3784
  exclude: []
3780
3785
  } },
3781
- bypass_actors: [
3782
- {
3783
- actor_id: actors.appId,
3784
- actor_type: "Integration",
3785
- bypass_mode: "always"
3786
- },
3787
- always(actors.devopsTeamId),
3788
- always(actors.adminsTeamId)
3789
- ],
3786
+ bypass_actors: [{
3787
+ actor_id: actors.appId,
3788
+ actor_type: "Integration",
3789
+ bypass_mode: "always"
3790
+ }, always(actors.adminsTeamId)],
3790
3791
  rules: [
3791
3792
  { type: "creation" },
3792
3793
  { type: "deletion" },
@@ -4006,7 +4007,6 @@ const DEFAULT_REPO$1 = "DevDogsUGA";
4006
4007
  const DEFAULT_APP_SLUG = "devdogs-platform";
4007
4008
  const DEFAULT_DEVOPS_SLUG = "devops";
4008
4009
  const DEFAULT_ADMINS_SLUG = "admins";
4009
- const DEFAULT_REVIEWERS_SLUG = "reviewers";
4010
4010
  /** TASK-299 — installed separately from the platform App; may not exist yet. */
4011
4011
  const DEFAULT_RENOVATE_SLUG = "renovate";
4012
4012
  function parseOptions$1(argv) {
@@ -4085,14 +4085,14 @@ async function runGithubRulesets(argv) {
4085
4085
  repo: opts.repo
4086
4086
  };
4087
4087
  let devopsTeamId;
4088
+ let focusLeadsTeamId;
4088
4089
  let adminsTeamId;
4089
- let reviewersTeamId;
4090
4090
  let appId;
4091
4091
  try {
4092
- [devopsTeamId, adminsTeamId, reviewersTeamId, appId] = await Promise.all([
4092
+ [devopsTeamId, focusLeadsTeamId, adminsTeamId, appId] = await Promise.all([
4093
4093
  resolveTeamId(opts.org, DEFAULT_DEVOPS_SLUG),
4094
+ resolveTeamId(opts.org, "focus-leads"),
4094
4095
  resolveTeamId(opts.org, DEFAULT_ADMINS_SLUG),
4095
- resolveTeamId(opts.org, DEFAULT_REVIEWERS_SLUG),
4096
4096
  resolveAppId(opts.org, opts.appSlug)
4097
4097
  ]);
4098
4098
  } catch (err) {
@@ -4107,8 +4107,8 @@ async function runGithubRulesets(argv) {
4107
4107
  }
4108
4108
  const actors = {
4109
4109
  devopsTeamId,
4110
+ focusLeadsTeamId,
4110
4111
  adminsTeamId,
4111
- reviewersTeamId,
4112
4112
  appId,
4113
4113
  renovateAppId
4114
4114
  };
package/dist/launch.js CHANGED
@@ -322,7 +322,7 @@ async function launchWith(argv, options) {
322
322
  */
323
323
  async function launch(argv) {
324
324
  await launchWith(argv, { dispatch: async (args) => {
325
- const { main } = await import("./cli-B8Lshscc.js");
325
+ const { main } = await import("./cli-Bv5hcXnG.js");
326
326
  await main(args);
327
327
  } });
328
328
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devdogsuga/backstage",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Officer and production CLI for DevDogsUGA: deploys, env sync with Bitwarden and GitHub, the migration planner role, club graphics and QR codes, GitHub rulesets and settings, and the newsletter. Ships built JS; run it anywhere with `pnpm dlx @devdogsuga/backstage` (no checkout needed to start; commands that read a checkout say so).",
@@ -36,14 +36,14 @@
36
36
  "postgres": "^3.4.9",
37
37
  "react": "^19.2.8",
38
38
  "satori": "^0.33.4",
39
- "sharp": "0.35.3",
39
+ "sharp": "0.35.5",
40
40
  "tsx": "^4.23.12",
41
41
  "typescript": "^6.0.3",
42
42
  "zod": "4.4.3",
43
- "@devdogsuga/brand": "0.1.6",
43
+ "@devdogsuga/brand": "0.1.7",
44
44
  "@devdogsuga/events": "0.1.7",
45
- "@devdogsuga/newsletter": "0.1.13",
46
- "@devdogsuga/telemetry": "0.1.4"
45
+ "@devdogsuga/telemetry": "0.1.4",
46
+ "@devdogsuga/newsletter": "0.1.14"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@devdogsuga/db": "*",
@@ -64,10 +64,10 @@
64
64
  "eslint": "^9.39.5",
65
65
  "tsdown": "^0.23.0",
66
66
  "vitest": "^4.1.11",
67
+ "@devdogsuga/config": "0.1.2",
67
68
  "@devdogsuga/cli-core": "0.0.0",
68
69
  "@devdogsuga/db": "0.1.3",
69
- "@devdogsuga/env": "0.1.5",
70
- "@devdogsuga/config": "0.1.2"
70
+ "@devdogsuga/env": "0.1.5"
71
71
  },
72
72
  "scripts": {
73
73
  "build": "tsdown && node scripts/write-build-info.mjs && node ../../scripts/check-bundle-imports.mjs",