Skip to content

Commit

Permalink
fix(solid): export default for all generators
Browse files Browse the repository at this point in the history
Closes #1137
  • Loading branch information
pawel-twardziak committed Oct 14, 2024
1 parent 7df02a4 commit cdd34de
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/solid/src/generators/application/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,5 @@ export async function applicationGeneratorInternal(tree: Tree, schema: Schema) {

return runTasksInSerial(initTask, viteTask, lintTask, jestTask, cypressTask);
}

export default applicationGenerator;
2 changes: 2 additions & 0 deletions packages/solid/src/generators/component/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ export async function componentGenerator(
createComponentInProject(tree, options);
addExportsToBarrel(tree, options);
}

export default componentGenerator;
2 changes: 2 additions & 0 deletions packages/solid/src/generators/init/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ export async function initGenerator(host: Tree, schema: Schema) {
}
return runTasksInSerial(...tasks);
}

export default initGenerator;
2 changes: 2 additions & 0 deletions packages/solid/src/generators/library/library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,5 @@ export async function libraryGeneratorInternal(

return runTasksInSerial(initTask, viteTask, vitestTask, lintTask, jestTask);
}

export default libraryGenerator;

0 comments on commit cdd34de

Please sign in to comment.