1
0
Fork 0

breaking(snapseries): Renamed named exports

This commit is contained in:
joostdecock 2022-09-03 16:08:09 +02:00
parent b12e869961
commit 46364dd03f
6 changed files with 17 additions and 6 deletions

View file

@ -165,6 +165,13 @@
- This plugin no longer sets its version as an SVG attribute when rendering patterns
### snapseries
#### Breaking
- Named export `smallsteps` has been renamed to `smallSteps`
- Named export `bigsteps` has been renamed to `bigSteps`
## 2.22.0 (2022-08-23)

View file

@ -7,6 +7,9 @@ Unreleased:
NodeJS 16 or more recent is now required.
plugin-gore:
- The `goreNumber` props is removed. Please use `gores` instead
snapseries:
- Named export `smallsteps` has been renamed to `smallSteps`
- Named export `bigsteps` has been renamed to `bigSteps`
Removed:
global:

View file

@ -5,5 +5,6 @@
"models": "Body measurements data for a range of default sizes",
"new-design": "Initializer package for a new FreeSewing design: npx @freesewing/new-design",
"prettier-config": "FreeSewing's shared configuration for prettier",
"snapseries": "A series of common sizes for elastics and other series to be used with snapped percentage options",
"rehype-jargon": "A Rehype plugin for jargon terms"
}

View file

@ -48,7 +48,7 @@
# @freesewing/snapseries
A FreeSewing package to facilitate snapped percentage options in designs
A series of common sizes for elastics and other series to be used with snapped percentage options

View file

@ -1,7 +1,7 @@
{
"name": "@freesewing/snapseries",
"version": "3.0.0-alpha.0",
"description": "A FreeSewing package to facilitate snapped percentage options in designs",
"description": "A series of common sizes for elastics and other series to be used with snapped percentage options",
"author": "Joost De Cock <joost@joost.at> (https://github.com/joostdecock)",
"homepage": "https://freesewing.org/",
"repository": "github:freesewing/freesewing",

View file

@ -16,7 +16,7 @@ export const zippers = {
}
// Snap to small steps (~1mm)
export const smallsteps = {
export const smallSteps = {
metric: 1,
imperial: 0.79375, // 1/32 inch
}
@ -28,7 +28,7 @@ export const steps = {
}
// Snap to big steps (~10mm)
export const bigsteps = {
export const bigSteps = {
metric: 10,
imperial: 12.7, // 1/2 inch
}
@ -37,7 +37,7 @@ export const bigsteps = {
export default {
elastics,
zippers,
smallsteps,
smallSteps,
steps,
bigsteps,
bigSteps,
}