From fcb20d1f5e953687799cbb3ecd32e57c7841ea24 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Thu, 22 Feb 2024 20:51:50 +0000 Subject: [PATCH] Release v0.2.1 --- .github/workflows/npm_downloads.yml | 4 ++-- .github/workflows/publish.yml | 14 ++++---------- README.md | 4 ++-- package.json | 20 ++++++++++---------- 4 files changed, 18 insertions(+), 24 deletions(-) diff --git a/.github/workflows/npm_downloads.yml b/.github/workflows/npm_downloads.yml index ee5d33d..ee91f37 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/README.md b/README.md index 14b2c5e..e3cfd6e 100644 --- a/README.md +++ b/README.md @@ -299,8 +299,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [npm-image]: http://img.shields.io/npm/v/@stdlib/napi-argv-int8array.svg [npm-url]: https://npmjs.org/package/@stdlib/napi-argv-int8array -[test-image]: https://github.com/stdlib-js/napi-argv-int8array/actions/workflows/test.yml/badge.svg?branch=v0.2.0 -[test-url]: https://github.com/stdlib-js/napi-argv-int8array/actions/workflows/test.yml?query=branch:v0.2.0 +[test-image]: https://github.com/stdlib-js/napi-argv-int8array/actions/workflows/test.yml/badge.svg?branch=v0.2.1 +[test-url]: https://github.com/stdlib-js/napi-argv-int8array/actions/workflows/test.yml?query=branch:v0.2.1 [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/napi-argv-int8array/main.svg [coverage-url]: https://codecov.io/github/stdlib-js/napi-argv-int8array?branch=main diff --git a/package.json b/package.json index a46b7d9..b54fec4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stdlib/napi-argv-int8array", - "version": "0.2.0", + "version": "0.2.1", "description": "Convert a Node-API value to a signed 8-bit integer array.", "license": "Apache-2.0", "author": { @@ -39,17 +39,17 @@ "url": "https://github.com/stdlib-js/stdlib/issues" }, "dependencies": { - "@stdlib/assert-napi-equal-typedarray-types": "^0.2.0", - "@stdlib/assert-napi-is-typedarray": "^0.2.0", - "@stdlib/assert-napi-status-ok": "^0.2.0", - "@stdlib/napi-argv": "^0.2.0", - "@stdlib/utils-library-manifest": "^0.2.0" + "@stdlib/assert-napi-equal-typedarray-types": "^0.2.1", + "@stdlib/assert-napi-is-typedarray": "^0.2.1", + "@stdlib/assert-napi-status-ok": "^0.2.1", + "@stdlib/napi-argv": "^0.2.1", + "@stdlib/utils-library-manifest": "^0.2.1" }, "devDependencies": { - "@stdlib/array-filled": "^0.1.0", - "@stdlib/array-typed": "^0.1.0", - "@stdlib/assert-is-browser": "^0.1.1", - "@stdlib/utils-try-require": "^0.2.0", + "@stdlib/array-filled": "^0.2.0", + "@stdlib/array-typed": "^0.2.0", + "@stdlib/assert-is-browser": "^0.2.1", + "@stdlib/utils-try-require": "^0.2.1", "tape": "git+https://github.com/kgryte/tape.git#fix/globby", "istanbul": "^0.4.1", "tap-min": "git+https://github.com/Planeshifter/tap-min.git"