Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-12-03 17:56:52 +0300
committerGitHub <noreply@github.com>2021-12-03 17:56:52 +0300
commit14d9c38c097b59451d5b76913dda0770a830a47b (patch)
tree7dd0af06d52938f704a3c319d767490a387a0d8a /tools/license-builder.sh
parent85764c0e1a9b2e6fc1734a3977dc11651a4bec80 (diff)
tools: remove Babel from license-builder.sh
Babel is now installed as a dependency in our ESLint installation. The current license-builder.sh will fail to find the license for Babel. The license is sill present in the repository/code base/file system. So as with all other dependencies that are installed in tools/node_modules/eslint/node_modules and have an MIT license, we are still complying with the license. The inclusion in our own LICENSE was to clearly signal that things under tools/node_modules/@babel were not covered by the Node.js license. Because it is now under tools/node_modules/eslint, that "we aren't the license-holders of this code" aspect of things is already covered by the inclusion of the ESLint license. PR-URL: https://github.com/nodejs/node/pull/41049 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'tools/license-builder.sh')
-rwxr-xr-xtools/license-builder.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/license-builder.sh b/tools/license-builder.sh
index aa9ccfc8f28..1fd1dd599e9 100755
--- a/tools/license-builder.sh
+++ b/tools/license-builder.sh
@@ -82,7 +82,6 @@ addlicense "markupsafe" "tools/inspector_protocol/markupsafe" "$(cat "${rootdir}
addlicense "cpplint.py" "tools/cpplint.py" \
"$(sed -e '/^$/,$d' -e 's/^#$//' -e 's/^# //' "${rootdir}"/tools/cpplint.py | tail -n +3)"
addlicense "ESLint" "tools/node_modules/eslint" "$(cat "${rootdir}"/tools/node_modules/eslint/LICENSE)"
-addlicense "Babel" "tools/node_modules/@babel" "$(cat "${rootdir}"/tools/node_modules/@babel/core/LICENSE)"
addlicense "gtest" "deps/googletest" "$(cat "${rootdir}"/deps/googletest/LICENSE)"
# nghttp2