Skip to content

Commit

Permalink
fix(init): Fix workspace layout
Browse files Browse the repository at this point in the history
  • Loading branch information
krzotki committed Nov 18, 2024
1 parent d7b995e commit 9872442
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ import assetsLibraryGenerator from '../assets-library-generator';
import translationsLibraryGenerator from '../translations-library-generator';

export default async function (tree: Tree) {
// Create empty apps and libs directories
tree.write('apps/.gitkeep', '');
tree.write('libs/.gitkeep', '');

await assetsLibraryGenerator(tree, {
withStyleGuide: true,
});
Expand Down Expand Up @@ -74,10 +78,6 @@ export default async function (tree: Tree) {
// Create empty jest.setup.js file in the root
tree.write('jest.setup.js', 'module.exports = {};');

// Create empty apps and libs directories
tree.write('apps/.gitkeep', '');
tree.write('libs/.gitkeep', '');

return () => {
installPackagesTask(tree);
};
Expand Down

0 comments on commit 9872442

Please sign in to comment.