@theholocron/holocron-config 7.8.0 → 7.9.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.
Files changed (2) hide show
  1. package/README.md +14 -14
  2. package/package.json +6 -5
package/README.md CHANGED
@@ -19,24 +19,24 @@ import { node } from "@theholocron/holocron-config";
19
19
 
20
20
  const { repo, workflows, providers } = node();
21
21
  export default defineConfig({
22
- name: "my-repo",
23
- description: "What this repo does.",
24
- repo: {
25
- name: "theholocron/my-repo",
26
- topics: ["nodejs", "typescript"],
27
- ...repo,
28
- },
29
- workflows: [...workflows, { name: "release", with: { "run-build": true } }],
30
- providers,
22
+ name: "my-repo",
23
+ description: "What this repo does.",
24
+ repo: {
25
+ name: "theholocron/my-repo",
26
+ topics: ["nodejs", "typescript"],
27
+ ...repo,
28
+ },
29
+ workflows: [...workflows, { name: "release", with: { "run-build": true } }],
30
+ providers,
31
31
  } satisfies HolocronConfig);
32
32
  ```
33
33
 
34
34
  `node()` returns three fragments:
35
35
 
36
- | Fragment | Contents |
37
- | ----------- | ------------------------------------------------------------------------------------------------------- |
38
- | `repo` | `protection: "strict"`, `properties: { lifecycle: "active", … }` |
39
- | `workflows` | `lint`, `test`, `typecheck`, `codeql`, `review`, `stale`, `greetings`, `dependencies`, `bookkeeping-pr` |
40
- | `providers` | `source: "github"`, `ci: "github"`, `issues: ["github", { labels: … }]` |
36
+ | Fragment | Contents |
37
+ | ----------- | ---------------------------------------------------------------------------------------------------- |
38
+ | `repo` | `protection: "strict"`, `properties: { lifecycle: "active", … }` |
39
+ | `workflows` | `lint`, `test`, `typecheck`, `codeql`, `review`, `stale`, `greetings`, `dependencies`, `bookkeeping` |
40
+ | `providers` | `source: "github"`, `ci: "github"`, `issues: ["github", { labels: … }]` |
41
41
 
42
42
  Everything else — `name`, `repo.name`, `repo.topics`, and any per-repo workflow overrides (e.g. `release`) — stays in the consuming repo's config.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/holocron-config",
3
- "version": "7.8.0",
3
+ "version": "7.9.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.4.0",
21
+ "@theholocron/cli": "^3.8.3",
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.8.0",
27
- "@theholocron/vitest-config": "7.8.0"
26
+ "@theholocron/tsconfig": "7.9.0",
27
+ "@theholocron/vitest-config": "7.9.0"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@theholocron/cli": ">=2.0.0-alpha.1"
@@ -56,6 +56,7 @@
56
56
  "scripts": {
57
57
  "build": "tsdown",
58
58
  "typecheck": "tsc --noEmit",
59
- "test": "vitest run"
59
+ "test": "vitest run",
60
+ "test:coverage": "vitest run --coverage"
60
61
  }
61
62
  }