Skip to content
Merged
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
17 changes: 14 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
version: 2

multi-ecosystem-groups:
js-locks:
schedule:
interval: "daily"
open-pull-requests-limit: 3
updates:
- package-ecosystem: "github-actions"
directory: "/"
Expand Down Expand Up @@ -29,9 +35,14 @@ updates:

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 3
multi-ecosystem-group: "js-locks"
Comment thread
hyperpolymath marked this conversation as resolved.
Resolved
patterns: ["*"]

# Bun (bun.lock): in the js-locks group with npm, so one PR moves package.json and bun.lock together
- package-ecosystem: "bun"
directory: "/"
multi-ecosystem-group: "js-locks"
patterns: ["*"]

- package-ecosystem: "pip"
directory: "/"
Expand Down
5 changes: 5 additions & 0 deletions .machine_readable/root-allow.txt
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
flake.nix

# ─── JS manifest and locks (LANGUAGE-POLICY §1.4) ───────────────────────────
package.json # JCS-canonical manifest; pins JS tooling (LANGUAGE-POLICY §1.4)
bun.lock # tier-1 lock, required (LANGUAGE-POLICY §1.4)
.prettierignore # keeps Prettier off the JCS package.json; Prettier reads it from the root
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# SPDX-License-Identifier: MPL-2.0
# package.json is JCS-canonical (LANGUAGE-POLICY §1.4); Prettier must not reformat it.
package.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.

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

# 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 +24,23 @@ 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.setup]
description = "Install pinned JS dev tools (Prettier) from bun.lock"
run = "bun install --frozen-lockfile"

[tasks.build]
run = "gprbuild -p -j0 modshells.gpr"

[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 ."
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"devDependencies": {
"prettier": "3.10.1"
},
"license": "MPL-2.0",
"name": "modshells",
"private": true
}