1
0
Fork 0

chore: Reconfigure packages

This commit is contained in:
Joost De Cock 2020-04-26 13:09:54 +02:00
parent 41d8e92e06
commit c9da9d6947
170 changed files with 1668 additions and 2674 deletions

View file

@ -1,141 +1,135 @@
# Change log for: @freesewing/utils
## Unreleased
**Note:** Version bump only for package utils
## 2.6.0 (2020-04-26)
**Note:** Version bump only for package utils
## 2.5.0 (2020-04-05)
**Note:** Version bump only for package utils
## 2.4.6 (2020-03-23)
**Note:** Version bump only for package utils
## 2.4.5 (2020-03-19)
**Note:** Version bump only for package utils
## 2.4.4 (2020-03-15)
**Note:** Version bump only for package utils
## 2.4.3 (2020-03-12)
**Note:** Version bump only for package utils
## 2.4.2 (2020-03-08)
**Note:** Version bump only for package utils
## 2.4.1 (2020-03-04)
### Fixed
- [#542](https://github.com/freesewing/freesewing.org/issues/542): Prevent neckstimate from throwing when getting an unexpected measurement
- [#542](https://github.com/freesewing/freesewing.org/issues/542): Prevent neckstimate from throwing when getting an unexpected measurement
## 2.4.0 (2020-02-29)
**Note:** Version bump only for package utils
## 2.3.0 (2020-02-23)
**Note:** Version bump only for package utils
## 2.2.0 (2020-02-22)
### Changed
- Neckstimate now uses proportions only
- Neckstimate now uses proportions only
## 2.1.9 (2020-01-18)
**Note:** Version bump only for package utils
## 2.1.8 (2019-12-16)
**Note:** Version bump only for package utils
## 2.1.7 (2019-12-15)
**Note:** Version bump only for package utils
## 2.1.6 (2019-11-24)
### Fixed
- [#317](https://github.com/freesewing/freesewing.org/issues/317): Fixed bug where format was not passed to formatImperial
- [#317](https://github.com/freesewing/freesewing.org/issues/317): Fixed bug where format was not passed to formatImperial
## 2.1.5 (2019-11-19)
**Note:** Version bump only for package utils
## 2.1.4 (2019-11-01)
**Note:** Version bump only for package utils
## 2.1.3 (2019-10-18)
### Changed
- Adjusted slope of the shoulderToShoulder measurement in neckstimate data
- Adjusted slope of the shoulderToShoulder measurement in neckstimate data
### Fixed
- [#250](https://github.com/freesewing/freesewing.org/issues/250): Model page stays empty with pre 2.0 model data: Error: 'neckstimate() requires a valid measurement name as second parameter. (received underBust)'
- [#250](https://github.com/freesewing/freesewing.org/issues/250): Model page stays empty with pre 2.0 model data: Error: 'neckstimate() requires a valid measurement name as second parameter. (received underBust)'
## 2.1.2 (2019-10-14)
**Note:** Version bump only for package utils
## 2.1.1 (2019-10-13)
### Fixed
- Fixed an issue with the formatMm method not adding units
- Fixed an issue with the formatMm method not adding units
## 2.1.0 (2019-10-06)
### Added
- Added backend methods for administration
- Added the resendActivationEmail method to backend
- Added backend methods for administration
- Added the resendActivationEmail method to backend
### Fixed
- Fixed an issue where optionDefault was not handling list options correctly
- Fixed an issue where optionDefault was not handling list options correctly
## 2.0.4 (2019-09-27)
**Note:** Version bump only for package utils
## 2.0.3 (2019-09-15)
### Fixed
- Fix measurementDiffers to pass breasts parameter to neckstimate
- Fix measurementDiffers to pass breasts parameter to neckstimate
## 2.0.2 (2019-09-06)
### Fixed
- Removed lingering debug statement in formatImperial
- Removed lingering debug statement in formatImperial
## 2.0.1 (2019-09-01)
### Added
- The `measurementDiffers` method is new.
- The `measurementDiffers` method is new.
## 2.0.0 (2019-08-25)

View file

@ -1,5 +1,5 @@
/**
* @freesewing/utils/convertSize | v2.5.1-1
* @freesewing/utils/convertSize | v2.6.0-rc.0
* A collection of utilities shared across freesewing frontend projects
* (c) 2020 Joost De Cock <joost@decock.org> (https://github.com/joostdecock)
* @license MIT

View file

@ -1 +1 @@
{"version":3,"file":"index.js","sources":["../src/convertSize/index.js"],"sourcesContent":["const convertSize = (size=42, breasts=false) => {\n\n let sizeConversion = {\n withoutBreasts: {\n 32: '3XS',\n 34: 'XXS',\n 36: 'XS',\n 38: 'S',\n 40: 'M',\n 42: 'L',\n 44: 'XL',\n 46: '2XL',\n 48: '3XL',\n 50: '4XL'\n },\n withBreasts: {\n 28: '3XS',\n 30: 'XXS',\n 32: 'XS',\n 34: 'S',\n 36: 'M',\n 38: 'L',\n 40: 'XL',\n 42: '2XL',\n 44: '3XL',\n 46: '4XL'\n }\n }\n\n return breasts ? sizeConversion.withBreasts[size] : sizeConversion.withoutBreasts[size]\n}\n\nexport default convertSize;\n"],"names":["convertSize","size","breasts","sizeConversion","withoutBreasts","withBreasts"],"mappings":";;;;;gBAAA,KAAMA,CAAAA,WAAW,CAAG,CAACC,CAAI,CAAC,EAAN,CAAUC,CAAO,GAAjB,GAA4B,IAE1CC,CAAAA,CAAc,CAAG,CACnBC,cAAc,CAAE,IACV,KADU,IAEV,KAFU,IAGV,IAHU,IAIV,GAJU,IAKV,GALU,IAMV,GANU,IAOV,IAPU,IAQV,KARU,IASV,KATU,IAUV,KAVU,CADG,CAanBC,WAAW,CAAE,IACP,KADO,IAEP,KAFO,IAGP,IAHO,IAIP,GAJO,IAKP,GALO,IAMP,GANO,IAOP,IAPO,IAQP,KARO,IASP,KATO,IAUP,KAVO,CAbM,QA2BdH,CAAAA,CAAO,CAAGC,CAAc,CAACE,WAAfF,CAA2BF,CAA3BE,CAAH,CAAsCA,CAAc,CAACC,cAAfD,CAA8BF,CAA9BE,CA7BtD,CAAA"}
{"version":3,"file":"index.js","sources":["../src/convertSize/index.js"],"sourcesContent":["const convertSize = (size = 42, breasts = false) => {\n let sizeConversion = {\n withoutBreasts: {\n 32: '3XS',\n 34: 'XXS',\n 36: 'XS',\n 38: 'S',\n 40: 'M',\n 42: 'L',\n 44: 'XL',\n 46: '2XL',\n 48: '3XL',\n 50: '4XL'\n },\n withBreasts: {\n 28: '3XS',\n 30: 'XXS',\n 32: 'XS',\n 34: 'S',\n 36: 'M',\n 38: 'L',\n 40: 'XL',\n 42: '2XL',\n 44: '3XL',\n 46: '4XL'\n }\n }\n\n return breasts ? sizeConversion.withBreasts[size] : sizeConversion.withoutBreasts[size]\n}\n\nexport default convertSize\n"],"names":["convertSize","size","breasts","sizeConversion","withoutBreasts","withBreasts"],"mappings":";;;;;gBAAA,KAAMA,CAAAA,WAAW,CAAG,CAACC,CAAI,CAAG,EAAR,CAAYC,CAAO,GAAnB,GAAgC,IAC9CC,CAAAA,CAAc,CAAG,CACnBC,cAAc,CAAE,IACV,KADU,IAEV,KAFU,IAGV,IAHU,IAIV,GAJU,IAKV,GALU,IAMV,GANU,IAOV,IAPU,IAQV,KARU,IASV,KATU,IAUV,KAVU,CADG,CAanBC,WAAW,CAAE,IACP,KADO,IAEP,KAFO,IAGP,IAHO,IAIP,GAJO,IAKP,GALO,IAMP,GANO,IAOP,IAPO,IAQP,KARO,IASP,KATO,IAUP,KAVO,CAbM,QA2BdH,CAAAA,CAAO,CAAGC,CAAc,CAACE,WAAfF,CAA2BF,CAA3BE,CAAH,CAAsCA,CAAc,CAACC,cAAfD,CAA8BF,CAA9BE,CA5BtD,CAAA"}

View file

@ -1,6 +1,6 @@
{
"name": "@freesewing/utils",
"version": "2.5.1-1",
"version": "2.6.0-rc.0",
"description": "A collection of utilities shared across freesewing frontend projects",
"author": "Joost De Cock <joost@decock.org> (https://github.com/joostdecock)",
"homepage": "https://freesewing.org/",
@ -61,7 +61,7 @@
],
"publishConfig": {
"access": "public",
"tag": "next"
"tag": "latest"
},
"engines": {
"node": ">=8.0.0",