From 23a7f12e5489175541c04d92c244f1e6dd53875d Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Thu, 11 Jul 2024 15:52:31 +0200 Subject: [PATCH 1/2] Skip pre-commit hook when SKIP_STORYBOOK_GIT_HOOKS is set --- code/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/package.json b/code/package.json index 2a6bbac1a387..a4310abef8ba 100644 --- a/code/package.json +++ b/code/package.json @@ -54,7 +54,7 @@ }, "husky": { "hooks": { - "pre-commit": "yarn lint-staged" + "pre-commit": "if [ -z \"$SKIP_STORYBOOK_GIT_HOOKS\" ]; then yarn storybook:lint; fi" } }, "lint-staged": { From a1f56b3339153f3038a932c84e3374a90db6dd68 Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Thu, 11 Jul 2024 16:16:12 +0200 Subject: [PATCH 2/2] Fix Qwik sandbox --- code/lib/cli/src/sandbox-templates.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/lib/cli/src/sandbox-templates.ts b/code/lib/cli/src/sandbox-templates.ts index 30773df41ea6..e7a55f4ba360 100644 --- a/code/lib/cli/src/sandbox-templates.ts +++ b/code/lib/cli/src/sandbox-templates.ts @@ -514,7 +514,7 @@ const baseTemplates = { }, 'qwik-vite/default-ts': { name: 'Qwik CLI Latest (Vite | TypeScript)', - script: 'npm create qwik basic {{beforeDir}}', + script: 'npm create qwik playground {{beforeDir}}', // TODO: The community template does not provide standard stories, which is required for e2e tests. Reenable once it does. inDevelopment: true, expected: {