File tree 1 file changed +5
-4
lines changed
packages/gene-tools/src/generators/nextjs-app-generator
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
- import type { Tree } from '@nx/devkit' ;
1
+ import type {
2
+ Tree } from '@nx/devkit' ;
2
3
import {
3
4
formatFiles ,
4
5
installPackagesTask ,
@@ -27,7 +28,7 @@ import { updateCypressTsConfig } from '../utilities';
27
28
export default async function ( tree : Tree , schema : BrainlyNextJSAppGenerator ) {
28
29
const { name, directory = '' , e2e } = schema ;
29
30
const currentPackageJson = readJson ( tree , 'package.json' ) ;
30
- console . log ( { schema } )
31
+
31
32
await applicationGenerator ( tree , {
32
33
name : name ,
33
34
directory : directory ,
@@ -40,7 +41,7 @@ export default async function (tree: Tree, schema: BrainlyNextJSAppGenerator) {
40
41
appDir : false ,
41
42
src : false ,
42
43
} ) ;
43
- console . log ( 'after applicationGenerator' )
44
+
44
45
const normalizedDirectory = directory . replace ( / \/ / g, '-' ) ;
45
46
const projectName = normalizedDirectory
46
47
? `${ normalizedDirectory } -${ name } `
@@ -116,7 +117,7 @@ export default async function (tree: Tree, schema: BrainlyNextJSAppGenerator) {
116
117
} ,
117
118
] ,
118
119
} ;
119
- } ,
120
+ }
120
121
) ;
121
122
}
122
123
await storybookConfigurationGenerator ( tree , {
You can’t perform that action at this time.
0 commit comments