-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathmoon.yml
More file actions
63 lines (53 loc) · 1.36 KB
/
moon.yml
File metadata and controls
63 lines (53 loc) · 1.36 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# https://moonrepo.dev/docs/config/tasks
$schema: 'https://moonrepo.dev/schemas/tasks.json'
project:
description: It's the repo root
name: repo
workspace:
inheritedTasks:
exclude: ['build', 'compile', 'release', 'test']
tasks:
build.deps:
deps:
- plugin-clean:build
- plugin-inline:build
- plugin-minify:build
- plugin-pretty:build
- plugin-url:build
- create-mail:build
build.all:
command: moon repo:build.deps
deps:
- canispam:build
- jsx-email:build
options:
runDepsInParallel: false
lint:
deps:
- repo:lint.docs
- repo:lint.json
- repo:lint.package
- repo:lint.js
options:
cache: false
lint.docs:
command: 'oxfmt --write .github/**/*.md **/README.md docs/**/*.md --no-error-on-unmatched-pattern'
options:
cache: false
unixShell: bash
lint.js:
command: oxlint --format stylish --tsconfig tsconfig.json apps infra packages scripts services
options:
cache: false
lint.format:
command: oxfmt --write **/*.{js,ts,cjs}
options:
cache: false
lint.json:
command: 'oxfmt --write .github/**/*.yml **/tsconfig.json **/tsconfig.*.json pnpm-workspace.yaml .moon/*.yml **/moon.yml'
options:
cache: false
lint.package:
command: 'oxfmt --write **/package.json'
options:
cache: false