blueprint-shared-facts 0.6.0 → 0.7.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.
@@ -4,7 +4,7 @@
4
4
  "package": "blueprint-shared-facts",
5
5
  "entry": "blueprint-shared",
6
6
  "describes": {
7
- "blueprint-shared-facts": "0.6.0"
7
+ "blueprint-shared-facts": "0.7.0"
8
8
  },
9
9
  "layer": "org",
10
10
  "facts": [
@@ -2236,6 +2236,33 @@
2236
2236
  "author": "The author and committer of the commit are the bot of the GitHub App of the organization, never github-actions[bot]: the name is <mergeBotApp>[bot] and the address is <mergeBotUserId>+<mergeBotApp>[bot]@users.noreply.github.com, which the compose step writes in from mergeBotApp and mergeBotUserId of blueprint-shared.org-values (fields mergeBotApp and mergeBotUserId of blueprint-shared.templates.fields). The user id comes from gh api '/users/<mergeBotApp>[bot]' --jq .id. Only the author changes: the push uses the token the workflow already has (GITHUB_TOKEN in a monorepo, the App token in a poly repository)."
2237
2237
  }
2238
2238
  }
2239
+ },
2240
+ {
2241
+ "since": "0.7.0",
2242
+ "content": {
2243
+ "value": {
2244
+ "file": "deploy/scripts/deploy/writeback-ops.sh",
2245
+ "role": "deploy",
2246
+ "usage": "writeback-ops.sh [--require-change] \"<commit message>\" --promote <promote.sh arguments> [--promote <promote.sh arguments> ...]",
2247
+ "env": [
2248
+ "DEFAULT_BRANCH",
2249
+ "OPS_ROOT (default: this repository)",
2250
+ "WRITEBACK_TRIES (default 6)",
2251
+ "WRITEBACK_RETRY_SLEEP (default 5, seconds)",
2252
+ "WRITEBACK_RETRY_JITTER (default 5, seconds)"
2253
+ ],
2254
+ "rules": [
2255
+ "every round resets ops/ to the newest default branch and runs this deploy's promotions again, never by stash, by copying files or by replaying the commit",
2256
+ "a push that loses a race re-applies this deploy's promotions on the newest default branch and retries, up to WRITEBACK_TRIES rounds (default 6, so every deploy of a monorepo that writes back together can land); the pause between rounds is WRITEBACK_RETRY_SLEEP (default 5 seconds) plus a random 0 to WRITEBACK_RETRY_JITTER seconds (default 5); exhausted retries fail the step",
2257
+ "with --require-change an empty promotion in the first round is an error (prod); a later round with no difference means another deploy wrote the same content and succeeds"
2258
+ ],
2259
+ "author": "The author and committer of the commit are the bot of the GitHub App of the organization, never github-actions[bot]: the name is <mergeBotApp>[bot] and the address is <mergeBotUserId>+<mergeBotApp>[bot]@users.noreply.github.com, which the compose step writes in from mergeBotApp and mergeBotUserId of blueprint-shared.org-values (fields mergeBotApp and mergeBotUserId of blueprint-shared.templates.fields). The user id comes from gh api '/users/<mergeBotApp>[bot]' --jq .id. Only the author changes: the push uses the token the workflow already has (GITHUB_TOKEN in a monorepo, the App token in a poly repository).",
2260
+ "orgValues": [
2261
+ "mergeBotApp",
2262
+ "mergeBotUserId"
2263
+ ]
2264
+ }
2265
+ }
2239
2266
  }
2240
2267
  ],
2241
2268
  "source": {
@@ -2258,7 +2285,11 @@
2258
2285
  "a push that loses a race re-applies this deploy's promotions on the newest default branch and retries, up to WRITEBACK_TRIES rounds (default 6, so every deploy of a monorepo that writes back together can land); the pause between rounds is WRITEBACK_RETRY_SLEEP (default 5 seconds) plus a random 0 to WRITEBACK_RETRY_JITTER seconds (default 5); exhausted retries fail the step",
2259
2286
  "with --require-change an empty promotion in the first round is an error (prod); a later round with no difference means another deploy wrote the same content and succeeds"
2260
2287
  ],
2261
- "author": "The author and committer of the commit are the bot of the GitHub App of the organization, never github-actions[bot]: the name is <mergeBotApp>[bot] and the address is <mergeBotUserId>+<mergeBotApp>[bot]@users.noreply.github.com, which the compose step writes in from mergeBotApp and mergeBotUserId of blueprint-shared.org-values (fields mergeBotApp and mergeBotUserId of blueprint-shared.templates.fields). The user id comes from gh api '/users/<mergeBotApp>[bot]' --jq .id. Only the author changes: the push uses the token the workflow already has (GITHUB_TOKEN in a monorepo, the App token in a poly repository)."
2288
+ "author": "The author and committer of the commit are the bot of the GitHub App of the organization, never github-actions[bot]: the name is <mergeBotApp>[bot] and the address is <mergeBotUserId>+<mergeBotApp>[bot]@users.noreply.github.com, which the compose step writes in from mergeBotApp and mergeBotUserId of blueprint-shared.org-values (fields mergeBotApp and mergeBotUserId of blueprint-shared.templates.fields). The user id comes from gh api '/users/<mergeBotApp>[bot]' --jq .id. Only the author changes: the push uses the token the workflow already has (GITHUB_TOKEN in a monorepo, the App token in a poly repository).",
2289
+ "orgValues": [
2290
+ "mergeBotApp",
2291
+ "mergeBotUserId"
2292
+ ]
2262
2293
  }
2263
2294
  }
2264
2295
  },
@@ -12787,7 +12818,7 @@
12787
12818
  "release-policy"
12788
12819
  ],
12789
12820
  "title": "minimumReleaseAgeExclude 的必含項",
12790
- "description": "只寫在 `pnpm-workspace.yaml`,必含三類:`@<scope>/*`、`*-facts`、組織自己發布且沒有 scope 的套件(組織值 `unscopedPublicPackages`)逐一列出。前兩類由政策檔的 `scope` 與命名規則推出。",
12821
+ "description": "只寫在 `pnpm-workspace.yaml`,必含四類:`@<scope>/*`、`*-facts`、組織自己發布且沒有 scope 的套件(組織值 `unscopedPublicPackages`)逐一列出,以及導入共用套件的倉都要放行的 `blueprint-shared-*`。前兩類由政策檔的 `scope` 與命名規則推出,第四類每個倉都一樣,不必列進 `expectedExclude`。",
12791
12822
  "variants": [
12792
12823
  {
12793
12824
  "since": "0.1.0",
@@ -12820,6 +12851,43 @@
12820
12851
  ]
12821
12852
  }
12822
12853
  }
12854
+ },
12855
+ {
12856
+ "since": "0.7.0",
12857
+ "content": {
12858
+ "value": {
12859
+ "file": "pnpm-workspace.yaml",
12860
+ "onlyIn": "pnpm-workspace.yaml",
12861
+ "notIn": "release-policy.json",
12862
+ "key": "minimumReleaseAgeExclude",
12863
+ "required": [
12864
+ {
12865
+ "entry": "@<scope>/*",
12866
+ "derivedFrom": "the scope field of release-policy.json",
12867
+ "whenNoScope": "no such entry"
12868
+ },
12869
+ {
12870
+ "entry": "*-facts",
12871
+ "derivedFrom": "every FactName and MetaFactName ends with -facts (blueprint-shared.naming.fact-name)"
12872
+ },
12873
+ {
12874
+ "entry": "<packageName>",
12875
+ "meaning": "each package the organization publishes without a scope, listed one by one",
12876
+ "listedIn": "unscopedPublicPackages"
12877
+ },
12878
+ {
12879
+ "entry": "blueprint-shared-*",
12880
+ "kind": "shared-packages",
12881
+ "meaning": "the shared packages blueprint-shared-facts, blueprint-shared-docs and blueprint-shared-templates, which every repository that adopts the shared layer installs, so the organization does not list them in expectedExclude"
12882
+ }
12883
+ ],
12884
+ "checkedBy": "each repository compares its pnpm-workspace.yaml with the entries derived from its release-policy.json and unscopedPublicPackages, with the shared-packages entry, and with expectedExclude when the organization gives it",
12885
+ "orgValues": [
12886
+ "unscopedPublicPackages",
12887
+ "expectedExclude"
12888
+ ]
12889
+ }
12890
+ }
12823
12891
  }
12824
12892
  ],
12825
12893
  "source": {
@@ -12845,9 +12913,14 @@
12845
12913
  "entry": "<packageName>",
12846
12914
  "meaning": "each package the organization publishes without a scope, listed one by one",
12847
12915
  "listedIn": "unscopedPublicPackages"
12916
+ },
12917
+ {
12918
+ "entry": "blueprint-shared-*",
12919
+ "kind": "shared-packages",
12920
+ "meaning": "the shared packages blueprint-shared-facts, blueprint-shared-docs and blueprint-shared-templates, which every repository that adopts the shared layer installs, so the organization does not list them in expectedExclude"
12848
12921
  }
12849
12922
  ],
12850
- "checkedBy": "each repository compares its pnpm-workspace.yaml with the entries derived from its release-policy.json and unscopedPublicPackages, and with expectedExclude when the organization gives it",
12923
+ "checkedBy": "each repository compares its pnpm-workspace.yaml with the entries derived from its release-policy.json and unscopedPublicPackages, with the shared-packages entry, and with expectedExclude when the organization gives it",
12851
12924
  "orgValues": [
12852
12925
  "unscopedPublicPackages",
12853
12926
  "expectedExclude"
@@ -17251,6 +17324,34 @@
17251
17324
  "ci": "ci.yml has the step \"organization values against blueprint-shared.org-values\" in its facts job between role blocks (# @if org), after the steps that build and check the facts. The role has no workflow of its own"
17252
17325
  }
17253
17326
  }
17327
+ },
17328
+ {
17329
+ "since": "0.7.0",
17330
+ "content": {
17331
+ "value": {
17332
+ "role": "org",
17333
+ "dir": "org/",
17334
+ "needs": [
17335
+ "base",
17336
+ "release",
17337
+ "publish"
17338
+ ],
17339
+ "for": "the repository of the organization layer that holds the values of the organization: its facts package <RepoName>-facts and its docs package <RepoName>-docs. It belongs to no product. A repository that adopts the shared layer has one, and it is not a copy of the repository that owns the templates",
17340
+ "files": [
17341
+ "README.md",
17342
+ "scripts/ci/check-org-values.mjs"
17343
+ ],
17344
+ "composed": {
17345
+ "facts": "facts/ is the aggregate package named <MetaFactName> (blueprint-shared.naming.meta-fact-name) with one component, <RepoName>-facts.npm in facts/<RepoName>-facts/, which holds two facts: the organization values (<RepoName>.org-values, validatedBy blueprint-shared.org-values) and the repositories of the organization layer (<RepoName>.org-layout.repos, shaped like the repository list that scripts/naming/check-names.mjs reads)",
17346
+ "docs": "docs/ is the docs package named <RepoName>-docs (blueprint-shared.naming.docs-package-name) with the entry docs/<RepoName>-docs/<RepoName>/ of the layer org, which cites the facts of the organization and the shared facts, and takes the shared documents as docSources. The entry holds the document layer-names.doc.ts, which the compose step writes from the repository list: the facts and docs package of every repository of the list, named from the scope of the organization",
17347
+ "names": "Every name is worked out from the organization values and the repository list given to the compose step, so the role names no organization: the scope is the one of aggregatePackageName, the packages are <scope>/<RepoName>-facts and <scope>/<RepoName>-docs",
17348
+ "dependencies": "The component depends on blueprint-shared-facts and the docs package on blueprint-shared-docs and blueprint-shared-facts, at the version of those packages in the repository that holds the templates, because the repository installs them from the public registry",
17349
+ "readme": "README.md comes from the role template. The compose step fills the organization (the scope without the @), the repository name, aggregatePackageName and aggregateRegistry of the organization values (fields organization, repoName, aggregatePackageName and aggregateRegistry of blueprint-shared.templates.fields). It says the repository is the organization layer of an adopter and not a copy of the repository that manages the shared packages (the management hub), names no organization, and lists the permissions the App of the organization needs from blueprint-shared.templates.github-app-placement"
17350
+ },
17351
+ "schema": "The fact of the organization values carries validatedBy blueprint-shared.org-values, so fact-kit check (pnpm check, the facts job of ci.yml) fails when a required field is missing or an unknown field is present, and names the field. scripts/ci/check-org-values.mjs reads the built value and the same schema, prints each missing, unknown or wrongly typed field, and also fails when aggregatePackageName is not the name of the aggregate package of the repository",
17352
+ "ci": "ci.yml has the step \"organization values against blueprint-shared.org-values\" in its facts job between role blocks (# @if org), after the steps that build and check the facts. The role has no workflow of its own"
17353
+ }
17354
+ }
17254
17355
  }
17255
17356
  ],
17256
17357
  "source": {
@@ -17267,13 +17368,15 @@
17267
17368
  ],
17268
17369
  "for": "the repository of the organization layer that holds the values of the organization: its facts package <RepoName>-facts and its docs package <RepoName>-docs. It belongs to no product. A repository that adopts the shared layer has one, and it is not a copy of the repository that owns the templates",
17269
17370
  "files": [
17371
+ "README.md",
17270
17372
  "scripts/ci/check-org-values.mjs"
17271
17373
  ],
17272
17374
  "composed": {
17273
17375
  "facts": "facts/ is the aggregate package named <MetaFactName> (blueprint-shared.naming.meta-fact-name) with one component, <RepoName>-facts.npm in facts/<RepoName>-facts/, which holds two facts: the organization values (<RepoName>.org-values, validatedBy blueprint-shared.org-values) and the repositories of the organization layer (<RepoName>.org-layout.repos, shaped like the repository list that scripts/naming/check-names.mjs reads)",
17274
- "docs": "docs/ is the docs package named <RepoName>-docs (blueprint-shared.naming.docs-package-name) with the entry docs/<RepoName>-docs/<RepoName>/ of the layer org, which cites the facts of the organization and the shared facts, and takes the shared documents as docSources",
17376
+ "docs": "docs/ is the docs package named <RepoName>-docs (blueprint-shared.naming.docs-package-name) with the entry docs/<RepoName>-docs/<RepoName>/ of the layer org, which cites the facts of the organization and the shared facts, and takes the shared documents as docSources. The entry holds the document layer-names.doc.ts, which the compose step writes from the repository list: the facts and docs package of every repository of the list, named from the scope of the organization",
17275
17377
  "names": "Every name is worked out from the organization values and the repository list given to the compose step, so the role names no organization: the scope is the one of aggregatePackageName, the packages are <scope>/<RepoName>-facts and <scope>/<RepoName>-docs",
17276
- "dependencies": "The component depends on blueprint-shared-facts and the docs package on blueprint-shared-docs and blueprint-shared-facts, at the version of those packages in the repository that holds the templates, because the repository installs them from the public registry"
17378
+ "dependencies": "The component depends on blueprint-shared-facts and the docs package on blueprint-shared-docs and blueprint-shared-facts, at the version of those packages in the repository that holds the templates, because the repository installs them from the public registry",
17379
+ "readme": "README.md comes from the role template. The compose step fills the organization (the scope without the @), the repository name, aggregatePackageName and aggregateRegistry of the organization values (fields organization, repoName, aggregatePackageName and aggregateRegistry of blueprint-shared.templates.fields). It says the repository is the organization layer of an adopter and not a copy of the repository that manages the shared packages (the management hub), names no organization, and lists the permissions the App of the organization needs from blueprint-shared.templates.github-app-placement"
17277
17380
  },
17278
17381
  "schema": "The fact of the organization values carries validatedBy blueprint-shared.org-values, so fact-kit check (pnpm check, the facts job of ci.yml) fails when a required field is missing or an unknown field is present, and names the field. scripts/ci/check-org-values.mjs reads the built value and the same schema, prints each missing, unknown or wrongly typed field, and also fails when aggregatePackageName is not the name of the aggregate package of the repository",
17279
17382
  "ci": "ci.yml has the step \"organization values against blueprint-shared.org-values\" in its facts job between role blocks (# @if org), after the steps that build and check the facts. The role has no workflow of its own"
@@ -17440,6 +17543,90 @@
17440
17543
  }
17441
17544
  }
17442
17545
  }
17546
+ },
17547
+ {
17548
+ "since": "0.7.0",
17549
+ "content": {
17550
+ "value": {
17551
+ "level": "repository",
17552
+ "variable": "the clientIdVariable of blueprint-shared.templates.github-app, a repository variable",
17553
+ "secret": "the privateKeySecret of blueprint-shared.templates.github-app, a repository secret",
17554
+ "reason": "A private repository on a plan that cannot read an organization variable or secret (an organization on the GitHub Free plan is one) needs both values in the repository. A public repository sets them in the repository as well, the same as the template. The expressions vars.<name> and secrets.<name> read the same in both levels, so the workflows do not change.",
17555
+ "setIn": "Every repository whose workflows mint the App token sets both values itself. A repository that lacks them cannot use the token of another repository.",
17556
+ "rule": "Every composed repository has the role base, whose auto-merge.yml mints the App token, so every composed repository sets both values. A repository sets the values when one of its roles is in rules. A new role or workflow that reads the clientIdVariable adds its role to rules.",
17557
+ "howToSet": [
17558
+ "gh variable set <clientIdVariable> -R <owner/repo>",
17559
+ "gh secret set <privateKeySecret> -R <owner/repo>"
17560
+ ],
17561
+ "rules": [
17562
+ {
17563
+ "role": "base",
17564
+ "workflows": [
17565
+ "auto-merge.yml: job merge"
17566
+ ]
17567
+ },
17568
+ {
17569
+ "role": "release",
17570
+ "workflows": [
17571
+ "advance-release.yml: job advance",
17572
+ "merge-release-pr.yml: job merge",
17573
+ "merge-back.yml: job merge-back",
17574
+ "release-please.yml: jobs release-please and merge-back",
17575
+ "open-release-line.yml: job open",
17576
+ "sync-release-tools.yml: job sync",
17577
+ "close-release.yml: job close (the App token is made only after the decision says ready)"
17578
+ ]
17579
+ },
17580
+ {
17581
+ "role": "publish",
17582
+ "workflows": [
17583
+ "publish.yml: job mirror (the other jobs use GITHUB_TOKEN or Trusted Publishing)"
17584
+ ]
17585
+ },
17586
+ {
17587
+ "role": "deploy",
17588
+ "workflows": [
17589
+ "deploy-prerelease.yml: job bundle",
17590
+ "deploy-prod.yml: job release"
17591
+ ]
17592
+ },
17593
+ {
17594
+ "role": "ops",
17595
+ "workflows": [
17596
+ "ops-deploy.yml: job iac (the token reads the private OpenTofu modules, contents: read)",
17597
+ "ops-deploy.yml: job workloads (the token reads the bundles, contents: read)"
17598
+ ]
17599
+ },
17600
+ {
17601
+ "role": "hub",
17602
+ "workflows": [
17603
+ "open-release-lines.yml: job dispatch (dispatches the workflows of the member repositories)"
17604
+ ]
17605
+ },
17606
+ {
17607
+ "role": "verify",
17608
+ "workflows": [
17609
+ "verify-prod.yml: job verify"
17610
+ ]
17611
+ },
17612
+ {
17613
+ "role": "org",
17614
+ "workflows": [
17615
+ "none: the role adds a check script and a step of the facts job of ci.yml, and neither mints the token"
17616
+ ]
17617
+ }
17618
+ ],
17619
+ "permissions": {
17620
+ "repository": "Contents (write), Pull requests (write), Issues (write), Workflows (write) and Actions (read); Actions (write) where a workflow dispatches another one; Checks (read), Statuses (read) and Variables (read).",
17621
+ "contents": "push of the pin, sync, product and merge-back commits, the product tag and the deletion of the branches; checkout of the release branch with the token",
17622
+ "pullRequests": "opening and merging the merge-back PR, and merging a Release PR",
17623
+ "issues": "release-please puts labels on its PRs, and PR labels go through the Issues API",
17624
+ "workflows": "sync-release-tools.yml pushes the changes of .github/workflows to the release branches. A push that changes a file under .github/workflows is refused for a token without this permission (\"refusing to allow a GitHub App to create or update workflow ... without `workflows` permission\"), and the token of GITHUB_TOKEN does not have it either. Observed on 2026-11-10 in the demo organization: the App with workflows: write pushed it, GITHUB_TOKEN was refused.",
17625
+ "comment": "The permissions are also written in the comment of the app-token step of release/.github/workflows/release-please.yml.",
17626
+ "actions": "The release scripts list workflow runs with gh run list (scripts/lib/release-pr.sh, release_please_settled), which needs Actions (read). A token without it makes the call fail, and the release stops. Observed on 2026-11-13 in an adopting organization: the merge-release-pr.yml run 43367045052 failed because the bot of the App had no Actions (read)."
17627
+ }
17628
+ }
17629
+ }
17443
17630
  }
17444
17631
  ],
17445
17632
  "source": {
@@ -17516,12 +17703,13 @@
17516
17703
  }
17517
17704
  ],
17518
17705
  "permissions": {
17519
- "repository": "Contents (write), Pull requests (write), Issues (write) and Workflows (write); Actions (write) where a workflow dispatches another one; Checks, Statuses and Variables read.",
17706
+ "repository": "Contents (write), Pull requests (write), Issues (write), Workflows (write) and Actions (read); Actions (write) where a workflow dispatches another one; Checks (read), Statuses (read) and Variables (read).",
17520
17707
  "contents": "push of the pin, sync, product and merge-back commits, the product tag and the deletion of the branches; checkout of the release branch with the token",
17521
17708
  "pullRequests": "opening and merging the merge-back PR, and merging a Release PR",
17522
17709
  "issues": "release-please puts labels on its PRs, and PR labels go through the Issues API",
17523
17710
  "workflows": "sync-release-tools.yml pushes the changes of .github/workflows to the release branches. A push that changes a file under .github/workflows is refused for a token without this permission (\"refusing to allow a GitHub App to create or update workflow ... without `workflows` permission\"), and the token of GITHUB_TOKEN does not have it either. Observed on 2026-11-10 in the demo organization: the App with workflows: write pushed it, GITHUB_TOKEN was refused.",
17524
- "comment": "The permissions are also written in the comment of the app-token step of release/.github/workflows/release-please.yml."
17711
+ "comment": "The permissions are also written in the comment of the app-token step of release/.github/workflows/release-please.yml.",
17712
+ "actions": "The release scripts list workflow runs with gh run list (scripts/lib/release-pr.sh, release_please_settled), which needs Actions (read). A token without it makes the call fail, and the release stops. Observed on 2026-11-13 in an adopting organization: the merge-release-pr.yml run 43367045052 failed because the bot of the App had no Actions (read)."
17525
17713
  }
17526
17714
  }
17527
17715
  }
@@ -17533,7 +17721,7 @@
17533
17721
  "templates"
17534
17722
  ],
17535
17723
  "title": "範本的組織欄位",
17536
- "description": "範本裡要由使用的組織自己填的值:GitHub App 的 client id variable 名稱與私鑰 secret 名稱、auto-merge 的 label、npm scope、授權的版權人,以及 ops 回寫 commit 作者用的 App bot 名稱與 user id。每個欄位寫名稱、說明、範本裡的形式,以及用在哪些範本檔。",
17724
+ "description": "範本裡要由使用的組織自己填的值:GitHub App 的 client id variable 名稱與私鑰 secret 名稱、auto-merge 的 label、npm scope、授權的版權人,以及 ops 回寫 commit 作者用的 App bot 名稱與 user id。org 角色的 README 另用組織名、倉名、facts 匯總套件名與 registry 名稱。每個欄位寫名稱、說明、範本裡的形式,以及用在哪些範本檔。",
17537
17725
  "variants": [
17538
17726
  {
17539
17727
  "since": "0.1.0",
@@ -17763,6 +17951,128 @@
17763
17951
  }
17764
17952
  ]
17765
17953
  }
17954
+ },
17955
+ {
17956
+ "since": "0.7.0",
17957
+ "content": {
17958
+ "value": [
17959
+ {
17960
+ "name": "clientIdVariable",
17961
+ "meaning": "The name of the repository variable that holds the client id of the GitHub App whose token the workflows mint. Each organization chooses it, and the same name is used in every repository that has the role base.",
17962
+ "form": "the placeholder @@clientIdVariable@@ in the workflow files; the compose step writes the name in",
17963
+ "usedBy": [
17964
+ "base/.github/workflows/auto-merge.yml",
17965
+ "deploy/.github/workflows/deploy-prerelease.yml",
17966
+ "deploy/.github/workflows/deploy-prod.yml",
17967
+ "hub/.github/workflows/open-release-lines.yml",
17968
+ "ops/.github/workflows/ops-deploy.yml",
17969
+ "publish/.github/workflows/publish.yml",
17970
+ "release/.github/workflows/advance-release.yml",
17971
+ "release/.github/workflows/close-release.yml",
17972
+ "release/.github/workflows/merge-back.yml",
17973
+ "release/.github/workflows/merge-release-pr.yml",
17974
+ "release/.github/workflows/open-release-line.yml",
17975
+ "release/.github/workflows/release-please.yml",
17976
+ "release/.github/workflows/sync-release-tools.yml",
17977
+ "verify/.github/workflows/verify-prod.yml"
17978
+ ]
17979
+ },
17980
+ {
17981
+ "name": "privateKeySecret",
17982
+ "meaning": "The name of the repository secret that holds the private key of the same GitHub App. Each organization chooses it.",
17983
+ "form": "the placeholder @@privateKeySecret@@ in the workflow files; the compose step writes the name in",
17984
+ "usedBy": [
17985
+ "base/.github/workflows/auto-merge.yml",
17986
+ "deploy/.github/workflows/deploy-prerelease.yml",
17987
+ "deploy/.github/workflows/deploy-prod.yml",
17988
+ "hub/.github/workflows/open-release-lines.yml",
17989
+ "ops/.github/workflows/ops-deploy.yml",
17990
+ "publish/.github/workflows/publish.yml",
17991
+ "release/.github/workflows/advance-release.yml",
17992
+ "release/.github/workflows/close-release.yml",
17993
+ "release/.github/workflows/merge-back.yml",
17994
+ "release/.github/workflows/merge-release-pr.yml",
17995
+ "release/.github/workflows/open-release-line.yml",
17996
+ "release/.github/workflows/release-please.yml",
17997
+ "release/.github/workflows/sync-release-tools.yml",
17998
+ "verify/.github/workflows/verify-prod.yml"
17999
+ ]
18000
+ },
18001
+ {
18002
+ "name": "mergeLabel",
18003
+ "meaning": "The name of the pull request label that asks the auto-merge workflow to merge. The compose step also writes the same label into scripts/merge/merge-config.json of the composed repository, so the workflow and the decision script read one name.",
18004
+ "form": "the placeholder @@mergeLabel@@ in the workflow file",
18005
+ "usedBy": [
18006
+ "base/.github/workflows/auto-merge.yml"
18007
+ ]
18008
+ },
18009
+ {
18010
+ "name": "scope",
18011
+ "meaning": "The npm scope of the restricted (non-public) packages a repository publishes, such as @<organization>. It is required when the repository or any unit is restricted.",
18012
+ "form": "the placeholder @@scope@@ as the value of the key scope; the compose step writes the scope in",
18013
+ "usedBy": [
18014
+ "release/release-policy.json",
18015
+ "org/README.md"
18016
+ ]
18017
+ },
18018
+ {
18019
+ "name": "licenseHolder",
18020
+ "meaning": "The copyright holder named after the year in the first line of the license text.",
18021
+ "form": "the placeholder @@licenseHolder@@ in the file; the compose step writes the name in",
18022
+ "usedBy": [
18023
+ "base/LICENSE"
18024
+ ]
18025
+ },
18026
+ {
18027
+ "name": "mergeBotApp",
18028
+ "meaning": "The name (slug) of the GitHub App whose bot account is the commit author of writeback-ops.sh (field mergeBotApp of blueprint-shared.org-values). The author is <mergeBotUserId>+<mergeBotApp>[bot].",
18029
+ "form": "the placeholder @@mergeBotApp@@ in the file; the compose step writes the name in",
18030
+ "usedBy": [
18031
+ "deploy/scripts/deploy/writeback-ops.sh"
18032
+ ]
18033
+ },
18034
+ {
18035
+ "name": "mergeBotUserId",
18036
+ "meaning": "The numeric user id of the bot account of that App (field mergeBotUserId of blueprint-shared.org-values). GitHub links a commit to the bot only when the address is <id>+<slug>[bot]@users.noreply.github.com.",
18037
+ "form": "the placeholder @@mergeBotUserId@@ in the file; the compose step writes the id in",
18038
+ "usedBy": [
18039
+ "deploy/scripts/deploy/writeback-ops.sh"
18040
+ ]
18041
+ },
18042
+ {
18043
+ "name": "organization",
18044
+ "meaning": "The name of the organization, which is its npm scope without the @. The compose step works it out from the scope, so an organization does not give it.",
18045
+ "form": "the placeholder @@organization@@ in the file; the compose step writes the name in",
18046
+ "usedBy": [
18047
+ "org/README.md"
18048
+ ]
18049
+ },
18050
+ {
18051
+ "name": "repoName",
18052
+ "meaning": "The name of the repository that is composed (blueprint-shared.naming.repo-name). The org role names its facts and docs packages and the path of its documents from it.",
18053
+ "form": "the placeholder @@repoName@@ in the file; the compose step writes the name in",
18054
+ "usedBy": [
18055
+ "org/README.md"
18056
+ ]
18057
+ },
18058
+ {
18059
+ "name": "aggregatePackageName",
18060
+ "meaning": "The name of the facts aggregate package of the organization (field aggregatePackageName of blueprint-shared.org-values).",
18061
+ "form": "the placeholder @@aggregatePackageName@@ in the file; the compose step writes the name in",
18062
+ "usedBy": [
18063
+ "org/README.md"
18064
+ ]
18065
+ },
18066
+ {
18067
+ "name": "aggregateRegistry",
18068
+ "meaning": "The name of the registry that the scoped packages of the organization are published to (field aggregateRegistry of blueprint-shared.org-values).",
18069
+ "form": "the placeholder @@aggregateRegistry@@ in the file; the compose step writes the name in",
18070
+ "usedBy": [
18071
+ "org/README.md"
18072
+ ]
18073
+ }
18074
+ ]
18075
+ }
17766
18076
  }
17767
18077
  ],
17768
18078
  "source": {
@@ -17825,7 +18135,8 @@
17825
18135
  "meaning": "The npm scope of the restricted (non-public) packages a repository publishes, such as @<organization>. It is required when the repository or any unit is restricted.",
17826
18136
  "form": "the placeholder @@scope@@ as the value of the key scope; the compose step writes the scope in",
17827
18137
  "usedBy": [
17828
- "release/release-policy.json"
18138
+ "release/release-policy.json",
18139
+ "org/README.md"
17829
18140
  ]
17830
18141
  },
17831
18142
  {
@@ -17851,6 +18162,38 @@
17851
18162
  "usedBy": [
17852
18163
  "deploy/scripts/deploy/writeback-ops.sh"
17853
18164
  ]
18165
+ },
18166
+ {
18167
+ "name": "organization",
18168
+ "meaning": "The name of the organization, which is its npm scope without the @. The compose step works it out from the scope, so an organization does not give it.",
18169
+ "form": "the placeholder @@organization@@ in the file; the compose step writes the name in",
18170
+ "usedBy": [
18171
+ "org/README.md"
18172
+ ]
18173
+ },
18174
+ {
18175
+ "name": "repoName",
18176
+ "meaning": "The name of the repository that is composed (blueprint-shared.naming.repo-name). The org role names its facts and docs packages and the path of its documents from it.",
18177
+ "form": "the placeholder @@repoName@@ in the file; the compose step writes the name in",
18178
+ "usedBy": [
18179
+ "org/README.md"
18180
+ ]
18181
+ },
18182
+ {
18183
+ "name": "aggregatePackageName",
18184
+ "meaning": "The name of the facts aggregate package of the organization (field aggregatePackageName of blueprint-shared.org-values).",
18185
+ "form": "the placeholder @@aggregatePackageName@@ in the file; the compose step writes the name in",
18186
+ "usedBy": [
18187
+ "org/README.md"
18188
+ ]
18189
+ },
18190
+ {
18191
+ "name": "aggregateRegistry",
18192
+ "meaning": "The name of the registry that the scoped packages of the organization are published to (field aggregateRegistry of blueprint-shared.org-values).",
18193
+ "form": "the placeholder @@aggregateRegistry@@ in the file; the compose step writes the name in",
18194
+ "usedBy": [
18195
+ "org/README.md"
18196
+ ]
17854
18197
  }
17855
18198
  ]
17856
18199
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blueprint-shared-facts",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Facts shared by several products, published on its own",
5
5
  "license": "MIT",
6
6
  "author": "Carlos Space",