Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Jun 16, 2021
1 parent 0916edd commit 00830e8
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 10 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* For the `eslint` rules of this project, consult the main repository at https://github.com/stdlib-js/stdlib */
19 changes: 19 additions & 0 deletions .github/workflows/cancel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Cancel Previous Runs

on: push

jobs:
cancel:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: styfle/[email protected]
with:
workflow_id: >-
benchmark.yml,
examples.yml,
test.yml,
test_coverage.yml,
test_install.yml,
publish.yml
access_token: ${{ github.token }}
7 changes: 2 additions & 5 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@

# Files #
#########
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
CONTRIBUTORS
TODO.md
ROADMAP.md
.postinstall.json
Makefile

# Directories #
###############
Expand All @@ -39,11 +41,6 @@ workshops/

# Ignore test directories, except for testing dependency installation:
**/test/
!/deps/test/

# Only top-level directories:
/etc/
/docs/

# Compiled source #
###################
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# CHANGELOG

> Package changelog.
See [GitHub Releases](https://github.com/stdlib-js/stats-base-snanrange/releases) for the changelog.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ FIND_BENCHMARKS_EXCLUDE_FLAGS ?= \
FIND_BENCHMARKS_FLAGS ?= \
-type f \
-name "$(BENCHMARKS_PATTERN)" \
-path "$(ROOT_DIR)/**/$(BENCHMARKS_FOLDER)/**" \
-path "$(ROOT_DIR)/**$(BENCHMARKS_FOLDER)/**" \
-regex "$(BENCHMARKS_FILTER)" \
$(FIND_BENCHMARKS_EXCLUDE_FLAGS)

Expand All @@ -314,7 +314,7 @@ FIND_EXAMPLES_EXCLUDE_FLAGS ?= \
FIND_EXAMPLES_FLAGS ?= \
-type f \
-name "$(EXAMPLES_PATTERN)" \
-path "$(ROOT_DIR)/**/$(EXAMPLES_FOLDER)/**" \
-path "$(ROOT_DIR)/**$(EXAMPLES_FOLDER)/**" \
-regex "$(EXAMPLES_FILTER)" \
$(FIND_EXAMPLES_EXCLUDE_FLAGS)

Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* Compute the range of a single-precision floating-point strided array, ignoring `NaN` values.
*
* @module @stdlib/stats/base/snanrange
* @module @stdlib/stats-base-snanrange
*
* @example
* var Float32Array = require( '@stdlib/array-float32' );
Expand Down
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ tape( 'attached to the main export is a method providing an ndarray interface',

tape( 'if a native implementation is available, the main export is the native implementation', opts, function test( t ) {
var snanrange = proxyquire( './../lib', {
'@stdlib/utils/try-require': tryRequire
'@stdlib/utils-try-require': tryRequire
});

t.strictEqual( snanrange, mock, 'returns expected value' );
Expand All @@ -70,7 +70,7 @@ tape( 'if a native implementation is not available, the main export is a JavaScr
main = require( './../lib/snanrange.js' );

snanrange = proxyquire( './../lib', {
'@stdlib/utils/try-require': tryRequire
'@stdlib/utils-try-require': tryRequire
});

t.strictEqual( snanrange, main, 'returns expected value' );
Expand Down

0 comments on commit 00830e8

Please sign in to comment.