Add Justfile

This commit is contained in:
Nettika 2026-01-28 22:20:51 -08:00
parent d37f5aa794
commit c2f8e74c2f
No known key found for this signature in database
2 changed files with 24 additions and 8 deletions

22
Justfile Normal file
View file

@ -0,0 +1,22 @@
# Start development server
dev:
# pnpm dev
# Build for production
build:
# pnpm build
# cargo build
# Run tests
test:
# pnpm test
# cargo test
# Run linter
lint:
# pnpm lint
# Format code
format:
# pnpm fmt
# cargo fmt

10
TODO.md
View file

@ -2,10 +2,6 @@
A step-by-step checklist for porting MatterControl's design features to a Vue + TypeScript + three.js web application. A step-by-step checklist for porting MatterControl's design features to a Vue + TypeScript + three.js web application.
If a given step is more complex than anticipated, consider breaking it down into additional steps and adding those checklist items below. If a given step is no longer appropriate or you discern it needs adjusted or re-scoping, raise it in discussion.
When a given step is completed, check it off.
--- ---
## Phase 1: Project Foundation ## Phase 1: Project Foundation
@ -14,9 +10,7 @@ When a given step is completed, check it off.
- [x] Create `flake.nix` with Node.js and pnpm - [x] Create `flake.nix` with Node.js and pnpm
- [x] Add Rust toolchain to `flake.nix` (for later WASM work) - [x] Add Rust toolchain to `flake.nix` (for later WASM work)
- [x] Add `flake.lock` and verify `nix develop` works - [x] Add `flake.lock` and verify `nix develop` works
- [ ] Create `justfile` with `dev`, `build`, `test`, `lint` recipes - [x] Create `Justfile` with `dev`, `build`, `test`, `lint`, `format` recipes
- [ ] Add `just fmt` recipe for code formatting
- [ ] Add `just wasm` recipe placeholder for Rust builds
### Vue Project Scaffold ### Vue Project Scaffold
- [ ] Initialize Vue 3 project with Vite and TypeScript - [ ] Initialize Vue 3 project with Vite and TypeScript
@ -31,7 +25,7 @@ When a given step is completed, check it off.
### Testing Infrastructure ### Testing Infrastructure
- [ ] Add Vitest for unit testing - [ ] Add Vitest for unit testing
- [ ] Create first placeholder test - [ ] Create first placeholder test
- [ ] Add test script to `justfile` - [ ] Add test script to `Justfile`
--- ---