From cdd34de8fb0cbb7ad44e602c3eec153fb805a9aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Twardziak?= Date: Mon, 14 Oct 2024 18:53:45 +0200 Subject: [PATCH] fix(solid): export default for all generators Closes #1137 --- packages/solid/src/generators/application/application.ts | 2 ++ packages/solid/src/generators/component/component.ts | 2 ++ packages/solid/src/generators/init/init.ts | 2 ++ packages/solid/src/generators/library/library.ts | 2 ++ 4 files changed, 8 insertions(+) diff --git a/packages/solid/src/generators/application/application.ts b/packages/solid/src/generators/application/application.ts index 76e2d459..d1dcae2d 100644 --- a/packages/solid/src/generators/application/application.ts +++ b/packages/solid/src/generators/application/application.ts @@ -119,3 +119,5 @@ export async function applicationGeneratorInternal(tree: Tree, schema: Schema) { return runTasksInSerial(initTask, viteTask, lintTask, jestTask, cypressTask); } + +export default applicationGenerator; diff --git a/packages/solid/src/generators/component/component.ts b/packages/solid/src/generators/component/component.ts index fff0e515..15fb7854 100644 --- a/packages/solid/src/generators/component/component.ts +++ b/packages/solid/src/generators/component/component.ts @@ -16,3 +16,5 @@ export async function componentGenerator( createComponentInProject(tree, options); addExportsToBarrel(tree, options); } + +export default componentGenerator; diff --git a/packages/solid/src/generators/init/init.ts b/packages/solid/src/generators/init/init.ts index 35a86ab4..699baf5f 100644 --- a/packages/solid/src/generators/init/init.ts +++ b/packages/solid/src/generators/init/init.ts @@ -29,3 +29,5 @@ export async function initGenerator(host: Tree, schema: Schema) { } return runTasksInSerial(...tasks); } + +export default initGenerator; diff --git a/packages/solid/src/generators/library/library.ts b/packages/solid/src/generators/library/library.ts index c9888172..efa71084 100644 --- a/packages/solid/src/generators/library/library.ts +++ b/packages/solid/src/generators/library/library.ts @@ -118,3 +118,5 @@ export async function libraryGeneratorInternal( return runTasksInSerial(initTask, viteTask, vitestTask, lintTask, jestTask); } + +export default libraryGenerator;