diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fd35caa3..d8f6e1d2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# [2.0.0-alpha.12](https://github.com/dinerojs/dinero.js/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2022-12-09) + + +### Bug Fixes + +* **toDecimal:** teach `toDecimal` how to handle negative units ([#690](https://github.com/dinerojs/dinero.js/issues/690)) ([81c5566](https://github.com/dinerojs/dinero.js/commit/81c5566f1219707b2bfb3416e94d832170dd2cf0)) + + + # [2.0.0-alpha.11](https://github.com/dinerojs/dinero.js/compare/v2.0.0-alpha.10...v2.0.0-alpha.11) (2022-12-04) diff --git a/examples/cart-react/package.json b/examples/cart-react/package.json index 335dd9eec..b04b02f7c 100644 --- a/examples/cart-react/package.json +++ b/examples/cart-react/package.json @@ -1,6 +1,6 @@ { "name": "@dinero.js/example-cart-react", - "version": "2.0.0-alpha.11", + "version": "2.0.0-alpha.12", "scripts": { "build:clean": "rimraf ./dist", "dev": "vite", @@ -8,9 +8,9 @@ "serve": "vite preview" }, "dependencies": { - "@dinero.js/currencies": "2.0.0-alpha.11", + "@dinero.js/currencies": "2.0.0-alpha.12", "classnames": "2.2.6", - "dinero.js": "2.0.0-alpha.11", + "dinero.js": "2.0.0-alpha.12", "react": "18.2.0", "react-dom": "18.2.0" }, diff --git a/examples/cart-vue/package.json b/examples/cart-vue/package.json index c69d3357b..8bcf8bf26 100644 --- a/examples/cart-vue/package.json +++ b/examples/cart-vue/package.json @@ -1,6 +1,6 @@ { "name": "@dinero.js/example-cart-vue", - "version": "2.0.0-alpha.11", + "version": "2.0.0-alpha.12", "scripts": { "build:clean": "rimraf ./dist", "dev": "vite", @@ -8,8 +8,8 @@ "serve": "vite preview" }, "dependencies": { - "@dinero.js/currencies": "2.0.0-alpha.11", - "dinero.js": "2.0.0-alpha.11", + "@dinero.js/currencies": "2.0.0-alpha.12", + "dinero.js": "2.0.0-alpha.12", "vue": "3.0.5" }, "devDependencies": { diff --git a/examples/pricing-react/package.json b/examples/pricing-react/package.json index 7ee9fcb4a..89b69544e 100644 --- a/examples/pricing-react/package.json +++ b/examples/pricing-react/package.json @@ -1,6 +1,6 @@ { "name": "@dinero.js/example-pricing-react", - "version": "2.0.0-alpha.11", + "version": "2.0.0-alpha.12", "scripts": { "build:clean": "rimraf ./dist", "dev": "vite", @@ -8,10 +8,10 @@ "serve": "vite preview" }, "dependencies": { - "@dinero.js/currencies": "2.0.0-alpha.11", + "@dinero.js/currencies": "2.0.0-alpha.12", "@heroicons/react": "1.0.2", "classnames": "2.3.1", - "dinero.js": "2.0.0-alpha.11", + "dinero.js": "2.0.0-alpha.12", "react": "18.2.0", "react-dom": "18.2.0", "react-slider": "1.3.1" diff --git a/examples/starter/package.json b/examples/starter/package.json index 2d16a916a..577e20af1 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -1,6 +1,6 @@ { "name": "@dinero.js/example-starter", - "version": "2.0.0-alpha.11", + "version": "2.0.0-alpha.12", "scripts": { "build:clean": "rimraf ./dist", "dev": "vite", @@ -11,7 +11,7 @@ "vite": "^2.4.2" }, "dependencies": { - "@dinero.js/currencies": "2.0.0-alpha.11", - "dinero.js": "2.0.0-alpha.11" + "@dinero.js/currencies": "2.0.0-alpha.12", + "dinero.js": "2.0.0-alpha.12" } } diff --git a/lerna.json b/lerna.json index 14db9e74a..d87bc188a 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "packages": ["packages/*", "examples/*"], - "version": "2.0.0-alpha.11", + "version": "2.0.0-alpha.12", "npmClient": "yarn", "useWorkspaces": true } diff --git a/packages/calculator-bigint/package.json b/packages/calculator-bigint/package.json index 5b0970b7f..e5ead925c 100644 --- a/packages/calculator-bigint/package.json +++ b/packages/calculator-bigint/package.json @@ -1,6 +1,6 @@ { "name": "@dinero.js/calculator-bigint", - "version": "2.0.0-alpha.11", + "version": "2.0.0-alpha.12", "description": "Bigint calculator implementation for Dinero.js", "keywords": [ "money", @@ -44,6 +44,6 @@ "watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\"" }, "dependencies": { - "@dinero.js/core": "2.0.0-alpha.11" + "@dinero.js/core": "2.0.0-alpha.12" } } diff --git a/packages/calculator-number/package.json b/packages/calculator-number/package.json index 714e45258..8bcfe56a7 100644 --- a/packages/calculator-number/package.json +++ b/packages/calculator-number/package.json @@ -1,6 +1,6 @@ { "name": "@dinero.js/calculator-number", - "version": "2.0.0-alpha.11", + "version": "2.0.0-alpha.12", "description": "Number calculator implementation for Dinero.js", "keywords": [ "money", @@ -44,6 +44,6 @@ "watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\"" }, "dependencies": { - "@dinero.js/core": "2.0.0-alpha.11" + "@dinero.js/core": "2.0.0-alpha.12" } } diff --git a/packages/core/package.json b/packages/core/package.json index a7862ba52..81eeb5792 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@dinero.js/core", - "version": "2.0.0-alpha.11", + "version": "2.0.0-alpha.12", "description": "Common code between Dinero.js packages", "keywords": [ "money", @@ -42,6 +42,6 @@ "watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\"" }, "dependencies": { - "@dinero.js/currencies": "2.0.0-alpha.11" + "@dinero.js/currencies": "2.0.0-alpha.12" } } diff --git a/packages/currencies/package.json b/packages/currencies/package.json index 1934be111..a1690b083 100644 --- a/packages/currencies/package.json +++ b/packages/currencies/package.json @@ -1,6 +1,6 @@ { "name": "@dinero.js/currencies", - "version": "2.0.0-alpha.11", + "version": "2.0.0-alpha.12", "description": "Common currency implementations for Dinero.js", "keywords": [ "money", diff --git a/packages/dinero.js/package.json b/packages/dinero.js/package.json index fe4bc1323..260ebea14 100644 --- a/packages/dinero.js/package.json +++ b/packages/dinero.js/package.json @@ -1,6 +1,6 @@ { "name": "dinero.js", - "version": "2.0.0-alpha.11", + "version": "2.0.0-alpha.12", "description": "Create, calculate, and format money in JavaScript and TypeScript", "keywords": [ "money", @@ -44,11 +44,11 @@ "watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\"" }, "dependencies": { - "@dinero.js/calculator-number": "2.0.0-alpha.11", - "@dinero.js/core": "2.0.0-alpha.11", - "@dinero.js/currencies": "2.0.0-alpha.11" + "@dinero.js/calculator-number": "2.0.0-alpha.12", + "@dinero.js/core": "2.0.0-alpha.12", + "@dinero.js/currencies": "2.0.0-alpha.12" }, "devDependencies": { - "@dinero.js/calculator-bigint": "2.0.0-alpha.11" + "@dinero.js/calculator-bigint": "2.0.0-alpha.12" } }