workshopper / learn-sass

:school: Learn SASS and SCSS through a workshopper adventure.
MIT License
91 stars 34 forks source link

Update workshopper-adventure to v4.2.x #28

Closed claudiopro closed 8 years ago

claudiopro commented 8 years ago

See issue #16 for more details on workshopper-adventure interface changes.

claudiopro commented 8 years ago

Essentially, this:

workshopper({
    name        : 'learn-sass'
  , title       : 'Learn SASS'
  , exerciseDir : path.join(__dirname, 'exercises')
  , appDir      : __dirname
  , languages   : ['en', 'it', 'pt-br']
})

turns to:

workshopper({
    name        : 'learn-sass'
  , title       : 'Learn SASS'
  , exerciseDir : path.join(__dirname, 'exercises')
  , appDir      : __dirname
  , languages   : ['en', 'it', 'pt-br']
}).execute()
claudiopro commented 8 years ago

Further changes:

martinheidegger commented 8 years ago

Also: you can remove the name from the specification object (it will be automatically loaded from the package.json)

claudiopro commented 8 years ago

Cool, will do.

claudiopro commented 8 years ago

Done with #29.