Continuously Learn JavaScript. Your Way. https://jskatas.org
You cannot 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. 1 year ago
content Make the about page a bit more explaining. 1 year ago
scripts Add apple touch icon. 1 year ago
src top level await works, so lets use it ;). 1 year ago
templates Dont fade in all the time. Its visible enough. 1 year ago
test-content I think the resulting markdown is nailed now. 1 year ago
.domains The blog domain shall be caught too. 1 year ago
.gitignore Ignore the katas cache, where all the downloaded files will go into. 1 year ago
CHANGELOG.md Done 1 year ago
CNAME Render the about and the kata page. 2 years ago
Dockerfile Validate the test-content's metadata file. 1 year ago
README.md Download all katas MUCH simpler and all at once. 1 year ago
docker-compose.yml Render the about and the kata page. 2 years ago
package-lock.json First steps trying out zx. 1 year ago
package.json Moved some npm scripts to zx ... not sure if better though. 1 year ago
run-on-file-change.sh Render the about and the kata page. 2 years ago
tsconfig.json Make type checks simpler, use typeof package. Oldy but goldy. 1 year 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