project-compass 4.2.0 → 4.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-compass",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "Futuristic project navigator and runner for Node, Python, Rust, and Go",
5
5
  "main": "src/cli.js",
6
6
  "bin": {
@@ -1,28 +0,0 @@
1
- # 2026-03-02 - Project Compass Final Polish
2
-
3
- ## Task: Finalize and Polish project-compass (v3.7.0)
4
- - **Status**: In Progress
5
- - **Location**: /mnt/ramdisk/project-compass/
6
-
7
- ### Work Log:
8
- - Initializing final polish sub-agent.
9
- - Goal: Production-grade refactor, documentation update, and framework support verification.
10
- - **Documentation Update**:
11
- - Revamped `README.md` and `commands.md`.
12
- - Included all new framework support (Next.js Bun, Django, Rust, etc.).
13
- - Documented the new 'Install' (I) macro command.
14
- - **Refactor (src/projectDetection.js)**:
15
- - Updated `getPackageManager` to return 'npm' as default but prioritized `bun.lockb`, `pnpm-lock.yaml`.
16
- - Hardcoded 'npm' replaced with dynamic `pm` everywhere in Node.js framework detection.
17
- - Extended Next.js detection to include `.mjs` and `.ts` config files.
18
- - Updated Vite, Tailwind, and Prisma commands to use project-specific package managers and `npx`-equivalent logic.
19
- - **CLI Enhancement (src/cli.js)**:
20
- - Added 'i' (install) to `ACTION_MAP`.
21
- - Updated help menu and reserved keys to include 'i'.
22
- - **Architect Polish (src/components/ProjectArchitect.js)**:
23
- - Added Next.js (Bun), React (pnpm), and Django templates.
24
- - Ensured robust command generation for scaffolding.
25
- - **Verification**:
26
- - Confirmed `metadata.packageManager` is used in all critical Node.js paths.
27
- - Bumbed version to 3.7.0 in `package.json`.
28
- - **Status**: Production Ready.
@@ -1,22 +0,0 @@
1
- # Changelog - 2026-03-03
2
-
3
- ## [3.8.0] - Architectural Overhaul
4
-
5
- ### Added
6
- - **Paginated Navigator**: Implemented pagination for the project list. Now handles large workspaces (50+ projects) gracefully without breaking the TUI layout.
7
- - **Configurable Limits**: Added `maxVisibleProjects` setting to `config.json` (default: 8).
8
- - **Modular Architecture**:
9
- - Broke down the massive `projectDetection.js` into specialized detectors in `src/detectors/` (Node, Python, Rust, Go, Java, Generic).
10
- - Modularized TUI logic from `cli.js` into standalone React components: `Navigator.js`, `Header.js`, and `Footer.js`.
11
- - **Production Hardening**: Added robust error boundaries and try-catch blocks in the project discovery pipeline to ensure one corrupt manifest doesn't crash the entire CLI.
12
-
13
- ### Refactored
14
- - **src/projectDetection.js**: Now acts as a clean orchestrator for modular detectors.
15
- - **src/cli.js**: Significantly reduced complexity by delegating UI rendering to sub-components.
16
- - **State Management**: Introduced `src/store/` (preparing for full context-based state management).
17
-
18
- ### Technical Details
19
- - New file structure:
20
- - `src/detectors/node.js`, `python.js`, `rust.js`, etc.
21
- - `src/components/Navigator.js`, `Header.js`, `Footer.js`.
22
- - `src/detectors/utils.js` for shared detection logic.