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
Jack Franklin
9fd84dfc8c
Add postcss to Node deps
...
We already had PostCSS as an implicit dep because stylelint depends on
it. I need to use its API to parse CSS for some of the dark mode
migration, so I'm moving postcss to be a top level dep.
DISABLE_THIRD_PARTY_CHECK=updating node modules
Bug: chromium:1152736
Change-Id: I93919fb2d676337604209cf6bf9c8570f98bd5e0
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2780799
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org >
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org >
Reviewed-by: Paul Lewis <aerotwist@chromium.org >
2021-03-23 10:52:17 +00:00
Tim van der Lippe
6d109a9d45
Update Mocha to 8.3.0
...
This also adds Python-2.0 to the list of accepted licenses.
Lastly, it fixes a bug where the package.json files were incorrectly
reordered. For the `exports` of a particular package, the order that
the entrypoints are defined in is crucial. Therefore, we should not
alter the order of entrypoints and instead maintain the originally
defined ordering. We can use an `OrderedDict` to ensure that Python
always loads the JSON files in the same order.
DISABLE_THIRD_PARTY_CHECK=NPM update
R=jacktfranklin@chromium.org
Bug: none
Change-Id: I5a309782de6015edea6ba3b502aa0db1f008d973
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2692909
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org >
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org >
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org >
2021-02-17 12:08: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
Tim van der Lippe
c61473dabc
Remove karma-typescript
...
We now use the Karma + Ninja setup and therefore we can remove the
karma-typescript package which is now unused.
R=jacktfranklin@chromium.org
DISABLE_THIRD_PARTY_CHECK=Npm update
Bug: 1061125
Change-Id: Idf9e4f3247f5db271a7b8a43f932bec5a8d099d2
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2192896
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org >
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org >
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org >
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org >
2020-05-11 09:43:59 +00:00
Tim van der Lippe
e4974ddc4c
Remove whitespace at the end of the package.json lines
...
json.dump appears to add extraneous spaces before newline characters. By
specifying the separators option, we can remove these whitespaces,
reducing the diff noise. Solution taken from
https://stackoverflow.com/questions/16311562/python-json-without-whitespaces
DISABLE_THIRD_PARTY_CHECK=Fix whitespace in node_modules
Change-Id: I26556e5053f19a9021ad41779319bdfe3f8c2b6c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2013154
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org >
Commit-Queue: Mathias Bynens <mathias@chromium.org >
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org >
Reviewed-by: Mathias Bynens <mathias@chromium.org >
2020-01-22 15:17:25 +00:00
Paul Lewis
911c1b8a93
Updates node_modules
...
DISABLE_THIRD_PARTY_CHECK=Package needs updating with node_modules
Change-Id: I889f1b86c586e37307a3e13ad762aa56d1ece150
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1946468
Commit-Queue: Paul Lewis <aerotwist@chromium.org >
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org >
2019-12-02 14:54:54 +00:00
Paul Lewis
75090cfd93
Reland "Updates node_modules and update script"
...
This is a reland of 4df552c652
Original change's description:
> Updates node_modules and update script
>
> Change-Id: I3fcf49bc416301a030d298cfc48c448bfeba4335
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1878808
> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org >
> Reviewed-by: Yang Guo <yangguo@chromium.org >
> Commit-Queue: Paul Lewis <aerotwist@chromium.org >
Change-Id: I97d1442c21420488fadde3f17f67cd4e3b959be6
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1880030
Commit-Queue: Paul Lewis <aerotwist@chromium.org >
Reviewed-by: Yang Guo <yangguo@chromium.org >
2019-10-25 13:19:06 +00:00
Lorne Mitchell
db3885dd80
Revert "Updates node_modules and update script"
...
This reverts commit 4df552c652 .
Reason for revert: Breaks esprima.
Original change's description:
> Updates node_modules and update script
>
> Change-Id: I3fcf49bc416301a030d298cfc48c448bfeba4335
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1878808
> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org >
> Reviewed-by: Yang Guo <yangguo@chromium.org >
> Commit-Queue: Paul Lewis <aerotwist@chromium.org >
TBR=yangguo@chromium.org ,aerotwist@chromium.org ,tvanderlippe@chromium.org
Change-Id: Iad2bcdf98a486476715d1e829cdce450c5f218af
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1880098
Reviewed-by: Lorne Mitchell <lomitch@microsoft.com >
Commit-Queue: Lorne Mitchell <lomitch@microsoft.com >
2019-10-24 21:53:24 +00:00
Paul Lewis
4df552c652
Updates node_modules and update script
...
Change-Id: I3fcf49bc416301a030d298cfc48c448bfeba4335
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1878808
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org >
Reviewed-by: Yang Guo <yangguo@chromium.org >
Commit-Queue: Paul Lewis <aerotwist@chromium.org >
2019-10-24 14:48:04 +00:00
Yang Guo
4fd355cc40
Switch to new repository
2019-10-21 08:08:56 +02:00