@theholocron/holocron-config 7.29.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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as nodeDocsSite, t as nodeDocs } from "../node-docs-
|
|
1
|
+
import { n as nodeDocsSite, t as nodeDocs } from "../node-docs-CjztgtG8.js";
|
|
2
2
|
export { nodeDocs, nodeDocsSite };
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,10 @@ import { NodeDocsPreset, NodeDocsSitePreset, nodeDocs, nodeDocsSite } from "./co
|
|
|
4
4
|
import { HolocronPreset as ComposedPreset$1 } from "./configs/node.js";
|
|
5
5
|
import { n as ReactOptions, r as react$1, t as react } from "./react-DKXFl0ZG.js";
|
|
6
6
|
import { Capability, Capability as Capability$1, ComposedPreset, compose } from "@theholocron/cli";
|
|
7
|
+
//#region constants.d.ts
|
|
8
|
+
/** Cloudflare account ID for the theholocron org. */
|
|
9
|
+
declare const CLOUDFLARE_ACCOUNT_ID = "9c558af98664d13fc89b7e0a0d93d5a8";
|
|
10
|
+
//#endregion
|
|
7
11
|
//#region capabilities/node.d.ts
|
|
8
12
|
/**
|
|
9
13
|
* Base capability for all theholocron Node.js repositories.
|
|
@@ -55,4 +59,18 @@ declare function audit({ knip, performance, lighthouseConfig }?: AuditOptions):
|
|
|
55
59
|
*/
|
|
56
60
|
declare function monorepo$1(): Capability$1;
|
|
57
61
|
//#endregion
|
|
58
|
-
|
|
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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { i as CLOUDFLARE_ACCOUNT_ID, n as nodeDocsSite, r as docs, t as nodeDocs } from "./node-docs-CjztgtG8.js";
|
|
1
2
|
import { t as node } from "./node-3iHN9DIf.js";
|
|
2
3
|
import { t as typecheck } from "./typecheck-epaimGtp.js";
|
|
3
|
-
import { n as nodeDocsSite, r as docs, t as nodeDocs } from "./node-docs-BW6pdsNO.js";
|
|
4
4
|
import { t as react$1 } from "./react-hLw4lgas.js";
|
|
5
5
|
import { n as nextjs$1, t as nextjs } from "./nextjs-DfhjuPT3.js";
|
|
6
6
|
import { react } from "./configs/react.js";
|
|
@@ -44,4 +44,30 @@ function monorepo$1() {
|
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
//#endregion
|
|
47
|
-
|
|
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 };
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { t as node } from "./node-3iHN9DIf.js";
|
|
2
2
|
import { t as typecheck } from "./typecheck-epaimGtp.js";
|
|
3
3
|
import { compose } from "@theholocron/cli";
|
|
4
|
+
//#region constants.ts
|
|
5
|
+
/** Cloudflare account ID for the theholocron org. */
|
|
6
|
+
const CLOUDFLARE_ACCOUNT_ID = "9c558af98664d13fc89b7e0a0d93d5a8";
|
|
7
|
+
//#endregion
|
|
4
8
|
//#region capabilities/docs.ts
|
|
5
9
|
/**
|
|
6
10
|
* Adds a documentation site deployed to Cloudflare Pages with PR previews.
|
|
@@ -19,8 +23,9 @@ function docs() {
|
|
|
19
23
|
https: true
|
|
20
24
|
},
|
|
21
25
|
providers: {
|
|
22
|
-
deployment: ["cloudflare", { accountId:
|
|
23
|
-
dns: "cloudflare"
|
|
26
|
+
deployment: ["cloudflare", { accountId: CLOUDFLARE_ACCOUNT_ID }],
|
|
27
|
+
dns: "cloudflare",
|
|
28
|
+
workers: ["cloudflare", { accountId: CLOUDFLARE_ACCOUNT_ID }]
|
|
24
29
|
},
|
|
25
30
|
workflows: [{
|
|
26
31
|
name: "deploy",
|
|
@@ -83,4 +88,4 @@ function nodeDocsSite() {
|
|
|
83
88
|
return compose(node(), docs());
|
|
84
89
|
}
|
|
85
90
|
//#endregion
|
|
86
|
-
export { nodeDocsSite as n, docs as r, nodeDocs as t };
|
|
91
|
+
export { CLOUDFLARE_ACCOUNT_ID as i, nodeDocsSite as n, docs as r, nodeDocs as t };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-config",
|
|
3
|
-
"version": "7.
|
|
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",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
],
|
|
19
19
|
"type": "module",
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@theholocron/cli": "^3.
|
|
21
|
+
"@theholocron/cli": "^3.45.1",
|
|
22
22
|
"tsdown": "^0.22.14",
|
|
23
23
|
"typescript": "^5.9.3",
|
|
24
24
|
"vitest": "^4.1.10",
|
|
25
25
|
"@vitest/coverage-v8": "^4.1.10",
|
|
26
|
-
"@theholocron/tsconfig": "7.
|
|
27
|
-
"@theholocron/vitest-config": "7.
|
|
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"
|