Skip to content

Commit 4476578

Browse files
authored
Merge branch 'stdlib-js:develop' into develop
2 parents 558b4e3 + 4fe7fa2 commit 4476578

File tree

43,038 files changed

+3378034
-342162
lines changed

Some content is hidden

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

43,038 files changed

+3378034
-342162
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "stdlib - OSS Development",
3-
"image": "mcr.microsoft.com/devcontainers/universal:2",
3+
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm",
44
"features": {
5+
"ghcr.io/devcontainers/features/python:1": {},
56
"ghcr.io/rocker-org/devcontainer-features/r-apt:0": {},
67
"ghcr.io/julialang/devcontainer-features/julia:1": {},
7-
"ghcr.io/marcozac/devcontainer-features/shellcheck:1": {},
8+
"ghcr.io/devcontainers-extra/features/shellcheck:1": {},
89
"ghcr.io/rocker-org/devcontainer-features/pandoc:1": {}
910
},
1011
"postCreateCommand": "./.devcontainer/post-create",

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,15 @@ indent_style = tab
165165
indent_style = space
166166
indent_size = 2
167167
168+
# Ignore generated lock files for GitHub Agentic Workflows:
169+
[*.lock.yml]
170+
charset = unset
171+
end_of_line = unset
172+
indent_style = unset
173+
indent_size = unset
174+
trim_trailing_whitespace = unset
175+
insert_final_newline = unset
176+
168177
# Set properties for GYP files:
169178
[binding.gyp]
170179
indent_style = space

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,5 @@ Makefile linguist-vendored
6464

6565
# Configure files which should be included in GitHub language statistics:
6666
docs/types/*.d.ts -linguist-documentation
67+
68+
.github/workflows/*.lock.yml linguist-generated=true merge=ours

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ contact_links:
2121
url: https://github.com/stdlib-js/stdlib/blob/develop/FAQ.md
2222
about: Consult the FAQ in case we have already answered your question there.
2323
- name: 💬 Question
24-
url: https://gitter.im/stdlib-js/stdlib
25-
about: Got a (non-bug related) question we haven't already answered? Ask us on Gitter! 🤗
24+
url: https://stdlib.zulipchat.com
25+
about: Got a (non-bug related) question we haven't already answered? Ask us on Zulip! 🤗
2626
- name: 👏 Support Us
2727
url: https://github.com/stdlib-js/stdlib/blob/develop/docs/support_the_project.md
2828
about: Want to help support the project? 😍

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ This pull request:
1212

1313
> Does this pull request have any related issues?
1414
15-
This pull request:
15+
This pull request has the following related issues:
1616

17-
- resolves #{{TODO: add issue number}}
17+
- #{{TODO: add related issue number}}
1818

1919
## Questions
2020

@@ -34,6 +34,26 @@ No.
3434
3535
- [ ] Read, understood, and followed the [contributing guidelines][contributing].
3636

37+
### AI Assistance
38+
39+
> When authoring the changes proposed in this PR, did you use any kind of AI assistance?
40+
41+
- [ ] Yes
42+
- [ ] No
43+
44+
If you answered "yes" above, how did you use AI assistance?
45+
46+
- [ ] Code generation (e.g., when writing an implementation or fixing a bug)
47+
- [ ] Test/benchmark generation
48+
- [ ] Documentation (including examples)
49+
- [ ] Research and understanding
50+
51+
#### Disclosure
52+
53+
> If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".
54+
55+
{{TODO: add disclosure if applicable}}
56+
3757
* * *
3858

3959
@stdlib-js/reviewers

.github/aw/actions-lock.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"entries": {
3+
"actions/github-script@v8": {
4+
"repo": "actions/github-script",
5+
"version": "v8",
6+
"sha": "ed597411d8f924073f98dfc5c65a23a2325f34cd"
7+
},
8+
"github/gh-aw-actions/setup@v0.61.2": {
9+
"repo": "github/gh-aw-actions/setup",
10+
"version": "v0.61.2",
11+
"sha": "71cfb3cbe2002225f9d5afa180669fff36b86ea2"
12+
}
13+
}
14+
}

.github/workflows/check_commit_metadata.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
# Checkout the repository:
5252
- name: 'Checkout repository'
5353
# Pin action to full length commit SHA
54-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
54+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5555
with:
5656
# Ensure we have access to the scripts directory:
5757
sparse-checkout: |
@@ -72,4 +72,4 @@ jobs:
7272
COMMIT_METADATA: ${{ steps.extract-metadata.outputs.metadata }}
7373
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
7474
run: |
75-
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_commit_metadata" $PR_NUMBER $COMMIT_METADATA
75+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_commit_metadata/run" $PR_NUMBER $COMMIT_METADATA

.github/workflows/check_contributing_guidelines_acceptance.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
# Checkout the repository:
7171
- name: 'Checkout repository'
7272
# Pin action to full length commit SHA
73-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
73+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7474
with:
7575
# Ensure we have access to the scripts directory:
7676
sparse-checkout: |
@@ -84,4 +84,4 @@ jobs:
8484
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
8585
PR_NUMBER: ${{ github.event.pull_request.number || inputs.pull_request_number }}
8686
run: |
87-
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_contributing_guidelines_acceptance" $PR_NUMBER
87+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_contributing_guidelines_acceptance/run" $PR_NUMBER
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
#/
2+
# @license Apache-2.0
3+
#
4+
# Copyright (c) 2025 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: check_duplicate_prs
21+
22+
# Workflow triggers:
23+
on:
24+
# Run the workflow daily at 3 AM UTC:
25+
schedule:
26+
- cron: '0 3 * * *'
27+
28+
# Allow the workflow to be manually run:
29+
workflow_dispatch:
30+
inputs:
31+
debug:
32+
description: 'Enable debug output'
33+
required: false
34+
default: 'false'
35+
type: choice
36+
options:
37+
- 'true'
38+
- 'false'
39+
40+
# Global permissions:
41+
permissions:
42+
# Allow read-only access to the repository contents:
43+
contents: read
44+
45+
# Workflow jobs:
46+
jobs:
47+
48+
# Define a job for checking duplicate PRs...
49+
check_duplicates:
50+
51+
# Define a display name:
52+
name: 'Check Duplicate PRs'
53+
54+
# Ensure the job does not run on forks:
55+
if: github.repository == 'stdlib-js/stdlib'
56+
57+
# Define the type of virtual host machine:
58+
runs-on: ubuntu-latest
59+
60+
# Define the sequence of job steps...
61+
steps:
62+
# Checkout the repository:
63+
- name: 'Checkout repository'
64+
# Pin action to full length commit SHA
65+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
66+
with:
67+
# Ensure we have access to the scripts directory:
68+
sparse-checkout: |
69+
.github/workflows/scripts
70+
sparse-checkout-cone-mode: false
71+
timeout-minutes: 10
72+
73+
# Check for duplicate PRs:
74+
- name: 'Check for duplicate PRs'
75+
env:
76+
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
77+
DEBUG: ${{ inputs.debug || 'false' }}
78+
run: |
79+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_duplicate_prs/run"
80+
timeout-minutes: 15

.github/workflows/check_licenses.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
# Checkout the repository:
6060
- name: 'Checkout repository'
6161
# Pin action to full length commit SHA
62-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
62+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6363
with:
6464
# Specify whether to remove untracked files before checking out the repository:
6565
clean: false
@@ -81,7 +81,7 @@ jobs:
8181
# Install Node.js:
8282
- name: 'Install Node.js'
8383
# Pin action to full length commit SHA
84-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
84+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
8585
with:
8686
node-version: '20' # 'lts/*'
8787
timeout-minutes: 5
@@ -114,7 +114,7 @@ jobs:
114114
# Run the build task:
115115
- name: 'Run build task'
116116
run: |
117-
. "$GITHUB_WORKSPACE/.github/workflows/scripts/task_runner" "${{ env.BUILD_TASK }}" "${{ env.LOG_FILE_BUILD_TASK }}"
117+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/common/task_runner" "${{ env.BUILD_TASK }}" "${{ env.LOG_FILE_BUILD_TASK }}"
118118
timeout-minutes: 360
119119

120120
# View the log file if the previous step fails:
@@ -128,7 +128,7 @@ jobs:
128128
# Upload the log file:
129129
- name: 'Upload log file'
130130
# Pin action to full length commit SHA
131-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
131+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
132132
if: always()
133133
with:
134134
# Define a name for the uploaded artifact:

0 commit comments

Comments
 (0)