From 800baf30f7c320f71382256702bcfd3d4bed3179 Mon Sep 17 00:00:00 2001 From: Jonathan Haas Date: Thu, 3 Oct 2024 19:24:04 +0200 Subject: [PATCH 1/3] Remove lab from reconfigure script The lab has been removed. --- scripts/reconfigure.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/reconfigure.mjs b/scripts/reconfigure.mjs index 4aaeee90d32..e4083d4df74 100644 --- a/scripts/reconfigure.mjs +++ b/scripts/reconfigure.mjs @@ -150,8 +150,8 @@ export const designs = { ` ) -// Step 7: Create use-design hooks for lab & org -for (const site of ['lab', 'org']) { +// Step 7: Create use-design hooks +for (const site of ['org']) { fs.writeFileSync( path.join(repo.path, 'sites', site, 'hooks', 'use-design.mjs'), mustache.render( From 004f5f5ff6898bd465f91b32758f186ded48a6e0 Mon Sep 17 00:00:00 2001 From: Jonathan Haas Date: Thu, 3 Oct 2024 19:36:31 +0200 Subject: [PATCH 2/3] New design should be added to "org" site (else it's invisible with the lab gone) --- scripts/add-software.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/add-software.mjs b/scripts/add-software.mjs index 18ca1e8b035..9f1e5c0687a 100644 --- a/scripts/add-software.mjs +++ b/scripts/add-software.mjs @@ -217,7 +217,7 @@ function createDesign(name) { design: 'Designer name', difficulty: 1, lab: true, - org: false, + org: true, tags: ['tagname'], techniques: ['techname'], } From ed27ce5eae40092890e0d9d9caba63d3bb4f8abf Mon Sep 17 00:00:00 2001 From: Jonathan Haas Date: Wed, 16 Oct 2024 09:54:39 +0200 Subject: [PATCH 3/3] Remove lab from sites.json --- config/software/sites.json | 1 - 1 file changed, 1 deletion(-) diff --git a/config/software/sites.json b/config/software/sites.json index 4e7ed22e40a..c11685745f3 100644 --- a/config/software/sites.json +++ b/config/software/sites.json @@ -1,7 +1,6 @@ { "backend": "FreeSewing backend", "dev": "FreeSewing website with documentation for contributors & developers", - "lab": "FreeSewing website to test various patterns", "org": "FreeSewing website", "sde": "Stand-alone develpment environment. Basis for the @freesewing/new-design package", "shared": "Shared code and React components for different websites"