@theholocron/cli 5.0.0-alpha.356 → 5.0.0-alpha.357
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/README.md +2 -2
- package/dist/cli.mjs +2 -1
- package/dist/cli.mjs.map +1 -1
- package/dist/{config-system-u8-jh7xW.mjs → config-system-CkpFGTap.mjs} +2 -1
- package/dist/{config-system-cpWJJ6yy.d.mts → config-system-M2V5jsbK.d.mts} +5 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/presets.d.mts +1 -1
- package/dist/presets.mjs +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -239,9 +239,9 @@ repo's `.holocron/repo.ts` holds `teams`, `topics`, `variables` and `secrets`, n
|
|
|
239
239
|
`satisfies RepoConfig` (a type-only import).
|
|
240
240
|
|
|
241
241
|
**The `org` area** (#1820). The organization's constants that are provider options and that CI does not need:
|
|
242
|
-
`.holocron/org.ts` is `{ cloudflare: { accountId }, vercel: { teamId }, checkly: { accountId } }` (typed with
|
|
242
|
+
`.holocron/org.ts` is `{ cloudflare: { accountId }, vercel: { teamId }, checkly: { accountId }, sentry: { org } }` (typed with
|
|
243
243
|
`satisfies OrgConfig`). The loader fills each of these into every provider entry of that name that leaves the option
|
|
244
|
-
out, so the config can say `deployment: ["vercel", { domain }]` and `
|
|
244
|
+
out, so the config can say `deployment: ["vercel", { domain }]`, `monitoring: "checkly"` and `errors: "sentry"`. The same option set inline
|
|
245
245
|
and in the file is an error that names both (`vercel.teamId is set in providers.deployment and in
|
|
246
246
|
.holocron/org.ts`), with no merge and no precedence. A provider key or an option the area does not know is an error; a
|
|
247
247
|
provider the config does not use is ignored. The org area is shared: a config in a subdirectory (`apps/sentinel`)
|
package/dist/cli.mjs
CHANGED
|
@@ -482,7 +482,8 @@ function placeNotifications(raw, area) {
|
|
|
482
482
|
const ORG_OPTIONS = {
|
|
483
483
|
cloudflare: ["accountId"],
|
|
484
484
|
vercel: ["teamId"],
|
|
485
|
-
checkly: ["accountId"]
|
|
485
|
+
checkly: ["accountId"],
|
|
486
|
+
sentry: ["org"]
|
|
486
487
|
};
|
|
487
488
|
const isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
488
489
|
const isTuple = (entry) => Array.isArray(entry) && entry.length === 2 && typeof entry[0] === "string" && isObject(entry[1]);
|