Skip to content

Commit e481a77

Browse files
committed
feat: 🎸 init
1 parent 5ef9231 commit e481a77

22 files changed

+724
-674
lines changed

‎.github/workflows/ci.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "Pipeline"
2+
3+
on:
4+
push:
5+
branches:
6+
- "master"
7+
pull_request:
8+
9+
jobs:
10+
ci:
11+
name: "CI"
12+
runs-on: "ubuntu-latest"
13+
steps:
14+
- uses: "actions/checkout@v4"
15+
with:
16+
fetch-depth: 0
17+
- uses: "moonrepo/setup-toolchain@v0"
18+
- run: "moon ci"
19+
- uses: "moonrepo/run-report-action@v1"
20+
if: success() || failure()
21+
with:
22+
access-token: ${{ secrets.GH_TOKEN }}

‎.gitignore

+12
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,15 @@ dist
128128
.yarn/build-state.yml
129129
.yarn/install-state.gz
130130
.pnp.*
131+
132+
# moon
133+
.moon/cache
134+
.moon/docker
135+
136+
# The `outDir` for declarations
137+
lib/
138+
# Build cache manifests
139+
*.tsbuildinfo
140+
141+
# others
142+
experiments

‎.moon/hooks/pre-commit.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
set -eo pipefail
3+
4+
# Automatically generated by moon. DO NOT MODIFY!
5+
# https://moonrepo.dev/docs/guides/vcs-hooks
6+
7+
moon run :check --affected
8+

‎.moon/tasks.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
$schema: "https://moonrepo.dev/schemas/tasks.json"
2+
3+
implicitInputs:
4+
- "package.json"
5+
6+
fileGroups:
7+
configs:
8+
- "*.config.{js,cjs,mjs}"
9+
- "*.json"
10+
sources:
11+
- "src/**/*"
12+
- "types/**/*"
13+
tests:
14+
- "tests/**/*"
15+
- "**/__tests__/**/*"
16+
assets:
17+
- "assets/**/*"
18+
- "images/**/*"
19+
- "static/**/*"
20+
- "**/*.{scss,css}"
21+
22+
tasks:
23+
check:
24+
command: "bun x @biomejs/biome check --no-errors-on-unmatched --files-ignore-unknown=true ."
25+
platform: "system"
26+
options:
27+
affectedFiles: true
28+
apply:
29+
command: "bun x @biomejs/biome check --apply --no-errors-on-unmatched --files-ignore-unknown=true ."
30+
platform: "system"
31+
options:
32+
affectedFiles: true
33+
clean:
34+
command: "rm -rf dist"
35+
options:
36+
cache: false
37+
persistent: false

‎.moon/toolchain.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
$schema: "https://moonrepo.dev/schemas/toolchain.json"
2+
3+
bun:
4+
version: "1.1.7"
5+
dependencyVersionFormat: "workspace"
6+
syncProjectWorkspaceDependencies: true

‎.moon/workspace.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
$schema: "https://moonrepo.dev/schemas/workspace.json"
2+
3+
projects:
4+
- "apps/*"
5+
- "packages/*"
6+
- "plugins/*"
7+
- "experiments/*"
8+
- "tools/*"
9+
10+
vcs:
11+
manager: "git"
12+
provider: "github"
13+
defaultBranch: "main"
14+
hooks:
15+
pre-commit:
16+
- "moon run :check --affected"
17+
syncHooks: true
18+
19+
hasher:
20+
optimization: "performance"

‎.prototools

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[settings]
2+
detect-strategy = "prefer-prototools"
3+
4+
[plugins]
5+
moon = "source:https://raw.githubusercontent.com/moonrepo/moon/master/proto-plugin.toml"

‎.vscode/settings.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"typescript.disableAutomaticTypeAcquisition": false,
3+
"typescript.tsdk": "node_modules/typescript/lib"
4+
}

0 commit comments

Comments
 (0)