From 48e7dd38649e4de86a15a9b86f4dcc306ef72ae2 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Thu, 21 Sep 2023 01:33:57 +0000 Subject: [PATCH] Release v0.1.0 --- .editorconfig | 5 +++++ CITATION.cff | 30 ++++++++++++++++++++++++++++++ README.md | 15 +++++++++++++-- dist/index.js.map | 6 +++--- docs/types/index.d.ts | 2 +- package.json | 2 +- 6 files changed, 53 insertions(+), 7 deletions(-) create mode 100644 CITATION.cff diff --git a/.editorconfig b/.editorconfig index 0fd4d6c..13e9c39 100644 --- a/.editorconfig +++ b/.editorconfig @@ -179,3 +179,8 @@ indent_size = 2 [*.gypi] indent_style = space indent_size = 2 + +# Set properties for citation files: +[*.{cff,cff.txt}] +indent_style = space +indent_size = 2 diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..2ec6fff --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,30 @@ +cff-version: 1.2.0 +title: stdlib +message: >- + If you use this software, please cite it using the + metadata from this file. + +type: software + +authors: + - name: The Stdlib Authors + url: https://github.com/stdlib-js/stdlib/graphs/contributors + +repository-code: https://github.com/stdlib-js/stdlib +url: https://stdlib.io + +abstract: | + Standard library for JavaScript and Node.js. + +keywords: + - JavaScript + - Node.js + - TypeScript + - standard library + - scientific computing + - numerical computing + - statistical computing + +license: Apache-2.0 AND BSL-1.0 + +date-released: 2016 diff --git a/README.md b/README.md index 6766d8f..2b6264f 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,17 @@ limitations under the License. --> + +
+ + About stdlib... + +

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.

+

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.

+

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.

+

To join us in bringing numerical computing to the web, get started by checking us out on GitHub, and please consider financially supporting stdlib. We greatly appreciate your continued support!

+
+ # Months in a Year [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] @@ -150,8 +161,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors]. [npm-image]: http://img.shields.io/npm/v/@stdlib/constants-time-months-in-year.svg [npm-url]: https://npmjs.org/package/@stdlib/constants-time-months-in-year -[test-image]: https://github.com/stdlib-js/constants-time-months-in-year/actions/workflows/test.yml/badge.svg?branch=main -[test-url]: https://github.com/stdlib-js/constants-time-months-in-year/actions/workflows/test.yml?query=branch:main +[test-image]: https://github.com/stdlib-js/constants-time-months-in-year/actions/workflows/test.yml/badge.svg?branch=v0.1.0 +[test-url]: https://github.com/stdlib-js/constants-time-months-in-year/actions/workflows/test.yml?query=branch:v0.1.0 [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/constants-time-months-in-year/main.svg [coverage-url]: https://codecov.io/github/stdlib-js/constants-time-months-in-year?branch=main diff --git a/dist/index.js.map b/dist/index.js.map index 23dc2e4..c2cac60 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1,7 +1,7 @@ { "version": 3, - "sources": ["../tmp/index.js"], - "sourcesContent": ["/** @license Apache-2.0 */\n'use strict';\nvar MONTHS_IN_YEAR = 12|0;\nmodule.exports = MONTHS_IN_YEAR;\n"], - "mappings": "aAEA,IAAIA,EAAiB,GACrB,OAAO,QAAUA", + "sources": ["../lib/index.js"], + "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/**\n* Number of months in a year.\n*\n* @module @stdlib/constants-time-months-in-year\n* @type {integer32}\n*\n* @example\n* var MONTHS_IN_YEAR = require( '@stdlib/constants-time-months-in-year' );\n* // returns 12\n*/\n\n\n// MAIN //\n\n/**\n* The number of months in a year.\n*\n* @constant\n* @type {integer32}\n* @default 12\n*/\nvar MONTHS_IN_YEAR = 12|0; // asm type annotation\n\n\n// EXPORTS //\n\nmodule.exports = MONTHS_IN_YEAR;\n"], + "mappings": "aAyCA,IAAIA,EAAiB,GAKrB,OAAO,QAAUA", "names": ["MONTHS_IN_YEAR"] } diff --git a/docs/types/index.d.ts b/docs/types/index.d.ts index b03e0aa..e397e25 100644 --- a/docs/types/index.d.ts +++ b/docs/types/index.d.ts @@ -16,7 +16,7 @@ * limitations under the License. */ -// TypeScript Version: 2.0 +// TypeScript Version: 4.1 /** * Number of months in a year. diff --git a/package.json b/package.json index c1f09c1..6fa7abf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stdlib/constants-time-months-in-year", - "version": "0.0.8", + "version": "0.1.0", "description": "Number of months in a year.", "license": "Apache-2.0", "author": {