@@ -124,6 +124,8 @@ function setup (appPath, appName, verbose, originalDirectory, options) {
124124 'eject' : 'cycle-scripts eject'
125125 }
126126
127+ appPackage [ 'create-cycle-app' ] = options
128+
127129 fs . writeFileSync (
128130 appPackageJson ,
129131 JSON . stringify ( appPackage , null , 2 )
@@ -152,10 +154,7 @@ function setup (appPath, appName, verbose, originalDirectory, options) {
152154
153155 fs . copySync ( path . join ( ownPath , 'template/src' , language ) , path . join ( appPath , 'src' ) )
154156
155- // for each file in template/src load them, replace and write them
156-
157- // for each library
158-
157+ // TODO
159158 // patchGitignore(appPath)
160159
161160 const dependecyList = depsToInstall
@@ -189,5 +188,5 @@ module.exports = function init (appPath, appName, verbose, originalDirectory, op
189188 if ( options ) {
190189 return setup ( appPath , appName , verbose , originalDirectory , options )
191190 }
192- return initQuestions ( anwers => setup ( appPath , appName , verbose , originalDirectory , anwers ) )
191+ return initQuestions ( answers => setup ( appPath , appName , verbose , originalDirectory , answers ) )
193192}
0 commit comments