Antoine du Hamel
de5644cba8
tools: make v8.nix more stable
...
If we only pass to the V8 builders the dependencies it actually needs,
we can avoid rebuilding the same version of V8 just because an unrelated
Node.js dependency has been updated.
PR-URL: https://github.com/nodejs/node/pull/62508
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-04-10 14:34:30 +00:00
Aviv Keller
583c479c9f
doc: use npm-published version of doc-kit
...
PR-URL: https://github.com/nodejs/node/pull/62139
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-03-25 21:09:43 +00:00
Xavier Stouder
9fc6b64c12
doc: test and test-only targets do not run linter
...
`make test` and `make test-only` targets no longer runs linters.
This commit updates the inline comments and building doc to reflect
reality.
Fixes: https://github.com/nodejs/node/issues/58606
PR-URL: https://github.com/nodejs/node/pull/62120
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-03-17 23:19:31 +00:00
SRAVANI GUNDEPALLI
66a687f2be
build: skip dockit on IBMi
...
PR-URL: https://github.com/nodejs/node/pull/62189
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Abdirahim Musse <abdirahim.musse@ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-03-12 17:27:03 +00:00
76215dc993
build, doc: use new api doc tooling
...
Switches over to using the new doc generation tooling.
For more background on this, please see #52343
Signed-off-by: flakey5 <73616808+flakey5@users.noreply.github.com >
Co-authored-by: Claudio W <cwunder@gnome.org >
Co-authored-by: avivkeller <me@aviv.sh >
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
Co-authored-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/57343
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Daniel Lemire <daniel@lemire.me >
Reviewed-By: Jithil P Ponnan <jithil@outlook.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-02-27 01:53:56 +00:00
Antoine du Hamel
36ca6275c7
tools: test --shared-merve in test-shared workflow
...
PR-URL: https://github.com/nodejs/node/pull/61649
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-02-05 08:48:27 +00:00
Antoine du Hamel
ca3d4e0cd3
build: add --shared-lief configure flag
...
PR-URL: https://github.com/nodejs/node/pull/61536
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2026-01-28 22:29:05 +01:00
Joyee Cheung
9575913f99
build: add embedtest into native suite
...
Instead of adding a separate command to run the embedtest, since
it's now run by the node binary via tools/test.py and
test/embedding/test-embedding.js, put embedding into the native
suite in test scripts. This helps adding more embedding tests
into the folder and run them automatically without listing them
one by one in the scripts.
PR-URL: https://github.com/nodejs/node/pull/61357
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
2026-01-15 15:05:48 +00:00
Antoine du Hamel
eac00fabde
build: add --shared-nbytes configure flag
...
PR-URL: https://github.com/nodejs/node/pull/61341
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-01-13 01:31:12 +00:00
Antoine du Hamel
842448b1ee
build: add --shared-hdr-histogram configure flag
...
PR-URL: https://github.com/nodejs/node/pull/61280
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2026-01-07 13:44:14 +01:00
Antoine du Hamel
c198b1cd72
build: add --shared-gtest configure flag
...
PR-URL: https://github.com/nodejs/node/pull/61279
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-01-07 11:32:34 +00:00
Antoine du Hamel
6218d14505
build: fix inconsistent quoting in Makefile
...
PR-URL: https://github.com/nodejs/node/pull/60511
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-01-04 20:11:43 +00:00
Chengzhong Wu
493ce19486
deps: add vendor depenency crate
...
Add cargo config to support building a unified cargo static lib to
include multiple crate dependencies to be used by Node.js.
This also allows additional crate dependencies to be added, like amaro.
PR-URL: https://github.com/nodejs/node/pull/61072
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2025-12-22 20:32:00 +00:00
Filip Skokan
41c507f56d
build: update test-wpt-report to use NODE instead of OUT_NODE
...
PR-URL: https://github.com/nodejs/node/pull/61024
Refs: https://openjs-foundation.slack.com/archives/C03BJP63CH0/p1765400746909869
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2025-12-20 18:54:01 +00:00
Chengzhong Wu
28142a6106
build: run embedtest with node_g when BUILDTYPE=Debug
...
PR-URL: https://github.com/nodejs/node/pull/60850
Refs: https://github.com/nodejs/node/pull/60806
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com >
2025-12-01 15:23:30 +00:00
Chengzhong Wu and Antoine du Hamel
482b191727
build: ignore built-in temporal when building with shared lib
...
Co-Authored-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/60703
Refs: https://github.com/nodejs/node/issues/58730
Refs: https://github.com/nodejs/node/pull/60693
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2025-11-23 15:41:32 +00:00
Antoine du Hamel
3c8c1efe1e
tools: add an option to generate lighter archives
...
PR-URL: https://github.com/nodejs/node/pull/60294
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2025-10-26 19:32:31 +01:00
Christian Clauss
0fb040603b
build: upgrade Python linter ruff, add rules ASYNC,PERF
...
PR-URL: https://github.com/nodejs/node/pull/59984
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2025-10-08 07:37:31 +00:00
Jordan Harband
22a864a275
build: remove corepack from release tarballs
...
Closes #57763 .
Refs:
- https://github.com/nodejs/TSC/pull/1697#issuecomment-2737093616
- https://github.com/nodejs/node/pull/57617
- https://github.com/nodejs/node/pull/57763
PR-URL: https://github.com/nodejs/node/pull/59835
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-09-12 06:40:34 +00:00
Antoine du Hamel
6a46f31144
build: do not include custom ESLint rules testing in tarball
...
PR-URL: https://github.com/nodejs/node/pull/59809
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-09-11 00:27:23 +02:00
Richard Lau and Michaël Zasso
7232f09995
build,deps,tools: prepare to update to OpenSSL 3.5
...
Update the updater script and files under `deps/openssl/config` in
preparation for updating `deps/openssl` to OpenSSL 3.5.
Co-Authored-By: Michaël Zasso <targos@protonmail.com >
PR-URL: https://github.com/nodejs/node/pull/58100
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2025-07-26 22:40:19 +00:00
René
88cfdb3737
tools: remove config.status under make distclean
...
PR-URL: https://github.com/nodejs/node/pull/58603
Refs: https://github.com/nodejs/node/pull/21371
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-06-12 22:47:18 +00:00
Michael Dawson
535c2f7562
sqlite: add build option to build without sqlite
...
Signed-off-by: Michael Dawson <midawson@redhat.com >
PR-URL: https://github.com/nodejs/node/pull/58122
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-05-07 17:20:57 -04:00
Michaël Zasso
20feebb452
src,test: add V8 API to test the hash seed
...
PR-URL: https://github.com/nodejs/node/pull/58070
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2025-05-02 15:10:37 +02:00
Richard Lau
4805586fa6
build: remove support for s390 32-bit
...
V8 removed support for it.
Refs: https://github.com/v8/v8/commit/9565a9a721a7f1449be73c03aedc8532571e8bd1
PR-URL: https://github.com/nodejs/node/pull/58070
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2025-05-02 15:10:34 +02:00
Aviv Keller
e61aa0c356
build: use $(BUILDTYPE) when cleaning coverage files
...
PR-URL: https://github.com/nodejs/node/pull/57995
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2025-04-30 07:54:51 +00:00
Aviv Keller
c712dd284b
build: define python when generating out/Makefile
...
PR-URL: https://github.com/nodejs/node/pull/57970
Refs: https://github.com/nodejs/node/pull/48462
Reviewed-By: LiviaMedeiros <livia@cirno.name >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-04-27 19:21:59 +00:00
Marco Ippolito
1a6bef29b2
src: set default config as node.config.json
...
PR-URL: https://github.com/nodejs/node/pull/57171
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2025-02-27 21:02:10 +00:00
Marco Ippolito
f0e653d2af
src: add config file support
...
PR-URL: https://github.com/nodejs/node/pull/57016
Refs: https://github.com/nodejs/node/issues/53787
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
2025-02-20 23:07:42 +00:00
1ilsang
f6ce48636b
build: print 'Formatting Markdown...' for long task markdown formatting
...
PR-URL: https://github.com/nodejs/node/pull/57108
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-02-19 16:11:03 +00:00
RafaelGSS
0a4572d6a7
build: add skip_apidoc_files and include QUIC
...
PR-URL: https://github.com/nodejs/node/pull/56941
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2025-02-17 19:23:39 -08:00
Michaël Zasso
44b0e423dc
build: remove support for ppc 32-bit
...
V8 removed support for it.
Refs: https://github.com/v8/v8/commit/643753953ac1653a7e74786d1ee2b5b9f2ecb296
PR-URL: https://github.com/nodejs/node/pull/55014
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2025-01-31 12:47:09 +01:00
Chengzhong Wu
0edeafd73d
inspector: fix StringUtil::CharacterCount for unicodes
...
`StringUtil::CharacterCount` should return the length of underlying
representation storage of a protocol string.
`StringUtil::CharacterCount` is only used in DictionaryValue
serialization. Only `Network.Headers` is an object type, represented
with DictionaryValue.
PR-URL: https://github.com/nodejs/node/pull/56788
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Daniel Lemire <daniel@lemire.me >
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com >
2025-01-29 14:58:25 +00:00
Colin Ihrig
d0ff34f4b6
test: update compiled sqlite tests to match other tests
...
This commit updates the sqlite compiled tests to be structured
like other compiled tests.
Refs: https://github.com/nodejs/node/issues/56347
PR-URL: https://github.com/nodejs/node/pull/56446
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Stewart X Addison <sxa@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2025-01-05 04:01:21 +00:00
Chengzhong Wu
f97a7b607b
test: add initial test426 coverage
...
Source map has been standardized as ECMA426, with a developing test
suite. Add an initial coverage of the source map tests.
PR-URL: https://github.com/nodejs/node/pull/56436
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2025-01-05 00:00:56 +01:00
吴小白
0d005119ed
build: set DESTCPU correctly for 'make binary' on loongarch64
...
Signed-off-by: 吴小白 <296015668@qq.com >
PR-URL: https://github.com/nodejs/node/pull/56271
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2024-12-18 09:42:47 +00:00
Alex Yang
5c2f599712
sqlite: support db.loadExtension
...
PR-URL: https://github.com/nodejs/node/pull/53900
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2024-12-11 08:50:24 -08:00
Antoine du Hamel
be34b5e7fc
tools: disable doc building when ICU is not available
...
PR-URL: https://github.com/nodejs/node/pull/51192
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2024-11-17 11:23:47 +00:00
Richard Lau
fe1dd26398
build: use glob for dependencies of out/Makefile
...
The `out/Makefile` target in `Makefile` has an incomplete list of
`.gyp` files for Node.js dependencies in `deps`, but also the ones
that are listed are unconditional. If using any of the `--shared-*`
configure options, it should be possible to still build Node.js if
the corresponding directory under `deps` is removed.
Convert the explicit list of dependency `*.gyp` files for the
`out/Makefile` target to a glob. This will pick up any toplevel
`.gyp` files for dependencies present in `deps`.
PR-URL: https://github.com/nodejs/node/pull/55789
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2024-11-10 19:20:50 +00:00
Aviv Keller
e7991e8da6
build: apply cpp linting and formatting to ncrypto
...
PR-URL: https://github.com/nodejs/node/pull/55362
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2024-11-10 17:40:16 +00:00
Michaël Zasso
d37214bb5d
build: use rclone instead of aws CLI
...
Use rclone to upload assets to Cloudflare as it is more reliable.
Refs: https://github.com/nodejs/build/issues/3508
PR-URL: https://github.com/nodejs/node/pull/55617
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2024-11-02 08:00:53 +00:00
Aviv Keller
5ce3d1078d
build: stop pre-compiling lint-md
...
PR-URL: https://github.com/nodejs/node/pull/55266
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2024-11-01 23:45:02 +00:00
minkyu_kim
6d36199c5f
build: fix make errors that occur in Makefile
...
fix make errors that occur in
coverage-clean case and coverage-test in Makefile
PR-URL: https://github.com/nodejs/node/pull/55287
Reviewed-By: LiviaMedeiros <livia@cirno.name >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-10-14 06:41:11 +00:00
Aviv Keller
b2c42dbcbb
build: add more information to Makefile help
...
PR-URL: https://github.com/nodejs/node/pull/53381
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2024-09-24 20:40:34 +00:00
Aviv Keller
a1cd3c8777
build: update ruff and add lint-py-fix
...
PR-URL: https://github.com/nodejs/node/pull/54410
Reviewed-By: Christian Clauss <cclauss@me.com >
2024-09-24 15:20:20 +00:00
Aviv Keller
81cc72996a
build: fix eslint makefile target
...
PR-URL: https://github.com/nodejs/node/pull/54999
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2024-09-20 21:46:54 +00:00
Aviv Keller
96e057093f
build: print Running XYZ linter... for py and yml
...
PR-URL: https://github.com/nodejs/node/pull/54386
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-09-18 12:04:38 +00:00
Aviv Keller
437e168c06
build: don't store eslint locally
...
PR-URL: https://github.com/nodejs/node/pull/54231
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2024-09-06 17:31:45 +00:00
Joyee Cheung
e272cfbf05
build: don't clean obj.target directory if it doesn't exist
...
This can happen to ninja builds, which would then throw an
error instead of being a noop if the command is executed.
PR-URL: https://github.com/nodejs/node/pull/54337
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2024-08-24 14:17:44 +00:00
Aviv Keller
123693ccbf
build: update ruff to 0.5.2
...
PR-URL: https://github.com/nodejs/node/pull/53909
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-08-13 17:21:59 +00:00