Skip to content

Commit bc7ec5e

Browse files
committed
Release v0.2.2
1 parent e14a31b commit bc7ec5e

File tree

8 files changed

+121
-47
lines changed

8 files changed

+121
-47
lines changed

.github/workflows/productionize.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ jobs:
9393
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 ) );"
9494
fi
9595
96-
# Configure git:
97-
- name: 'Configure git'
96+
# Configure Git:
97+
- name: 'Configure Git'
9898
run: |
9999
git config --local user.email "noreply@stdlib.io"
100100
git config --local user.name "stdlib-bot"
@@ -190,8 +190,8 @@ jobs:
190190
# Pin action to full length commit SHA
191191
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
192192

193-
# Configure git:
194-
- name: 'Configure git'
193+
# Configure Git:
194+
- name: 'Configure Git'
195195
run: |
196196
git config --local user.email "noreply@stdlib.io"
197197
git config --local user.name "stdlib-bot"
@@ -365,8 +365,8 @@ jobs:
365365
# Pin action to full length commit SHA
366366
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
367367

368-
# Configure git:
369-
- name: 'Configure git'
368+
# Configure Git:
369+
- name: 'Configure Git'
370370
run: |
371371
git config --local user.email "noreply@stdlib.io"
372372
git config --local user.name "stdlib-bot"
@@ -537,8 +537,8 @@ jobs:
537537
# Pin action to full length commit SHA
538538
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
539539

540-
# Configure git:
541-
- name: 'Configure git'
540+
# Configure Git:
541+
- name: 'Configure Git'
542542
run: |
543543
git config --local user.email "noreply@stdlib.io"
544544
git config --local user.name "stdlib-bot"
@@ -715,8 +715,8 @@ jobs:
715715
# Pin action to full length commit SHA
716716
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
717717

718-
# Configure git:
719-
- name: 'Configure git'
718+
# Configure Git:
719+
- name: 'Configure Git'
720720
run: |
721721
git config --local user.email "noreply@stdlib.io"
722722
git config --local user.name "stdlib-bot"
@@ -929,8 +929,8 @@ jobs:
929929
echo "bump=true" >> $GITHUB_OUTPUT
930930
fi
931931
932-
# Configure git:
933-
- name: 'Configure git'
932+
# Configure Git:
933+
- name: 'Configure Git'
934934
if: steps.check-if-bump.outputs.bump
935935
run: |
936936
git config --local user.email "noreply@stdlib.io"

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
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"
@@ -206,7 +206,7 @@ jobs:
206206
# Publish package to npm:
207207
- name: 'Publish package to npm'
208208
# Pin action to full length commit SHA
209-
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1
209+
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
210210
with:
211211
token: ${{ secrets.NPM_TOKEN }}
212212
access: public

.github/workflows/publish_cli.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ jobs:
7474
node-version: 20
7575
timeout-minutes: 5
7676

77-
# Configure git:
78-
- name: 'Configure git'
77+
# Configure Git:
78+
- name: 'Configure Git'
7979
run: |
8080
git config --local user.email "noreply@stdlib.io"
8181
git config --local user.name "stdlib-bot"
@@ -129,7 +129,7 @@ jobs:
129129
# Publish package to npm:
130130
- name: 'Publish package to npm'
131131
# Pin action to full length commit SHA
132-
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1
132+
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
133133
with:
134134
token: ${{ secrets.NPM_TOKEN }}
135135
access: public

.npmrc

Lines changed: 2 additions & 2 deletions
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

Lines changed: 81 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
> Package changelog.
44
5-
<section class="release" id="unreleased">
5+
<section class="release" id="v0.2.2">
66

7-
## Unreleased (2024-07-20)
7+
## 0.2.2 (2024-07-27)
88

99
<section class="bug-fixes">
1010

@@ -62,15 +62,15 @@ A total of 1 person contributed to this release. Thank you to this contributor:
6262

6363
## 0.2.1 (2024-02-24)
6464

65-
<section class="features">
65+
No changes reported for this release.
6666

67-
### Features
67+
</section>
6868

69-
- [`3573d92`](https://github.com/stdlib-js/stdlib/commit/3573d92955f1150eae58fb534808b7a30532a1c1) - update minimum TypeScript version
69+
<!-- /.release -->
7070

71-
</section>
71+
<section class="release" id="v0.2.0">
7272

73-
<!-- /.features -->
73+
## 0.2.0 (2024-02-14)
7474

7575
<section class="bug-fixes">
7676

@@ -82,6 +82,50 @@ A total of 1 person contributed to this release. Thank you to this contributor:
8282

8383
<!-- /.bug-fixes -->
8484

85+
<section class="commits">
86+
87+
### Commits
88+
89+
<details>
90+
91+
- [`ff35f38`](https://github.com/stdlib-js/stdlib/commit/ff35f3846e467adce5c8244342a04e2fd4a2ac84) - **fix:** make CLI scripts executable [(#1111)](https://github.com/stdlib-js/stdlib/pull/1111) _(by stdlib-bot, Philipp Burckhardt)_
92+
93+
</details>
94+
95+
</section>
96+
97+
<!-- /.commits -->
98+
99+
<section class="contributors">
100+
101+
### Contributors
102+
103+
A total of 1 person contributed to this release. Thank you to this contributor:
104+
105+
- Philipp Burckhardt
106+
107+
</section>
108+
109+
<!-- /.contributors -->
110+
111+
</section>
112+
113+
<!-- /.release -->
114+
115+
<section class="release" id="v0.1.0">
116+
117+
## 0.1.0 (2023-09-23)
118+
119+
<section class="features">
120+
121+
### Features
122+
123+
- [`3573d92`](https://github.com/stdlib-js/stdlib/commit/3573d92955f1150eae58fb534808b7a30532a1c1) - update minimum TypeScript version
124+
125+
</section>
126+
127+
<!-- /.features -->
128+
85129
<section class="breaking-changes">
86130

87131
### BREAKING CHANGES
@@ -98,7 +142,6 @@ A total of 1 person contributed to this release. Thank you to this contributor:
98142

99143
<details>
100144

101-
- [`ff35f38`](https://github.com/stdlib-js/stdlib/commit/ff35f3846e467adce5c8244342a04e2fd4a2ac84) - **fix:** make CLI scripts executable [(#1111)](https://github.com/stdlib-js/stdlib/pull/1111) _(by stdlib-bot, Philipp Burckhardt)_
102145
- [`3573d92`](https://github.com/stdlib-js/stdlib/commit/3573d92955f1150eae58fb534808b7a30532a1c1) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_
103146

104147
</details>
@@ -123,3 +166,33 @@ A total of 1 person contributed to this release. Thank you to this contributor:
123166

124167
<!-- /.release -->
125168

169+
<section class="release" id="v0.0.3">
170+
171+
## 0.0.3 (2022-07-12)
172+
173+
No changes reported for this release.
174+
175+
</section>
176+
177+
<!-- /.release -->
178+
179+
<section class="release" id="v0.0.2">
180+
181+
## 0.0.2 (2022-02-16)
182+
183+
No changes reported for this release.
184+
185+
</section>
186+
187+
<!-- /.release -->
188+
189+
<section class="release" id="v0.0.1">
190+
191+
## 0.0.1 (2021-11-05)
192+
193+
No changes reported for this release.
194+
195+
</section>
196+
197+
<!-- /.release -->
198+

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Muhammad Haris <harriskhan047@outlook.com>
5151
Naresh Jagadeesan <naresh.naresh000@gmail.com>
5252
NightKnight <Ahmedatwa866@yahoo.com>
5353
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
54+
Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
5455
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
5556
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
5657
Philipp Burckhardt <pburckhardt@outlook.com>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
301301
[npm-image]: http://img.shields.io/npm/v/@stdlib/string-truncate.svg
302302
[npm-url]: https://npmjs.org/package/@stdlib/string-truncate
303303

304-
[test-image]: https://github.com/stdlib-js/string-truncate/actions/workflows/test.yml/badge.svg?branch=main
305-
[test-url]: https://github.com/stdlib-js/string-truncate/actions/workflows/test.yml?query=branch:main
304+
[test-image]: https://github.com/stdlib-js/string-truncate/actions/workflows/test.yml/badge.svg?branch=v0.2.2
305+
[test-url]: https://github.com/stdlib-js/string-truncate/actions/workflows/test.yml?query=branch:v0.2.2
306306

307307
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/string-truncate/main.svg
308308
[coverage-url]: https://codecov.io/github/stdlib-js/string-truncate?branch=main

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stdlib/string-truncate",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "Truncate a string to a specified length.",
55
"license": "Apache-2.0",
66
"author": {
@@ -40,27 +40,27 @@
4040
"url": "https://github.com/stdlib-js/stdlib/issues"
4141
},
4242
"dependencies": {
43-
"@stdlib/assert-is-nonnegative-integer": "^0.2.1",
44-
"@stdlib/assert-is-regexp-string": "^0.2.1",
45-
"@stdlib/assert-is-string": "^0.2.1",
46-
"@stdlib/cli-ctor": "^0.2.1",
47-
"@stdlib/fs-read-file": "^0.2.1",
48-
"@stdlib/process-read-stdin": "^0.2.1",
49-
"@stdlib/regexp-eol": "^0.2.1",
50-
"@stdlib/streams-node-stdin": "^0.2.1",
51-
"@stdlib/string-format": "^0.2.1",
52-
"@stdlib/string-next-grapheme-cluster-break": "^0.2.1",
43+
"@stdlib/assert-is-nonnegative-integer": "^0.2.2",
44+
"@stdlib/assert-is-regexp-string": "^0.2.2",
45+
"@stdlib/assert-is-string": "^0.2.2",
46+
"@stdlib/cli-ctor": "^0.2.2",
47+
"@stdlib/fs-read-file": "^0.2.2",
48+
"@stdlib/process-read-stdin": "^0.2.2",
49+
"@stdlib/regexp-eol": "^0.2.2",
50+
"@stdlib/streams-node-stdin": "^0.2.2",
51+
"@stdlib/string-format": "^0.2.2",
52+
"@stdlib/string-next-grapheme-cluster-break": "^0.2.2",
5353
"@stdlib/string-num-grapheme-clusters": "^0.2.1",
5454
"@stdlib/types": "^0.3.2",
55-
"@stdlib/utils-regexp-from-string": "^0.2.1",
56-
"@stdlib/error-tools-fmtprodmsg": "^0.2.1"
55+
"@stdlib/utils-regexp-from-string": "^0.2.2",
56+
"@stdlib/error-tools-fmtprodmsg": "^0.2.2"
5757
},
5858
"devDependencies": {
59-
"@stdlib/assert-is-browser": "^0.2.1",
60-
"@stdlib/assert-is-windows": "^0.2.1",
61-
"@stdlib/process-exec-path": "^0.2.1",
59+
"@stdlib/assert-is-browser": "^0.2.2",
60+
"@stdlib/assert-is-windows": "^0.2.2",
61+
"@stdlib/process-exec-path": "^0.2.2",
6262
"@stdlib/string-from-code-point": "^0.2.1",
63-
"@stdlib/string-replace": "^0.2.1",
63+
"@stdlib/string-replace": "^0.2.2",
6464
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
6565
"proxyquire": "^2.0.0",
6666
"istanbul": "^0.4.1",

0 commit comments

Comments
 (0)