1
0
Fork 0

Merge pull request #7140 from HaasJona/fix/reconfigure

Remove lab from reconfigure script
This commit is contained in:
Joost De Cock 2024-10-26 11:07:07 +02:00 committed by GitHub
commit 5f748bfec2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View file

@ -1,7 +1,6 @@
{ {
"backend": "FreeSewing backend", "backend": "FreeSewing backend",
"dev": "FreeSewing website with documentation for contributors & developers", "dev": "FreeSewing website with documentation for contributors & developers",
"lab": "FreeSewing website to test various patterns",
"org": "FreeSewing website", "org": "FreeSewing website",
"sde": "Stand-alone develpment environment. Basis for the @freesewing/new-design package", "sde": "Stand-alone develpment environment. Basis for the @freesewing/new-design package",
"shared": "Shared code and React components for different websites" "shared": "Shared code and React components for different websites"

View file

@ -217,7 +217,7 @@ function createDesign(name) {
design: 'Designer name', design: 'Designer name',
difficulty: 1, difficulty: 1,
lab: true, lab: true,
org: false, org: true,
tags: ['tagname'], tags: ['tagname'],
techniques: ['techname'], techniques: ['techname'],
} }

View file

@ -150,8 +150,8 @@ export const designs = {
` `
) )
// Step 7: Create use-design hooks for lab & org // Step 7: Create use-design hooks
for (const site of ['lab', 'org']) { for (const site of ['org']) {
fs.writeFileSync( fs.writeFileSync(
path.join(repo.path, 'sites', site, 'hooks', 'use-design.mjs'), path.join(repo.path, 'sites', site, 'hooks', 'use-design.mjs'),
mustache.render( mustache.render(