@theholocron/holocron-config 8.0.0 → 8.1.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/configs/nextjs.js +1 -1
- package/dist/configs/node-docs.js +1 -1
- package/dist/configs/node.js +1 -1
- package/dist/configs/react.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -3
- package/dist/{nextjs-Bc9yXJDs.js → nextjs-BVbxyvYY.js} +1 -1
- package/dist/{node-CAmZywnY.js → node-Rfcptkso.js} +17 -1
- package/dist/{node-docs-CkBLWe6B.js → node-docs-CWBYBXn2.js} +1 -1
- package/package.json +5 -5
package/dist/configs/nextjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as nextjs } from "../nextjs-
|
|
1
|
+
import { t as nextjs } from "../nextjs-BVbxyvYY.js";
|
|
2
2
|
export { nextjs };
|
|
@@ -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-CWBYBXn2.js";
|
|
2
2
|
export { nodeDocs, nodeDocsSite };
|
package/dist/configs/node.js
CHANGED
package/dist/configs/react.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ declare const CLOUDFLARE_ACCOUNT_ID = "9c558af98664d13fc89b7e0a0d93d5a8";
|
|
|
14
14
|
* Contributes: GitHub source/CI/issues providers, strict branch protection,
|
|
15
15
|
* and the standard workflow set (lint, test, security, review, stale, greetings,
|
|
16
16
|
* dependencies, bookkeeping). Does NOT include typecheck — add that separately.
|
|
17
|
+
* The `lint` task carries the org linter list explicitly so every repo runs the
|
|
18
|
+
* same set (a repo can override with its own `{ name: "lint", linters: [...] }`).
|
|
17
19
|
*/
|
|
18
20
|
declare function node(): Capability$1;
|
|
19
21
|
//#endregion
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as CLOUDFLARE_ACCOUNT_ID, n as nodeDocsSite, r as docs, t as nodeDocs } from "./node-docs-
|
|
2
|
-
import { t as node } from "./node-
|
|
1
|
+
import { i as CLOUDFLARE_ACCOUNT_ID, n as nodeDocsSite, r as docs, t as nodeDocs } from "./node-docs-CWBYBXn2.js";
|
|
2
|
+
import { t as node } from "./node-Rfcptkso.js";
|
|
3
3
|
import { t as typecheck } from "./typecheck-CIe5Am0j.js";
|
|
4
4
|
import { t as react$1 } from "./react-B6frNMdd.js";
|
|
5
|
-
import { n as nextjs$1, t as nextjs } from "./nextjs-
|
|
5
|
+
import { n as nextjs$1, t as nextjs } from "./nextjs-BVbxyvYY.js";
|
|
6
6
|
import { react } from "./configs/react.js";
|
|
7
7
|
import { monorepo } from "./configs/monorepo.js";
|
|
8
8
|
import { compose } from "@theholocron/cli";
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
//#region capabilities/node.ts
|
|
2
|
+
/** The org-standard linter set — drives both CI super-linter and `holocron run lint`. */
|
|
3
|
+
const ORG_LINTERS = [
|
|
4
|
+
"eslint",
|
|
5
|
+
"prettier",
|
|
6
|
+
"yamllint",
|
|
7
|
+
"actionlint",
|
|
8
|
+
"gitleaks",
|
|
9
|
+
"editorconfig",
|
|
10
|
+
"commitlint",
|
|
11
|
+
"git-merge-conflict-markers"
|
|
12
|
+
];
|
|
2
13
|
/**
|
|
3
14
|
* Base capability for all theholocron Node.js repositories.
|
|
4
15
|
* Contributes: GitHub source/CI/issues providers, strict branch protection,
|
|
5
16
|
* and the standard workflow set (lint, test, security, review, stale, greetings,
|
|
6
17
|
* dependencies, bookkeeping). Does NOT include typecheck — add that separately.
|
|
18
|
+
* The `lint` task carries the org linter list explicitly so every repo runs the
|
|
19
|
+
* same set (a repo can override with its own `{ name: "lint", linters: [...] }`).
|
|
7
20
|
*/
|
|
8
21
|
function node() {
|
|
9
22
|
return {
|
|
@@ -27,7 +40,10 @@ function node() {
|
|
|
27
40
|
},
|
|
28
41
|
requiredChecks: ["Lint / Conclusion", "Test / Conclusion"],
|
|
29
42
|
tasks: [
|
|
30
|
-
|
|
43
|
+
{
|
|
44
|
+
name: "lint",
|
|
45
|
+
linters: ORG_LINTERS
|
|
46
|
+
},
|
|
31
47
|
"test",
|
|
32
48
|
"security",
|
|
33
49
|
"review",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-config",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.1.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,16 +18,16 @@
|
|
|
18
18
|
],
|
|
19
19
|
"type": "module",
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@theholocron/cli": "^4.
|
|
21
|
+
"@theholocron/cli": "^4.6.0",
|
|
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": "8.
|
|
27
|
-
"@theholocron/vitest-config": "8.
|
|
26
|
+
"@theholocron/tsconfig": "8.1.0",
|
|
27
|
+
"@theholocron/vitest-config": "8.1.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@theholocron/cli": ">=4.
|
|
30
|
+
"@theholocron/cli": ">=4.6.0"
|
|
31
31
|
},
|
|
32
32
|
"exports": {
|
|
33
33
|
".": {
|