diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 00000000..5f302863 --- /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 00000000..0b341b65 --- /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 401aa76a..fb7a83d2 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 00000000..772c3e81 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,5 @@ +# CHANGELOG + +> Package changelog. + +See [GitHub Releases](https://github.com/stdlib-js/array/releases) for the changelog. \ No newline at end of file diff --git a/Makefile b/Makefile index 1c7d53e2..6b4a6282 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)