Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/production' into esm
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Nov 5, 2024
2 parents 1eb4503 + d93653a commit edec74b
Show file tree
Hide file tree
Showing 15,120 changed files with 1,496,697 additions and 30 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
181 changes: 181 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
#/
# @license Apache-2.0
#
# Copyright (c) 2017 The Stdlib Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#/

# EditorConfig configuration file (see <http://editorconfig.org/>).

# Indicate that this file is a root-level configuration file:
root = true

# Set properties for all files:
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

# Set properties for JavaScript files:
[*.{js,js.txt}]
indent_style = tab

# Set properties for JavaScript ES module files:
[*.{mjs,mjs.txt}]
indent_style = tab

# Set properties for JavaScript CommonJS files:
[*.{cjs,cjs.txt}]
indent_style = tab

# Set properties for JSON files:
[*.{json,json.txt}]
indent_style = space
indent_size = 2

# Set properties for `cli_opts.json` files:
[cli_opts.json]
indent_style = tab

# Set properties for TypeScript files:
[*.ts]
indent_style = tab

# Set properties for Python files:
[*.{py,py.txt}]
indent_style = space
indent_size = 4

# Set properties for Julia files:
[*.{jl,jl.txt}]
indent_style = tab

# Set properties for R files:
[*.{R,R.txt}]
indent_style = tab

# Set properties for C files:
[*.{c,c.txt}]
indent_style = tab

# Set properties for C header files:
[*.{h,h.txt}]
indent_style = tab

# Set properties for C++ files:
[*.{cpp,cpp.txt}]
indent_style = tab

# Set properties for C++ header files:
[*.{hpp,hpp.txt}]
indent_style = tab

# Set properties for Fortran files:
[*.{f,f.txt}]
indent_style = space
indent_size = 2
insert_final_newline = false

# Set properties for shell files:
[*.{sh,sh.txt}]
indent_style = tab

# Set properties for AWK files:
[*.{awk,awk.txt}]
indent_style = tab

# Set properties for HTML files:
[*.{html,html.txt}]
indent_style = tab
tab_width = 2

# Set properties for XML files:
[*.{xml,xml.txt}]
indent_style = tab
tab_width = 2

# Set properties for CSS files:
[*.{css,css.txt}]
indent_style = tab

# Set properties for Makefiles:
[Makefile]
indent_style = tab

[*.{mk,mk.txt}]
indent_style = tab

# Set properties for Markdown files:
[*.{md,md.txt}]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false

# Set properties for `usage.txt` files:
[usage.txt]
indent_style = space
indent_size = 2

# Set properties for `repl.txt` files:
[repl.txt]
indent_style = space
indent_size = 4

# Set properties for `package.json` files:
[package.{json,json.txt}]
indent_style = space
indent_size = 2

# Set properties for `datapackage.json` files:
[datapackage.json]
indent_style = space
indent_size = 2

# Set properties for `manifest.json` files:
[manifest.json]
indent_style = space
indent_size = 2

# Set properties for `tsconfig.json` files:
[tsconfig.json]
indent_style = space
indent_size = 2

# Set properties for LaTeX files:
[*.{tex,tex.txt}]
indent_style = tab

# Set properties for LaTeX Bibliography files:
[*.{bib,bib.txt}]
indent_style = tab

# Set properties for YAML files:
[*.{yml,yml.txt}]
indent_style = space
indent_size = 2

# Set properties for GYP files:
[binding.gyp]
indent_style = space
indent_size = 2

[*.gypi]
indent_style = space
indent_size = 2

# Set properties for citation files:
[*.{cff,cff.txt}]
indent_style = space
indent_size = 2
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 */
66 changes: 66 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#/
# @license Apache-2.0
#
# Copyright (c) 2017 The Stdlib Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#/

# Configuration file which assigns attributes to pathnames.
#
# [1]: https://git-scm.com/docs/gitattributes

# Automatically normalize the line endings of any committed text files:
* text=auto

# Override line endings for certain files on checkout:
*.crlf.csv text eol=crlf

# Denote that certain files are binary and should not be modified:
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.gz binary
*.zip binary
*.7z binary
*.mp3 binary
*.mp4 binary
*.mov binary

# Override what is considered "vendored" by GitHub's linguist:
/lib/node_modules/** -linguist-vendored -linguist-generated

# Configure directories which should *not* be included in GitHub language statistics:
/deps/** linguist-vendored
/dist/** linguist-generated
/workshops/** linguist-vendored

benchmark/** linguist-vendored
docs/* linguist-documentation
etc/** linguist-vendored
examples/** linguist-documentation
scripts/** linguist-vendored
test/** linguist-vendored
tools/** linguist-vendored

# Configure files which should *not* be included in GitHub language statistics:
Makefile linguist-vendored
*.mk linguist-vendored
*.jl linguist-vendored
*.py linguist-vendored
*.R linguist-vendored

# Configure files which should be included in GitHub language statistics:
docs/types/*.d.ts -linguist-documentation
7 changes: 7 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!-- ----------^ Click "Preview"! -->

We are excited about your pull request, but unfortunately we are not accepting pull requests against this repository, as all development happens on the [main project repository](https://github.com/stdlib-js/stdlib). We kindly request that you submit this pull request against the [respective directory](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math) of the main repository where we’ll review and provide feedback.

If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/development.md) for help on developing stdlib.

We look forward to receiving your contribution! :smiley:
64 changes: 64 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
#/
# @license Apache-2.0
#
# Copyright (c) 2021 The Stdlib Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#/

# Workflow name:
name: benchmark

# Workflow triggers:
on:
# Allow the workflow to be manually run:
workflow_dispatch:

# Workflow jobs:
jobs:

# Define a job to run benchmarks:
benchmark:

# Define a display name:
name: 'Run benchmarks'

# Define the type of virtual host machine:
runs-on: 'ubuntu-latest'

# Define the sequence of job steps...
steps:

# Checkout the repository:
- name: 'Checkout repository'
# Pin action to full length commit SHA
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0

# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: 20
timeout-minutes: 5

# Install dependencies:
- name: 'Install production and development dependencies'
run: |
npm install || npm install || npm install
timeout-minutes: 15

# Run benchmarks:
- name: 'Run benchmarks'
run: |
npm run benchmark
57 changes: 57 additions & 0 deletions .github/workflows/cancel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#/
# @license Apache-2.0
#
# Copyright (c) 2021 The Stdlib Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#/

# Workflow name:
name: cancel

# Workflow triggers:
on:
# Allow the workflow to be manually run:
workflow_dispatch:

# Workflow jobs:
jobs:

# Define a job to cancel existing workflow runs:
cancel:

# Define a display name:
name: 'Cancel workflow runs'

# Define the type of virtual host machine:
runs-on: 'ubuntu-latest'

# Time limit:
timeout-minutes: 3

# Define the sequence of job steps...
steps:

# Cancel existing workflow runs:
- name: 'Cancel existing workflow runs'
# Pin action to full length commit SHA
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # v0.12.1
with:
workflow_id: >-
benchmark.yml,
examples.yml,
test.yml,
test_coverage.yml,
test_install.yml,
publish.yml
access_token: ${{ github.token }}
Loading

0 comments on commit edec74b

Please sign in to comment.