Skip to content

Commit 12df253

Browse files
committed
Release v0.2.2
1 parent 30ecc33 commit 12df253

14 files changed

+275
-77
lines changed

.gitattributes

+23-6
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,27 @@
4040
*.mov binary
4141

4242
# Override what is considered "vendored" by GitHub's linguist:
43-
/deps/** linguist-vendored=false
44-
/lib/node_modules/** linguist-vendored=false linguist-generated=false
45-
test/fixtures/** linguist-vendored=false
46-
tools/** linguist-vendored=false
43+
/lib/node_modules/** -linguist-vendored -linguist-generated
4744

48-
# Override what is considered "documentation" by GitHub's linguist:
49-
examples/** linguist-documentation=false
45+
# Configure directories which should *not* be included in GitHub language statistics:
46+
/deps/** linguist-vendored
47+
/dist/** linguist-generated
48+
/workshops/** linguist-vendored
49+
50+
benchmark/** linguist-vendored
51+
docs/* linguist-documentation
52+
etc/** linguist-vendored
53+
examples/** linguist-documentation
54+
scripts/** linguist-vendored
55+
test/** linguist-vendored
56+
tools/** linguist-vendored
57+
58+
# Configure files which should *not* be included in GitHub language statistics:
59+
Makefile linguist-vendored
60+
*.mk linguist-vendored
61+
*.jl linguist-vendored
62+
*.py linguist-vendored
63+
*.R linguist-vendored
64+
65+
# Configure files which should be included in GitHub language statistics:
66+
docs/types/*.d.ts -linguist-documentation

.github/workflows/productionize.yml

+10-13
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ jobs:
9494
node -e "var pkg = require( './package.json' ); pkg.dependencies[ '@stdlib/error-tools-fmtprodmsg' ] = '^$PKG_VERSION'; require( 'fs' ).writeFileSync( 'package.json', JSON.stringify( pkg, null, 2 ) );"
9595
fi
9696
97-
# Configure git:
98-
- name: 'Configure git'
97+
# Configure Git:
98+
- name: 'Configure Git'
9999
run: |
100100
git config --local user.email "noreply@stdlib.io"
101101
git config --local user.name "stdlib-bot"
@@ -191,8 +191,8 @@ jobs:
191191
# Pin action to full length commit SHA
192192
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
193193

194-
# Configure git:
195-
- name: 'Configure git'
194+
# Configure Git:
195+
- name: 'Configure Git'
196196
run: |
197197
git config --local user.email "noreply@stdlib.io"
198198
git config --local user.name "stdlib-bot"
@@ -344,7 +344,6 @@ jobs:
344344
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
345345
with:
346346
status: ${{ job.status }}
347-
steps: ${{ toJson(steps) }}
348347
channel: '#npm-ci'
349348
if: failure()
350349

@@ -367,8 +366,8 @@ jobs:
367366
# Pin action to full length commit SHA
368367
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
369368

370-
# Configure git:
371-
- name: 'Configure git'
369+
# Configure Git:
370+
- name: 'Configure Git'
372371
run: |
373372
git config --local user.email "noreply@stdlib.io"
374373
git config --local user.name "stdlib-bot"
@@ -518,7 +517,6 @@ jobs:
518517
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
519518
with:
520519
status: ${{ job.status }}
521-
steps: ${{ toJson(steps) }}
522520
channel: '#npm-ci'
523521
if: failure()
524522

@@ -541,8 +539,8 @@ jobs:
541539
# Pin action to full length commit SHA
542540
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
543541

544-
# Configure git:
545-
- name: 'Configure git'
542+
# Configure Git:
543+
- name: 'Configure Git'
546544
run: |
547545
git config --local user.email "noreply@stdlib.io"
548546
git config --local user.name "stdlib-bot"
@@ -698,7 +696,6 @@ jobs:
698696
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
699697
with:
700698
status: ${{ job.status }}
701-
steps: ${{ toJson(steps) }}
702699
channel: '#npm-ci'
703700
if: failure()
704701

@@ -738,8 +735,8 @@ jobs:
738735
echo "bump=true" >> $GITHUB_OUTPUT
739736
fi
740737
741-
# Configure git:
742-
- name: 'Configure git'
738+
# Configure Git:
739+
- name: 'Configure Git'
743740
if: steps.check-if-bump.outputs.bump
744741
run: |
745742
git config --local user.email "noreply@stdlib.io"

.github/workflows/publish.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ jobs:
7272
node-version: 20
7373
timeout-minutes: 5
7474

75-
# Configure git:
76-
- name: 'Configure git'
75+
# Configure Git:
76+
- name: 'Configure Git'
7777
run: |
7878
git config --local user.email "noreply@stdlib.io"
7979
git config --local user.name "stdlib-bot"
@@ -94,6 +94,10 @@ jobs:
9494
# Replace branch in README.md link definitions for badges with the new version:
9595
find . -type f -name '*.md' -print0 | xargs -0 sed -Ei "s/branch([=:])[^ ]+/branch\1v${NEW_VERSION}/g"
9696
97+
# Rewrite CHANGELOG.md to replace "Unreleased" with the new version:
98+
sed -Ei "s/Unreleased/${NEW_VERSION}/g" CHANGELOG.md
99+
sed -Ei "s/unreleased/v${NEW_VERSION}/g" CHANGELOG.md
100+
97101
# Create a new commit and tag:
98102
git add package.json README.md
99103
git commit -m "Release v${NEW_VERSION}"
@@ -202,7 +206,7 @@ jobs:
202206
# Publish package to npm:
203207
- name: 'Publish package to npm'
204208
# Pin action to full length commit SHA
205-
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1
209+
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
206210
with:
207211
token: ${{ secrets.NPM_TOKEN }}
208212
access: public
@@ -218,7 +222,6 @@ jobs:
218222
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
219223
with:
220224
status: ${{ job.status }}
221-
steps: ${{ toJson(steps) }}
222225
channel: '#npm-ci'
223226
if: failure()
224227

.github/workflows/test.yml

-1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,5 @@ jobs:
9595
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
9696
with:
9797
status: ${{ job.status }}
98-
steps: ${{ toJson(steps) }}
9998
channel: '#npm-ci'
10099
if: failure()

.github/workflows/test_bundles.yml

-3
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ jobs:
9494
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
9595
with:
9696
status: ${{ job.status }}
97-
steps: ${{ toJson(steps) }}
9897
channel: '#npm-ci'
9998
if: failure()
10099

@@ -139,7 +138,6 @@ jobs:
139138
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
140139
with:
141140
status: ${{ job.status }}
142-
steps: ${{ toJson(steps) }}
143141
channel: '#npm-ci'
144142
if: failure()
145143

@@ -184,6 +182,5 @@ jobs:
184182
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
185183
with:
186184
status: ${{ job.status }}
187-
steps: ${{ toJson(steps) }}
188185
channel: '#npm-ci'
189186
if: failure()

.github/workflows/test_coverage.yml

-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ jobs:
119119
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
120120
with:
121121
status: ${{ job.status }}
122-
steps: ${{ toJson(steps) }}
123122
channel: '#npm-ci'
124123
if: failure()
125124

.github/workflows/test_install.yml

-1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,5 @@ jobs:
8181
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
8282
with:
8383
status: ${{ job.status }}
84-
steps: ${{ toJson(steps) }}
8584
channel: '#npm-ci'
8685
if: failure()

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ docs/**/node_modules/
101101
pids
102102
*.pid
103103
*.seed
104+
yarn.lock
105+
package-lock.json
104106

105107
# Typescript #
106108
##############

.npmrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ shrinkwrap = false
2727
# Disable automatically "saving" dependencies on install:
2828
save = false
2929

30-
# Generate provenance metadata:
31-
provenance = true
30+
# Do not generate provenance metadata:
31+
provenance = false

CHANGELOG.md

+172-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,175 @@
22

33
> Package changelog.
44
5-
See [GitHub Releases](https://github.com/stdlib-js/math-tools-unary/releases) for the changelog.
5+
<section class="release" id="v0.2.2">
6+
7+
## 0.2.2 (2024-07-29)
8+
9+
No changes reported for this release.
10+
11+
</section>
12+
13+
<!-- /.release -->
14+
15+
<section class="release" id="v0.2.1">
16+
17+
## 0.2.1 (2024-02-25)
18+
19+
No changes reported for this release.
20+
21+
</section>
22+
23+
<!-- /.release -->
24+
25+
<section class="release" id="v0.2.0">
26+
27+
## 0.2.0 (2024-02-15)
28+
29+
<section class="commits">
30+
31+
### Commits
32+
33+
<details>
34+
35+
- [`dea49e0`](https://github.com/stdlib-js/stdlib/commit/dea49e03ab5571233e3da26835a6a6d3256d5737) - **docs:** use single quotes in require calls instead of backticks _(by Philipp Burckhardt)_
36+
- [`bf2cf8b`](https://github.com/stdlib-js/stdlib/commit/bf2cf8b0424e608a4e3abb6d18a8b44d790aa99c) - **build:** remove tslint directives _(by Philipp Burckhardt)_
37+
38+
</details>
39+
40+
</section>
41+
42+
<!-- /.commits -->
43+
44+
<section class="contributors">
45+
46+
### Contributors
47+
48+
A total of 1 person contributed to this release. Thank you to this contributor:
49+
50+
- Philipp Burckhardt
51+
52+
</section>
53+
54+
<!-- /.contributors -->
55+
56+
</section>
57+
58+
<!-- /.release -->
59+
60+
<section class="release" id="v0.1.0">
61+
62+
## 0.1.0 (2023-09-24)
63+
64+
<section class="features">
65+
66+
### Features
67+
68+
- [`98bc722`](https://github.com/stdlib-js/stdlib/commit/98bc7226e2c15c4a1d4bbf7a1d6c415271302c77) - update minimum TypeScript version
69+
70+
</section>
71+
72+
<!-- /.features -->
73+
74+
<section class="breaking-changes">
75+
76+
### BREAKING CHANGES
77+
78+
- [`98bc722`](https://github.com/stdlib-js/stdlib/commit/98bc7226e2c15c4a1d4bbf7a1d6c415271302c77): update minimum TypeScript version
79+
- [`98bc722`](https://github.com/stdlib-js/stdlib/commit/98bc7226e2c15c4a1d4bbf7a1d6c415271302c77): update minimum TypeScript version to 4.1
80+
81+
- To migrate, users should upgrade their TypeScript version to at least version 4.1.
82+
83+
</section>
84+
85+
<!-- /.breaking-changes -->
86+
87+
<section class="commits">
88+
89+
### Commits
90+
91+
<details>
92+
93+
- [`98bc722`](https://github.com/stdlib-js/stdlib/commit/98bc7226e2c15c4a1d4bbf7a1d6c415271302c77) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_
94+
95+
</details>
96+
97+
</section>
98+
99+
<!-- /.commits -->
100+
101+
<section class="contributors">
102+
103+
### Contributors
104+
105+
A total of 1 person contributed to this release. Thank you to this contributor:
106+
107+
- Philipp Burckhardt
108+
109+
</section>
110+
111+
<!-- /.contributors -->
112+
113+
</section>
114+
115+
<!-- /.release -->
116+
117+
<section class="release" id="v0.0.6">
118+
119+
## 0.0.6 (2022-02-16)
120+
121+
No changes reported for this release.
122+
123+
</section>
124+
125+
<!-- /.release -->
126+
127+
<section class="release" id="v0.0.5">
128+
129+
## 0.0.5 (2021-08-22)
130+
131+
No changes reported for this release.
132+
133+
</section>
134+
135+
<!-- /.release -->
136+
137+
<section class="release" id="v0.0.4">
138+
139+
## 0.0.4 (2021-07-07)
140+
141+
No changes reported for this release.
142+
143+
</section>
144+
145+
<!-- /.release -->
146+
147+
<section class="release" id="v0.0.3">
148+
149+
## 0.0.3 (2021-06-27)
150+
151+
No changes reported for this release.
152+
153+
</section>
154+
155+
<!-- /.release -->
156+
157+
<section class="release" id="v0.0.2">
158+
159+
## 0.0.2 (2021-06-16)
160+
161+
No changes reported for this release.
162+
163+
</section>
164+
165+
<!-- /.release -->
166+
167+
<section class="release" id="v0.0.1">
168+
169+
## 0.0.1 (2021-06-15)
170+
171+
No changes reported for this release.
172+
173+
</section>
174+
175+
<!-- /.release -->
176+

0 commit comments

Comments
 (0)