Skip to content

Commit 0c7ec30

Browse files
authored
Merge branch 'stdlib-js:develop' into ndarray-find
2 parents 8b45b53 + 53c6429 commit 0c7ec30

File tree

6,133 files changed

+473626
-69181
lines changed

Some content is hidden

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

6,133 files changed

+473626
-69181
lines changed

.github/workflows/run_affected_benchmarks.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,12 @@ jobs:
5050

5151
# Define a job for running changed benchmarks...
5252
process:
53-
5453
# Define a display name:
5554
name: 'Run affected benchmarks'
5655

56+
# Only run this job if a pull request does not have a "ci: Skip" label:
57+
if: "${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'ci: Skip') }}"
58+
5759
# Define the type of virtual host machine:
5860
runs-on: ubuntu-latest
5961

.github/workflows/run_affected_examples.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
# Define a display name:
5252
name: 'Run changed examples'
5353

54+
# Only run this job if a pull request does not have a "ci: Skip" label:
55+
if: "${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'ci: Skip') }}"
56+
5457
# Define the type of virtual host machine:
5558
runs-on: ubuntu-latest
5659

.github/workflows/run_affected_tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ jobs:
8686
# Define a display name:
8787
name: 'Run affected tests'
8888

89+
# Only run this job if a pull request does not have a "ci: Skip" label:
90+
if: "${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'ci: Skip') }}"
91+
8992
# Define the type of virtual host machine:
9093
runs-on: ubuntu-latest
9194

.github/workflows/run_tests_coverage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ jobs:
8686
# Define a display name:
8787
name: 'Calculate test coverage for packages'
8888

89+
# Only run this job if a pull request does not have a "ci: Skip" label:
90+
if: "${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'ci: Skip') }}"
91+
8992
# Define the type of virtual host machine:
9093
runs-on: ubuntu-latest
9194

.github/workflows/scripts/lint_package_json_files

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,30 @@ root=$(git rev-parse --show-toplevel)
3232
# Define the path to a utility for linting package.json files:
3333
lint_package_json="${root}/lib/node_modules/@stdlib/_tools/lint/pkg-json/bin/cli"
3434

35+
# Define the path to the package name validation tool:
36+
validate_package_names="${root}/lib/node_modules/@stdlib/_tools/lint/pkg-json-names/bin/cli"
37+
3538
# Define paths to utilities for updating package.json metadata fields:
3639
update_package_json_directories="${root}/lib/node_modules/@stdlib/_tools/package-json/scripts/update_directories"
3740
update_package_json_gypfile="${root}/lib/node_modules/@stdlib/_tools/package-json/scripts/update_gypfile"
3841

3942
# Files to process:
4043
files_to_process="$*"
4144

45+
# Initialize needs_changes flag:
46+
needs_changes=0
47+
4248
# Lint package.json files:
4349
files=$(echo "${files_to_process}" | tr ' ' '\n' | grep 'package\.json$' | grep -v 'datapackage\.json$' | tr '\n' ' ' | sed 's/ $//')
4450
if [ -n "${files}" ]; then
4551
echo "Linting package.json files..."
4652
printf '%s' "${files}" | "${lint_package_json}" --split=" "
53+
54+
echo "Validating package names..."
55+
if ! printf '%s' "${files}" | "${validate_package_names}" --split=" "; then
56+
echo "ERROR: Package name validation failed"
57+
needs_changes=1
58+
fi
4759
else
4860
echo "No package.json files to lint."
4961
fi
@@ -55,8 +67,6 @@ dirs=$(echo "${files_to_process}" | tr ' ' '\n' | \
5567
sort -u)
5668

5769
echo "Checking package.json files in directories: ${dirs}"
58-
59-
needs_changes=0
6070
for dir in ${dirs}; do
6171
echo "Checking package.json in ${dir}..."
6272
package_json="${dir}/package.json"

.github/workflows/terminal.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,6 @@ jobs:
8888
git_commit_gpgsign: true
8989

9090
# Setup a terminal session:
91-
- name: 'Setup upterm session'
91+
- name: 'Setup tmate session'
9292
# Pin action to full length commit SHA
93-
uses: lhotari/action-upterm@b0357f23233f5ea6d58947c0c402e0631bab7334 # v1.0.0
93+
uses: mxschmitt/action-tmate@7b6a61a73bbb9793cb80ad69b8dd8ac19261834c # v3.2.2

.github/workflows/windows_test_npm_install.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
# Install MSYS2:
156156
- name: 'Install MSYS2'
157157
# Pin action to full length commit SHA
158-
uses: msys2/setup-msys2@61f9e5e925871ba6c9e3e8da24ede83ea27fa91f # v2.27.0
158+
uses: msys2/setup-msys2@40677d36a502eb2cf0fb808cc9dec31bf6152638 # v2.28.0
159159
with:
160160
# Set the MSYS system:
161161
msystem: MINGW64
@@ -245,7 +245,7 @@ jobs:
245245
# Install Windows build tools for compiling Node.js native add-ons.
246246
- name: 'Install Windows build tools'
247247
# Pin action to full length commit SHA
248-
uses: crazy-max/ghaction-chocolatey@6828f16489ec8d2968b55066766cb41f0d278f2a # v3.3.0
248+
uses: crazy-max/ghaction-chocolatey@2526f467ccbd337d307fe179959cabbeca0bc8c0 # v3.4.0
249249
with:
250250
args: install -y visualstudio2019buildtools visualstudio2019-workload-vctools
251251
timeout-minutes: 10

CONTRIBUTORS

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,15 @@ Aman Bhansali <[email protected]>
2323
AmanBhadkariya <[email protected]>
2424
Amisha Chhajed <[email protected]>
2525
Amit Jimiwal <[email protected]>
26+
Anmol Sah <[email protected]>
2627
Annamalai Prabu <[email protected]>
2728
Anshu Kumar <[email protected]>
2829
Anshu Kumar <[email protected]>
2930
Anudeep Sanapala <[email protected]>
31+
Arihant Pal <[email protected]>
3032
Aryan Bhirud <[email protected]>
3133
Athan Reines <[email protected]>
34+
Atharva Patil <[email protected]>
3235
3336
Bhavishy Agrawal <[email protected]>
3437
Brendan Graetz <[email protected]>
@@ -37,11 +40,13 @@ Bryan Elee <[email protected]>
3740
Chinmay Joshi <[email protected]>
3841
Christopher Dambamuromo <[email protected]>
3942
43+
Daniel Hernandez Gomez <[email protected]>
4044
Daniel Killenberger <[email protected]>
4145
Daniel Yu <[email protected]>
4246
Debashis Maharana <[email protected]>
4347
Deep Trivedi <[email protected]>
4448
Deepak Singh <[email protected]>
49+
Deepak Singh <[email protected]>
4550
Desh Deepak Kant <[email protected]>
4651
4752
Dhanyabad behera <[email protected]>
@@ -59,10 +64,12 @@ GURU PRASAD SHARMA <[email protected]>
5964
6065
Gautam Kaushik <[email protected]>
6166
Gautam sharma <[email protected]>
67+
6268
Girish Garg <[email protected]>
6369
Golden Kumar <[email protected]>
6470
Gunj Joshi <[email protected]>
6571
Gururaj Gurram <[email protected]>
72+
Harishchandra Reddy <[email protected]>
6673
Haroon Rasheed <[email protected]>
6774
6875
@@ -160,11 +167,13 @@ Sai Avinash <[email protected]>
160167
Sai Srikar Dumpeti <[email protected]>
161168
Sanchay Ketan Sinha <[email protected]>
162169
Sarthak Paandey <[email protected]>
170+
Satyajeet Chavan <[email protected]>
163171
Saurabh Singh <[email protected]>
164172
Seyyed Parsa Neshaei <[email protected]>
165173
Shabareesh Shetty <[email protected]>
166174
Shashank Shekhar Singh <[email protected]>
167175
Shivam Ahir <[email protected]>
176+
168177
Shraddheya Shendre <[email protected]>
169178
Shubh Mehta <[email protected]>
170179
Shubham Mishra <[email protected]>
@@ -196,11 +205,13 @@ Yaswanth Kosuru <[email protected]>
196205
Yernar Yergaziyev <[email protected]>
197206
Yugal Kaushik <[email protected]>
198207
Yuvi Mittal <[email protected]>
208+
deepak427 <[email protected]>
199209
devshree-bhati <[email protected]>
200210
201211
ekambains <[email protected]>
202212
fadiothman22 <[email protected]>
203213
iraandrushko <[email protected]>
214+
204215
lohithganni <[email protected]>
205216
olenkabilonizhka <[email protected]>
206217
pranav-1720 <[email protected]>

0 commit comments

Comments
 (0)