@dennisrepa/elevate 1.7.0 → 1.8.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 +8 -5
- package/dist/chunk-4YCMSRA6.js +5817 -0
- package/dist/chunk-4YCMSRA6.js.map +1 -0
- package/dist/cli.js +136 -3604
- package/dist/cli.js.map +1 -1
- package/dist/config-DRANL4H4.js +13 -0
- package/dist/config-DRANL4H4.js.map +1 -0
- package/docs/de.md +104 -24
- package/docs/en.md +104 -24
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
|
|
18
18
|
## ✨ Key Features
|
|
19
19
|
|
|
20
|
-
* **Polyglot Monorepo Support:** Manages frontend workspaces (`package.json`) and backend services (`pom.xml`) in a single tool.
|
|
20
|
+
* **Polyglot Monorepo Support:** Manages frontend workspaces (`package.json`) and backend services (`pom.xml`, `build.gradle`, `Cargo.toml`) in a single tool.
|
|
21
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
|
|
22
|
+
* **Runtime Ecosystem Switching:** Switch instantly between Node.js, Maven, Cargo and Gradle modules (`[E]`).
|
|
23
23
|
* **Release Channels:** Configurable channels (`stable` vs. `all`) with automatic filtering of pre-releases (alpha, beta, rc, snapshot).
|
|
24
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
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.
|
|
26
|
+
* **Safety Guardrails & Verification:** Automatic post-update verification (`npm install`, `mvn test-compile`, `gradle testClasses`) with rollback safety and major-version warnings.
|
|
27
27
|
* **Agentic & CI/CD Ready:** Full headless CLI (`--json`) and native Model Context Protocol (MCP) server for integration with autonomous AI coding agents.
|
|
28
28
|
* **Bilingual Interface:** Instant language toggle between English and German (`[L]`).
|
|
29
29
|
* **Modular Architecture:** Decoupled domain core and ports/adapters (hexagonal architecture).
|
|
@@ -38,8 +38,9 @@
|
|
|
38
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
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
40
|
| **Rust** | `Cargo` | `Cargo.toml` | Registry of the project's Cargo configuration (sparse index, mirrors via source replacement) | Workspaces, path dependencies, `workspace = true` inheritance | `cargo check --all-targets` | ✅ Supported |
|
|
41
|
+
| **Java** (JVM) | `Gradle` (`gradlew` / `gradle`) | `build.gradle`, `build.gradle.kts`, `settings.gradle(.kts)`, `gradle/libs.versions.toml` | Repositories the build itself declares, with its mirrors and credentials | Projects of the settings, included builds & `buildSrc` | `gradle testClasses` of the affected projects | ✅ Supported |
|
|
41
42
|
|
|
42
|
-
> **Planned:** Support for Python (`pip`, `poetry`, `uv`)
|
|
43
|
+
> **Planned:** Support for Python (`pip`, `poetry`, `uv`) and `yarn` is on the roadmap.
|
|
43
44
|
|
|
44
45
|
---
|
|
45
46
|
|
|
@@ -125,7 +126,7 @@ node dist/cli.js
|
|
|
125
126
|
|
|
126
127
|
| Key | Action |
|
|
127
128
|
| :--- | :--- |
|
|
128
|
-
| **`E`** | Switch Ecosystem (`npm` → `Maven` → `Cargo`) |
|
|
129
|
+
| **`E`** | Switch Ecosystem (`npm` → `Maven` → `Cargo` → `Gradle`) |
|
|
129
130
|
| **`W`** | Open Module / Workspace Selector |
|
|
130
131
|
| **`V`** | Pick Specific Version (Interactive search & filter modal) |
|
|
131
132
|
| **`L`** | Toggle Language (`English` ⇄ `Deutsch`) |
|
|
@@ -154,6 +155,7 @@ elevate scan --ecosystem=npm --channel=stable --json
|
|
|
154
155
|
|
|
155
156
|
# Query complete published version history for a package
|
|
156
157
|
elevate versions chalk --json
|
|
158
|
+
elevate versions org.slf4j:slf4j-api --ecosystem=gradle --json
|
|
157
159
|
|
|
158
160
|
# Dry-run update simulation without modifying files
|
|
159
161
|
elevate update --module=apps/web --packages=chalk@5.6.2 --dry-run --json
|
|
@@ -217,6 +219,7 @@ Detailed parameter references are available in [`docs/en.md`](./docs/en.md) and
|
|
|
217
219
|
* **Dependency sections.** `dependencies`, `devDependencies` and `optionalDependencies` are covered. `peerDependencies` and `overrides` are never changed.
|
|
218
220
|
* **Cargo.** Requirements are raised keeping their precision, so a loose `"1"` only shows breaking updates; wildcard and compound requirements (`*`, `>=1.2, <2`), git and external path dependencies are left alone. Lock-file-only updates (`[Lock]`) are offered for direct dependencies when `Cargo.lock` is behind a requirement that already allows a newer release; transitive crates are not, and a crate with a pending manifest update shows only that candidate. Registries that need authentication and `[patch]` sections are not covered; a vendored or local-registry source replacement is refused rather than bypassed.
|
|
219
221
|
* **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.
|
|
222
|
+
* **Gradle.** Gradle 7.6 and newer, Groovy and Kotlin DSL, run with the build's own wrapper or `gradle` on the `PATH` (a JDK is needed). A version is changed where its text is found: literals in the build scripts, `gradle.properties`, `ext` and local variables, `gradle/libs.versions.toml` and the `plugins` block. Dynamic and rich versions (`1.+`, `[1.0,2.0)`, `strictly`, `reject`, `prefer`), computed versions and versions that only a convention plugin in `buildSrc` or an included build, an `apply from:` script or another catalog defines are listed as *not offered*. The Gradle Wrapper itself is never updated. `gradle/verification-metadata.xml` is never regenerated, so a build that uses it rolls such an update back. Dependency locks are refreshed for the root build only; an update in an included build or `buildSrc` that has lock files is refused. Android and Kotlin Multiplatform builds are not verified. Windows is not verified.
|
|
220
223
|
|
|
221
224
|
---
|
|
222
225
|
|