@@ -12,8 +12,8 @@ const VERBOSE = false
1212const logVerbose = ( ...args ) => ( VERBOSE ? console . log ( ...args ) : undefined )
1313
1414const workshopRoot = here ( '..' )
15- const examples = ( await readDir ( here ( '../examples ' ) ) ) . map ( ( dir ) =>
16- here ( `../examples /${ dir } ` ) ,
15+ const extras = ( await readDir ( here ( '../extra ' ) ) ) . map ( ( dir ) =>
16+ here ( `../extra /${ dir } ` ) ,
1717)
1818const exercises = ( await readDir ( here ( '../exercises' ) ) )
1919 . map ( ( name ) => here ( `../exercises/${ name } ` ) )
@@ -29,12 +29,12 @@ const exerciseApps = (
2929 } ) ,
3030 )
3131) . flat ( )
32- const exampleApps = ( await readDir ( here ( '../examples ' ) ) ) . map ( ( dir ) =>
33- here ( `../examples /${ dir } ` ) ,
32+ const extraApps = ( await readDir ( here ( '../extra ' ) ) ) . map ( ( dir ) =>
33+ here ( `../extra /${ dir } ` ) ,
3434)
35- const apps = [ ...exampleApps , ...exerciseApps ]
35+ const apps = [ ...extraApps , ...exerciseApps ]
3636
37- const appsWithPkgJson = [ ...examples , ...apps ] . filter ( ( app ) => {
37+ const appsWithPkgJson = [ ...extras , ...apps ] . filter ( ( app ) => {
3838 const pkgjsonPath = path . join ( app , 'package.json' )
3939 return exists ( pkgjsonPath )
4040} )
0 commit comments