chore: auto-commit task -

This commit is contained in:
MythEclipse
2026-06-02 19:04:49 +07:00
parent d1ad397be6
commit 685a6b2ea9
6 changed files with 67 additions and 1 deletions
+34
View File
@@ -0,0 +1,34 @@
$schema: 'https://moonrepo.dev/schema/config/v2.json'
# Global task templates — each project must explicitly inherit via workspace.inheritedTasks
# In moon v2, these define reusable task templates
tasks:
lint:
command: biome
args:
- check
- '--diagnostic-level=error'
- .
options:
runFromWorkspaceRoot: false
inputs:
- 'src/**/*'
- '*.js'
- '*.mjs'
- '*.ts'
- '*.mts'
format:
command: biome
args:
- format
- '--write'
- .
options:
runFromWorkspaceRoot: false
inputs:
- 'src/**/*'
- '*.js'
- '*.mjs'
- '*.ts'
- '*.mts'
+2
View File
@@ -1,3 +1,5 @@
$schema: 'https://moonrepo.dev/schema/config/v2.json'
# Moon Workspace Configuration # Moon Workspace Configuration
projects: projects:
- 'services/*' - 'services/*'
+2
View File
@@ -5,6 +5,8 @@ language: typescript
tasks: tasks:
typecheck: typecheck:
command: tsc --noEmit command: tsc --noEmit
options:
runFromWorkspaceRoot: false
inputs: inputs:
- src - src
- tsconfig.json - tsconfig.json
+10
View File
@@ -8,6 +8,8 @@ tasks:
build: build:
command: tsc command: tsc
options:
runFromWorkspaceRoot: false
inputs: inputs:
- src - src
- tsconfig.json - tsconfig.json
@@ -16,22 +18,30 @@ tasks:
typecheck: typecheck:
command: tsc --noEmit command: tsc --noEmit
options:
runFromWorkspaceRoot: false
inputs: inputs:
- src - src
- tsconfig.json - tsconfig.json
lint: lint:
command: biome check --diagnostic-level=error . command: biome check --diagnostic-level=error .
options:
runFromWorkspaceRoot: false
inputs: inputs:
- src - src
format: format:
command: biome format --write . command: biome format --write .
options:
runFromWorkspaceRoot: false
inputs: inputs:
- src - src
test: test:
command: vitest run command: vitest run
options:
runFromWorkspaceRoot: false
inputs: inputs:
- src - src
- tests - tests
+10
View File
@@ -8,6 +8,8 @@ tasks:
build: build:
command: tsc command: tsc
options:
runFromWorkspaceRoot: false
inputs: inputs:
- src - src
- tsconfig.json - tsconfig.json
@@ -16,22 +18,30 @@ tasks:
typecheck: typecheck:
command: tsc --noEmit command: tsc --noEmit
options:
runFromWorkspaceRoot: false
inputs: inputs:
- src - src
- tsconfig.json - tsconfig.json
lint: lint:
command: biome check --diagnostic-level=error . command: biome check --diagnostic-level=error .
options:
runFromWorkspaceRoot: false
inputs: inputs:
- src - src
format: format:
command: biome format --write . command: biome format --write .
options:
runFromWorkspaceRoot: false
inputs: inputs:
- src - src
test: test:
command: vitest run command: vitest run
options:
runFromWorkspaceRoot: false
inputs: inputs:
- src - src
- tests - tests
+9 -1
View File
@@ -7,7 +7,9 @@ tasks:
preset: server preset: server
build: build:
command: tsc --noEmit && NODE_NO_WARNINGS=1 vite build script: 'tsc --noEmit && NODE_NO_WARNINGS=1 vite build'
options:
runFromWorkspaceRoot: false
inputs: inputs:
- src - src
- tsconfig.json - tsconfig.json
@@ -22,16 +24,22 @@ tasks:
typecheck: typecheck:
command: tsc --noEmit command: tsc --noEmit
options:
runFromWorkspaceRoot: false
inputs: inputs:
- src - src
- tsconfig.json - tsconfig.json
lint: lint:
command: biome check --diagnostic-level=error src/ command: biome check --diagnostic-level=error src/
options:
runFromWorkspaceRoot: false
inputs: inputs:
- src - src
format: format:
command: biome format --write src/ command: biome format --write src/
options:
runFromWorkspaceRoot: false
inputs: inputs:
- src - src