Rust server (axum, yrs, sqlx/PostgreSQL): live shared models over the y-websocket protocol, versions, browser sign-in with PKCE, invites, single sign-on through OIDC, metrics. Docker image on distroless, compose file, and a Helm chart with one pod, optional bundled PostgreSQL and secrets from existing Secrets.
18 lines
612 B
YAML
18 lines
612 B
YAML
$schema: 'https://moonrepo.dev/schemas/project.json'
|
|
language: rust
|
|
tasks:
|
|
check:
|
|
command: cargo clippy -p archify-sync-protocol --all-targets -- -D warnings
|
|
inputs: ['src/**/*', 'Cargo.toml']
|
|
test:
|
|
command: cargo test -p archify-sync-protocol
|
|
inputs: ['src/**/*', 'Cargo.toml']
|
|
format:
|
|
command: cargo fmt -p archify-sync-protocol --check
|
|
inputs: ['src/**/*']
|
|
# Writes the TypeScript types to packages/protocol/src/generated.
|
|
types:
|
|
command: cargo test -p archify-sync-protocol export_bindings
|
|
inputs: ['src/**/*']
|
|
outputs: ['/packages/protocol/src/generated/**/*']
|