Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# package.json is JCS-canonical and pnpm-lock.yaml is tool-generated (LANGUAGE-POLICY §1.4).
# Prettier must not reformat them.
package.json
pnpm-lock.yaml
# Files without a Prettier baseline (not yet formatted); remove entries as they are formatted.
Comment thread
hyperpolymath marked this conversation as resolved.
Resolved
.github/CONTRIBUTING.md
.github/label-classifier.json
.github/workflows/casket-pages.yml
.github/workflows/codeql.yml
.github/workflows/dogfood-gate.yml
.github/workflows/hypatia-scan.yml
.github/workflows/labels.yml
.github/workflows/push-email-notify.yml
.github/workflows/scorecard.yml
compose.yaml
nerdctl-compose.yaml
packaging/flatpak/com.hyperpolymath.CloudSyncTuner.yml
packaging/scoop/cloud-sync-tuner.json
15 changes: 15 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 28 additions & 23 deletions mise.toml
Original file line number Diff line number Diff line change
@@ -1,34 +1,21 @@
[tools]
# Language runtimes
node = "latest"
python = "latest"
rust = "latest"
go = "latest"
zig = "latest"
java = "latest"
bun = "latest"
denojs = "latest"

# Package managers
npm = "latest"
yarn = "latest"
pnpm = "latest"
pip = "latest"
cargo = "latest"
go-task = "latest"

# Formatting & Linting
gofmt = "latest"
black = "latest"
isort = "latest"
ruff = "latest"
prettier = "latest"
shfmt = "latest"
stylua = "latest"

# Build tools
cmake = "latest"
make = "latest"
ninja = "latest"

# Shell tools
Expand All @@ -38,20 +25,38 @@ gnu-tar = "latest"
gnu-grep = "latest"

# Testing
vitest = "latest"
pytest = "latest"
jest = "latest"

[env]
# Common environment variables
NODE_ENV = "development"
PYTHONDONTWRITEBYTECODE = "1"
PYTHONUNBUFFERED = "1"

# Task runner alias
[alias]
task = "go-task"
build = "cargo build --release || npm run build || go build"
test = "cargo test || npm test || go test ./..."
lint = "ruff check . || prettier --check . || black --check ."
fmt = "ruff format . || prettier --write . || black ."

[tasks."build:tray"]
run = "cargo build --release"
dir = "tray-daemon"
Comment thread
hyperpolymath marked this conversation as resolved.
Resolved

[tasks."build:overlay"]
run = "cargo build --release"
dir = "overlay-daemon"

[tasks.build]
depends = ["build:tray", "build:overlay"]
Comment thread
hyperpolymath marked this conversation as resolved.
Resolved

[tasks."test:tray"]
run = "cargo test"
dir = "tray-daemon"

[tasks."test:overlay"]
run = "cargo test"
dir = "overlay-daemon"

[tasks.test]
depends = ["test:tray", "test:overlay"]
Comment thread
hyperpolymath marked this conversation as resolved.
Resolved

[tasks.lint]
run = "bun install --frozen-lockfile && bunx --no-install --bun prettier --check ."
Comment thread
hyperpolymath marked this conversation as resolved.
Resolved

[tasks.fmt]
run = "bun install --frozen-lockfile && bunx --no-install --bun prettier --write ."
Comment thread
hyperpolymath marked this conversation as resolved.
Resolved
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"devDependencies":{"prettier":"3.10.1"},"license":"MPL-2.0","name":"cloud-sync-tuner","private":true}
24 changes: 24 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading