Nikolay Vitkov
eee5c31845
Update npm packages
...
Updates TypeScript, EsLint (& plugins) and StyleLint.
With a few other packages as well.
Bug: none
Bypass-Check-License: Third-party node_modules
Change-Id: I8e7b532e47a01e0391da4fcfbf8277f5659207ff
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6860106
Reviewed-by: Simon Zünd <szuend@chromium.org >
Commit-Queue: Simon Zünd <szuend@chromium.org >
2025-08-19 21:21:55 -07:00
Nikolay Vitkov
95ea045b3e
Update mocha to v11
...
Bug: none
Change-Id: I48e5e8df59c369ef8bea00bdaa7417f65f24b783
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6494701
Auto-Submit: Nikolay Vitkov <nvitkov@chromium.org >
Commit-Queue: Simon Zünd <szuend@chromium.org >
Reviewed-by: Simon Zünd <szuend@chromium.org >
2025-05-01 23:10:37 -07:00
Simon Zünd
abf0cd1847
[deps] Update rollup to 4.24.3 (and update plugins)
...
Since we have the major version jump, we needed to update quite
a few things to make this work:
1. rollup4 ships with native binaries. We can't check them into
our node_modules for all platforms. Luckily they also ship a
a wasm version. This requires us to adjust the 'binary' path
to `node_modules/@rollup/wasm-node/dist/bin/rollup` instead.
2. rollup4 is more strict when it comes to ES modules vs
CommonJS. We adjust this by renaming the rollup config files.
3. Some plugins got deprecated so we had to replace them with
the newer versions (source maps and terser).
Bug: None
Change-Id: If13d590c8185db6ad85b3992d0a869111909dc8c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5999255
Commit-Queue: Simon Zünd <szuend@chromium.org >
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org >
2024-11-07 05:25:54 +00:00
Simon Zünd
1bd98ee250
[deps] Add 'rollup-plugin-sourcemaps' intended for release builds
...
We plan to enable source maps for release builds behind a GN flag. For
this to work rollup needs to consume the source maps already generated
by tsc and merge it with its own source map. Rollup can't do this
natively so this CL adds a plugin that can.
R=jacktfranklin@chromium.org
Bug: 1430396
Change-Id: Ibb38c7892326907431e54b7c7dbd7b912b59ccb9
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4397707
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org >
Commit-Queue: Simon Zünd <szuend@chromium.org >
2023-04-04 13:31:33 +00:00
Tim van der Lippe
f8c34aec19
Update all @types packages
...
R=jacktfranklin@chromium.org
Bug: none
Change-Id: I4f7d326cb76d714b30abeff8db9a0aa042e4d938
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3059613
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org >
Reviewed-by: Paul Lewis <aerotwist@chromium.org >
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org >
2021-07-30 10:40:28 +00:00
Simon Zünd
73101b3e13
[deps] Remove @rollup/plugin-commonjs
...
The dependency was only used by buildi18nBundle.js, which will be
removed. The CL was generated with npm 7.19.1.
R=tvanderlippe@chromium.org
Fixed: 1231873
Change-Id: Ie58e9e100e8b754d3c0c2a7badcabfc3aefcc4f7
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3055248
Commit-Queue: Simon Zünd <szuend@chromium.org >
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org >
Auto-Submit: Simon Zünd <szuend@chromium.org >
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org >
2021-07-27 13:27:49 +00:00
Tim van der Lippe
f171bbbae0
Add @rollup/plugin-commonjs to NPM dependencies
...
DISABLE_THIRD_PARTY_CHECK=Add NPM dependency
R=vidorteg@microsoft.com
Change-Id: I3fb90b1f4c661125a1b71129fdc45c688dc018ff
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2279833
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org >
Commit-Queue: Vidal Diazleal <vidorteg@microsoft.com >
Reviewed-by: Vidal Diazleal <vidorteg@microsoft.com >
2020-07-02 17:56:00 +00:00