Skip to content

Commit 1320a09

Browse files
authored
chore: release v2.0.0-alpha.14 (#729)
1 parent fef2806 commit 1320a09

File tree

9 files changed

+59
-34
lines changed

9 files changed

+59
-34
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# [2.0.0-alpha.14](https://github.com/dinerojs/dinero.js/compare/v2.0.0-alpha.13...v2.0.0-alpha.14) (2023-02-27)
2+
3+
4+
### Bug Fixes
5+
6+
* **isPositive:** return `false` with zero ([#728](https://github.com/dinerojs/dinero.js/issues/728)) ([140fe68](https://github.com/dinerojs/dinero.js/commit/140fe68ba516ce47a12a01a06a6425c7df5bd455))
7+
* **up, down, halfUp:** fix handling of numbers close to 0 and rounding of integer results ([#711](https://github.com/dinerojs/dinero.js/issues/711)) ([6b30aa0](https://github.com/dinerojs/dinero.js/commit/6b30aa09aa5d887cd00170d2659d0bf044081d93)), closes [#710](https://github.com/dinerojs/dinero.js/issues/710) [#713](https://github.com/dinerojs/dinero.js/issues/713)
8+
9+
10+
111
# [2.0.0-alpha.13](https://github.com/dinerojs/dinero.js/compare/v2.0.0-alpha.12...v2.0.0-alpha.13) (2022-12-19)
212

313

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dinero.js/monorepo",
3-
"version": "2.0.0-alpha.13",
3+
"version": "2.0.0-alpha.14",
44
"private": true,
55
"license": "MIT",
66
"workspaces": [

packages/calculator-bigint/package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dinero.js/calculator-bigint",
3-
"version": "2.0.0-alpha.13",
3+
"version": "2.0.0-alpha.14",
44
"description": "Bigint calculator implementation for Dinero.js",
55
"keywords": [
66
"money",
@@ -29,9 +29,7 @@
2929
"module": "dist/esm/index.js",
3030
"source": "src/index.ts",
3131
"types": "dist/esm/index.d.ts",
32-
"files": [
33-
"dist/"
34-
],
32+
"files": ["dist/"],
3533
"scripts": {
3634
"build:clean": "rimraf ./{dist,temp}",
3735
"build:esm": "babel src --root-mode upward --extensions '.ts' --out-dir dist/esm --ignore '**/*/__tests__/'",
@@ -42,6 +40,6 @@
4240
"test": "node ../../scripts/test.mjs --projects=./packages/calculator-bigint"
4341
},
4442
"dependencies": {
45-
"@dinero.js/core": "2.0.0-alpha.13"
43+
"@dinero.js/core": "2.0.0-alpha.14"
4644
}
4745
}

packages/calculator-number/package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dinero.js/calculator-number",
3-
"version": "2.0.0-alpha.13",
3+
"version": "2.0.0-alpha.14",
44
"description": "Number calculator implementation for Dinero.js",
55
"keywords": [
66
"money",
@@ -29,9 +29,7 @@
2929
"module": "dist/esm/index.js",
3030
"source": "src/index.ts",
3131
"types": "dist/esm/index.d.ts",
32-
"files": [
33-
"dist/"
34-
],
32+
"files": ["dist/"],
3533
"scripts": {
3634
"build:clean": "rimraf ./{dist,temp}",
3735
"build:esm": "babel src --root-mode upward --extensions '.ts' --out-dir dist/esm --ignore '**/*/__tests__/'",
@@ -42,6 +40,6 @@
4240
"test": "node ../../scripts/test.mjs --projects=./packages/calculator-number"
4341
},
4442
"dependencies": {
45-
"@dinero.js/core": "2.0.0-alpha.13"
43+
"@dinero.js/core": "2.0.0-alpha.14"
4644
}
4745
}

packages/core/package.json

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
{
22
"name": "@dinero.js/core",
3-
"version": "2.0.0-alpha.13",
3+
"version": "2.0.0-alpha.14",
44
"description": "Common code between Dinero.js packages",
5-
"keywords": [
6-
"money",
7-
"monetary",
8-
"amount",
9-
"immutable"
10-
],
5+
"keywords": ["money", "monetary", "amount", "immutable"],
116
"homepage": "https://v2.dinerojs.com",
127
"bugs": "https://github.com/dinerojs/dinero.js/issues",
138
"repository": {
@@ -27,9 +22,7 @@
2722
"module": "dist/esm/index.js",
2823
"source": "src/index.ts",
2924
"types": "dist/esm/index.d.ts",
30-
"files": [
31-
"dist/"
32-
],
25+
"files": ["dist/"],
3326
"scripts": {
3427
"build:clean": "rimraf ./{dist,temp}",
3528
"build:esm": "babel src --root-mode upward --extensions '.ts' --out-dir dist/esm --ignore '**/*/__tests__/'",
@@ -40,6 +33,6 @@
4033
"test": "node ../../scripts/test.mjs --projects=./packages/core"
4134
},
4235
"dependencies": {
43-
"@dinero.js/currencies": "2.0.0-alpha.13"
36+
"@dinero.js/currencies": "2.0.0-alpha.14"
4437
}
4538
}

packages/currencies/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dinero.js/currencies",
3-
"version": "2.0.0-alpha.13",
3+
"version": "2.0.0-alpha.14",
44
"description": "Common currency implementations for Dinero.js",
55
"keywords": [
66
"money",

packages/dinero.js/package.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dinero.js",
3-
"version": "2.0.0-alpha.13",
3+
"version": "2.0.0-alpha.14",
44
"description": "Create, calculate, and format money in JavaScript and TypeScript",
55
"keywords": [
66
"money",
@@ -29,9 +29,7 @@
2929
"module": "dist/esm/index.js",
3030
"source": "src/index.ts",
3131
"types": "dist/esm/index.d.ts",
32-
"files": [
33-
"dist/"
34-
],
32+
"files": ["dist/"],
3533
"scripts": {
3634
"build:clean": "rimraf ./{dist,temp}",
3735
"build:esm": "babel src --root-mode upward --extensions '.ts' --out-dir dist/esm --ignore '**/*/__tests__/'",
@@ -42,11 +40,11 @@
4240
"test": "node ../../scripts/test.mjs --projects=./packages/dinero.js"
4341
},
4442
"dependencies": {
45-
"@dinero.js/calculator-number": "2.0.0-alpha.13",
46-
"@dinero.js/core": "2.0.0-alpha.13",
47-
"@dinero.js/currencies": "2.0.0-alpha.13"
43+
"@dinero.js/calculator-number": "2.0.0-alpha.14",
44+
"@dinero.js/core": "2.0.0-alpha.14",
45+
"@dinero.js/currencies": "2.0.0-alpha.14"
4846
},
4947
"devDependencies": {
50-
"@dinero.js/calculator-bigint": "2.0.0-alpha.13"
48+
"@dinero.js/calculator-bigint": "2.0.0-alpha.14"
5149
}
5250
}

website/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dinero.js/website",
3-
"version": "2.0.0-alpha.13",
3+
"version": "2.0.0-alpha.14",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
@@ -9,11 +9,11 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12-
"@dinero.js/currencies": "2.0.0-alpha.13",
12+
"@dinero.js/currencies": "2.0.0-alpha.14",
1313
"@docsearch/css": "3.2.1",
1414
"@docsearch/react": "3.3.0",
1515
"classnames": "2.3.2",
16-
"dinero.js": "2.0.0-alpha.13",
16+
"dinero.js": "2.0.0-alpha.14",
1717
"fathom-client": "3.5.0",
1818
"github-slugger": "1.4.0",
1919
"next": "13.0.2",

yarn.lock

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,6 +1245,25 @@
12451245
dependencies:
12461246
"@jridgewell/trace-mapping" "0.3.9"
12471247

1248+
"@dinero.js/[email protected]":
1249+
version "2.0.0-alpha.13"
1250+
resolved "https://registry.yarnpkg.com/@dinero.js/calculator-number/-/calculator-number-2.0.0-alpha.13.tgz#d4fbadf910f62fb93691590ae821c4d01f597df8"
1251+
integrity sha512-Mo/0FUVFq4dVb/RfBIASUxPFbQbkHYC0VBe36DgWfbbhwG6K6ONuzTLBU5W6LdrMpB7D/CxgZISdQ0pyZKwg9w==
1252+
dependencies:
1253+
"@dinero.js/core" "2.0.0-alpha.13"
1254+
1255+
"@dinero.js/[email protected]":
1256+
version "2.0.0-alpha.13"
1257+
resolved "https://registry.yarnpkg.com/@dinero.js/core/-/core-2.0.0-alpha.13.tgz#784c845b918edc8746a4e07128df7168358e7139"
1258+
integrity sha512-RLZz8WmYe1ehqD2YtTpzCzdk0Hqf6oaAVmRlULLkua6vuEVEXjPQEhuyTMLHcS6/Gppy9nuEw8mpSNvU+Sy8QQ==
1259+
dependencies:
1260+
"@dinero.js/currencies" "2.0.0-alpha.13"
1261+
1262+
"@dinero.js/[email protected]":
1263+
version "2.0.0-alpha.13"
1264+
resolved "https://registry.yarnpkg.com/@dinero.js/currencies/-/currencies-2.0.0-alpha.13.tgz#8e9871a9706d4cdd13b760052a590670944effd8"
1265+
integrity sha512-vEfDara+xAqOrLww80FyFVw4usWcCsR4HwhaoCvwIzB5UdsLPDeUviAGFi8CoWjtLCR44iIeOHdn9jDr7Jj+TQ==
1266+
12481267
"@docsearch/[email protected]":
12491268
version "3.2.1"
12501269
resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.2.1.tgz#c05d7818b0e43b42f9efa2d82a11c36606b37b27"
@@ -4182,6 +4201,15 @@ diff@^4.0.1:
41824201
resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d"
41834202
integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==
41844203

4204+
4205+
version "2.0.0-alpha.13"
4206+
resolved "https://registry.yarnpkg.com/dinero.js/-/dinero.js-2.0.0-alpha.13.tgz#4f4faeb9abae0334dbc535ae1b2e2b8eb44bd86c"
4207+
integrity sha512-xuBgE/3/67SXOW/UKjmaRd/YJQkUSlYS+6DvfglFg1Mbfn2K7cp+WQcgU76CLJpJPkJABgILsPjw1Om9OJ5puA==
4208+
dependencies:
4209+
"@dinero.js/calculator-number" "2.0.0-alpha.13"
4210+
"@dinero.js/core" "2.0.0-alpha.13"
4211+
"@dinero.js/currencies" "2.0.0-alpha.13"
4212+
41854213
dir-glob@^3.0.1:
41864214
version "3.0.1"
41874215
resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f"

0 commit comments

Comments
 (0)