@theholocron/holocron-config 7.30.0 → 7.31.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.
package/dist/index.d.ts CHANGED
@@ -59,4 +59,18 @@ declare function audit({ knip, performance, lighthouseConfig }?: AuditOptions):
59
59
  */
60
60
  declare function monorepo$1(): Capability$1;
61
61
  //#endregion
62
- export { type AuditOptions, CLOUDFLARE_ACCOUNT_ID, type Capability, type ComposedPreset, type ComposedPreset$1 as HolocronPreset, type NextjsOptions, type NodeDocsPreset, type NodeDocsSitePreset, type ReactOptions, audit, compose, docs, monorepo, monorepo$1 as monorepoCapability, nextjs, nextjs$1 as nextjsBundle, node, nodeDocs, nodeDocsSite, react, react$1 as reactCapability, typecheck };
62
+ //#region capabilities/wiki.d.ts
63
+ /**
64
+ * Adds the Fern engineering wiki (wiki.theholocron.dev/<repo>) to a repo.
65
+ * Provisions docs/wiki/{decisions,standards,specifications}/ and wires the
66
+ * wiki CI workflow to publish on push to main.
67
+ *
68
+ * Compose with nodeDocs() for repos that have engineering content to publish:
69
+ *
70
+ * ```ts
71
+ * const preset = compose(nodeDocs(), wiki());
72
+ * ```
73
+ */
74
+ declare function wiki(): Capability$1;
75
+ //#endregion
76
+ export { type AuditOptions, CLOUDFLARE_ACCOUNT_ID, type Capability, type ComposedPreset, type ComposedPreset$1 as HolocronPreset, type NextjsOptions, type NodeDocsPreset, type NodeDocsSitePreset, type ReactOptions, audit, compose, docs, monorepo, monorepo$1 as monorepoCapability, nextjs, nextjs$1 as nextjsBundle, node, nodeDocs, nodeDocsSite, react, react$1 as reactCapability, typecheck, wiki as wikiCapability };
package/dist/index.js CHANGED
@@ -44,4 +44,30 @@ function monorepo$1() {
44
44
  };
45
45
  }
46
46
  //#endregion
47
- export { CLOUDFLARE_ACCOUNT_ID, audit, compose, docs, monorepo, monorepo$1 as monorepoCapability, nextjs, nextjs$1 as nextjsBundle, node, nodeDocs, nodeDocsSite, react, react$1 as reactCapability, typecheck };
47
+ //#region capabilities/wiki.ts
48
+ /**
49
+ * Adds the Fern engineering wiki (wiki.theholocron.dev/<repo>) to a repo.
50
+ * Provisions docs/wiki/{decisions,standards,specifications}/ and wires the
51
+ * wiki CI workflow to publish on push to main.
52
+ *
53
+ * Compose with nodeDocs() for repos that have engineering content to publish:
54
+ *
55
+ * ```ts
56
+ * const preset = compose(nodeDocs(), wiki());
57
+ * ```
58
+ */
59
+ function wiki() {
60
+ return {
61
+ id: "wiki",
62
+ providers: {
63
+ wiki: ["fern", {
64
+ domain: "wiki.theholocron.dev",
65
+ fernOrg: "holocron"
66
+ }],
67
+ workers: ["cloudflare", { accountId: "9c558af98664d13fc89b7e0a0d93d5a8" }]
68
+ },
69
+ workflows: ["wiki"]
70
+ };
71
+ }
72
+ //#endregion
73
+ export { CLOUDFLARE_ACCOUNT_ID, audit, compose, docs, monorepo, monorepo$1 as monorepoCapability, nextjs, nextjs$1 as nextjsBundle, node, nodeDocs, nodeDocsSite, react, react$1 as reactCapability, typecheck, wiki as wikiCapability };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/holocron-config",
3
- "version": "7.30.0",
3
+ "version": "7.31.0",
4
4
  "description": "Shareable holocron configuration presets for theholocron repositories.",
5
5
  "homepage": "https://github.com/theholocron/configs/tree/main/packages/holocron-config#readme",
6
6
  "bugs": "https://github.com/theholocron/configs/issues",
@@ -23,8 +23,8 @@
23
23
  "typescript": "^5.9.3",
24
24
  "vitest": "^4.1.10",
25
25
  "@vitest/coverage-v8": "^4.1.10",
26
- "@theholocron/tsconfig": "7.30.0",
27
- "@theholocron/vitest-config": "7.30.0"
26
+ "@theholocron/tsconfig": "7.31.0",
27
+ "@theholocron/vitest-config": "7.31.0"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@theholocron/cli": ">=2.0.0-alpha.1"