MDL-81490 lib: Identify all codemirror libraries

* Build script will list all dependencies and versions
* Thirdpartylibs.xml will list all dependencies
This commit is contained in:
Laurent David
2024-05-27 07:37:20 +02:00
parent d32844ce29
commit eff27135a6
5 changed files with 184 additions and 71 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+8 -2
View File
@@ -47,8 +47,14 @@ cp -v $SUB_DIR/LICENSE ../amd/src/beautify/LICENSE
# Remove the temporary directory, node_modules directory and the js-beautify zip.
rm -rf $TEMP_DIR
echo 'Code mirror version: ' $(npm --json ls codemirror | jq -r '.dependencies.codemirror.version')
echo 'Beautify version:' $(curl -s $API_URL | jq -r '.tag_name')
packages=($(npm list --json | jq -r '.dependencies | to_entries[] | select(.key | startswith("codemirror") or startswith("@codemirror")) | .key'))
for package in "${packages[@]}"
do
version=`npm --json ls $package | jq -r '.dependencies."'$package'".version'`
echo "Version of $package: $version"
done
echo 'Beautify version:' $(curl -s $API_URL | jq -r '.tag_name')
echo "Node version: $(node -v)"
rm -rf node_modules
rm latest_release.zip
@@ -8,6 +8,94 @@
<license>MIT</license>
<repository>https://github.com/codemirror/</repository>
</library>
<library>
<location>amd/src/codemirror-lazy.js</location>
<name>codemirror/autocomplete</name>
<description>Autocompletion for the CodeMirror code editor.</description>
<version>6.16.0</version>
<license>MIT</license>
<repository>https://github.com/codemirror/autocomplete</repository>
</library>
<library>
<location>amd/src/codemirror-lazy.js</location>
<name>codemirror/commands</name>
<description>Collection of editing commands for the CodeMirror code editor.</description>
<version>6.5.0</version>
<license>MIT</license>
<repository>https://github.com/codemirror/commands</repository>
</library>
<library>
<location>amd/src/codemirror-lazy.js</location>
<name>codemirror/lang-css</name>
<description>CSS language support for the CodeMirror code editor.</description>
<version>6.2.1</version>
<license>MIT</license>
<repository>https://github.com/codemirror/lang-css</repository>
</library>
<library>
<location>amd/src/codemirror-lazy.js</location>
<name>codemirror/lang-html</name>
<description>HTML language support for the CodeMirror code editor.</description>
<version>6.4.9</version>
<license>MIT</license>
<repository>https://github.com/codemirror/lang-html</repository>
</library>
<library>
<location>amd/src/codemirror-lazy.js</location>
<name>codemirror/lang-javascript</name>
<description>JavaScript language support for the CodeMirror code editor.</description>
<version>6.2.2</version>
<license>MIT</license>
<repository>https://github.com/codemirror/lang-javascript</repository>
</library>
<library>
<location>amd/src/codemirror-lazy.js</location>
<name>codemirror/lang-xml</name>
<description>XML language support for the CodeMirror code editor.</description>
<version>6.1.0</version>
<license>MIT</license>
<repository>https://github.com/codemirror/lang-xml</repository>
</library>
<library>
<location>amd/src/codemirror-lazy.js</location>
<name>codemirror/language</name>
<description>Language support infrastructure for the CodeMirror code editor.</description>
<version>6.10.1</version>
<license>MIT</license>
<repository>https://github.com/codemirror/language</repository>
</library>
<library>
<location>amd/src/codemirror-lazy.js</location>
<name>codemirror/lint</name>
<description>Linting support for the CodeMirror code editor.</description>
<version>6.7.1</version>
<license>MIT</license>
<repository>https://github.com/codemirror/lint</repository>
</library>
<library>
<location>amd/src/codemirror-lazy.js</location>
<name>codemirror/search</name>
<description>Search functionality for the CodeMirror code editor.</description>
<version>6.5.6</version>
<license>MIT</license>
<repository>https://github.com/codemirror/search</repository>
</library>
<library>
<location>amd/src/codemirror-lazy.js</location>
<name>codemirror/state</name>
<description>Editor state data structures for the CodeMirror code editor.</description>
<version>6.4.1</version>
<license>MIT</license>
<repository>https://github.com/codemirror/state</repository>
</library>
<library>
<location>amd/src/codemirror-lazy.js</location>
<name>codemirror/view</name>
<description>DOM view component for the CodeMirror code editor.</description>
<version>6.26.3</version>
<license>MIT</license>
<repository>https://github.com/codemirror/view</repository>
</library>
<library>
<location>amd/src/beautify</location>
<name>js-beautify</name>