Skip to content

Commit

Permalink
Release v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Feb 22, 2024
1 parent c85622f commit c1e3e33
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm_downloads.yml
Expand Up @@ -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
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/publish.yml
Expand Up @@ -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 \-\->//"
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/publish_cli.yml
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_bundles.yml
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -278,8 +278,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
[npm-image]: http://img.shields.io/npm/v/@stdlib/assert-is-anagram.svg
[npm-url]: https://npmjs.org/package/@stdlib/assert-is-anagram

[test-image]: https://github.com/stdlib-js/assert-is-anagram/actions/workflows/test.yml/badge.svg?branch=v0.2.0
[test-url]: https://github.com/stdlib-js/assert-is-anagram/actions/workflows/test.yml?query=branch:v0.2.0
[test-image]: https://github.com/stdlib-js/assert-is-anagram/actions/workflows/test.yml/badge.svg?branch=v0.2.1
[test-url]: https://github.com/stdlib-js/assert-is-anagram/actions/workflows/test.yml?query=branch:v0.2.1

[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/assert-is-anagram/main.svg
[coverage-url]: https://codecov.io/github/stdlib-js/assert-is-anagram?branch=main
Expand Down
36 changes: 18 additions & 18 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "@stdlib/assert-is-anagram",
"version": "0.2.0",
"version": "0.2.1",
"description": "Test if a value is an anagram.",
"license": "Apache-2.0",
"author": {
Expand Down Expand Up @@ -40,29 +40,29 @@
"url": "https://github.com/stdlib-js/stdlib/issues"
},
"dependencies": {
"@stdlib/assert-is-regexp-string": "^0.2.0",
"@stdlib/assert-is-string": "^0.2.0",
"@stdlib/cli-ctor": "^0.1.1",
"@stdlib/fs-read-file": "^0.2.0",
"@stdlib/process-read-stdin": "^0.2.0",
"@stdlib/regexp-eol": "^0.2.0",
"@stdlib/streams-node-stdin": "^0.2.0",
"@stdlib/string-base-lowercase": "^0.3.0",
"@stdlib/string-base-replace": "^0.2.0",
"@stdlib/string-format": "^0.2.0",
"@stdlib/utils-regexp-from-string": "^0.2.0"
"@stdlib/assert-is-regexp-string": "^0.2.1",
"@stdlib/assert-is-string": "^0.2.1",
"@stdlib/cli-ctor": "^0.2.1",
"@stdlib/fs-read-file": "^0.2.1",
"@stdlib/process-read-stdin": "^0.2.1",
"@stdlib/regexp-eol": "^0.2.1",
"@stdlib/streams-node-stdin": "^0.2.1",
"@stdlib/string-base-lowercase": "^0.3.1",
"@stdlib/string-base-replace": "^0.2.1",
"@stdlib/string-format": "^0.2.1",
"@stdlib/utils-regexp-from-string": "^0.2.1"
},
"devDependencies": {
"@stdlib/assert-is-boolean": "^0.1.1",
"@stdlib/assert-is-browser": "^0.1.1",
"@stdlib/assert-is-windows": "^0.1.1",
"@stdlib/process-exec-path": "^0.1.1",
"@stdlib/string-replace": "^0.1.1",
"@stdlib/assert-is-boolean": "^0.2.1",
"@stdlib/assert-is-browser": "^0.2.1",
"@stdlib/assert-is-windows": "^0.2.1",
"@stdlib/process-exec-path": "^0.2.1",
"@stdlib/string-replace": "^0.2.1",
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
"proxyquire": "^2.0.0",
"istanbul": "^0.4.1",
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
"@stdlib/bench-harness": "^0.1.2"
"@stdlib/bench-harness": "^0.2.0"
},
"engines": {
"node": ">=0.10.0",
Expand Down

0 comments on commit c1e3e33

Please sign in to comment.