Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Creating a Workshopper

Canonical Example:

Responsibilities:

  • Frontend → workshopper-adventure

    • Displaying the exercise selection list
    • Displaying a problem
    • Running and verifying an exercise
    • Internationalization
  • Test Suite → workshopper-exercise

    • Setting up an exercise
    • Testing the solution against the submission

Basic Setup:

  • package.json
    • Depend on workshopper modules
    • Add a main and bin named after your workshopper
      • Make the bin executable
      • This creates the command you run when installed globally e.g. learnyounode
  • Setup the workshopper inside your main file e.g. learnyounode.js
  • Add a language mapping in the i18n directory with a catchy title for your workshopper
  • Define each exercise in the exercises directory

Exercise Structure:

  • A basic exercise contains the following
    • A problem.md file that describes the exercise
      • Any instance of {appname} will be replaced with your workshopper bin name
    • An exercise.js file that sets up the exercise
    • A solution/solution.js file that is ran against the submission

Examples:

About

Bare bones workshopper with notes on creating your own workshopper

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages