Skip to content

Commit 904e07a

Browse files
committed
Auto-generated commit
1 parent 7a29db3 commit 904e07a

File tree

17 files changed

+84
-66
lines changed

17 files changed

+84
-66
lines changed

.github/workflows/productionize.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -82,21 +82,6 @@ jobs:
8282
id: transform-error-messages
8383
uses: stdlib-js/transform-errors-action@main
8484

85-
# Format error messages:
86-
- name: 'Replace double quotes with single quotes in rewritten format string error messages'
87-
run: |
88-
find . -name "*.js" -exec sed -E -i "s/Error\( format\( \"([a-zA-Z0-9]+)\"/Error\( format\( '\1'/g" {} \;
89-
90-
# Format string literal error messages:
91-
- name: 'Replace double quotes with single quotes in rewritten string literal error messages'
92-
run: |
93-
find . -name "*.js" -exec sed -E -i "s/Error\( format\(\"([a-zA-Z0-9]+)\"\)/Error\( format\( '\1' \)/g" {} \;
94-
95-
# Format code:
96-
- name: 'Replace double quotes with single quotes in inserted `require` calls'
97-
run: |
98-
find . -name "*.js" -exec sed -E -i "s/require\( ?\"@stdlib\/error-tools-fmtprodmsg\" ?\);/require\( '@stdlib\/error-tools-fmtprodmsg' \);/g" {} \;
99-
10085
# Change `@stdlib/string-format` to `@stdlib/error-tools-fmtprodmsg` in package.json if the former is a dependency, otherwise insert it as a dependency:
10186
- name: 'Update dependencies in package.json'
10287
run: |
@@ -349,7 +334,7 @@ jobs:
349334
350335
# Send status to Slack channel if job fails:
351336
- name: 'Send status to Slack channel in case of failure'
352-
uses: act10ns/slack@v1
337+
uses: act10ns/slack@v2
353338
with:
354339
status: ${{ job.status }}
355340
steps: ${{ toJson(steps) }}
@@ -520,7 +505,7 @@ jobs:
520505
521506
# Send status to Slack channel if job fails:
522507
- name: 'Send status to Slack channel in case of failure'
523-
uses: act10ns/slack@v1
508+
uses: act10ns/slack@v2
524509
with:
525510
status: ${{ job.status }}
526511
steps: ${{ toJson(steps) }}
@@ -697,7 +682,7 @@ jobs:
697682
698683
# Send status to Slack channel if job fails:
699684
- name: 'Send status to Slack channel in case of failure'
700-
uses: act10ns/slack@v1
685+
uses: act10ns/slack@v2
701686
with:
702687
status: ${{ job.status }}
703688
steps: ${{ toJson(steps) }}

.github/workflows/publish.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ jobs:
110110
exit 0
111111
fi
112112
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
116116
117117
# For all dependencies, check in all *.js files if they are still used; if not, remove them:
118118
jq -r '.dependencies | keys[]' ./package.json | while read -r dep; do
@@ -149,6 +149,12 @@ jobs:
149149
# Add link definition for CLI package to README.md:
150150
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/"
151151
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+
152158
# Replace GitHub links to individual packages with npm links:
153159
- name: 'Replace all GitHub links to individual packages with npm links'
154160
run: |
@@ -162,8 +168,8 @@ jobs:
162168
# Remove unnecessary files:
163169
- name: 'Remove unnecessary files'
164170
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
167173
168174
# Replace all stdlib GitHub dependencies with the respective npm packages:
169175
- name: 'Replace all stdlib GitHub dependencies with the respective npm packages'
@@ -191,7 +197,7 @@ jobs:
191197
192198
# Publish package to npm:
193199
- name: 'Publish package to npm'
194-
uses: JS-DevTools/npm-publish@v1
200+
uses: JS-DevTools/npm-publish@v2
195201
with:
196202
token: ${{ secrets.NPM_TOKEN }}
197203
access: public
@@ -203,7 +209,7 @@ jobs:
203209
204210
# Send status to Slack channel if job fails:
205211
- name: 'Send status to Slack channel in case of failure'
206-
uses: act10ns/slack@v1
212+
uses: act10ns/slack@v2
207213
with:
208214
status: ${{ job.status }}
209215
steps: ${{ toJson(steps) }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
9090
# Send status to Slack channel if job fails:
9191
- name: 'Send status to Slack channel in case of failure'
92-
uses: act10ns/slack@v1
92+
uses: act10ns/slack@v2
9393
with:
9494
status: ${{ job.status }}
9595
steps: ${{ toJson(steps) }}

.github/workflows/test_bundles.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
8989
# Send notification to Slack channel if job fails:
9090
- name: 'Send status to Slack channel in case of failure'
91-
uses: act10ns/slack@v1
91+
uses: act10ns/slack@v2
9292
with:
9393
status: ${{ job.status }}
9494
steps: ${{ toJson(steps) }}
@@ -130,7 +130,7 @@ jobs:
130130
131131
# Send notification to Slack channel if job fails:
132132
- name: 'Send status to Slack channel in case of failure'
133-
uses: act10ns/slack@v1
133+
uses: act10ns/slack@v2
134134
with:
135135
status: ${{ job.status }}
136136
steps: ${{ toJson(steps) }}
@@ -172,7 +172,7 @@ jobs:
172172
173173
# Send notification to Slack channel if job fails:
174174
- name: 'Send status to Slack channel in case of failure'
175-
uses: act10ns/slack@v1
175+
uses: act10ns/slack@v2
176176
with:
177177
status: ${{ job.status }}
178178
steps: ${{ toJson(steps) }}

.github/workflows/test_coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
107107
# Send Slack notification if job fails:
108108
- name: 'Send status to Slack channel in case of failure'
109-
uses: act10ns/slack@v1
109+
uses: act10ns/slack@v2
110110
with:
111111
status: ${{ job.status }}
112112
steps: ${{ toJson(steps) }}

.github/workflows/test_install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575

7676
# Send Slack notification if job fails:
7777
- name: 'Send notification to Slack in case of failure'
78-
uses: act10ns/slack@v1
78+
uses: act10ns/slack@v2
7979
with:
8080
status: ${{ job.status }}
8181
steps: ${{ toJson(steps) }}

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,7 @@ jsconfig.json
182182
################
183183
*.sublime-workspace
184184
*.sublime-project
185+
186+
# Other editor files #
187+
######################
188+
.idea/

CONTRIBUTORS

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,37 @@
33
# Contributors listed in alphabetical order.
44

55
Ali Salesi <[email protected]>
6+
Amit Jimiwal <[email protected]>
67
Athan Reines <[email protected]>
78
Brendan Graetz <[email protected]>
89
Bruno Fenzl <[email protected]>
910
Christopher Dambamuromo <[email protected]>
11+
1012
Dominik Moritz <[email protected]>
13+
Dorrin Sotoudeh <[email protected]>
1114
Frank Kovacs <[email protected]>
12-
15+
Harshita Kalani <[email protected]>
16+
James Gelok <[email protected]>
1317
Jithin KS <[email protected]>
1418
Joey Reed <[email protected]>
19+
Jordan Gallivan <[email protected]>
1520
Joris Labie <[email protected]>
1621
Justin Dennison <[email protected]>
17-
22+
Marcus Fantham <[email protected]>
1823
Matt Cochrane <[email protected]>
1924
Milan Raj <[email protected]>
2025
Momtchil Momtchev <[email protected]>
26+
Naresh Jagadeesan <[email protected]>
27+
Nithin Katta <[email protected]>
2128
Ognjen Jevremović <[email protected]>
2229
Philipp Burckhardt <[email protected]>
23-
30+
Pranav Goswami <[email protected]>
2431
Ricky Reusser <[email protected]>
32+
Roman Stetsyk <[email protected]>
2533
Ryan Seal <[email protected]>
2634
Seyyed Parsa Neshaei <[email protected]>
2735
Shraddheya Shendre <[email protected]>
2836
Stephannie Jiménez Gacha <[email protected]>
29-
dorrin-sot <[email protected]>
30-
37+
Yernar Yergaziyev <[email protected]>
38+
orimiles5 <[email protected]>
39+

LICENSE

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,32 @@ The library links against the following external libraries or contains
181181
implementations from the following external libraries, which have their own
182182
licenses:
183183

184+
* Boost <http://www.boost.org/LICENSE_1_0.txt>
185+
186+
Boost Software License - Version 1.0 - August 17th, 2003
187+
188+
Permission is hereby granted, free of charge, to any person or organization
189+
obtaining a copy of the software and accompanying documentation covered by
190+
this license (the "Software") to use, reproduce, display, distribute,
191+
execute, and transmit the Software, and to prepare derivative works of the
192+
Software, and to permit third-parties to whom the Software is furnished to
193+
do so, all subject to the following:
194+
195+
The copyright notices in the Software and this entire statement, including
196+
the above license grant, this restriction and the following disclaimer,
197+
must be included in all copies of the Software, in whole or in part, and
198+
all derivative works of the Software, unless such copies or derivative
199+
works are solely in the form of machine-executable object code generated by
200+
a source language processor.
201+
202+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
203+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
204+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
205+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
206+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
207+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
208+
DEALINGS IN THE SOFTWARE.
209+
184210
* MT19937 <http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/CODES/
185211
mt19937ar.c>
186212

@@ -214,29 +240,3 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
214240
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
215241
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
216242

217-
* Boost <http://www.boost.org/LICENSE_1_0.txt>
218-
219-
Boost Software License - Version 1.0 - August 17th, 2003
220-
221-
Permission is hereby granted, free of charge, to any person or organization
222-
obtaining a copy of the software and accompanying documentation covered by
223-
this license (the "Software") to use, reproduce, display, distribute,
224-
execute, and transmit the Software, and to prepare derivative works of the
225-
Software, and to permit third-parties to whom the Software is furnished to
226-
do so, all subject to the following:
227-
228-
The copyright notices in the Software and this entire statement, including
229-
the above license grant, this restriction and the following disclaimer,
230-
must be included in all copies of the Software, in whole or in part, and
231-
all derivative works of the Software, unless such copies or derivative
232-
works are solely in the form of machine-executable object code generated by
233-
a source language processor.
234-
235-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
236-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
237-
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
238-
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
239-
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
240-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
241-
DEALINGS IN THE SOFTWARE.
242-

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
247247
-->
248248

249249
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
250-
[chat-url]: https://gitter.im/stdlib-js/stdlib/
250+
[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
251251

252252
[stdlib]: https://github.com/stdlib-js/stdlib
253253

0 commit comments

Comments
 (0)