From 0907b4a167e2e51e24ebbf6c63e6031b8c6adef6 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Mon, 19 Feb 2024 13:27:54 +0000 Subject: [PATCH] Auto-generated commit --- .github/workflows/npm_downloads.yml | 4 ++-- .github/workflows/publish.yml | 14 ++++---------- .github/workflows/test_bundles.yml | 4 ++-- README.md | 17 +++++++++++++++-- package.json | 12 ++++++------ 5 files changed, 29 insertions(+), 22 deletions(-) diff --git a/.github/workflows/npm_downloads.yml b/.github/workflows/npm_downloads.yml index 2054763..a9decd9 100644 --- a/.github/workflows/npm_downloads.yml +++ b/.github/workflows/npm_downloads.yml @@ -86,8 +86,8 @@ jobs: # Upload the download data: - name: 'Upload data' - # Pin action to full length commit SHA corresponding to v3.1.3 - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 + # Pin action to full length commit SHA + uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 with: # Define a name for the uploaded artifact (ensuring a unique name for each job): name: npm_downloads diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 477ca6d..010fb9d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -124,16 +124,10 @@ jobs: mv ./package.json.tmp ./package.json fi done - jq -r '.devDependencies | keys[]' ./package.json | while read -r dep; do - if [[ "$dep" != "@stdlib"* ]]; then - continue - fi - dep=$(echo "$dep" | xargs) - if ! find lib -name "*.js" -exec grep -q "$dep" {} + && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then - jq --indent 2 "del(.devDependencies[\"$dep\"])" ./package.json > ./package.json.tmp - mv ./package.json.tmp ./package.json - fi - done + + # Set `devDependencies` to an empty object: + jq --indent 2 '.devDependencies = {}' ./package.json > ./package.json.tmp + mv ./package.json.tmp ./package.json # Remove CLI section: find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?
[\s\S]+?<\!\-\- \/.cli \-\->//" diff --git a/.github/workflows/test_bundles.yml b/.github/workflows/test_bundles.yml index 0c4e061..5c9dc95 100644 --- a/.github/workflows/test_bundles.yml +++ b/.github/workflows/test_bundles.yml @@ -168,8 +168,8 @@ jobs: # Install Deno: - name: 'Install Deno' - # Pin action to full length commit SHA corresponding to v1.1.2 - uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 + # Pin action to full length commit SHA + uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba # v1.1.4 with: deno-version: vx.x.x diff --git a/README.md b/README.md index a89f22d..eabf84c 100644 --- a/README.md +++ b/README.md @@ -389,6 +389,13 @@ logEach( 'x1[%d] = %.2f; x2[%d] = %.2f', idx, x1, idx, x2 ); @@ -432,8 +439,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [npm-image]: http://img.shields.io/npm/v/@stdlib/random-strided-rayleigh.svg [npm-url]: https://npmjs.org/package/@stdlib/random-strided-rayleigh -[test-image]: https://github.com/stdlib-js/random-strided-rayleigh/actions/workflows/test.yml/badge.svg?branch=v0.1.0 -[test-url]: https://github.com/stdlib-js/random-strided-rayleigh/actions/workflows/test.yml?query=branch:v0.1.0 +[test-image]: https://github.com/stdlib-js/random-strided-rayleigh/actions/workflows/test.yml/badge.svg?branch=main +[test-url]: https://github.com/stdlib-js/random-strided-rayleigh/actions/workflows/test.yml?query=branch:main [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/random-strided-rayleigh/main.svg [coverage-url]: https://codecov.io/github/stdlib-js/random-strided-rayleigh?branch=main @@ -471,6 +478,12 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [@stdlib/array/uint32]: https://github.com/stdlib-js/array-uint32 + + +[@stdlib/random/array/rayleigh]: https://github.com/stdlib-js/random-array-rayleigh + + +
diff --git a/package.json b/package.json index 5352868..24c2311 100644 --- a/package.json +++ b/package.json @@ -43,17 +43,17 @@ "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.0" }, "devDependencies": { - "@stdlib/array-base-to-accessor-array": "^0.1.0", - "@stdlib/array-filled": "^0.1.0", + "@stdlib/array-base-to-accessor-array": "^0.2.0", + "@stdlib/array-filled": "^0.2.0", "@stdlib/array-float64": "^0.2.0", - "@stdlib/array-zero-to": "^0.1.0", - "@stdlib/array-zeros": "^0.1.0", + "@stdlib/array-zero-to": "^0.2.0", + "@stdlib/array-zeros": "^0.2.0", "@stdlib/assert-is-uint32array": "^0.2.0", - "@stdlib/console-log-each": "^0.1.0", + "@stdlib/console-log-each": "^0.2.0", "@stdlib/math-base-assert-is-nan": "^0.2.0", "@stdlib/math-base-assert-is-nanf": "^0.2.0", "@stdlib/math-base-special-pow": "^0.2.0", - "@stdlib/random-array-uniform": "^0.1.0", + "@stdlib/random-array-uniform": "^0.2.0", "tape": "git+https://github.com/kgryte/tape.git#fix/globby", "istanbul": "^0.4.1", "tap-min": "git+https://github.com/Planeshifter/tap-min.git",