From 061d5b605ac30389a31af3b85f9639be49f278b0 Mon Sep 17 00:00:00 2001 From: Wouter van Wageningen Date: Fri, 29 Jul 2022 23:19:23 +0000 Subject: [PATCH] commit --- config/exceptions.yaml | 2 ++ .../octoplushy/{config.js => config/index.js} | 30 ++++++------------- designs/octoplushy/package.json | 4 +-- 3 files changed, 13 insertions(+), 23 deletions(-) rename designs/octoplushy/{config.js => config/index.js} (75%) diff --git a/config/exceptions.yaml b/config/exceptions.yaml index 30a74a7606a..c953f6334cc 100644 --- a/config/exceptions.yaml +++ b/config/exceptions.yaml @@ -95,6 +95,8 @@ packageJson: noble: author: woutervdub (https://github.com/woutervdub) + octoplushy: + author: woutervdub (https://github.com/woutervdub) plugin-gore: author: AlfaLyr (https://github.com/alfalyr) prettier-config: diff --git a/designs/octoplushy/config.js b/designs/octoplushy/config/index.js similarity index 75% rename from designs/octoplushy/config.js rename to designs/octoplushy/config/index.js index 512ebdc7c23..6bc1db2dfa7 100644 --- a/designs/octoplushy/config.js +++ b/designs/octoplushy/config/index.js @@ -1,28 +1,18 @@ -import { version } from './package.json' +import { version } from '../package.json' export default { name: 'octoplushy', - version, - design: '', - code: '', - department: '', - type: '', - difficulty: 2, - tags: [], + version: version, + design: 'Wouter Van Wageningen', + code: 'Wouter Van Wageningen', + department: 'accessories', + type: 'pattern', + difficulty: 5, optionGroups: { - options: [ - 'size', - 'type', - 'legWidth', - 'legLength', - 'neckWidth', - 'legTaper', - 'bottomTopLegRatio', - 'bottomLegReduction', - 'bottomLegReductionPlushy', - ], + style: ['size','type','legWidth','legLength','neckWidth','legTaper','bottomTopLegRatio','bottomLegReduction','bottomLegReductionPlushy'], }, measurements: [], + parts: ['headSection0', 'headSection1', 'legSection0', 'legSection1', 'eye0', 'eye1', 'eye2'], dependencies: { eye0: 'headSection0', eye1: 'headSection0', @@ -32,10 +22,8 @@ export default { }, inject: {}, hide: [], - parts: ['headSection0', 'headSection1', 'legSection0', 'legSection1', 'eye0', 'eye1', 'eye2'], options: { sizeConstant: 200, - size: { pct: 100, min: 5, max: 500 }, type: { dflt: 'octoplushy', list: ['octoplushy', 'octopus', 'squid'] }, legWidth: { pct: 15, min: 10, max: 30 }, diff --git a/designs/octoplushy/package.json b/designs/octoplushy/package.json index 584e705d8cb..88ff3836591 100644 --- a/designs/octoplushy/package.json +++ b/designs/octoplushy/package.json @@ -1,8 +1,8 @@ { "name": "@freesewing/octoplushy", "version": "2.21.3", - "description": "FIXME: A FreeSewing pattern that needs a description", - "author": "Joost De Cock (https://github.com/joostdecock)", + "description": "A FreeSewing pattern for an octopus plushy toy", + "author": "woutervdub (https://github.com/woutervdub", "homepage": "https://freesewing.org/", "repository": "github:freesewing/freesewing", "license": "MIT",