Skip to content

Commit 0854c6b

Browse files
committed
Release v0.1.0
1 parent ad65a66 commit 0854c6b

10 files changed

+69
-24
lines changed

.editorconfig

+5
Original file line numberDiff line numberDiff line change
@@ -179,3 +179,8 @@ indent_size = 2
179179
[*.gypi]
180180
indent_style = space
181181
indent_size = 2
182+
183+
# Set properties for citation files:
184+
[*.{cff,cff.txt}]
185+
indent_style = space
186+
indent_size = 2

.github/.keepalive

-1
This file was deleted.

.github/workflows/productionize.yml

-15
Original file line numberDiff line numberDiff line change
@@ -82,21 +82,6 @@ jobs:
8282
id: transform-error-messages
8383
uses: stdlib-js/transform-errors-action@main
8484

85-
# Format error messages:
86-
- name: 'Replace double quotes with single quotes in rewritten format string error messages'
87-
run: |
88-
find . -name "*.js" -exec sed -E -i "s/Error\( format\( \"([a-zA-Z0-9]+)\"/Error\( format\( '\1'/g" {} \;
89-
90-
# Format string literal error messages:
91-
- name: 'Replace double quotes with single quotes in rewritten string literal error messages'
92-
run: |
93-
find . -name "*.js" -exec sed -E -i "s/Error\( format\(\"([a-zA-Z0-9]+)\"\)/Error\( format\( '\1' \)/g" {} \;
94-
95-
# Format code:
96-
- name: 'Replace double quotes with single quotes in inserted `require` calls'
97-
run: |
98-
find . -name "*.js" -exec sed -E -i "s/require\( ?\"@stdlib\/error-tools-fmtprodmsg\" ?\);/require\( '@stdlib\/error-tools-fmtprodmsg' \);/g" {} \;
99-
10085
# Change `@stdlib/string-format` to `@stdlib/error-tools-fmtprodmsg` in package.json if the former is a dependency, otherwise insert it as a dependency:
10186
- name: 'Update dependencies in package.json'
10287
run: |

CITATION.cff

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
cff-version: 1.2.0
2+
title: stdlib
3+
message: >-
4+
If you use this software, please cite it using the
5+
metadata from this file.
6+
7+
type: software
8+
9+
authors:
10+
- name: The Stdlib Authors
11+
url: https://github.com/stdlib-js/stdlib/graphs/contributors
12+
13+
repository-code: https://github.com/stdlib-js/stdlib
14+
url: https://stdlib.io
15+
16+
abstract: |
17+
Standard library for JavaScript and Node.js.
18+
19+
keywords:
20+
- JavaScript
21+
- Node.js
22+
- TypeScript
23+
- standard library
24+
- scientific computing
25+
- numerical computing
26+
- statistical computing
27+
28+
license: Apache-2.0 AND BSL-1.0
29+
30+
date-released: 2016

README.md

+13-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@ limitations under the License.
1818
1919
-->
2020

21+
22+
<details>
23+
<summary>
24+
About stdlib...
25+
</summary>
26+
<p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p>
27+
<p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p>
28+
<p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p>
29+
<p>To join us in bringing numerical computing to the web, get started by checking us out on <a href="https://github.com/stdlib-js/stdlib">GitHub</a>, and please consider <a href="https://opencollective.com/stdlib">financially supporting stdlib</a>. We greatly appreciate your continued support!</p>
30+
</details>
31+
2132
# isTypedArrayLength
2233

2334
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
@@ -180,8 +191,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
180191
[npm-image]: http://img.shields.io/npm/v/@stdlib/assert-is-typed-array-length.svg
181192
[npm-url]: https://npmjs.org/package/@stdlib/assert-is-typed-array-length
182193

183-
[test-image]: https://github.com/stdlib-js/assert-is-typed-array-length/actions/workflows/test.yml/badge.svg?branch=main
184-
[test-url]: https://github.com/stdlib-js/assert-is-typed-array-length/actions/workflows/test.yml?query=branch:main
194+
[test-image]: https://github.com/stdlib-js/assert-is-typed-array-length/actions/workflows/test.yml/badge.svg?branch=v0.1.0
195+
[test-url]: https://github.com/stdlib-js/assert-is-typed-array-length/actions/workflows/test.yml?query=branch:v0.1.0
185196

186197
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/assert-is-typed-array-length/main.svg
187198
[coverage-url]: https://codecov.io/github/stdlib-js/assert-is-typed-array-length?branch=main

dist/index.d.ts

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/// <reference path="../docs/types/index.d.ts" />
2+
import isTypedArrayLength from '../docs/types/index';
3+
export = isTypedArrayLength;

dist/index.js

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a value is a valid typed array length.

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stdlib/assert-is-typed-array-length",
3-
"version": "0.0.7",
3+
"version": "0.1.0",
44
"description": "Test if a value is a valid typed array length.",
55
"license": "Apache-2.0",
66
"author": {
@@ -37,12 +37,12 @@
3737
"url": "https://github.com/stdlib-js/stdlib/issues"
3838
},
3939
"dependencies": {
40-
"@stdlib/assert-is-integer": "^0.0.8",
41-
"@stdlib/constants-array-max-typed-array-length": "^0.0.7"
40+
"@stdlib/assert-is-integer": "^0.1.0",
41+
"@stdlib/constants-array-max-typed-array-length": "^0.1.0"
4242
},
4343
"devDependencies": {
44-
"@stdlib/assert-is-boolean": "^0.0.8",
45-
"@stdlib/bench": "^0.0.12",
44+
"@stdlib/assert-is-boolean": "^0.1.0",
45+
"@stdlib/bench": "^0.1.0",
4646
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
4747
"istanbul": "^0.4.1",
4848
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"

0 commit comments

Comments
 (0)