diff --git a/.conductor/settings.toml b/.conductor/settings.toml new file mode 100644 index 0000000..5017b3e --- /dev/null +++ b/.conductor/settings.toml @@ -0,0 +1,11 @@ +"$schema" = "https://conductor.build/schemas/settings.repo.schema.json" +file_include_globs = "examples/react-tasks/.env\n" + +[scripts] +setup = "pnpm install && pnpm --dir examples/react-tasks install" +run = "pnpm --dir examples/react-tasks dev --host 0.0.0.0 --port ${CONDUCTOR_PORT:-5173}" +run_mode = "concurrent" + +[prompts] +general = "Use pnpm. Preserve Firestate's documented behavioral contracts, keep changes focused, and run the narrowest relevant tests before finishing." +code_review = "Focus on correctness, behavioral regressions, missing tests, and public API or documentation drift." diff --git a/.gitignore b/.gitignore index 2e1dce7..778f671 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,16 @@ # Dependencies node_modules/ +.pnpm-store # Build output dist/ +tsconfig.tsbuildinfo # IDE .idea/ .vscode/ +.nova +.vs* *.swp *.swo *~ @@ -17,20 +21,53 @@ Thumbs.db # Test coverage coverage/ +test-results # Logs -*.log +*.log* npm-debug.log* yarn-debug.log* yarn-error.log* pnpm-debug.log* +# Cache +.cache/ +.eslintcache +.firebase + # Environment .env .env.local .env.*.local +# Data +*.db + +# Secrets +*.local +serviceAccountKey.json +secrets.zip +.cert + # Temporary files *.tmp *.temp -.cache/ + +# Worktree ports +PORTS + +# Claude +.claude/worktrees +.claude/launch.json +.claude/settings.local.json + +# Cursor +.cursorignore +.cursor/mcp.json + +# Aider +.aider* + +# Python +__pycache__ +*/venv diff --git a/examples/react-tasks/.gitignore b/examples/react-tasks/.gitignore index b1640b5..ca253a2 100644 --- a/examples/react-tasks/.gitignore +++ b/examples/react-tasks/.gitignore @@ -1,4 +1,5 @@ node_modules dist +tsconfig.tsbuildinfo .env .env.local diff --git a/examples/react-tasks/vite.config.ts b/examples/react-tasks/vite.config.ts index 9ffcc67..8a0c254 100644 --- a/examples/react-tasks/vite.config.ts +++ b/examples/react-tasks/vite.config.ts @@ -3,4 +3,9 @@ import react from '@vitejs/plugin-react' export default defineConfig({ plugins: [react()], + resolve: { + alias: { + '@hvakr/firestate': new URL('../../src/index.ts', import.meta.url).pathname, + }, + }, })