From a313b5f9c823d94b6e2dedb1b0186743fbdf9294 Mon Sep 17 00:00:00 2001 From: stdlib-bot <noreply@stdlib.io> Date: Sat, 24 Feb 2024 16:15:33 +0000 Subject: [PATCH] Release v0.2.1 --- .github/workflows/npm_downloads.yml | 4 ++-- .github/workflows/publish.yml | 14 ++++------- .github/workflows/publish_cli.yml | 6 +++++ .github/workflows/test_bundles.yml | 4 ++-- CONTRIBUTORS | 4 ++++ README.md | 4 ++-- package.json | 36 ++++++++++++++--------------- 7 files changed, 38 insertions(+), 34 deletions(-) diff --git a/.github/workflows/npm_downloads.yml b/.github/workflows/npm_downloads.yml index 37673f7..792efd7 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+)?<section class=\"cli\">[\s\S]+?<\!\-\- \/.cli \-\->//" diff --git a/.github/workflows/publish_cli.yml b/.github/workflows/publish_cli.yml index 2d98bc1..fd8e191 100644 --- a/.github/workflows/publish_cli.yml +++ b/.github/workflows/publish_cli.yml @@ -105,6 +105,12 @@ jobs: SLUG=${{ github.repository }} git push "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$SLUG.git" --follow-tags + # Remove development dependencies from package.json: + - name: 'Remove development dependencies from package.json' + run: | + jq --indent 2 '.devDependencies = {}' ./package.json > ./package.json.tmp + mv ./package.json.tmp ./package.json + # Replace GitHub MathJax equations with SVGs: - name: 'Replace GitHub MathJax equations with SVGs' run: | 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/CONTRIBUTORS b/CONTRIBUTORS index 726c1ec..a084916 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2,6 +2,7 @@ # # Contributors listed in alphabetical order. +Aditya Sapra <110766802+adityacodes30@users.noreply.github.com> Ali Salesi <ali_sal1381@yahoo.com> Amit Jimiwal <amitjimiwal45@gmail.com> Athan Reines <kgryte@gmail.com> @@ -13,6 +14,7 @@ Daniel Killenberger <daniel.killenberger@gmail.com> Dominik Moritz <domoritz@gmail.com> Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com> Frank Kovacs <fran70kk@gmail.com> +GUNJ JOSHI <gunjjoshi8372@gmail.com> Harshita Kalani <harshitakalani02@gmail.com> James Gelok <jdgelok@gmail.com> Jaysukh Makvana <jaysukhmakvana2004@gmail.com> @@ -21,6 +23,7 @@ Joey Reed <joeyrreed@gmail.com> Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com> Joris Labie <joris.labie1@gmail.com> Justin Dennison <justin1dennison@gmail.com> +Karthik Prakash <116057817+skoriop@users.noreply.github.com> Marcus Fantham <mfantham@users.noreply.github.com> Matt Cochrane <matthew.cochrane.eng@gmail.com> Milan Raj <rajsite@users.noreply.github.com> @@ -36,6 +39,7 @@ Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com> Ryan Seal <splrk@users.noreply.github.com> Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com> Shraddheya Shendre <shendreshraddheya@gmail.com> +Spandan Barve <114365550+marsian83@users.noreply.github.com> Stephannie JimĂ©nez Gacha <steff456@hotmail.com> Yernar Yergaziyev <yernar.yergaziyev@erg.kz> orimiles5 <97595296+orimiles5@users.noreply.github.com> diff --git a/README.md b/README.md index 80c7776..b4a45b8 100644 --- a/README.md +++ b/README.md @@ -784,8 +784,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [npm-image]: http://img.shields.io/npm/v/@stdlib/datasets-minard-napoleons-march.svg [npm-url]: https://npmjs.org/package/@stdlib/datasets-minard-napoleons-march -[test-image]: https://github.com/stdlib-js/datasets-minard-napoleons-march/actions/workflows/test.yml/badge.svg?branch=v0.2.0 -[test-url]: https://github.com/stdlib-js/datasets-minard-napoleons-march/actions/workflows/test.yml?query=branch:v0.2.0 +[test-image]: https://github.com/stdlib-js/datasets-minard-napoleons-march/actions/workflows/test.yml/badge.svg?branch=v0.2.1 +[test-url]: https://github.com/stdlib-js/datasets-minard-napoleons-march/actions/workflows/test.yml?query=branch:v0.2.1 [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/datasets-minard-napoleons-march/main.svg [coverage-url]: https://codecov.io/github/stdlib-js/datasets-minard-napoleons-march?branch=main diff --git a/package.json b/package.json index eb94213..ce7f82b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stdlib/datasets-minard-napoleons-march", - "version": "0.2.0", + "version": "0.2.1", "description": "Data for Charles Joseph Minard's cartographic depiction of Napoleon's Russian campaign of 1812.", "license": "Apache-2.0", "author": { @@ -42,29 +42,29 @@ "url": "https://github.com/stdlib-js/stdlib/issues" }, "dependencies": { - "@stdlib/assert-has-own-property": "^0.1.1", - "@stdlib/assert-is-plain-object": "^0.2.0", - "@stdlib/assert-is-string": "^0.2.0", - "@stdlib/cli-ctor": "^0.1.1", - "@stdlib/fs-read-file": "^0.2.0", - "@stdlib/fs-read-json": "^0.2.0", - "@stdlib/streams-node-stdout": "^0.2.0", - "@stdlib/string-format": "^0.2.0", - "@stdlib/utils-copy": "^0.2.0", - "@stdlib/utils-index-of": "^0.2.0", - "@stdlib/utils-keys": "^0.2.0" + "@stdlib/assert-has-own-property": "^0.2.1", + "@stdlib/assert-is-plain-object": "^0.2.1", + "@stdlib/assert-is-string": "^0.2.1", + "@stdlib/cli-ctor": "^0.2.1", + "@stdlib/fs-read-file": "^0.2.1", + "@stdlib/fs-read-json": "^0.2.1", + "@stdlib/streams-node-stdout": "^0.2.1", + "@stdlib/string-format": "^0.2.1", + "@stdlib/utils-copy": "^0.2.1", + "@stdlib/utils-index-of": "^0.2.1", + "@stdlib/utils-keys": "^0.2.1" }, "devDependencies": { - "@stdlib/assert-is-browser": "^0.1.1", - "@stdlib/assert-is-plain-object-array": "^0.2.0", - "@stdlib/assert-is-windows": "^0.1.1", - "@stdlib/process-exec-path": "^0.1.1", - "@stdlib/regexp-eol": "^0.2.0", + "@stdlib/assert-is-browser": "^0.2.1", + "@stdlib/assert-is-plain-object-array": "^0.2.1", + "@stdlib/assert-is-windows": "^0.2.1", + "@stdlib/process-exec-path": "^0.2.1", + "@stdlib/regexp-eol": "^0.2.1", "proxyquire": "^2.0.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", - "@stdlib/bench-harness": "^0.2.0" + "@stdlib/bench-harness": "^0.2.1" }, "engines": { "node": ">=0.10.0",