Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 55ee0a6

Browse filesBrowse files
committed
Auto-generated commit
0 parents  commit 55ee0a6
Copy full SHA for 55ee0a6

32 files changed

+2,956Lines changed: 2956 additions & 0 deletions
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.editorconfig‎

Copy file name to clipboard
+154Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
#/
2+
# @license Apache-2.0
3+
#
4+
# Copyright (c) 2017 The Stdlib Authors.
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#/
18+
19+
# EditorConfig configuration file (see <http://editorconfig.org/>).
20+
21+
# Indicate that this file is a root-level configuration file:
22+
root = true
23+
24+
# Set properties for all files:
25+
[*]
26+
end_of_line = lf
27+
charset = utf-8
28+
trim_trailing_whitespace = true
29+
insert_final_newline = true
30+
31+
# Set properties for JavaScript files:
32+
[*.js]
33+
indent_style = tab
34+
35+
# Set properties for TypeScript files:
36+
[*.ts]
37+
indent_style = tab
38+
39+
# Set properties for Python files:
40+
[*.py]
41+
indent_style = space
42+
indent_size = 4
43+
44+
# Set properties for Julia files:
45+
[*.jl]
46+
indent_style = tab
47+
48+
# Set properties for R files:
49+
[*.R]
50+
indent_style = tab
51+
52+
# Set properties for C files:
53+
[*.c]
54+
indent_style = tab
55+
56+
# Set properties for C header files:
57+
[*.h]
58+
indent_style = tab
59+
60+
# Set properties for C++ files:
61+
[*.cpp]
62+
indent_style = tab
63+
64+
# Set properties for C++ header files:
65+
[*.hpp]
66+
indent_style = tab
67+
68+
# Set properties for Fortran files:
69+
[*.f]
70+
indent_style = space
71+
indent_size = 2
72+
insert_final_newline = false
73+
74+
# Set properties for shell files:
75+
[*.sh]
76+
indent_style = tab
77+
78+
# Set properties for AWK files:
79+
[*.awk]
80+
indent_style = tab
81+
82+
# Set properties for HTML files:
83+
[*.html]
84+
indent_style = tab
85+
tab_width = 2
86+
87+
# Set properties for CSS files:
88+
[*.css]
89+
indent_style = tab
90+
91+
# Set properties for Makefiles:
92+
[Makefile]
93+
indent_style = tab
94+
95+
[*.mk]
96+
indent_style = tab
97+
98+
# Set properties for Markdown files:
99+
[*.md]
100+
indent_style = space
101+
indent_size = 4
102+
trim_trailing_whitespace = false
103+
104+
# Set properties for `usage.txt` files:
105+
[usage.txt]
106+
indent_style = space
107+
indent_size = 2
108+
109+
# Set properties for `repl.txt` files:
110+
[repl.txt]
111+
indent_style = space
112+
indent_size = 4
113+
114+
# Set properties for `package.json` files:
115+
[package.json]
116+
indent_style = space
117+
indent_size = 2
118+
119+
# Set properties for `datapackage.json` files:
120+
[datapackage.json]
121+
indent_style = space
122+
indent_size = 2
123+
124+
# Set properties for `tslint.json` files:
125+
[tslint.json]
126+
indent_style = space
127+
indent_size = 2
128+
129+
# Set properties for `tsconfig.json` files:
130+
[tsconfig.json]
131+
indent_style = space
132+
indent_size = 2
133+
134+
# Set properties for LaTeX files:
135+
[*.tex]
136+
indent_style = tab
137+
138+
# Set properties for LaTeX Bibliography files:
139+
[*.bib]
140+
indent_style = tab
141+
142+
# Set properties for YAML files:
143+
[*.yml]
144+
indent_style = space
145+
indent_size = 2
146+
147+
# Set properties for GYP files:
148+
[binding.gyp]
149+
indent_style = space
150+
indent_size = 2
151+
152+
[*.gypi]
153+
indent_style = space
154+
indent_size = 2
Collapse file

‎.gitattributes‎

Copy file name to clipboard
+33Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#/
2+
# @license Apache-2.0
3+
#
4+
# Copyright (c) 2017 The Stdlib Authors.
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#/
18+
19+
# Configuration file which assigns attributes to pathnames.
20+
#
21+
# [1]: https://git-scm.com/docs/gitattributes
22+
23+
# Automatically normalize the line endings of any committed text files:
24+
* text=auto
25+
26+
# Override what is considered "vendored" by GitHub's linguist:
27+
/deps/** linguist-vendored=false
28+
/lib/node_modules/** linguist-vendored=false linguist-generated=false
29+
test/fixtures/** linguist-vendored=false
30+
tools/** linguist-vendored=false
31+
32+
# Override what is considered "documentation" by GitHub's linguist:
33+
examples/** linguist-documentation=false
Collapse file

‎.github/PULL_REQUEST_TEMPLATE.md‎

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<!-- ----------^ Click "Preview"! -->
2+
3+
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/array/buffer) of the main repository where we’ll review and provide feedback.
4+
5+
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.
6+
7+
We look forward to receiving your contribution! :smiley:
Collapse file

‎.github/workflows/benchmark.yml‎

Copy file name to clipboard
+19Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: benchmark
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
benchmark:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: 15
14+
- name: Install production and development dependencies
15+
run: |
16+
npm install
17+
- name: Run benchmarks
18+
run: |
19+
npm run benchmark
Collapse file
+23Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Close Pull Requests
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
run:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: superbrothers/close-pull-request@v3
12+
with:
13+
comment: |
14+
Thank you for submitting a pull request. :raised_hands:
15+
16+
We greatly appreciate your willingness to submit a contribution. However, we are not accepting pull requests against this repository, as all development happens on the [main project repository](https://github.com/stdlib-js/stdlib).
17+
18+
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/array/buffer) 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.
19+
20+
Thank you again, and we look forward to receiving your contribution! :smiley:
21+
22+
Best,
23+
The stdlib team
Collapse file

‎.github/workflows/examples.yml‎

Copy file name to clipboard
+19Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: examples
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
examples:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: 15
14+
- name: Install production and development dependencies
15+
run: |
16+
npm install
17+
- name: Run examples
18+
run: |
19+
npm run examples
Collapse file

‎.github/workflows/publish.yml‎

Copy file name to clipboard
+34Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Publish Package
2+
3+
on: push
4+
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
env:
9+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v1
13+
with:
14+
node-version: 15
15+
- name: Increment version
16+
run: |
17+
git config --local user.email "noreply@stdlib.io"
18+
git config --local user.name "stdlib-bot"
19+
npm version patch
20+
- name: Publish package to npm
21+
uses: JS-DevTools/npm-publish@v1
22+
with:
23+
token: ${{ secrets.NPM_TOKEN }}
24+
access: public
25+
- name: Push changes
26+
run: |
27+
git push origin main
28+
git push --tags
29+
- uses: act10ns/slack@v1
30+
with:
31+
status: ${{ job.status }}
32+
steps: ${{ toJson(steps) }}
33+
channel: '#npm-ci'
34+
if: failure()
Collapse file

‎.github/workflows/test.yml‎

Copy file name to clipboard
+29Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: build
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
env:
10+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v1
14+
with:
15+
node-version: 15
16+
- name: Install production and development dependencies
17+
id: install
18+
run: |
19+
npm install
20+
- name: Run tests
21+
id: tests
22+
run: |
23+
npm test
24+
- uses: act10ns/slack@v1
25+
with:
26+
status: ${{ job.status }}
27+
steps: ${{ toJson(steps) }}
28+
channel: '#npm-ci'
29+
if: failure()
Collapse file
+24Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: coverage
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: 15
14+
- name: Install production and development dependencies
15+
run: |
16+
npm install
17+
- name: Calculate test coverage
18+
run: |
19+
npm run test-cov
20+
- name: Upload coverage to Codecov
21+
uses: codecov/codecov-action@v1
22+
with:
23+
directory: reports/coverage
24+
flags: unittests
Collapse file

‎.github/workflows/test_install.yml‎

Copy file name to clipboard
+27Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test Installing Dependencies
2+
3+
on:
4+
workflow_run:
5+
workflows: ["Publish Package"]
6+
types: [completed]
7+
8+
jobs:
9+
on-success:
10+
runs-on: ubuntu-latest
11+
env:
12+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
13+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
14+
steps:
15+
- uses: actions/checkout@v1
16+
- uses: actions/setup-node@v1
17+
with:
18+
node-version: 15
19+
- name: Install production dependencies via npm
20+
run: |
21+
npm install --only=prod
22+
- uses: act10ns/slack@v1
23+
with:
24+
status: ${{ job.status }}
25+
steps: ${{ toJson(steps) }}
26+
channel: '#npm-ci'
27+
if: failure()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.