File tree Expand file tree Collapse file tree 4 files changed +41
-1
lines changed Expand file tree Collapse file tree 4 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 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'
Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -111,6 +111,24 @@ for ( i = 0; i < 100; i++ ) {
111111
112112<!-- /.references -->
113113
114+ <!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
115+
116+ <section class =" related " >
117+
118+ * * *
119+
120+ ## See Also
121+
122+ - [ ` @stdlib/buffer/ctor ` ] [ @stdlib/buffer/ctor ] : buffer.
123+ - [ ` @stdlib/buffer/from-array ` ] [ @stdlib/buffer/from-array ] : allocate a buffer using an octet array.
124+ - [ ` @stdlib/buffer/from-arraybuffer ` ] [ @stdlib/buffer/from-arraybuffer ] : allocate a buffer from an ArrayBuffer.
125+ - [ ` @stdlib/buffer/from-buffer ` ] [ @stdlib/buffer/from-buffer ] : copy buffer data to a new Buffer instance.
126+ - [ ` @stdlib/buffer/from-string ` ] [ @stdlib/buffer/from-string ] : allocate a buffer containing a provided string.
127+
128+ </section >
129+
130+ <!-- /.related -->
131+
114132<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
115133
116134
@@ -168,8 +186,20 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
168186
169187[ stdlib-license ] : https://raw.githubusercontent.com/stdlib-js/buffer-alloc-unsafe/main/LICENSE
170188
189+ <!-- <related-links> -->
190+
171191[ @stdlib/buffer/ctor ] : https://github.com/stdlib-js/buffer-ctor
172192
193+ [ @stdlib/buffer/from-array ] : https://github.com/stdlib-js/buffer-from-array
194+
195+ [ @stdlib/buffer/from-arraybuffer ] : https://github.com/stdlib-js/buffer-from-arraybuffer
196+
197+ [ @stdlib/buffer/from-buffer ] : https://github.com/stdlib-js/buffer-from-buffer
198+
199+ [ @stdlib/buffer/from-string ] : https://github.com/stdlib-js/buffer-from-string
200+
201+ <!-- </related-links> -->
202+
173203</section >
174204
175205<!-- /.links -->
You can’t perform that action at this time.
0 commit comments