From 7ab739ba085ffeabc562245b84ae994bf318e851 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Fri, 1 Dec 2023 02:20:50 +0000 Subject: [PATCH] Auto-generated commit --- .editorconfig | 5 ----- .github/.keepalive | 2 +- .github/workflows/productionize.yml | 8 +++++--- .github/workflows/publish.yml | 4 ++-- CONTRIBUTORS | 3 ++- package.json | 2 +- 6 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.editorconfig b/.editorconfig index 13e9c39..60d743f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -148,11 +148,6 @@ indent_size = 2 indent_style = space indent_size = 2 -# Set properties for `tslint.json` files: -[tslint.json] -indent_style = space -indent_size = 2 - # Set properties for `tsconfig.json` files: [tsconfig.json] indent_style = space diff --git a/.github/.keepalive b/.github/.keepalive index 5077d97..44c6d6d 100644 --- a/.github/.keepalive +++ b/.github/.keepalive @@ -1 +1 @@ -2023-11-01T02:12:33.470Z +2023-12-01T02:20:46.819Z diff --git a/.github/workflows/productionize.yml b/.github/workflows/productionize.yml index 2eecd49..6957ebf 100644 --- a/.github/workflows/productionize.yml +++ b/.github/workflows/productionize.yml @@ -767,14 +767,16 @@ jobs: git checkout production git checkout -b cli - # Copy files to cli directory: - - name: 'Copy files to cli directory' + # Copy files to `cli` directory: + - name: 'Copy files to `cli` directory' run: | mkdir -p cli mkdir -p cli/docs cli/test cp README.md LICENSE CONTRIBUTORS NOTICE ./cli cp -r bin etc ./cli - cp test/test.cli.js ./cli/test + if [ -e "test/test.cli.js" ]; then + cp test/test.cli.js ./cli/test + fi if [ -d "test/fixtures" ]; then cp -r test/fixtures ./cli/test fi diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0037bdb..8b8977f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -119,7 +119,7 @@ jobs: # For all dependencies, check in all *.js files if they are still used; if not, remove them: jq -r '.dependencies | keys[]' ./package.json | while read -r dep; do dep=$(echo "$dep" | xargs) - if ! grep -q "$dep" lib/** && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then + 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(.dependencies[\"$dep\"])" ./package.json > ./package.json.tmp mv ./package.json.tmp ./package.json fi @@ -129,7 +129,7 @@ jobs: continue fi dep=$(echo "$dep" | xargs) - if ! grep -q "$dep" lib/** && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then + 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 diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 0dae4fe..188cda8 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -9,6 +9,7 @@ Brendan Graetz Bruno Fenzl Christopher Dambamuromo Dan Rose +Daniel Killenberger Dominik Moritz Dorrin Sotoudeh Frank Kovacs @@ -29,6 +30,7 @@ Ognjen Jevremović Philipp Burckhardt Pranav Goswami Ricky Reusser +Robert Gislason Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com> Ryan Seal Seyyed Parsa Neshaei @@ -37,4 +39,3 @@ Stephannie Jiménez Gacha Yernar Yergaziyev orimiles5 <97595296+orimiles5@users.noreply.github.com> rei2hu -Robert Gislason diff --git a/package.json b/package.json index 77dcd66..d568b26 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "devDependencies": { "@stdlib/assert-is-browser": "^0.1.1", "@stdlib/assert-is-windows": "^0.1.1", - "@stdlib/bench": "^0.1.0", + "@stdlib/bench": "^0.2.1", "@stdlib/math-base-assert-is-nan": "^0.1.1", "@stdlib/process-exec-path": "^0.1.1", "tape": "git+https://github.com/kgryte/tape.git#fix/globby",