8000 Release v0.0.2 · stdlib-js/cli-ctor@4e5bcc4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e5bcc4

Browse files
committed
Release v0.0.2
1 parent 96a53dd commit 4e5bcc4

10 files changed

+58
-50
lines changed

.editorconfig

Lines changed: 26 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -29,101 +29,92 @@ trim_trailing_whitespace = true
2929
insert_final_newline = true
3030

3131
# Set properties for JavaScript files:
32-
[*.js]
33-
indent_style = tab
34-
35-
[*.js.txt]
32+
[*.{js,js.txt}]
3633
indent_style = tab
3734

3835
# Set properties for JavaScript ES module files:
39-
[*.mjs]
40-
indent_style = tab
41-
42-
[*.mjs.txt]
36+
[*.{mjs,mjs.txt}]
4337
indent_style = tab
4438

4539
# Set properties for JavaScript CommonJS files:
46-
[*.cjs]
40+
[*.{cjs,cjs.txt}]
4741
indent_style = tab
4842

49-
[*.cjs.txt]
50-
indent_style = tab
43+
# Set properties for JSON files:
44+
[*.{json,json.txt}]
45+
indent_style = space
46+
indent_size = 2
5147

5248
# Set properties for TypeScript files:
5349
[*.ts]
5450
indent_style = tab
5551

5652
# Set properties for Python files:
57-
[*.py]
53+
[*.{py,py.txt}]
5854
indent_style = space
5955
indent_size = 4
6056

6157
# Set properties for Julia files:
62-
[*.jl]
58+
[*.{jl,jl.txt}]
6359
indent_style = tab
6460

6561
# Set properties for R files:
66-
[*.R]
62+
[*.{R,R.txt}]
6763
indent_style = tab
6864

6965
# Set properties for C files:
70-
[*.c]
66+
[*.{c,c.txt}]
7167
indent_style = tab
7268

7369
# Set properties for C header files:
74-
[*.h]
70+
[*.{h,h.txt}]
7571
indent_style = tab
7672

7773
# Set properties for C++ files:
78-
[*.cpp]
74+
[*.{cpp,cpp.txt}]
7975
indent_style = tab
8076

8177
# Set properties for C++ header files:
82-
[*.hpp]
78+
[*.{hpp,hpp.txt}]
8379
indent_style = tab
8480

8581
# Set properties for Fortran files:
86-
[*.f]
82+
[*.{f,f.txt}]
8783
indent_style = space
8884
indent_size = 2
8985
insert_final_newline = false
9086

9187
# Set properties for shell files:
92-
[*.sh]
88+
[*.{sh,sh.txt}]
9389
indent_style = tab
9490

9591
# Set properties for AWK files:
96-
[*.awk]
92+
[*.{awk,awk.txt}]
9793
indent_style = tab
9894

9995
# Set properties for HTML files:
100-
[*.html]
96+
[*.{html,html.txt}]
10197
indent_style = tab
10298
tab_width = 2
10399

104100
# Set properties for XML files:
105-
[*.xml]
101+
[*.{xml,xml.txt}]
106102
indent_style = tab
107103
tab_width = 2
108104

109105
# Set properties for CSS files:
110-
[*.css]
106+
[*.{css,css.txt}]
111107
indent_style = tab
112108

113109
# Set properties for Makefiles:
114110
[Makefile]
115111
indent_style = tab
116112

117-
[*.mk]
113+
[*.{mk,mk.txt}]
118114
indent_style = tab
119115

120116
# Set properties for Markdown files:
121-
[*.md]
122-
indent_style = space
123-
indent_size = 4
124-
trim_trailing_whitespace = false
125-
126-
[*.md.txt]
117+
[*.{md,md.txt}]
127118
indent_style = space
128119
indent_size = 4
129120
trim_trailing_whitespace = false
@@ -139,7 +130,7 @@ indent_style = space
139130
indent_size = 4
140131

141132
# Set properties for `package.json` files:
142-
[package.json]
133+
[package.{json,json.txt}]
143134
indent_style = space
144135
indent_size = 2
145136

@@ -164,15 +155,15 @@ indent_style = space
164155
indent_size = 2
165156

166157
# Set properties for LaTeX files:
167-
[*.tex]
158+
[*.{tex,tex.txt}]
168159
indent_style = tab
169160

170161
# Set properties for LaTeX Bibliography files:
171-
[*.bib]
162+
[*.{bib,bib.txt}]
172163
indent_style = tab
173164

174165
# Set properties for YAML files:
175-
[*.yml]
166+
[*.{yml,yml.txt}]
176167
indent_style = space
177168
indent_size = 2
178169

.github/workflows/benchmark.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- uses: actions/checkout@v2
32-
- uses: actions/setup-node@v1
32+
- uses: actions/setup-node@v2
3333
with:
34-
node-version: 15
34+
node-version: 16
35+
timeout-minutes: 5
3536
- name: Install production and development dependencies
3637
run: |
3738
npm install || npm install || npm install
39+
timeout-minutes: 15
3840
- name: Run benchmarks
3941
run: |
4042
npm run benchmark

.github/workflows/examples.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- uses: actions/checkout@v2
32-
- uses: actions/setup-node@v1
32+
- uses: actions/setup-node@v2
3333
with:
34-
node-version: 15
34+
node-version: 16
35+
timeout-minutes: 5
3536
- name: Install production and development dependencies
3637
run: |
3738
npm install || npm install || npm install
39+
timeout-minutes: 15
3840
- name: Run examples
3941
run: |
4042
npm run examples

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ jobs:
3232
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
3333
steps:
3434
- uses: actions/checkout@v2
35-
- uses: actions/setup-node@v1
35+
- uses: actions/setup-node@v2
3636
with:
37-
node-version: 15
37+
node-version: 16
38+
timeout-minutes: 5
3839
- name: Replace all GitHub links to individual packages with npm links
3940
run: |
4041
find . -type f -name '*.md' -print0 | xargs -0 sed -Ei 's/@stdlib\/([^:]*)\]: https:\/\/github.com\/stdlib-js/@stdlib\/\1\]: https:\/\/www.npmjs.com\/package\/@stdlib/g'

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ on:
2525
# * is a special character in YAML so you have to quote this string
2626
- cron: '30 1 * * 6'
2727
workflow_dispatch:
28+
push:
2829

2930
# Workflow jobs:
3031
jobs:
@@ -34,13 +35,15 @@ jobs:
3435
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
3536
steps:
3637
- uses: actions/checkout@v2
37-
- uses: actions/setup-node@v1
38+
- uses: actions/setup-node@v2
3839
with:
39-
node-version: 15
40+
node-version: 16
41+
timeout-minutes: 5
4042
- name: Install production and development dependencies
4143
id: install
4244
run: |
4345
npm install || npm install || npm install
46+
timeout-minutes: 15
4447
- name: Run tests
4548
id: tests
4649
run: |

.github/workflows/test_coverage.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,18 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- uses: actions/checkout@v2
35-
- uses: actions/setup-node@v1
35+
- uses: actions/setup-node@v2
3636
with:
37-
node-version: 15
37+
node-version: 16
38+
timeout-minutes: 5
3839
- name: Install production and development dependencies
3940
run: |
4041
npm install || npm install || npm install
42+
timeout-minutes: 15
4143
- name: Calculate test coverage
4244
run: |
4345
npm run test-cov || npm run test-cov || npm run test-cov
46+
timeout-minutes: 15
4447
- name: Upload coverage to Codecov
4548
id: upload
4649
uses: codecov/codecov-action@v1

.github/workflows/test_install.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@ jobs:
3636
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
3737
if: ${{ github.event.workflow_run.conclusion == 'success' }}
3838
steps:
39-
- uses: actions/checkout@v1
40-
- uses: actions/setup-node@v1
39+
- uses: actions/checkout@v2
40+
- uses: actions/setup-node@v2
4141
with:
42-
node-version: 15
42+
node-version: 16
43+
timeout-minutes: 5
4344
- name: Install production dependencies via npm
4445
run: |
4546
npm install --only=prod || npm install --only=prod || npm install --only=prod
47+
timeout-minutes: 15
4648
- uses: act10ns/slack@v1
4749
with:
4850
status: ${{ job.status }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
# Files #
2020
#########
21-
21+
package.json.copy
2222

2323
# Directories #
2424
###############

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Makefile
3636
**/examples/
3737
reports/
3838
support/
39+
scripts/
3940
**/tmp/
4041
workshops/
4142

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stdlib/cli-ctor",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Command-line interface.",
55
"license": "Apache-2.0",
66
"author": {
@@ -14,6 +14,9 @@
1414
}
1515
],
1616
"main": "./lib",
17+
"browser": {
18+
"process": "process/"
19+
},
1720
"directories": {
1821
"benchmark": "./benchmark",
1922
"doc": "./docs",

0 commit comments

Comments
 (0)
0