Skip to content

Commit e6d2ef1

Browse files
committed
Auto-generated commit
1 parent f5cdca0 commit e6d2ef1

File tree

4 files changed

+39
-1
lines changed

4 files changed

+39
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
timeout-minutes: 5
3939
- name: Replace all GitHub links to individual packages with npm links
4040
run: |
41-
find . -type f -name '*.md' -print0 | xargs -0 sed -Ei 's/@stdlib\/([^:]*)\]: https:\/\/github.com\/stdlib-js/@stdlib\/\1\]: https:\/\/www.npmjs.com\/package\/@stdlib/g'
41+
find . -type f -name '*.md' -print0 | xargs -0 sed -Ei '/tree\/main/b; s/@stdlib\/([^:]*)\]: https:\/\/github.com\/stdlib-js/@stdlib\/\1\]: https:\/\/www.npmjs.com\/package\/@stdlib/g'
4242
- name: Replace all stdlib GitHub dependencies with the respective npm packages
4343
run: |
4444
find package.json -type f -print0 | xargs -0 sed -Ei 's/"github:stdlib-js[^"]*"/"^0.0.x"/g'

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ jobs:
4444
run: |
4545
npm install || npm install || npm install
4646
timeout-minutes: 15
47+
- name: Build native add-on (if present)
48+
run: |
49+
if [ -f "binding.gyp" ]; then
50+
npm install node-gyp --no-save && ./node_modules/.bin/node-gyp rebuild
51+
fi
4752
- name: Run tests
4853
id: tests
4954
run: |

.github/workflows/test_coverage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ jobs:
4040
run: |
4141
npm install || npm install || npm install
4242
timeout-minutes: 15
43+
- name: Build native add-on (if present)
44+
run: |
45+
if [ -f "binding.gyp" ]; then
46+
npm install node-gyp --no-save && ./node_modules/.bin/node-gyp rebuild
47+
fi
4348
- name: Calculate test coverage
4449
run: |
4550
npm run test-cov || npm run test-cov || npm run test-cov

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,24 @@ console.log( v );
188188

189189
<!-- /.examples -->
190190

191+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
192+
193+
<section class="related">
194+
195+
* * *
196+
197+
## See Also
198+
199+
- <span class="package-name">[`@stdlib/stats/base/dnanmean`][@stdlib/stats/base/dnanmean]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array, ignoring NaN values.</span>
200+
- <span class="package-name">[`@stdlib/stats/base/smean`][@stdlib/stats/base/smean]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a single-precision floating-point strided array.</span>
201+
- <span class="package-name">[`@stdlib/stats/base/nanmean`][@stdlib/stats/base/nanmean]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a strided array, ignoring NaN values.</span>
202+
203+
</section>
204+
205+
<!-- /.related -->
206+
207+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
208+
191209

192210
<section class="main-repo" >
193211

@@ -249,6 +267,16 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
249267

250268
[mdn-typed-array]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
251269

270+
<!-- <related-links> -->
271+
272+
[@stdlib/stats/base/dnanmean]: https://github.com/stdlib-js/stats-base-dnanmean
273+
274+
[@stdlib/stats/base/smean]: https://github.com/stdlib-js/stats-base-smean
275+
276+
[@stdlib/stats/base/nanmean]: https://github.com/stdlib-js/stats-base-nanmean
277+
278+
<!-- </related-links> -->
279+
252280
</section>
253281

254282
<!-- /.links -->

0 commit comments

Comments
 (0)