File tree 4 files changed +15
-7
lines changed
4 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 1
- 2023-03 -01T01:21:09.438Z
1
+ 2023-04 -01T01:24:37.668Z
Original file line number Diff line number Diff line change @@ -110,9 +110,9 @@ jobs:
110
110
exit 0
111
111
fi
112
112
rm -rf ./bin/cli
113
- rm test/test.cli.js
114
- rm etc/cli_opts.json
115
- rm docs/usage.txt
113
+ rm -f test/test.cli.js
114
+ rm -f etc/cli_opts.json
115
+ rm -f docs/usage.txt
116
116
117
117
# For all dependencies, check in all *.js files if they are still used; if not, remove them:
118
118
jq -r '.dependencies | keys[]' ./package.json | while read -r dep; do
@@ -149,6 +149,12 @@ jobs:
149
149
# Add link definition for CLI package to README.md:
150
150
find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/<section class=\"links\">/<section class=\"links\">\n\n[$escapedPkg]: https:\/\/www.npmjs.com\/package\/$escapedPkg/"
151
151
152
+ # Replace GitHub MathJax equations with SVGs:
153
+ - name : ' Replace GitHub MathJax equations with SVGs'
154
+ run : |
155
+ find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/```math\n([\s\S]+?)\n```\n\n//g'
156
+ find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/<!-- <div class="equation"(.*)(<\/div>\s*-->)/<div class="equation"$1<\/div>/sg'
157
+
152
158
# Replace GitHub links to individual packages with npm links:
153
159
- name : ' Replace all GitHub links to individual packages with npm links'
154
160
run : |
@@ -162,8 +168,8 @@ jobs:
162
168
# Remove unnecessary files:
163
169
- name : ' Remove unnecessary files'
164
170
run : |
165
- rm docs/repl.txt
166
- rm docs/types/test.ts
171
+ rm -f docs/repl.txt
172
+ rm -f docs/types/test.ts
167
173
168
174
# Replace all stdlib GitHub dependencies with the respective npm packages:
169
175
- name : ' Replace all stdlib GitHub dependencies with the respective npm packages'
Original file line number Diff line number Diff line change @@ -28,5 +28,7 @@ Ryan Seal <splrk@users.noreply.github.com>
28
28
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
29
29
Shraddheya Shendre <shendreshraddheya@gmail.com>
30
30
Stephannie Jiménez Gacha <steff456@hotmail.com>
31
+ Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
31
32
dorrin-sot <59933477+dorrin-sot@users.noreply.github.com>
33
+ orimiles5 <97595296+orimiles5@users.noreply.github.com>
32
34
rei2hu <rei2hu@users.noreply.github.com>
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
210
210
-->
211
211
212
212
[ chat-image ] : https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
213
- [ chat-url ] : https://gitter.im/stdlib-js/stdlib/
213
+ [ chat-url ] : https://app. gitter.im/#/room/#stdlib-js_stdlib:gitter.im
214
214
215
215
[ stdlib ] : https://github.com/stdlib-js/stdlib
216
216
You can’t perform that action at this time.
0 commit comments