Skip to content

Commit cd83b5d

Browse files
committed
Auto-generated commit
1 parent 192a410 commit cd83b5d

File tree

4 files changed

+38
-1
lines changed

4 files changed

+38
-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: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,23 @@ console.log( buf.toString() );
115115

116116
<!-- /.references -->
117117

118+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
119+
120+
<section class="related">
121+
122+
* * *
123+
124+
## See Also
125+
126+
- [`@stdlib/buffer/ctor`][@stdlib/buffer/ctor]: buffer.
127+
- [`@stdlib/buffer/from-arraybuffer`][@stdlib/buffer/from-arraybuffer]: allocate a buffer from an ArrayBuffer.
128+
- [`@stdlib/buffer/from-buffer`][@stdlib/buffer/from-buffer]: copy buffer data to a new Buffer instance.
129+
- [`@stdlib/buffer/from-string`][@stdlib/buffer/from-string]: allocate a buffer containing a provided string.
130+
131+
</section>
132+
133+
<!-- /.related -->
134+
118135
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
119136

120137

@@ -172,8 +189,18 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
172189

173190
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/buffer-from-array/main/LICENSE
174191

192+
<!-- <related-links> -->
193+
175194
[@stdlib/buffer/ctor]: https://github.com/stdlib-js/buffer-ctor
176195

196+
[@stdlib/buffer/from-arraybuffer]: https://github.com/stdlib-js/buffer-from-arraybuffer
197+
198+
[@stdlib/buffer/from-buffer]: https://github.com/stdlib-js/buffer-from-buffer
199+
200+
[@stdlib/buffer/from-string]: https://github.com/stdlib-js/buffer-from-string
201+
202+
<!-- </related-links> -->
203+
177204
</section>
178205

179206
<!-- /.links -->

0 commit comments

Comments
 (0)