Skip to content

Commit 4271950

Browse files
committed
Auto-generated commit
1 parent bd92dd2 commit 4271950

File tree

4 files changed

+318
-6
lines changed

4 files changed

+318
-6
lines changed

.github/.keepalive

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-11-01T02:47:44.474Z
1+
2024-12-01T02:54:08.533Z
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
#/
2+
# @license Apache-2.0
3+
#
4+
# Copyright (c) 2024 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: test_published_package
21+
22+
# Workflow triggers:
23+
on:
24+
# Run workflow on a weekly schedule:
25+
schedule:
26+
# * is a special character in YAML so you have to quote this string
27+
- cron: '17 5 * * 0'
28+
29+
# Run workflow upon completion of `publish` workflow run:
30+
workflow_run:
31+
workflows: ["publish"]
32+
types: [completed]
33+
34+
# Allow workflow to be manually run:
35+
workflow_dispatch:
36+
37+
# Workflow jobs:
38+
jobs:
39+
test-published:
40+
# Define a display name:
41+
name: 'Test running examples of published package'
42+
43+
# Define the type of virtual host machine:
44+
runs-on: ubuntu-latest
45+
46+
# Define environment variables:
47+
env:
48+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
49+
50+
# Run workflow job if `publish` workflow run is successful or when the workflow is manually run:
51+
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
52+
53+
# Define the job's steps:
54+
steps:
55+
# Checkout the repository:
56+
- name: 'Checkout repository'
57+
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
58+
59+
# Install Node.js:
60+
- name: 'Install Node.js'
61+
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
62+
with:
63+
node-version: 20
64+
timeout-minutes: 5
65+
66+
# Create test directory and run examples:
67+
- name: 'Create test directory and run examples'
68+
run: |
69+
cd ..
70+
mkdir test-published
71+
cd test-published
72+
73+
# Copy example file:
74+
cp $GITHUB_WORKSPACE/examples/index.js .
75+
76+
# Create a minimal package.json
77+
echo '{
78+
"name": "test-published",
79+
"version": "1.0.0",
80+
"main": "index.js",
81+
"dependencies": {}
82+
}' > package.json
83+
84+
# Get package name and modify example file:
85+
PACKAGE_NAME=$(jq -r '.name' $GITHUB_WORKSPACE/package.json)
86+
ESCAPED_PACKAGE_NAME=$(echo "$PACKAGE_NAME" | sed 's/[\/&]/\\&/g')
87+
88+
sed -i "s/require( '.\/..\/lib' )/require( '$ESCAPED_PACKAGE_NAME' )/g" index.js
89+
90+
# Extract and install dependencies:
91+
DEPS=$(grep -oP "require\(\s*'([^']+)'\s*\)" index.js | sed "s/require(\s*'//" | sed "s/'\s*)//" | grep -v "^\.")
92+
for dep in $DEPS; do
93+
npm install $dep --save
94+
done
95+
96+
# Run the example:
97+
node index.js
98+
99+
# Send Slack notification if job fails:
100+
- name: 'Send notification to Slack in case of failure'
101+
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
102+
with:
103+
status: ${{ job.status }}
104+
channel: '#npm-ci'
105+
if: failure()

CHANGELOG.md

Lines changed: 203 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,34 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2024-11-01)
7+
## Unreleased (2024-12-01)
88

99
<section class="packages">
1010

1111
### Packages
1212

13+
<section class="package" id="constants-float32-e-unreleased">
14+
15+
#### [@stdlib/constants/float32/e](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/e)
16+
17+
<details>
18+
19+
<section class="features">
20+
21+
##### Features
22+
23+
- [`951fbd2`](https://github.com/stdlib-js/stdlib/commit/951fbd24ae17d11d75cb4a9c321ddc2e62eecd30) - add `constants/float32/e` [(#3101)](https://github.com/stdlib-js/stdlib/pull/3101)
24+
25+
</section>
26+
27+
<!-- /.features -->
28+
29+
</details>
30+
31+
</section>
32+
33+
<!-- /.package -->
34+
1335
<section class="package" id="constants-float32-half-ln-two-unreleased">
1436

1537
#### [@stdlib/constants/float32/half-ln-two](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/half-ln-two)
@@ -32,6 +54,106 @@
3254

3355
<!-- /.package -->
3456

57+
<section class="package" id="constants-float32-ln-two-unreleased">
58+
59+
#### [@stdlib/constants/float32/ln-two](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/ln-two)
60+
61+
<details>
62+
63+
<section class="features">
64+
65+
##### Features
66+
67+
- [`893cb1b`](https://github.com/stdlib-js/stdlib/commit/893cb1b86ececb01085118705c19a842f70da511) - add `constants/float32/ln-two` [(#3079)](https://github.com/stdlib-js/stdlib/pull/3079)
68+
69+
</section>
70+
71+
<!-- /.features -->
72+
73+
<section class="bug-fixes">
74+
75+
##### Bug Fixes
76+
77+
- [`31c168c`](https://github.com/stdlib-js/stdlib/commit/31c168c72351f2885bcf7361b9168cefb454f6dc) - add missing `f` suffix in `constants/float32/ln-two` [(#3110)](https://github.com/stdlib-js/stdlib/pull/3110)
78+
79+
</section>
80+
81+
<!-- /.bug-fixes -->
82+
83+
</details>
84+
85+
</section>
86+
87+
<!-- /.package -->
88+
89+
<section class="package" id="constants-float32-max-base10-exponent-unreleased">
90+
91+
#### [@stdlib/constants/float32/max-base10-exponent](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/max-base10-exponent)
92+
93+
<details>
94+
95+
<section class="features">
96+
97+
##### Features
98+
99+
- [`5c28ab7`](https://github.com/stdlib-js/stdlib/commit/5c28ab71e29097ff04c6c4de0038b4f6b733a68c) - add `constants/float32/max-base10-exponent` [(#3091)](https://github.com/stdlib-js/stdlib/pull/3091)
100+
101+
</section>
102+
103+
<!-- /.features -->
104+
105+
<section class="issues">
106+
107+
##### Closed Issues
108+
109+
This release closes the following issue:
110+
111+
[#3090](https://github.com/stdlib-js/stdlib/issues/3090)
112+
113+
</section>
114+
115+
<!-- /.issues -->
116+
117+
</details>
118+
119+
</section>
120+
121+
<!-- /.package -->
122+
123+
<section class="package" id="constants-float32-max-base10-exponent-subnormal-unreleased">
124+
125+
#### [@stdlib/constants/float32/max-base10-exponent-subnormal](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/max-base10-exponent-subnormal)
126+
127+
<details>
128+
129+
<section class="features">
130+
131+
##### Features
132+
133+
- [`3e373df`](https://github.com/stdlib-js/stdlib/commit/3e373df5f80a866121754b0475478ff7e135f8ed) - add `constants/float32/max-base10-exponent-subnormal` [(#3099)](https://github.com/stdlib-js/stdlib/pull/3099)
134+
135+
</section>
136+
137+
<!-- /.features -->
138+
139+
<section class="issues">
140+
141+
##### Closed Issues
142+
143+
This release closes the following issue:
144+
145+
[#3093](https://github.com/stdlib-js/stdlib/issues/3093)
146+
147+
</section>
148+
149+
<!-- /.issues -->
150+
151+
</details>
152+
153+
</section>
154+
155+
<!-- /.package -->
156+
35157
<section class="package" id="constants-float32-max-base2-exponent-unreleased">
36158

37159
#### [@stdlib/constants/float32/max-base2-exponent](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/max-base2-exponent)
@@ -172,6 +294,62 @@
172294

173295
<!-- /.package -->
174296

297+
<section class="package" id="constants-float32-min-base10-exponent-unreleased">
298+
299+
#### [@stdlib/constants/float32/min-base10-exponent](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/min-base10-exponent)
300+
301+
<details>
302+
303+
<section class="features">
304+
305+
##### Features
306+
307+
- [`824d519`](https://github.com/stdlib-js/stdlib/commit/824d5196406ebb5c9f73aedfd69d30fd6df0e2e0) - add `constants/float32/min-base10-exponent` [(#3092)](https://github.com/stdlib-js/stdlib/pull/3092)
308+
309+
</section>
310+
311+
<!-- /.features -->
312+
313+
</details>
314+
315+
</section>
316+
317+
<!-- /.package -->
318+
319+
<section class="package" id="constants-float32-min-base10-exponent-subnormal-unreleased">
320+
321+
#### [@stdlib/constants/float32/min-base10-exponent-subnormal](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/min-base10-exponent-subnormal)
322+
323+
<details>
324+
325+
<section class="features">
326+
327+
##### Features
328+
329+
- [`a4ca598`](https://github.com/stdlib-js/stdlib/commit/a4ca5986c4a9816d627387004026ec96539c81f9) - add `constants/float32/min-base10-exponent-subnormal` [(#3100)](https://github.com/stdlib-js/stdlib/pull/3100)
330+
331+
</section>
332+
333+
<!-- /.features -->
334+
335+
<section class="issues">
336+
337+
##### Closed Issues
338+
339+
This release closes the following issue:
340+
341+
[#3094](https://github.com/stdlib-js/stdlib/issues/3094)
342+
343+
</section>
344+
345+
<!-- /.issues -->
346+
347+
</details>
348+
349+
</section>
350+
351+
<!-- /.package -->
352+
175353
<section class="package" id="constants-float32-min-base2-exponent-unreleased">
176354

177355
#### [@stdlib/constants/float32/min-base2-exponent](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/min-base2-exponent)
@@ -230,14 +408,29 @@
230408

231409
<!-- /.packages -->
232410

411+
<section class="issues">
412+
413+
### Closed Issues
414+
415+
A total of 3 issues were closed in this release:
416+
417+
[#3090](https://github.com/stdlib-js/stdlib/issues/3090), [#3093](https://github.com/stdlib-js/stdlib/issues/3093), [#3094](https://github.com/stdlib-js/stdlib/issues/3094)
418+
419+
</section>
420+
421+
<!-- /.issues -->
422+
233423
<section class="contributors">
234424

235425
### Contributors
236426

237-
A total of 2 people contributed to this release. Thank you to the following contributors:
427+
A total of 5 people contributed to this release. Thank you to the following contributors:
238428

429+
- Aayush Khanna
239430
- Athan Reines
240431
- Gunj Joshi
432+
- Gururaj Gurram
433+
- Philipp Burckhardt
241434

242435
</section>
243436

@@ -249,6 +442,14 @@ A total of 2 people contributed to this release. Thank you to the following cont
249442

250443
<details>
251444

445+
- [`19343f5`](https://github.com/stdlib-js/stdlib/commit/19343f5f7a3359b989d091ed31d9e3c64cf89c9c) - **chore:** fix copyright years and disable lint rules _(by Philipp Burckhardt)_
446+
- [`31c168c`](https://github.com/stdlib-js/stdlib/commit/31c168c72351f2885bcf7361b9168cefb454f6dc) - **fix:** add missing `f` suffix in `constants/float32/ln-two` [(#3110)](https://github.com/stdlib-js/stdlib/pull/3110) _(by Gunj Joshi)_
447+
- [`3e373df`](https://github.com/stdlib-js/stdlib/commit/3e373df5f80a866121754b0475478ff7e135f8ed) - **feat:** add `constants/float32/max-base10-exponent-subnormal` [(#3099)](https://github.com/stdlib-js/stdlib/pull/3099) _(by Aayush Khanna, Philipp Burckhardt)_
448+
- [`a4ca598`](https://github.com/stdlib-js/stdlib/commit/a4ca5986c4a9816d627387004026ec96539c81f9) - **feat:** add `constants/float32/min-base10-exponent-subnormal` [(#3100)](https://github.com/stdlib-js/stdlib/pull/3100) _(by Aayush Khanna)_
449+
- [`951fbd2`](https://github.com/stdlib-js/stdlib/commit/951fbd24ae17d11d75cb4a9c321ddc2e62eecd30) - **feat:** add `constants/float32/e` [(#3101)](https://github.com/stdlib-js/stdlib/pull/3101) _(by Gururaj Gurram, Philipp Burckhardt)_
450+
- [`824d519`](https://github.com/stdlib-js/stdlib/commit/824d5196406ebb5c9f73aedfd69d30fd6df0e2e0) - **feat:** add `constants/float32/min-base10-exponent` [(#3092)](https://github.com/stdlib-js/stdlib/pull/3092) _(by Gururaj Gurram, Philipp Burckhardt)_
451+
- [`5c28ab7`](https://github.com/stdlib-js/stdlib/commit/5c28ab71e29097ff04c6c4de0038b4f6b733a68c) - **feat:** add `constants/float32/max-base10-exponent` [(#3091)](https://github.com/stdlib-js/stdlib/pull/3091) _(by Gururaj Gurram, Philipp Burckhardt)_
452+
- [`893cb1b`](https://github.com/stdlib-js/stdlib/commit/893cb1b86ececb01085118705c19a842f70da511) - **feat:** add `constants/float32/ln-two` [(#3079)](https://github.com/stdlib-js/stdlib/pull/3079) _(by Gunj Joshi)_
252453
- [`7ef9d58`](https://github.com/stdlib-js/stdlib/commit/7ef9d588a9b4b80d4a77b0a9eab1dcb61f0a727b) - **feat:** add `constants/float32/min-base2-exponent` [(#3040)](https://github.com/stdlib-js/stdlib/pull/3040) _(by Gunj Joshi)_
253454
- [`1dbc440`](https://github.com/stdlib-js/stdlib/commit/1dbc4400622b58ad2a2ad73d3ebd2c4e5703a0e6) - **feat:** add `constants/float32/half-ln-two` [(#3010)](https://github.com/stdlib-js/stdlib/pull/3010) _(by Gunj Joshi)_
254455
- [`e6b6ffb`](https://github.com/stdlib-js/stdlib/commit/e6b6ffbbc11a52fe64529527ceb6e0afc2df31d1) - **feat:** add `constants/float32/max-safe-fibonacci` [(#2904)](https://github.com/stdlib-js/stdlib/pull/2904) _(by Gunj Joshi)_

0 commit comments

Comments
 (0)