Skip to content

Commit 5690292

Browse files
committed
Auto-generated commit
0 parents  commit 5690292

File tree

2,971 files changed

+219052
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,971 files changed

+219052
-0
lines changed

.editorconfig

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

.github/workflows/install.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Install 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+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
12+
steps:
13+
- uses: actions/checkout@v1
14+
- uses: actions/setup-node@v1
15+
with:
16+
node-version: 10
17+
- name: Install dependencies via npm
18+
run: |
19+
npm install
20+
on-failure:
21+
runs-on: ubuntu-latest
22+
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
23+
steps:
24+
- uses: actions/checkout@v1
25+
- uses: actions/setup-node@v1
26+
with:
27+
node-version: 10
28+
- name: Delete tag of unpublished version
29+
run: |
30+
git config --local user.email "[email protected]"
31+
git config --local user.name "stdlib-bot"
32+
git push origin --delete $(git tag -l | tail --lines=1)

.github/workflows/publish.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish Package
2+
3+
on: push
4+
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- uses: actions/setup-node@v1
11+
with:
12+
node-version: 10
13+
- name: Increment version
14+
run: |
15+
git config --local user.email "[email protected]"
16+
git config --local user.name "stdlib-bot"
17+
npm version patch
18+
- name: Push changes
19+
uses: ad-m/github-push-action@master
20+
with:
21+
github_token: ${{ secrets.GITHUB_TOKEN }}
22+
branch: ${{ github.ref }}
23+
tags: true
24+
- name: Publish package to npm
25+
uses: JS-DevTools/npm-publish@v1
26+
with:
27+
token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)