workshopper / workshopper-adventure Goto Github PK
View Code? Open in Web Editor NEWNot an adventure, not a workshopper - its both!
License: Other
Not an adventure, not a workshopper - its both!
License: Other
I have been planning to move to standard for linting of workshopper-adventure for a while. It would be good (as long as there are no outstanding pull requests open) to make the switch at some point.
In a sense the workshoppers/adventures are created for a community of people from which we would love to get help. I think it would be cool to have an improve
feature that clones the repository to the current folder (or show a dialog to choose it) and optionally create a github fork of the repository and show an explanation on how to proceed.
Hello, not sure if it's related with workshopper-adventure, but just in case,
please take a look at:
nodeschool/discussions#1898
and let me know if anyone can help or have any clues.
Thank you so much.
It would be good if --no-color
and --no-tty
(#30) would be persistently stored in the global settings: i.e. if entered once you don't need to enter them again.
The i18n/vi.json
file is missing a label for the "nb-no" language.
Due to a problem in dependency inside msee
library firede/msee#58
All workshops which use workshopper-adventure
got incomplete output:
For example:
To keep things organized, let's create a folder for this workshop.
Run this command to make a directory called (or something else if you
like):
mkdir javascripting
Change directory into the folder:
cd javascripting
Create a file named :
As you can see all inline code parts are missed and it's impossible to see problem description correctly.
As a workaround shrinkwrap
can be used.
The module that this package descends from has example code in the readme. I think that is a very nice way to see how to start creating your own workshop.
There seems to be an deprecation warning that pops up right after choosing an exercise from the learnyounode exercise list.
(node:115452) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
I do want to point out that this is a very new issue, as it exclusively happens with 7.5.0, and is not found when using Node.js 7.4.0 or earlier.
While I'm not sure, my apologies if this a misplaced issue for adventure-storage, but I can definitely say it is an adventure-only issue, as this warning is not experienced in learnyoumongo when using workshopper.
https://github.com/workshopper/workshopper-adventure/blob/master/i18n/es.json#L2
Elije
should be with g
. We just notice the typo in our last nodeschool.
I think could be great if someone can add the good first issue label
It seems that arrow keys and j
,k
do not work at all on newer versions of windows (versions 8 and 10 included).
Is this a known issue ?
How might we fix this ?
Running learnyounode run
without a file path returns a weird error message:
Could not run: Cannot read property 'toString' of undefined
Related: tableflip/nodebot-workshop#20
Ideally, use https://github.com/sindresorhus/os-locale to determine the default language, and if it's available for the workshopper, use it!
Steps to reproduce:
learnyounode
Bug: the title of the exercise is 'HELLO WORLD (Exercice 1 sur 13)', should be 'BONJOUR, MONDE (Exercice 1 sur 13)'
Learnyounode features a command that shows a list of credits. It would be cool if that could be tied to the package.json (that contains the proper set of credits) and add this menu point if available. (other workshoppers might want it too). Better done before #23
Hi,
I have been working to translate learnyounode to Turkish. I have an issue with menu string (see img1 and img2). I think the menu strings coming from workshopper-adventure. I also translated this one and I have a PR(#105) for this.
The print.js
module is encapsulated from the rest of the workshopper-adventure and can be safely put into an own npm package. Preferably with tests and documentation (:smiley_cat:). Would love if someone could take a little bit of time and create a nice package out of it.
Currently the menu items in either menu are not automatically selected. I.e. in the exercises menu it should select the current exercise and in the language menu it should show the current language as preselected.
There are a few things undocumented. For example:
--no-color
option and lang-list
or completed
to get the completed commands. Since the translation should be be added for all language I keep this as an open issue. Particularly since I plan to add a few more commands.
It's the right time we should support es6 solutions
Npm supports man pages but the current system doesn't provide a comfortable way to provide the usage. Maybe it should (has to be) generated?
This was reported by @embrilliant.
Node 6 introduced some new behavior where process.exit
is executed faster than before. This means that if you have some string a stream that sends to process.stout, this stream will not be flushed. In some exercises where the output is too long (for example: the output of JUGGLING ASYNC once it is verified)
node will simply stop outputting the last chunk.
The menu stays in color even with the --no-color
active.
I've been through the Lin Clark tutorial, the Adventure tutorial, and I think I am finally able to make a basic version of my first workshop. The lack of documentation is kind of frustrating, but I was able to come this far from copying the learnyounode and javascripting workshops.
If I am ever able to successfully make my own workshop, I vow to make a tutorial.
Right now, using the workshopper-exercise
package, I am able to compare the stdout output of the submitted answer as well as the actual solution (see my exercise.js). But what if I want the user to submit a function to be tested? Something like this:
// make a function to add two numbers
module.exports = function(a, b) {
return a + b;
}
What do I need to do to make this work? How would I go about this?
The exercise object that I need to return in my exercise.js
is not very well documented and I am not sure how to proceed.
You can see my extremely simple workshop here: https://github.com/adrianmcli/math-adventure
Hi @martinheidegger, is master broken? I ran the example foo
adventure like this:
git clone [email protected]:workshopper/workshopper-adventure.git
cd workshopper-adventure
npm install
examples/foo.js
<nothing>
Right now the output doesn't support streams like adventure does optionally - only text processing supported - Needs some rather substantial rewrite for this.
I am author of learnyoubash and I've got the report about bug with updating on Windows: denysdovhan/learnyoubash#5
I'm almost completely sure that the problem with this package.
Please, check it.
@khalifenizar kindly provided makews.js
a long time ago that creates a stub of a workshopper.
It would be good to update this and create a proper workshopper-adventure
binary.
npm i workshopper-adventure -g
workshopper-adventure new learnyoufancyframework
should
learnyoufancyframework
is taken in npm
(and abort if it is)learnyoufancyframework
package.json
that has a dependency workshopper-adventure
with the namelearnyoufancyframework
the version 1.0.0
index.js
file that references and specify it as main
in the package.json
bin/learnyoufancyframework
file that references index
and add it as bin
to the package.json
workshopper-adventure-test
and add the test to the scripts.test
of the package.json
node_modules
to .gitignore
(optionally)
package.json
Discussion If this is added to workshopper-adventure then then this will make workshopper-adventure heavier. Maybe its better to put it into wa-gen
or alike npm package.
At this point it is slightly unclear what the difference between those frameworks is. It would be good to make clear why they existed and what they can do.
In the readme of many workshoppers/adventures there is a screenshot that shows how the workshopper looks like in terminal. It would be awesome if we had a generator that could be automatically run on prepublish that generates a screenshot and adds it to the Readme.
The command competed
shows the list of completed exercises. It would be good to have the opposite command incomplete
available. This is probably better done be before #23
Right now the workshopper-adventure code looks for the git field in package.json which has a few ugly side-effects:
https://github.com/sethvincent/javascripting.git
to git+https://github.com/sethvincent/javascripting.git
Hi,
are you planning to publish a new version of workshopper-adventure
by any chance? We're translating some workshops to Norwegian and some have this module as a i18n dependency, but my commits merged in june hasnt been released yet..
I took the time to abstract the storage functionality into a own tiny module called storage.js
that basically can stand alone from the rest of the workshopper. It would be nice if someone could take the time and create a package out of it (preferably with documentation and tests). The code is not very complex should be doable in a relatively short period time.
Right now its a bit hard to test if the workshoppers with in tty
or not. It would be good if there was a command line option to support this.
The current example code is less than desireable:
package.json
)I'm just looking at updating nodebot-workshop from 4.6.1
to 4.7.1
of workshopper-adventure and there's a whole bunch of commits marked Semver major
between 4.7.0
and 4.7.1
- was this intentional?
It would be good to have best practises for workshopper-adventure that are preferably linted somehow.
Npm supports man pages but the current system doesn't provide a comfortable way to provide the usage. Maybe it should (has to be) generated?
http://www.tldp.org/HOWTO/Man-Page/q3.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.