Skip to content

Commit d7129da

Browse files
committed
Auto-generated commit
0 parents  commit d7129da

37 files changed

+3334
-0
lines changed

.editorconfig

+177
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
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,js.txt}]
33+
indent_style = tab
34+
35+
# Set properties for JavaScript ES module files:
36+
[*.{mjs,mjs.txt}]
37+
indent_style = tab
38+
39+
# Set properties for JavaScript CommonJS files:
40+
[*.{cjs,cjs.txt}]
41+
indent_style = tab
42+
43+
# Set properties for JSON files:
44+
[*.{json,json.txt}]
45+
indent_style = space
46+
indent_size = 2
47+
48+
# Set properties for TypeScript files:
49+
[*.ts]
50+
indent_style = tab
51+
52+
# Set properties for Python files:
53+
[*.{py,py.txt}]
54+
indent_style = space
55+
indent_size = 4
56+
57+
# Set properties for Julia files:
58+
[*.{jl,jl.txt}]
59+
indent_style = tab
60+
61+
# Set properties for R files:
62+
[*.{R,R.txt}]
63+
indent_style = tab
64+
65+
# Set properties for C files:
66+
[*.{c,c.txt}]
67+
indent_style = tab
68+
69+
# Set properties for C header files:
70+
[*.{h,h.txt}]
71+
indent_style = tab
72+
73+
# Set properties for C++ files:
74+
[*.{cpp,cpp.txt}]
75+
indent_style = tab
76+
77+
# Set properties for C++ header files:
78+
[*.{hpp,hpp.txt}]
79+
indent_style = tab
80+
81+
# Set properties for Fortran files:
82+
[*.{f,f.txt}]
83+
indent_style = space
84+
indent_size = 2
85+
insert_final_newline = false
86+
87+
# Set properties for shell files:
88+
[*.{sh,sh.txt}]
89+
indent_style = tab
90+
91+
# Set properties for AWK files:
92+
[*.{awk,awk.txt}]
93+
indent_style = tab
94+
95+
# Set properties for HTML files:
96+
[*.{html,html.txt}]
97+
indent_style = tab
98+
tab_width = 2
99+
100+
# Set properties for XML files:
101+
[*.{xml,xml.txt}]
102+
indent_style = tab
103+
tab_width = 2
104+
105+
# Set properties for CSS files:
106+
[*.{css,css.txt}]
107+
indent_style = tab
108+
109+
# Set properties for Makefiles:
110+
[Makefile]
111+
indent_style = tab
112+
113+
[*.{mk,mk.txt}]
114+
indent_style = tab
115+
116+
# Set properties for Markdown files:
117+
[*.{md,md.txt}]
118+
indent_style = space
119+
indent_size = 4
120+
trim_trailing_whitespace = false
121+
122+
# Set properties for `usage.txt` files:
123+
[usage.txt]
124+
indent_style = space
125+
indent_size = 2
126+
127+
# Set properties for `repl.txt` files:
128+
[repl.txt]
129+
indent_style = space
130+
indent_size = 4
131+
132+
# Set properties for `package.json` files:
133+
[package.{json,json.txt}]
134+
indent_style = space
135+
indent_size = 2
136+
137+
# Set properties for `datapackage.json` files:
138+
[datapackage.json]
139+
indent_style = space
140+
indent_size = 2
141+
142+
# Set properties for `manifest.json` files:
143+
[manifest.json]
144+
indent_style = space
145+
indent_size = 2
146+
147+
# Set properties for `tslint.json` files:
148+
[tslint.json]
149+
indent_style = space
150+
indent_size = 2
151+
152+
# Set properties for `tsconfig.json` files:
153+
[tsconfig.json]
154+
indent_style = space
155+
indent_size = 2
156+
157+
# Set properties for LaTeX files:
158+
[*.{tex,tex.txt}]
159+
indent_style = tab
160+
161+
# Set properties for LaTeX Bibliography files:
162+
[*.{bib,bib.txt}]
163+
indent_style = tab
164+
165+
# Set properties for YAML files:
166+
[*.{yml,yml.txt}]
167+
indent_style = space
168+
indent_size = 2
169+
170+
# Set properties for GYP files:
171+
[binding.gyp]
172+
indent_style = space
173+
indent_size = 2
174+
175+
[*.gypi]
176+
indent_style = space
177+
indent_size = 2

.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* For the `eslint` rules of this project, consult the main repository at https://github.com/stdlib-js/stdlib */

.gitattributes

+33
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

.github/PULL_REQUEST_TEMPLATE.md

+7
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/string/substring-after-last) 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:

.github/workflows/benchmark.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#/
2+
# @license Apache-2.0
3+
#
4+
# Copyright (c) 2021 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+
# Workflow name:
20+
name: benchmark
21+
22+
# Workflow triggers:
23+
on:
24+
workflow_dispatch:
25+
26+
# Workflow jobs:
27+
jobs:
28+
benchmark:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v2
32+
- uses: actions/setup-node@v2
33+
with:
34+
node-version: 16
35+
timeout-minutes: 5
36+
- name: Install production and development dependencies
37+
run: |
38+
npm install || npm install || npm install
39+
timeout-minutes: 15
40+
- name: Run benchmarks
41+
run: |
42+
npm run benchmark

.github/workflows/cancel.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#/
2+
# @license Apache-2.0
3+
#
4+
# Copyright (c) 2021 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+
# Workflow name:
20+
name: Cancel Workflow Runs
21+
22+
# Workflow triggers:
23+
on:
24+
workflow_dispatch:
25+
26+
# Workflow jobs:
27+
jobs:
28+
cancel:
29+
runs-on: ubuntu-latest
30+
timeout-minutes: 3
31+
steps:
32+
- uses: styfle/[email protected]
33+
with:
34+
workflow_id: >-
35+
benchmark.yml,
36+
examples.yml,
37+
test.yml,
38+
test_coverage.yml,
39+
test_install.yml,
40+
publish.yml
41+
access_token: ${{ github.token }}
+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#/
2+
# @license Apache-2.0
3+
#
4+
# Copyright (c) 2021 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+
# Workflow name:
20+
name: Close Pull Requests
21+
22+
# Workflow triggers:
23+
on:
24+
pull_request_target:
25+
types: [opened]
26+
27+
# Workflow jobs:
28+
jobs:
29+
run:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: superbrothers/close-pull-request@v3
33+
with:
34+
comment: |
35+
Thank you for submitting a pull request. :raised_hands:
36+
37+
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).
38+
39+
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/string/substring-after-last) 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.
40+
41+
Thank you again, and we look forward to receiving your contribution! :smiley:
42+
43+
Best,
44+
The stdlib team

.github/workflows/examples.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#/
2+
# @license Apache-2.0
3+
#
4+
# Copyright (c) 2021 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+
# Workflow name:
20+
name: examples
21+
22+
# Workflow triggers:
23+
on:
24+
workflow_dispatch:
25+
26+
# Workflow jobs:
27+
jobs:
28+
examples:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v2
32+
- uses: actions/setup-node@v2
33+
with:
34+
node-version: 16
35+
timeout-minutes: 5
36+
- name: Install production and development dependencies
37+
run: |
38+
npm install || npm install || npm install
39+
timeout-minutes: 15
40+
- name: Run examples
41+
run: |
42+
npm run examples

0 commit comments

Comments
 (0)