mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-21 23:05:46 +00:00
c976b79c7d
Stand up the FE<->BE contract pipeline end to end with near-zero surface: a tauri_specta::Builder collects one proven command (greet) and exports typed TS bindings to src/generated/bindings.ts. The existing generate_handler! stays the live invoke handler — no FE change yet. Safety: the export runs only under #[cfg(debug_assertions)] (debug launch) and a headless test, never in a release build, so a specta RC break can never block a release cargo build; the committed bindings.ts is plain TypeScript for tsc. The snapshot is committed (gitignore exception) so CI diffs catch contract drift. Pinned deps: specta / tauri-specta =2.0.0-rc.25, specta-typescript =0.0.12 (the latest mutually-consistent set; rc.21 + specta-typescript 0.0.9 no longer resolve). Grow collect_commands! crate-by-crate next, starting with psysonic-library.
74 lines
1.3 KiB
Plaintext
74 lines
1.3 KiB
Plaintext
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
# Environment variables (API keys)
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Node
|
|
node_modules
|
|
dist
|
|
dist-ssr
|
|
*.local
|
|
|
|
# Editor directories and files
|
|
.vscode/*
|
|
!.vscode/extensions.json
|
|
.idea
|
|
.DS_Store
|
|
*.suo
|
|
*.ntvs*
|
|
*.njsproj
|
|
*.sln
|
|
*.sw?
|
|
|
|
# Tauri
|
|
src-tauri/target/
|
|
src-tauri/gen/
|
|
src-tauri/lcov.info
|
|
|
|
# Frontend test coverage
|
|
coverage/
|
|
|
|
# Generated at build/test/dev time (scripts/generate-release-notes-bundle.mjs).
|
|
# Ignore the contents (not the dir) so the committed tauri-specta FE↔BE contract
|
|
# snapshot below can be re-included — a `!` exception cannot escape an ignored dir.
|
|
src/generated/*
|
|
# ...except the committed tauri-specta contract snapshot, so CI diffs catch drift.
|
|
!src/generated/bindings.ts
|
|
|
|
# Documentation
|
|
CLAUDE.md
|
|
|
|
# Local commit-instructions for agents (never commit)
|
|
to_commit.md
|
|
|
|
# Claude Code memory (local only)
|
|
memory/
|
|
|
|
# Local scratchpad / notes (not committed)
|
|
tmp/
|
|
|
|
# Third-party clones for local research (not committed)
|
|
research/
|
|
|
|
# Nix build output symlink
|
|
result
|
|
result-*
|
|
|
|
# Local incremental cargo (nix develop; not used by flake — see nix/psysonic.nix cleanSource)
|
|
.build-local/
|
|
|
|
# Local Nix helpers (not in repo — optional; use `nix develop` / flake without them)
|
|
dev.sh
|
|
shell.nix
|
|
prod.sh
|
|
tsconfig.tsbuildinfo
|