@brainly-gene/tools
Advanced tools
Comparing version 0.2.0-alpha.18 to 0.2.0-alpha.19
{ | ||
"name": "@brainly-gene/tools", | ||
"version": "0.2.0-alpha.18", | ||
"version": "0.2.0-alpha.19", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "generators": "./generators.json", |
@@ -37,2 +37,3 @@ "use strict"; | ||
e2eTestRunner: e2e !== false ? 'cypress' : 'none', | ||
appDir: false, | ||
}); | ||
@@ -107,3 +108,2 @@ const normalizedDirectory = directory.replace(/\//g, '-'); | ||
(0, cleanupFiles_1.cleanupFiles)(tree, [ | ||
'src/app', | ||
'pages/_app.tsx', | ||
@@ -110,0 +110,0 @@ 'pages/index.tsx', |
@@ -36,2 +36,3 @@ "use strict"; | ||
e2eTestRunner: e2e !== false ? 'cypress' : 'none', | ||
appDir: false, | ||
}); | ||
@@ -43,3 +44,9 @@ const normalizedDirectory = directory.replace(/\//g, '-'); | ||
const projectPath = `${directory}/${name}`; | ||
yield (0, updateWorkspaceTarget_1.updateWorkspaceTarget)({ tree, projectPath, projectName, e2e, directory: normalizedDirectory }); | ||
yield (0, updateWorkspaceTarget_1.updateWorkspaceTarget)({ | ||
tree, | ||
projectPath, | ||
projectName, | ||
e2e, | ||
directory: normalizedDirectory, | ||
}); | ||
const { appsDir } = (0, devkit_1.getWorkspaceLayout)(tree); | ||
@@ -54,4 +61,2 @@ const appDir = `${appsDir}/${projectPath}`; | ||
(0, maybeExcludeRewrites_1.maybeExcludeRewrites)(tree, schema); | ||
//Remove src/app directory | ||
tree.delete(`${appDir}/src/app`); | ||
if (e2e !== false) { | ||
@@ -58,0 +63,0 @@ (0, excludeTestsBoilerplate_1.excludeTestsBoilerplate)(tree); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
11008
840044