Repository navigation
Expand file tree
/
Copy pathmoon.yml
More file actions
42 lines (38 loc) · 1.38 KB
/
Copy pathmoon.yml
File metadata and controls
42 lines (38 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
$schema: "https://moonrepo.dev/schemas/project.json"
id: "repo"
language: "unknown"
layer: "configuration"
stack: "infrastructure"
tags: ["javascript-quality", "repo", "hygiene", "monorepo"]
project:
title: "Repository"
description: "Root repository hygiene, workspace metadata, and cross-cutting checks."
owner: "oliphaunt"
owners:
defaultOwner: "@oliphaunt/core"
paths:
"*": ["@oliphaunt/core"]
tasks:
prek:
tags: ["policy", "assertion", "quality", "static", "requires-maintainer-tools"]
command: "bash tools/dev/check-prek.sh"
inputs:
- "/**/*"
options:
cache: true
runFromWorkspaceRoot: true
# Local hook validation only; hosted checks already run the owned format
# and policy tasks without bootstrapping every maintainer binary.
runInCI: false
js-format-check:
command: "bun x --no-install biome format package.json biome.json renovate.json .markdownlint-cli2.jsonc"
inputs: ["/package.json", "/biome.json", "/renovate.json", "/.markdownlint-cli2.jsonc"]
options:
mergeArgs: replace
mergeInputs: replace
js-lint:
command: "bun x --no-install biome lint --diagnostic-level=error package.json biome.json renovate.json .markdownlint-cli2.jsonc"
inputs: ["/package.json", "/biome.json", "/renovate.json", "/.markdownlint-cli2.jsonc"]
options:
mergeArgs: replace
mergeInputs: replace