Continuously Learn JavaScript. Your Way. https://jskatas.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Wolfram Kriesing 19d473abfe Dont fade in all the time. Its visible enough. 3 months ago
content Make the about page a bit more explaining. 5 months ago
scripts Add apple touch icon. 3 months ago
src top level await works, so lets use it ;). 3 months ago
templates Dont fade in all the time. Its visible enough. 3 months ago
test-content I think the resulting markdown is nailed now. 5 months ago
.domains The blog domain shall be caught too. 3 months ago
.gitignore Ignore the katas cache, where all the downloaded files will go into. 5 months ago
CHANGELOG.md Done 3 months ago
CNAME Render the about and the kata page. 1 year ago
Dockerfile Validate the test-content's metadata file. 5 months ago
README.md Download all katas MUCH simpler and all at once. 5 months ago
docker-compose.yml Render the about and the kata page. 1 year ago
package-lock.json First steps trying out zx. 4 months ago
package.json Moved some npm scripts to zx ... not sure if better though. 4 months ago
run-on-file-change.sh Render the about and the kata page. 1 year ago
tsconfig.json Make type checks simpler, use typeof package. Oldy but goldy. 5 months ago

README.md

What?

npm scripts

  • npm run download:katas copies all katas that exist and provided in the https://github.com/tddbin/katas repo an "copies" them in the _katas-cache directory, it copies all the files just as provided on https://katas.tddbin.com/ (it uses the built branch gh-pages for that and just git-clones it)
  • npm run convert:kataToMarkdown <kata.js> <title> <kata.md> convert a test file (a kata) to a markdown file, the <title> will become the H1 of the page