Skip to content

Commit 461fe9a

Browse files
puikinshclaude
andcommitted
chore(deps): refresh to Angular 22.1 + ApexCharts 6
Angular 22.0.x -> 22.1.x via `ng update` (@angular/common, compiler, compiler-cli, core, forms, platform-browser, router at 22.1.2; @angular/build and @angular/cli at 22.1.4), plus ng-packagr 22.0.0 -> 22.1.1, zone.js ~0.15.0 -> ~0.16.0 (what Angular 22's CLI now scaffolds, and inside @angular/core's `~0.15.0 || ~0.16.0` peer range), simple-datatables 10.2.0 -> 10.3.0 and tom-select 2.6.1 -> 2.6.2. ApexCharts 5 -> 6 (major). The `apexcharts` peer dependency widens to `^4.0.0 || ^5.0.0 || ^6.0.0` and the demo builds against 6.10.0. LteApexChart needed no changes: v6 keeps the `new ApexCharts(el, opts)` / render() / updateOptions() / destroy() surface and existing option objects. The demo's area, line, bar, donut and sparkline charts render identically (9 canvases / 15 series on Dashboard v2, no console errors). v6's full bundle is heavier -- the lazy apexcharts chunk goes from ~135 kB to ~223 kB transfer -- and ships per-chart-type entry points for consumers who want to trim it. The `bootstrap` peer dependency is now ^5.3.8 (was ^5.3.0), matching what admin-lte@4.8.1 itself requires, so the advertised range can no longer resolve to a Bootstrap older than the CSS it is paired with. FullCalendar stays on 6.1.21: only @fullcalendar/core has a stable 7.x, while daygrid/timegrid/list/interaction are still on latest 6.1.21 with 7.x only as rc/beta, and the v6 plugins pin core to ~6.1.21 so bumping core alone fails npm install with ERESOLVE. TypeScript stays on ~6.0.0 because @angular/compiler-cli and @angular/build both declare `typescript: >=6.0 <6.1`. No version bump -- this repo changes versions only in `release:` commits. npm ci, npm run build and npm run build:demo are all green, and the built library still ships AdminLTE v4.8.1's CSS. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent e515284 commit 461fe9a

4 files changed

Lines changed: 2224 additions & 2337 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,32 @@ All notable changes to `@adminlte/angular` are documented here. The format is ba
4949
focus-ring fix. The library imports no AdminLTE JavaScript, so the modules bundled
5050
upstream since 4.1 (`ColorMode`, `SidebarSearch`) never collide with the Angular
5151
services.
52+
- **Dependencies refreshed.** Angular **22.0.x → 22.1.x** (`@angular/common`, `compiler`,
53+
`compiler-cli`, `core`, `forms`, `platform-browser`, `router` → 22.1.2; `@angular/build`
54+
and `@angular/cli` → 22.1.4) via `ng update`, plus `ng-packagr` 22.0.0 → 22.1.1,
55+
`zone.js` `~0.15.0` → `~0.16.0` (the version Angular 22's own CLI scaffolds, and inside
56+
`@angular/core`'s `~0.15.0 || ~0.16.0` peer range), `simple-datatables` 10.2.0 → 10.3.0
57+
and `tom-select` 2.6.1 → 2.6.2. The refreshed build chain also clears most of the
58+
workspace's transitive advisories (`npm audit`: 15 → 4, including the only critical).
59+
- **ApexCharts 5 → 6 (major).** The `apexcharts` peer dependency now reads
60+
`^4.0.0 || ^5.0.0 || ^6.0.0`, and the demo builds against 6.10.0. `LteApexChart` needed
61+
no changes — v6 keeps the `new ApexCharts(el, options)` / `render()` / `updateOptions()` /
62+
`destroy()` API and existing option objects unchanged; its two new defaults
63+
(variable-length data transitions, pinch-zoom/pan gestures) are opt-out via
64+
`chart.animations.dynamicAnimation` and `chart.zoom.pinch` / `chart.pan.inertia`.
65+
Consumers staying on ApexCharts 4 or 5 are unaffected. Note that v6's full bundle is
66+
larger (the demo's lazily-loaded `apexcharts` chunk grows from ~135 kB to ~223 kB
67+
transfer); v6 also ships per-chart-type entry points (`apexcharts/area`, `apexcharts/bar`,
68+
…) for consumers who want to trim that.
69+
- The `bootstrap` peer dependency is now `^5.3.8` (was `^5.3.0`), matching what
70+
`admin-lte@4.8.1` itself requires — the advertised range no longer resolves to a
71+
Bootstrap older than the CSS it is paired with.
72+
- **Held back — FullCalendar 7.** Only `@fullcalendar/core` has a stable 7.x (7.0.2).
73+
The plugins the demo calendar needs (`daygrid`, `timegrid`, `list`, `interaction`) are on
74+
`latest: 6.1.21`, with 7.x available only as `7.0.0-rc.0` / `7.0.0-beta.6` pre-releases,
75+
and the v6 plugins pin `@fullcalendar/core@~6.1.21`, so upgrading core alone fails
76+
`npm install` with `ERESOLVE`. FullCalendar 7's core also adds two new required peers
77+
(`temporal-polyfill`, `@full-ui/headless-calendar`). All `@fullcalendar/*` packages
78+
therefore stay on 6.1.21 until the plugin set ships stable 7.x builds.
79+
- **Held back — TypeScript 7.** `@angular/compiler-cli@22.1.2` and `@angular/build@22.1.4`
80+
both declare `typescript: >=6.0 <6.1`, so the workspace stays on `~6.0.0`.

0 commit comments

Comments
 (0)