Skip to content

Commit 396ba0c

Browse files
authored
Merge pull request #13 from Miyamura80/cleanup/remove-python-traces
πŸ”¨ fix: remove Python references
2 parents 0b2d5a3 + 61181ce commit 396ba0c

File tree

13 files changed

+1315
-227
lines changed

13 files changed

+1315
-227
lines changed

β€Ž.claude/skills/cleanup/SKILL.mdβ€Ž

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,8 @@ Report any branches deleted.
111111

112112
### 10. Sync dependencies
113113

114-
Detect package manager and sync:
115-
116-
- If `uv.lock` exists: `uv sync`
117-
- Else if `bun.lockb` exists: `bun install`
118-
- Else if `package-lock.json` exists: `npm install`
119-
- Else if `requirements.txt` exists: `pip install -r requirements.txt`
120-
- Else: Skip dependency sync
114+
- Run `bun install` at the repository root so `bun.lock` (and `node_modules`) stay in sync.
115+
- If the `docs/` workspace has its own `bun.lock`, run `cd docs && bun install` as well.
121116

122117
### 11. Git garbage collection
123118

β€Ž.cursor/rules/deprecated.mdcβ€Ž

Lines changed: 0 additions & 21 deletions
This file was deleted.

β€Ž.cursor/rules/langfuse.mdcβ€Ž

Lines changed: 0 additions & 30 deletions
This file was deleted.
Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
1-
## Python package management tool: uv
1+
# Package Management
22

3-
This project uses uv for python dependency management instead of pip. To check dependencies, check `pyproject.toml` not `requirements.txt`. uv is a rust-based backend for blazing fast env & dependency management.
3+
This repository no longer relies on Python tooling. Bun is the only supported package manager for frontend/watch scripts and documentation builds.
44

5-
Don't use `pip install`, always use `uv sync` instead of `pip install -r requirements.txt` and `uv pip install <package_name> to add a new dependency`. Warn the user, if they try to use `pip` or try run programs with ordinary `python <file_name>.py`, and instead encourage them to run it using `uv run python <file_name>.py` after synchronizing with `uv sync`.
5+
## Workflow
66

7-
For reference:
8-
- `uv sync`: Ensure it is using the correct python venv
9-
- `uv run python <file_name>.py`: Run the python file using the python env defined by `pyproject.toml`
10-
- `uv run python -m tests.path_to.test_module` to run a specific test in isolation without running all other tests
7+
- **Install deps**: `bun install` at the repo root to hydrate `bun.lock`/`bun.lockb` and keep `node_modules` aligned.
8+
- **Run scripts**: Always use `bun run <script>` (or `bunx` when a tool isn’t installed globally) instead of `npm run`/`yarn`/`pnpm`.
9+
- **Docs workspace**: The `docs/` site ships with its own `bun.lock`. Run `cd docs && bun install` whenever you sync the workspace.
10+
- **Lockfile hygiene**: Treat `bun.lock` (and `docs/bun.lock`) as the single source of truthβ€”never edit it manually; use `bun install` to update it.
11+
12+
## Troubleshooting
13+
14+
- If you see `bun: command not found`, install Bun from https://bun.sh/ and re-run `bun install`.
15+
- To get the current Bun version, run `bun --version` so reviewers know what runtime you tested with.
16+
17+
## Do Not
18+
19+
- Do not install dependencies with `npm`, `yarn`, or `pnpm`.
20+
- Do not reintroduce `uv`, `pip`, or other Python dependency managers; the backend is Rust and all JS tooling runs through Bun.

β€Ž.cursor/rules/typing.mdcβ€Ž

Lines changed: 0 additions & 11 deletions
This file was deleted.

β€Ž.cursor/rules/uv.mdcβ€Ž

Lines changed: 0 additions & 14 deletions
This file was deleted.

β€Ž.github/ISSUE_TEMPLATE/bug_report.mdβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ What actually happened.
2323

2424
## Environment
2525

26-
- Python version:
26+
- Bun version:
2727
- OS:
28+
- Tauri version:
2829
- Relevant config:

β€Ž.github/workflows/codeql.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
language: [ 'javascript-typescript', 'python' ]
23+
language: [ 'javascript-typescript', 'rust' ]
2424

2525
steps:
2626
- name: Checkout repository

β€Ž.kniprcβ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"ignore": ["docs/**"],
3+
"ignoreWorkspaces": ["docs"]
4+
}

0 commit comments

Comments
Β (0)