@dennisrepa/elevate 1.2.0 β 1.4.0
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/README.md +227 -214
- package/dist/cli.js +3148 -1277
- package/dist/cli.js.map +1 -1
- package/docs/de.md +438 -305
- package/docs/en.md +442 -309
- package/package.json +88 -73
- package/docs/plans/transactional-updates.md +0 -142
package/README.md
CHANGED
|
@@ -1,214 +1,227 @@
|
|
|
1
|
-
# Elevate
|
|
2
|
-
|
|
3
|
-
> **Interactive Polyglot Terminal Dashboard (TUI) and MCP Server for safe, selective, and transparent dependency management across monorepos and multi-project repositories.**
|
|
4
|
-
|
|
5
|
-
[](https://opensource.org/licenses/MIT)
|
|
6
|
-
[](https://www.npmjs.com/package/@dennisrepa/elevate)
|
|
7
|
-
[](https://ko-fi.com/dennisrepa)
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
## π Documentation
|
|
12
|
-
|
|
13
|
-
* π¬π§ **[English Documentation](./docs/en.md)** β Architecture, release channels, safety mechanisms, headless CLI, MCP server, and configuration.
|
|
14
|
-
* π©πͺ **[Deutsche Dokumentation](./docs/de.md)** β VollstΓ€ndige Anleitung, Architektur, Release Channels, Monorepo-Schutz und Konfiguration.
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## β¨ Key Features
|
|
19
|
-
|
|
20
|
-
* **Polyglot Monorepo Support:** Manages frontend workspaces (`package.json`) and backend services (`pom.xml`) in a single tool.
|
|
21
|
-
* **Targeted Version Selection:** Interactive modal to search, filter, and pick any published version (`[V]`), not just `latest`.
|
|
22
|
-
* **Runtime Ecosystem Switching:** Switch instantly between Node.js and Maven modules (`[E]`).
|
|
23
|
-
* **Release Channels:** Configurable channels (`stable` vs. `all`) with automatic filtering of pre-releases (alpha, beta, rc, snapshot).
|
|
24
|
-
* **
|
|
25
|
-
* **
|
|
26
|
-
* **
|
|
27
|
-
* **
|
|
28
|
-
* **
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
|
36
|
-
|
|
|
37
|
-
| **
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
npx
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
>
|
|
53
|
-
>
|
|
54
|
-
>
|
|
55
|
-
>
|
|
56
|
-
>
|
|
57
|
-
>
|
|
58
|
-
>
|
|
59
|
-
>
|
|
60
|
-
>
|
|
61
|
-
>
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
npm
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
|
126
|
-
|
|
|
127
|
-
| **`
|
|
128
|
-
| **`
|
|
129
|
-
|
|
|
130
|
-
| **`
|
|
131
|
-
|
|
|
132
|
-
| **`
|
|
133
|
-
| **`
|
|
134
|
-
| **`
|
|
135
|
-
| **`
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
* `
|
|
185
|
-
* `
|
|
186
|
-
* `
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
"
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
* **npm
|
|
214
|
-
|
|
1
|
+
# Elevate
|
|
2
|
+
|
|
3
|
+
> **Interactive Polyglot Terminal Dashboard (TUI) and MCP Server for safe, selective, and transparent dependency management across monorepos and multi-project repositories.**
|
|
4
|
+
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
[](https://www.npmjs.com/package/@dennisrepa/elevate)
|
|
7
|
+
[](https://ko-fi.com/dennisrepa)
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## π Documentation
|
|
12
|
+
|
|
13
|
+
* π¬π§ **[English Documentation](./docs/en.md)** β Architecture, release channels, safety mechanisms, headless CLI, MCP server, and configuration.
|
|
14
|
+
* π©πͺ **[Deutsche Dokumentation](./docs/de.md)** β VollstΓ€ndige Anleitung, Architektur, Release Channels, Monorepo-Schutz und Konfiguration.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## β¨ Key Features
|
|
19
|
+
|
|
20
|
+
* **Polyglot Monorepo Support:** Manages frontend workspaces (`package.json`) and backend services (`pom.xml`) in a single tool.
|
|
21
|
+
* **Targeted Version Selection:** Interactive modal to search, filter, and pick any published version (`[V]`), not just `latest`.
|
|
22
|
+
* **Runtime Ecosystem Switching:** Switch instantly between Node.js and Maven modules (`[E]`).
|
|
23
|
+
* **Release Channels:** Configurable channels (`stable` vs. `all`) with automatic filtering of pre-releases (alpha, beta, rc, snapshot).
|
|
24
|
+
* **Internal Dependencies:** Aligns workspace modules to their local versions and looks up internal packages (`@my-org/*`, `com.mycompany.*`) only in private registries β never on a public one.
|
|
25
|
+
* **Rollback on Failure:** If installation, the workspace link check or verification fails, every touched file is restored.
|
|
26
|
+
* **Safety Guardrails & Verification:** Automatic post-update verification (`npm install`, `mvn test-compile`) with rollback safety and major-version warnings.
|
|
27
|
+
* **Agentic & CI/CD Ready:** Full headless CLI (`--json`) and native Model Context Protocol (MCP) server for integration with autonomous AI coding agents.
|
|
28
|
+
* **Bilingual Interface:** Instant language toggle between English and German (`[L]`).
|
|
29
|
+
* **Modular Architecture:** Decoupled domain core and ports/adapters (hexagonal architecture).
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## π¦ Supported Package Managers
|
|
34
|
+
|
|
35
|
+
| Ecosystem | Package Manager | Manifest File | Primary Registry | Monorepo Support | Verification Method | Status |
|
|
36
|
+
| :--- | :--- | :--- | :--- | :--- | :--- | :---: |
|
|
37
|
+
| **Node.js** (JS / TS) | `npm` | `package.json` | Configured npm registry (`.npmrc`) | Root & npm Workspaces (glob patterns) | `npm install` + `npm ls` | β
Supported |
|
|
38
|
+
| **Node.js** (JS / TS) | `pnpm` (9 β 12) | `package.json` | Registry configured for pnpm (`.npmrc`) | Root & `pnpm-workspace.yaml` (patterns, catalogs) | `pnpm install` + `pnpm install --frozen-lockfile --lockfile-only` | β
Supported |
|
|
39
|
+
| **Java** (JVM) | `Maven` (`mvnw` / `mvn`) | `pom.xml` | Repositories & mirrors from Maven's own settings | Root POM, reactor & parent POMs | `mvn test-compile -amd` | β
Supported |
|
|
40
|
+
|
|
41
|
+
> **Planned:** Support for Python (`pip`, `poetry`, `uv`), `yarn`, and `Gradle` is on the roadmap.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## π Installation & Quick Start
|
|
46
|
+
|
|
47
|
+
### 1. Instant Run via `npx` (No Installation Required)
|
|
48
|
+
```bash
|
|
49
|
+
npx @dennisrepa/elevate
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
> **For AI Agents (Claude Code, Cursor, Antigravity):**
|
|
53
|
+
> Register Elevate directly in your agent's MCP settings:
|
|
54
|
+
> ```json
|
|
55
|
+
> {
|
|
56
|
+
> "mcpServers": {
|
|
57
|
+
> "elevate": {
|
|
58
|
+
> "command": "npx",
|
|
59
|
+
> "args": ["-y", "@dennisrepa/elevate", "mcp"]
|
|
60
|
+
> }
|
|
61
|
+
> }
|
|
62
|
+
> }
|
|
63
|
+
> ```
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
### 2. Standalone Binary (Zero Node.js Dependency)
|
|
68
|
+
For environments without a Node.js runtime:
|
|
69
|
+
1. Download `elevate.exe` (Windows) or `elevate-linux` from [GitHub Releases](https://github.com/DennisRepa/Elevate/releases).
|
|
70
|
+
2. Execute directly:
|
|
71
|
+
```powershell
|
|
72
|
+
.\elevate.exe
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
### 3. Global Installation
|
|
78
|
+
```bash
|
|
79
|
+
npm install -g @dennisrepa/elevate
|
|
80
|
+
elevate
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
### 4. Project Integration
|
|
86
|
+
Add as a development dependency:
|
|
87
|
+
```bash
|
|
88
|
+
npm install -D @dennisrepa/elevate
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Add an entry to `package.json`:
|
|
92
|
+
```json
|
|
93
|
+
{
|
|
94
|
+
"scripts": {
|
|
95
|
+
"elevate": "elevate"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Run via:
|
|
101
|
+
```bash
|
|
102
|
+
npm run elevate
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
### 5. Local Development
|
|
108
|
+
```bash
|
|
109
|
+
npm install
|
|
110
|
+
npm run build
|
|
111
|
+
npm link
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Run locally:
|
|
115
|
+
```bash
|
|
116
|
+
elevate
|
|
117
|
+
# or
|
|
118
|
+
node dist/cli.js
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## β¨οΈ Keyboard Shortcuts (Interactive TUI)
|
|
124
|
+
|
|
125
|
+
| Key | Action |
|
|
126
|
+
| :--- | :--- |
|
|
127
|
+
| **`E`** | Switch Ecosystem (`npm` β `Maven`) |
|
|
128
|
+
| **`W`** | Open Module / Workspace Selector |
|
|
129
|
+
| **`V`** | Pick Specific Version (Interactive search & filter modal) |
|
|
130
|
+
| **`L`** | Toggle Language (`English` β `Deutsch`) |
|
|
131
|
+
| **`β` / `β`** *(or `k`/`j`)* | Navigate package list |
|
|
132
|
+
| **`Space`** | Toggle selection of focused package |
|
|
133
|
+
| **`A`** | Toggle selection of all visible packages in the active tab |
|
|
134
|
+
| **`Tab`** *(or `1`, `2`, `3`)* | Switch between tabs |
|
|
135
|
+
| **`U`** | Execute update for selected packages |
|
|
136
|
+
| **`R`** | Re-scan current module |
|
|
137
|
+
| **`Q`** | Quit Elevate |
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## π€ Headless CLI & MCP Server
|
|
142
|
+
|
|
143
|
+
### 1. Headless CLI (`--json`)
|
|
144
|
+
|
|
145
|
+
Run non-interactive commands for scripting and CI/CD pipelines:
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
# Discover all modules in the repository
|
|
149
|
+
elevate modules --json
|
|
150
|
+
|
|
151
|
+
# Scan dependencies for available updates (exits with code 1 if updates found)
|
|
152
|
+
elevate scan --ecosystem=npm --channel=stable --json
|
|
153
|
+
|
|
154
|
+
# Query complete published version history for a package
|
|
155
|
+
elevate versions chalk --json
|
|
156
|
+
|
|
157
|
+
# Dry-run update simulation without modifying files
|
|
158
|
+
elevate update --module=apps/web --packages=chalk@5.6.2 --dry-run --json
|
|
159
|
+
|
|
160
|
+
# Apply updates with explicit major-version approval
|
|
161
|
+
elevate update --module=apps/web --packages=pinia@4.0.3 --allow-major --json
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### 2. Model Context Protocol (MCP) Server
|
|
165
|
+
|
|
166
|
+
Start Elevate as an MCP server via stdio:
|
|
167
|
+
```bash
|
|
168
|
+
elevate mcp
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
MCP Configuration (e.g. `claude_desktop_config.json`):
|
|
172
|
+
```json
|
|
173
|
+
{
|
|
174
|
+
"mcpServers": {
|
|
175
|
+
"elevate": {
|
|
176
|
+
"command": "npx",
|
|
177
|
+
"args": ["-y", "@dennisrepa/elevate", "mcp"]
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
#### Available MCP Tools:
|
|
184
|
+
* `elevate_discover_modules`: Discovers repository modules and workspaces.
|
|
185
|
+
* `elevate_scan`: Scans dependencies for outdated packages against registries.
|
|
186
|
+
* `elevate_get_versions`: Fetches published version history from registry.
|
|
187
|
+
* `elevate_apply_updates`: Applies targeted updates with verification and guardrails.
|
|
188
|
+
* `elevate_verify`: Runs module-specific build and test verification checks.
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## βοΈ Configuration
|
|
193
|
+
|
|
194
|
+
Elevate operates with zero configuration by default. Optional settings can be defined in `elevate.config.json` in the repository root:
|
|
195
|
+
|
|
196
|
+
```json
|
|
197
|
+
{
|
|
198
|
+
"channel": "stable",
|
|
199
|
+
"locale": "en",
|
|
200
|
+
"internalScopes": ["@my-org", "com.mycompany"],
|
|
201
|
+
"mavenPlugins": { "help": "3.5.2", "versions": "2.22.0" },
|
|
202
|
+
"postUpdateScript": "npm test",
|
|
203
|
+
"postUpdateLabel": "Run test suite"
|
|
204
|
+
}
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
Detailed parameter references are available in [`docs/en.md`](./docs/en.md) and [`docs/de.md`](./docs/de.md).
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
## π§ Scope and known limits
|
|
212
|
+
|
|
213
|
+
* **npm and pnpm for Node.js.** Elevate drives npm and pnpm (pnpm 9 to 12, `lockfileVersion` 9). Repositories managed by Yarn or Bun are refused (scans and updates say why and change nothing); Maven modules in the same repository still work.
|
|
214
|
+
* **pnpm specifics.** `catalog:` entries are updated where they are declared, in `pnpm-workspace.yaml`. A plain range on a workspace module (`^1.0.0`) is listed as *not linked* and never rewritten to `workspace:`, because pnpm resolves it from the registry. Elevate does not read pnpm settings such as `minimumReleaseAge` or the approval of build scripts, so pnpm may refuse an offered version; the update is then rolled back with pnpm's message. pnpm 8 and older, Windows and `shared-workspace-lockfile=false` are not covered.
|
|
215
|
+
* **Broken configuration stops Elevate.** An `elevate.config.json` that is not valid JSON, not an object, or whose `internalScopes` is not a list of strings is reported and Elevate exits with code `1`, because ignoring it would switch off the protection of internal packages. Without any configuration file Elevate works with defaults.
|
|
216
|
+
* **Dependency sections.** `dependencies`, `devDependencies` and `optionalDependencies` are covered. `peerDependencies` and `overrides` are never changed.
|
|
217
|
+
* **Maven.** Maven plugin versions and declarations inside `<profiles>` are not offered. Dependencies whose version is declared outside the repository (an external parent or BOM) are listed as *not offered* with the reason.
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
## π License & Sponsorship
|
|
222
|
+
|
|
223
|
+
Elevate is open-source software licensed under the [MIT License](./LICENSE).
|
|
224
|
+
|
|
225
|
+
* **Ko-fi:** [Support on Ko-fi](https://ko-fi.com/dennisrepa)
|
|
226
|
+
* **npm:** `npm fund @dennisrepa/elevate`
|
|
227
|
+
|