diff --git a/.github/.keepalive b/.github/.keepalive index 773d583..2e30a0f 100644 --- a/.github/.keepalive +++ b/.github/.keepalive @@ -1 +1 @@ -2023-03-01T04:17:45.092Z +2023-04-01T04:56:04.222Z diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6adf06a..f56d473 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -110,9 +110,9 @@ jobs: exit 0 fi rm -rf ./bin/cli - rm test/test.cli.js - rm etc/cli_opts.json - rm docs/usage.txt + rm -f test/test.cli.js + rm -f etc/cli_opts.json + rm -f docs/usage.txt # For all dependencies, check in all *.js files if they are still used; if not, remove them: jq -r '.dependencies | keys[]' ./package.json | while read -r dep; do @@ -149,6 +149,12 @@ jobs: # Add link definition for CLI package to README.md: find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/
/
\n\n[$escapedPkg]: https:\/\/www.npmjs.com\/package\/$escapedPkg/" + # Replace GitHub MathJax equations with SVGs: + - name: 'Replace GitHub MathJax equations with SVGs' + run: | + find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/```math\n([\s\S]+?)\n```\n\n//g' + find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/)/
/sg' + # Replace GitHub links to individual packages with npm links: - name: 'Replace all GitHub links to individual packages with npm links' run: | @@ -162,8 +168,8 @@ jobs: # Remove unnecessary files: - name: 'Remove unnecessary files' run: | - rm docs/repl.txt - rm docs/types/test.ts + rm -f docs/repl.txt + rm -f docs/types/test.ts # Replace all stdlib GitHub dependencies with the respective npm packages: - name: 'Replace all stdlib GitHub dependencies with the respective npm packages' diff --git a/.github/workflows/publish_cli.yml b/.github/workflows/publish_cli.yml index 2175532..cb2b90c 100644 --- a/.github/workflows/publish_cli.yml +++ b/.github/workflows/publish_cli.yml @@ -103,6 +103,12 @@ jobs: SLUG=${{ github.repository }} git push "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$SLUG.git" --follow-tags + # Replace GitHub MathJax equations with SVGs: + - name: 'Replace GitHub MathJax equations with SVGs' + run: | + find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/```math\n([\s\S]+?)\n```\n\n//g' + find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/)/
/sg' + # Replace GitHub links to individual packages with npm links: - name: 'Replace all GitHub links to individual packages with npm links' run: | diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 2cb9b1c..a984439 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -28,5 +28,7 @@ Ryan Seal Seyyed Parsa Neshaei Shraddheya Shendre Stephannie JimĂ©nez Gacha +Yernar Yergaziyev dorrin-sot <59933477+dorrin-sot@users.noreply.github.com> +orimiles5 <97595296+orimiles5@users.noreply.github.com> rei2hu diff --git a/README.md b/README.md index 0a3f98b..e49a667 100644 --- a/README.md +++ b/README.md @@ -278,7 +278,7 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors]. --> [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg -[chat-url]: https://gitter.im/stdlib-js/stdlib/ +[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im [stdlib]: https://github.com/stdlib-js/stdlib