@dennisrepa/elevate 1.2.0 → 1.3.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/LICENSE +21 -21
- package/README.md +225 -214
- package/dist/cli.js +2803 -1277
- package/dist/cli.js.map +1 -1
- package/docs/de.md +409 -305
- package/docs/en.md +414 -309
- package/package.json +84 -73
- package/docs/plans/transactional-updates.md +0 -142
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Dennis Répa
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Dennis Répa
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,214 +1,225 @@
|
|
|
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
|
-
|
|
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
|
-
elevate
|
|
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
|
-
npm
|
|
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
|
-
* **
|
|
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
|
+
| **Java** (JVM) | `Maven` (`mvnw` / `mvn`) | `pom.xml` | Repositories & mirrors from Maven's own settings | Root POM, reactor & parent POMs | `mvn test-compile -amd` | ✅ Supported |
|
|
39
|
+
|
|
40
|
+
> **Planned:** Support for Python (`pip`, `poetry`, `uv`), `pnpm`, `yarn`, and `Gradle` is on the roadmap.
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## 🚀 Installation & Quick Start
|
|
45
|
+
|
|
46
|
+
### 1. Instant Run via `npx` (No Installation Required)
|
|
47
|
+
```bash
|
|
48
|
+
npx @dennisrepa/elevate
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
> **For AI Agents (Claude Code, Cursor, Antigravity):**
|
|
52
|
+
> Register Elevate directly in your agent's MCP settings:
|
|
53
|
+
> ```json
|
|
54
|
+
> {
|
|
55
|
+
> "mcpServers": {
|
|
56
|
+
> "elevate": {
|
|
57
|
+
> "command": "npx",
|
|
58
|
+
> "args": ["-y", "@dennisrepa/elevate", "mcp"]
|
|
59
|
+
> }
|
|
60
|
+
> }
|
|
61
|
+
> }
|
|
62
|
+
> ```
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
### 2. Standalone Binary (Zero Node.js Dependency)
|
|
67
|
+
For environments without a Node.js runtime:
|
|
68
|
+
1. Download `elevate.exe` (Windows) or `elevate-linux` from [GitHub Releases](https://github.com/DennisRepa/Elevate/releases).
|
|
69
|
+
2. Execute directly:
|
|
70
|
+
```powershell
|
|
71
|
+
.\elevate.exe
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
### 3. Global Installation
|
|
77
|
+
```bash
|
|
78
|
+
npm install -g @dennisrepa/elevate
|
|
79
|
+
elevate
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
### 4. Project Integration
|
|
85
|
+
Add as a development dependency:
|
|
86
|
+
```bash
|
|
87
|
+
npm install -D @dennisrepa/elevate
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Add an entry to `package.json`:
|
|
91
|
+
```json
|
|
92
|
+
{
|
|
93
|
+
"scripts": {
|
|
94
|
+
"elevate": "elevate"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Run via:
|
|
100
|
+
```bash
|
|
101
|
+
npm run elevate
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
### 5. Local Development
|
|
107
|
+
```bash
|
|
108
|
+
npm install
|
|
109
|
+
npm run build
|
|
110
|
+
npm link
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Run locally:
|
|
114
|
+
```bash
|
|
115
|
+
elevate
|
|
116
|
+
# or
|
|
117
|
+
node dist/cli.js
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## ⌨️ Keyboard Shortcuts (Interactive TUI)
|
|
123
|
+
|
|
124
|
+
| Key | Action |
|
|
125
|
+
| :--- | :--- |
|
|
126
|
+
| **`E`** | Switch Ecosystem (`npm` ⇄ `Maven`) |
|
|
127
|
+
| **`W`** | Open Module / Workspace Selector |
|
|
128
|
+
| **`V`** | Pick Specific Version (Interactive search & filter modal) |
|
|
129
|
+
| **`L`** | Toggle Language (`English` ⇄ `Deutsch`) |
|
|
130
|
+
| **`↑` / `↓`** *(or `k`/`j`)* | Navigate package list |
|
|
131
|
+
| **`Space`** | Toggle selection of focused package |
|
|
132
|
+
| **`A`** | Toggle selection of all visible packages in the active tab |
|
|
133
|
+
| **`Tab`** *(or `1`, `2`, `3`)* | Switch between tabs |
|
|
134
|
+
| **`U`** | Execute update for selected packages |
|
|
135
|
+
| **`R`** | Re-scan current module |
|
|
136
|
+
| **`Q`** | Quit Elevate |
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## 🤖 Headless CLI & MCP Server
|
|
141
|
+
|
|
142
|
+
### 1. Headless CLI (`--json`)
|
|
143
|
+
|
|
144
|
+
Run non-interactive commands for scripting and CI/CD pipelines:
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
# Discover all modules in the repository
|
|
148
|
+
elevate modules --json
|
|
149
|
+
|
|
150
|
+
# Scan dependencies for available updates (exits with code 1 if updates found)
|
|
151
|
+
elevate scan --ecosystem=npm --channel=stable --json
|
|
152
|
+
|
|
153
|
+
# Query complete published version history for a package
|
|
154
|
+
elevate versions chalk --json
|
|
155
|
+
|
|
156
|
+
# Dry-run update simulation without modifying files
|
|
157
|
+
elevate update --module=apps/web --packages=chalk@5.6.2 --dry-run --json
|
|
158
|
+
|
|
159
|
+
# Apply updates with explicit major-version approval
|
|
160
|
+
elevate update --module=apps/web --packages=pinia@4.0.3 --allow-major --json
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### 2. Model Context Protocol (MCP) Server
|
|
164
|
+
|
|
165
|
+
Start Elevate as an MCP server via stdio:
|
|
166
|
+
```bash
|
|
167
|
+
elevate mcp
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
MCP Configuration (e.g. `claude_desktop_config.json`):
|
|
171
|
+
```json
|
|
172
|
+
{
|
|
173
|
+
"mcpServers": {
|
|
174
|
+
"elevate": {
|
|
175
|
+
"command": "npx",
|
|
176
|
+
"args": ["-y", "@dennisrepa/elevate", "mcp"]
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
#### Available MCP Tools:
|
|
183
|
+
* `elevate_discover_modules`: Discovers repository modules and workspaces.
|
|
184
|
+
* `elevate_scan`: Scans dependencies for outdated packages against registries.
|
|
185
|
+
* `elevate_get_versions`: Fetches published version history from registry.
|
|
186
|
+
* `elevate_apply_updates`: Applies targeted updates with verification and guardrails.
|
|
187
|
+
* `elevate_verify`: Runs module-specific build and test verification checks.
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## ⚙️ Configuration
|
|
192
|
+
|
|
193
|
+
Elevate operates with zero configuration by default. Optional settings can be defined in `elevate.config.json` in the repository root:
|
|
194
|
+
|
|
195
|
+
```json
|
|
196
|
+
{
|
|
197
|
+
"channel": "stable",
|
|
198
|
+
"locale": "en",
|
|
199
|
+
"internalScopes": ["@my-org", "com.mycompany"],
|
|
200
|
+
"mavenPlugins": { "help": "3.5.2", "versions": "2.22.0" },
|
|
201
|
+
"postUpdateScript": "npm test",
|
|
202
|
+
"postUpdateLabel": "Run test suite"
|
|
203
|
+
}
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
Detailed parameter references are available in [`docs/en.md`](./docs/en.md) and [`docs/de.md`](./docs/de.md).
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
## 🧭 Scope and known limits
|
|
211
|
+
|
|
212
|
+
* **npm only for Node.js.** Elevate drives npm. Repositories managed by pnpm, Yarn or Bun are refused (scans and updates say why and change nothing); Maven modules in the same repository still work.
|
|
213
|
+
* **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.
|
|
214
|
+
* **Dependency sections.** `dependencies`, `devDependencies` and `optionalDependencies` are covered. `peerDependencies` and `overrides` are never changed.
|
|
215
|
+
* **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.
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## 📄 License & Sponsorship
|
|
220
|
+
|
|
221
|
+
Elevate is open-source software licensed under the [MIT License](./LICENSE).
|
|
222
|
+
|
|
223
|
+
* **Ko-fi:** [Support on Ko-fi](https://ko-fi.com/dennisrepa)
|
|
224
|
+
* **npm:** `npm fund @dennisrepa/elevate`
|
|
225
|
+
|