diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..5f30286 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1 @@ +/* For the `eslint` rules of this project, consult the main repository at https://github.com/stdlib-js/stdlib */ diff --git a/.github/workflows/cancel.yml b/.github/workflows/cancel.yml new file mode 100644 index 0000000..0b341b6 --- /dev/null +++ b/.github/workflows/cancel.yml @@ -0,0 +1,19 @@ +name: Cancel Previous Runs + +on: push + +jobs: + cancel: + runs-on: ubuntu-latest + timeout-minutes: 3 + steps: + - uses: styfle/cancel-workflow-action@0.9.0 + with: + workflow_id: >- + benchmark.yml, + examples.yml, + test.yml, + test_coverage.yml, + test_install.yml, + publish.yml + access_token: ${{ github.token }} diff --git a/.npmignore b/.npmignore index 401aa76..fb7a83d 100644 --- a/.npmignore +++ b/.npmignore @@ -18,12 +18,14 @@ # Files # ######### +CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md CONTRIBUTORS TODO.md ROADMAP.md .postinstall.json +Makefile # Directories # ############### @@ -39,11 +41,6 @@ workshops/ # Ignore test directories, except for testing dependency installation: **/test/ -!/deps/test/ - -# Only top-level directories: -/etc/ -/docs/ # Compiled source # ################### diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e572815 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,5 @@ +# CHANGELOG + +> Package changelog. + +See [GitHub Releases](https://github.com/stdlib-js/assert-is-uint32array/releases) for the changelog. \ No newline at end of file diff --git a/Makefile b/Makefile index 1c7d53e..6b4a628 100644 --- a/Makefile +++ b/Makefile @@ -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) @@ -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) diff --git a/lib/index.js b/lib/index.js index bee9c18..7ff0dfd 100644 --- a/lib/index.js +++ b/lib/index.js @@ -21,7 +21,7 @@ /** * Test if a value is a Uint32Array. * -* @module @stdlib/assert/is-uint32array +* @module @stdlib/assert-is-uint32array * * @example * var isUint32Array = require( '@stdlib/assert-is-uint32array' );