From b5192f127b4ad7af161e8ee8f3160ca53ddb289c Mon Sep 17 00:00:00 2001 From: joostdecock Date: Wed, 23 Apr 2025 18:34:58 +0200 Subject: [PATCH] [bonny] chore: Hide design from website --- .gitignore | 1 + designs/bonny/about.json | 5 +++-- package-lock.json | 17 ++++++++++++++--- packages/collection/src/index.mjs | 2 -- packages/react/hooks/useDesign/index.mjs | 2 -- sites/org/src/lib/designinfo.mjs | 5 ----- 6 files changed, 18 insertions(+), 14 deletions(-) delete mode 100644 sites/org/src/lib/designinfo.mjs diff --git a/.gitignore b/.gitignore index c5603f985e9..b043e185492 100644 --- a/.gitignore +++ b/.gitignore @@ -57,6 +57,7 @@ packages/new-design/lib/banner.mjs sites/*/public/img/og/* sites/org/src/lib/i18n.mjs sites/org/authors.json +sites/org/src/lib/designinfo.mjs # Org prebuild artifacts sites/org/src/lib/designs.mjs diff --git a/designs/bonny/about.json b/designs/bonny/about.json index 832ad54fa64..fe5f636461b 100644 --- a/designs/bonny/about.json +++ b/designs/bonny/about.json @@ -8,5 +8,6 @@ "tags": [], "techniques": [], "version": "4.0.0", - "pkg": "@freesewing/bonny" -} \ No newline at end of file + "pkg": "@freesewing/bonny", + "hide": true +} diff --git a/package-lock.json b/package-lock.json index 0163d95a5e6..b097ceece3c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27009,6 +27009,10 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, + "node_modules/@freesewing/4.0.0": { + "resolved": "plugins/plugin-gore", + "link": true + }, "node_modules/@freesewing/aaron": { "resolved": "designs/aaron", "link": true @@ -27353,6 +27357,10 @@ "resolved": "designs/umbra", "link": true }, + "node_modules/@freesewing/undefined": { + "resolved": "plugins/plugin-theme", + "link": true + }, "node_modules/@freesewing/utils": { "resolved": "packages/utils", "link": true @@ -65761,7 +65769,7 @@ } }, "plugins/plugin-gore": { - "name": "@freesewing/plugin-gore", + "name": "@freesewing/4.0.0", "version": "4.0.0", "license": "MIT", "devDependencies": { @@ -68774,9 +68782,10 @@ } }, "plugins/plugin-theme": { - "name": "@freesewing/plugin-theme", + "name": "@freesewing/undefined", "version": "4.0.0", "license": "MIT", + "peer": true, "devDependencies": { "chai": "5.1.1", "mocha": "10.4.0" @@ -70514,7 +70523,7 @@ "yaml-loader": "^0.8.1" }, "engines": { - "node": ">=18.0" + "node": ">=20.0" } }, "sites/org/node_modules/glob": { @@ -70607,6 +70616,7 @@ "@freesewing/snapseries": "latest", "@freesewing/utils": "latest", "@mdx-js/react": "^3.0.0", + "clsx": "^2.0.0", "lodash": "^4.17.21", "postcss": "^8.4.47", "prism-react-renderer": "^2.3.0", @@ -70616,6 +70626,7 @@ "remark-smartypants": "^3.0.2" }, "devDependencies": { + "@babel/plugin-syntax-import-attributes": "^7.25.6", "@docusaurus/module-type-aliases": "^3.7.0", "@docusaurus/types": "^3.7.0", "@tailwindcss/postcss": "^4.1.3", diff --git a/packages/collection/src/index.mjs b/packages/collection/src/index.mjs index 65b43ef8792..d05551eda6f 100644 --- a/packages/collection/src/index.mjs +++ b/packages/collection/src/index.mjs @@ -7,7 +7,6 @@ import { Benjamin as benjamin } from '@freesewing/benjamin' import { Bent as bent } from '@freesewing/bent' import { Bibi as bibi } from '@freesewing/bibi' import { Bob as bob } from '@freesewing/bob' -import { Bonny as bonny } from '@freesewing/bonny' import { Breanna as breanna } from '@freesewing/breanna' import { Brian as brian } from '@freesewing/brian' import { Bruce as bruce } from '@freesewing/bruce' @@ -75,7 +74,6 @@ export const designs = { bent, bibi, bob, - bonny, breanna, brian, bruce, diff --git a/packages/react/hooks/useDesign/index.mjs b/packages/react/hooks/useDesign/index.mjs index 2631a8f5090..fe269ce3b48 100644 --- a/packages/react/hooks/useDesign/index.mjs +++ b/packages/react/hooks/useDesign/index.mjs @@ -6,7 +6,6 @@ import { Benjamin as benjamin } from '@freesewing/benjamin' import { Bent as bent } from '@freesewing/bent' import { Bibi as bibi } from '@freesewing/bibi' import { Bob as bob } from '@freesewing/bob' -import { Bonny as bonny } from '@freesewing/bonny' import { Breanna as breanna } from '@freesewing/breanna' import { Brian as brian } from '@freesewing/brian' import { Bruce as bruce } from '@freesewing/bruce' @@ -67,7 +66,6 @@ export const designs = { bent, bibi, bob, - bonny, breanna, brian, bruce, diff --git a/sites/org/src/lib/designinfo.mjs b/sites/org/src/lib/designinfo.mjs deleted file mode 100644 index 82a4dbf3eb5..00000000000 --- a/sites/org/src/lib/designinfo.mjs +++ /dev/null @@ -1,5 +0,0 @@ -/* - * This file is auto-generated. - * Any changes you make will be overwritten by the prebuild step. - */ -export const designInfo = {"aaron":{"code":"Joost De Cock","description":"A FreeSewing pattern for a A-shirt or tank top","design":"Joost De Cock","difficulty":2,"tags":["tops","underwear"],"techniques":["hem","stretch","knit-binding","curved-seam"]},"albert":{"code":"Wouter Van Wageningen","description":"A FreeSewing pattern for an apron","design":"Wouter Van Wageningen","difficulty":2,"tags":["accessories"],"techniques":["hem","knit-binding","curved-seam","pocket"]},"bee":{"code":"bobgeorgethe3rd","description":"A FreeSewing pattern for a bikini top","design":"PrudenceRabbit","difficulty":3,"tags":["tops","swimwear"],"techniques":["hem","stretch","curved-seam","precision"]},"bella":{"code":"Joost De Cock","description":"A FreeSewing pattern for a womenswear bodice block","design":["Bella Incognito","Joost De Cock"],"difficulty":3,"tags":["blocks","tops"],"techniques":["dart","block"]},"benjamin":{"code":"Wouter Van Wageningen","description":"A FreeSewing pattern for a bow tie","design":"Wouter Van Wageningen","difficulty":3,"tags":["accessories"],"techniques":["precision","interfacing"]},"bent":{"code":"Joost De Cock","description":"A FreeSewing pattern for a menswear body block with a two-part sleeve","design":"Joost De Cock","difficulty":3,"tags":["blocks","tops"],"techniques":["hem","curved-seam","set-sleeve"]},"bibi":{"code":"Jonathan Haas","description":"A FreeSewing pattern for a knit top body block","design":"Jonathan Haas","difficulty":2,"tags":["blocks","tops"],"techniques":["curved-seam","hem","flat-sleeve"]},"bob":{"code":"Joost De Cock","description":"A FreeSewing pattern for a bib","design":"Joost De Cock","difficulty":3,"tags":["accessories","infants"],"techniques":["bias-tape","curved-seam","snap"]},"bonny":{"code":"Jonathan Haas","description":"A FreeSewing pattern that turns measurements into a body outline","design":"Jonathan Haas","difficulty":1,"tags":[],"techniques":[]},"breanna":{"code":"Joost De Cock","description":"A FreeSewing pattern for a basic body block for womenswear","design":"Joost De Cock","difficulty":3,"tags":["blocks","tops"],"techniques":["block","dart"]},"brian":{"code":"Joost De Cock","description":"A FreeSewing pattern for a basic body block for menswear","design":"Joost De Cock","difficulty":3,"tags":["blocks","tops"],"techniques":["block","flat-sleeve"]},"bruce":{"code":"Joost De Cock","description":"A FreeSewing pattern for boxer briefs","design":"Joost De Cock","difficulty":3,"tags":["bottoms","underwear"],"techniques":["stretch","hem","curved-seam","elastic"]},"carlita":{"code":"Joost De Cock","description":"A FreeSewing pattern for Sherlock Holmes cosplay; Or just a nice long coat","design":["Anneke Caramin","Joost De Cock"],"difficulty":5,"tags":["tops","coats"],"techniques":["hem","pocket","curved-seam","precision","set-sleeve","welt-pocket","lining","princess-seam","interfacing","button"]},"carlton":{"code":"Joost De Cock","description":"A FreeSewing pattern for Sherlock Holmes cosplay; Or just a nice long coat","design":["Anneke Caramin","Joost De Cock"],"difficulty":5,"tags":["tops","coats"],"techniques":["hem","pocket","curved-seam","precision","set-sleeve","welt-pocket","lining","interfacing","button"]},"cathrin":{"code":"Joost De Cock","description":"A FreeSewing pattern for a underbust corset / waist trainer","design":["Cathrin Åhlén","Joost De Cock"],"difficulty":4,"tags":["tops","underwear"],"techniques":["boning","precision","curved-seam","interfacing"]},"charlie":{"code":"Joost De Cock","description":"A FreeSewing pattern for chino trousers","design":"Joost De Cock","difficulty":3,"tags":["bottoms","trousers"],"techniques":["welt-pocket","curved-seam","interfacing","fly","zipper","button","dart","hem","seam-pocket"]},"cornelius":{"code":"Wouter Van Wageningen","description":"A FreeSewing pattern for cycling breeches, based on the Keystone drafting system","design":"Wouter Van Wageningen","difficulty":3,"tags":["bottoms","trousers"],"techniques":["curved-seam","fly","zipper","button","pocket"]},"diana":{"code":"Erica Alcusa Sáez","description":"A FreeSewing pattern for a top with a draped neck","design":"Erica Alcusa Sáez","difficulty":2,"tags":["tops"],"techniques":["curved-seam","flat-sleeve","hem"]},"examples":{"code":"Joost De Cock","description":"A FreeSewing pattern holding examples for our documentation"},"florence":{"code":"Joost De Cock","description":"A FreeSewing pattern for a face mask","design":"Joost De Cock","difficulty":1,"tags":["accessories"],"techniques":["curved-seam"]},"florent":{"code":["Quentin Felix","Joost De Cock"],"description":"A FreeSewing pattern for a flat cap","design":"Quentin Felix","difficulty":3,"tags":["accessories","hats"],"techniques":["curved-seam"]},"gozer":{"code":"Wouter Van Wageningen","description":"A FreeSewing pattern for a ghost costume","design":"Wouter Van Wageningen","difficulty":1,"tags":["costumes"],"techniques":["hem"]},"hi":{"code":"Wouter Van Wageningen","description":"A FreeSewing pattern for a shark plush toy","design":"Wouter Van Wageningen","difficulty":4,"tags":["accessories","toys"],"techniques":["curved-seam","dart"]},"holmes":{"code":["Erica Alcusa Sáez","bobgeorgethe3rd"],"description":"A FreeSewing pattern for a Sherlock Holmes hat","design":"Erica Alcusa Sáez","difficulty":3,"tags":["accessories","hats"],"techniques":["curved-seam","lining"]},"hortensia":{"code":"Wouter Van Wageningen","description":"A FreeSewing pattern for a handbag","design":["Stoffsuchti","Wouter Van Wageningen"],"difficulty":3,"tags":["accessories","bags"],"techniques":["curved-seam","precision","lining","zipper"]},"huey":{"code":"Joost De Cock","description":"A FreeSewing pattern for a zip-up hoodie","design":"Joost De Cock","difficulty":3,"tags":["tops"],"techniques":["curved-seam","pocket","zipper","ribbing","flat-sleeve"]},"hugo":{"code":"Joost De Cock","description":"A FreeSewing pattern for a hooded jumper with raglan sleeves","design":"Joost De Cock","difficulty":3,"tags":["tops"],"techniques":["curved-seam","pocket","ribbing","raglan-sleeve"]},"jaeger":{"code":"Joost De Cock","description":"A FreeSewing pattern for a sport coat style jacket","design":"Joost De Cock","difficulty":5,"tags":["tops","coats"],"techniques":["hem","pocket","curved-seam","precision","set-sleeve","welt-pocket","lining","interfacing","button"]},"jane":{"code":"SeaZeeZee","description":"A FreeSewing pattern for a 1790s shift","design":"SeaZeeZee","difficulty":2,"tags":["tops","historical","underwear"],"techniques":["hem"]},"legend":{"code":"Joost De Cock","description":"A FreeSewing pattern to document pattern notation"},"lucy":{"code":"SeaZeeZee","description":"A FreeSewing pattern for a historical tie-on pocket","design":"SeaZeeZee","difficulty":2,"tags":["accessories","historical","bags"],"techniques":["curved-seam"]},"lumina":{"code":"Wouter Van Wageningen","description":"A FreeSewing pattern for leggings","design":"Wouter Van Wageningen","difficulty":3,"tags":["bottoms","trousers"],"techniques":["stretch","curved-seam","elastic"]},"lumira":{"code":"Wouter Van Wageningen","description":"A FreeSewing pattern for leggings","design":"Wouter Van Wageningen","difficulty":3,"tags":["bottoms","trousers"],"techniques":["stretch","curved-seam","elastic"]},"lunetius":{"code":"Rika Tamaike","description":"A FreeSewing pattern for a lacerna, a historical Roman cloak","design":"Rika Tamaike","difficulty":1,"tags":["tops","coats","historical"],"techniques":["hem"]},"magde":{"code":"clegganator259","description":"A FreeSewing pattern for a bike messenger bag","design":"clegganator259","difficulty":3,"tags":["accessories","bags"],"techniques":[]},"noble":{"code":"Wouter Van Wageningen","description":"A FreeSewing pattern for a princess seam bodice block","design":"Wouter Van Wageningen","difficulty":3,"tags":["blocks","tops"],"techniques":["block","curved-seam","precision","princess-seam"]},"octoplushy":{"code":"Wouter Van Wageningen","description":"A FreeSewing pattern for an octopus plushy toy","design":"Wouter Van Wageningen","difficulty":4,"tags":["accessories","toys"],"techniques":["curved-seam","precision"]},"onyx":{"code":"Thrunic","description":"A FreeSewing pattern for one-piece garments","design":"Thrunic","difficulty":4,"tags":["swimwear","pajamas","onePiece"],"techniques":["hem","curved-seam","stretch","lining","zipper","ribbing"]},"opal":{"code":"Thrunic","description":"A FreeSewing pattern for overalls","design":"Thrunic","difficulty":3,"tags":["overalls","onePiece"],"techniques":["flat-felled-seam","hem","curved-seam","button","pocket"]},"otis":{"code":"Wouter Van Wageningen","description":"A FreeSewing pattern for a baby romper","design":"Wouter Van Wageningen","difficulty":2,"tags":[],"techniques":[]},"paco":{"code":"Joost De Cock","description":"A FreeSewing pattern for summer pants","design":"Joost De Cock","difficulty":3,"tags":["bottoms","trousers"],"techniques":["elastic","curved-seam","pocket","welt-pocket","hem"]},"penelope":{"code":"Wouter Van Wageningen","description":"A FreeSewing pattern for a pencil skirt","design":"Wouter Van Wageningen","difficulty":3,"tags":["bottoms","skirts"],"techniques":["hem","curved-seam","precision","zipper"]},"plugintest":{"code":"Joost De Cock","description":"A FreeSewing pattern to test (y)our plugins"},"rendertest":{"code":"Joost De Cock","description":"A FreeSewing pattern to test (y)our render engine our CSS"},"sandy":{"code":["Erica Alcusa Sáez","Joost De Cock"],"description":"A FreeSewing pattern for a circle skirt","design":"Erica Alcusa Sáez","difficulty":3,"tags":["bottoms","skirts"],"techniques":["curved-seam","button","hem"]},"shelly":{"code":"Thrunic","description":"A FreeSewing pattern for a raglan shirt, perfect for swimshirts","design":"Thrunic","difficulty":2,"tags":["tops","swimwear"],"techniques":["hem","stretch","curved-seam","raglan-sleeve"]},"shin":{"code":"Joost De Cock","description":"A FreeSewing pattern for swim trunks","design":"Joost De Cock","difficulty":2,"tags":["bottoms","swimwear"],"techniques":["hem","stretch","curved-seam","elastic"]},"simon":{"code":"Joost De Cock","description":"A FreeSewing pattern for a button down shirt","design":"Joost De Cock","difficulty":4,"tags":["tops"],"techniques":["hem","button","interfacing","curved-seam","flat-felled-seam","flat-sleeve"]},"simone":{"code":"Joost De Cock","description":"A FreeSewing pattern for a button down shirt (Simone = Simon for people with breasts)","design":"Joost De Cock","difficulty":4,"tags":["tops"],"techniques":["hem","button","interfacing","curved-seam","flat-felled-seam","flat-sleeve"]},"skully":{"code":"Wouter Van Wageningen","description":"A FreeSewing pattern for skully, our logo, a plushy toy","design":"Wouter Van Wageningen","difficulty":4,"tags":["accessories","toys"],"techniques":["curved-seam","precision"]},"sven":{"code":"Joost De Cock","description":"A FreeSewing pattern for a straightforward sweater","design":"Joost De Cock","difficulty":3,"tags":["tops"],"techniques":["curved-seam","flat-sleeve","ribbing"]},"tamiko":{"code":"Joost De Cock","description":"A FreeSewing pattern for a zero-waste top","design":"Joost De Cock","difficulty":1,"tags":["tops"],"techniques":["curved-seam"]},"teagan":{"code":"Joost De Cock","description":"A FreeSewing pattern for a T-shirt","design":"Joost De Cock","difficulty":2,"tags":["tops"],"techniques":["curved-seam","hem","flat-sleeve","knit-band"]},"tiberius":{"code":"Rika Tamaike","description":"A FreeSewing pattern for a tunica, a historical Roman tunic","design":"Rika Tamaike","difficulty":1,"tags":["tops","historical"],"techniques":[]},"titan":{"code":"Joost De Cock","description":"A FreeSewing pattern for a unisex trouser block","design":["Debra Bean","Joost De Cock"],"difficulty":3,"tags":["blocks","bottoms"],"techniques":[]},"trayvon":{"code":"Joost De Cock","description":"A FreeSewing pattern for a tie","design":"Joost De Cock","difficulty":2,"tags":["accessories"],"techniques":["precision","lining"]},"tristan":{"code":"Wouter van Wageningen","description":"A FreeSewing pattern for a fitted top with prince(ss) seams","design":"Natalia Sayang","difficulty":3,"tags":["tops"],"techniques":["curved-seam","precision"]},"uma":{"code":"Joost De Cock","description":"A FreeSewing pattern for a basic, highly-customizable underwear pattern","design":"Joost De Cock","difficulty":2,"tags":["bottoms","underwear"],"techniques":["elastic","curved-seam"]},"umbra":{"code":["Joost De Cock","Jonathan Haas"],"description":"A FreeSewing pattern for a basic, highly-customizable underwear pattern","design":["Joost De Cock","Jonathan Haas"],"difficulty":2,"tags":["bottoms","underwear"],"techniques":["elastic","curved-seam"]},"wahid":{"code":"Joost De Cock","description":"A FreeSewing pattern for a classic fitted waistcoat","design":"Joost De Cock","difficulty":4,"tags":["tops"],"techniques":["curved-seam","hem","interfacing","lining","welt-pocket","button"]},"walburga":{"code":"Rika Tamaike","description":"A FreeSewing pattern for a wappenrock (tabard/surcoat), a historical European/medieval (ish) garment","design":"Rika Tamaike","difficulty":1,"tags":["bottoms","historical"],"techniques":["hem"]},"waralee":{"code":"Wouter Van Wageningen","description":"A FreeSewing pattern for wrap pants","design":"Wouter Van Wageningen","difficulty":2,"tags":["bottoms","trousers"],"techniques":["curved-seam","hem","welt-pocket"]},"yuri":{"code":"Hellgy","description":"A FreeSewing pattern for a fancy zipless sweater based on the Huey hoodie","design":"Biou","difficulty":3,"tags":["tops"],"techniques":["curved-seam","flat-sleeve","hem","button"]},"lily":{"code":["Anna Puk","Joost De Cock"],"description":"A FreeSewing pattern for basic leggings","design":"Anna Puk","difficulty":2,"tags":["bottoms"],"techniques":["elastic","curved-seam","hem"]}}