Commit Graph

13 Commits (6535caab7d709d9d65c1ca1efc655798864692bb)

Author SHA1 Message Date
Romain 6535caab7d chore: replace fs-extra by fs when possible 5 months ago
Romain 3590b15cfb chore: use node prefix for all builtin modules 6 months ago
Romain 8cb7a3596b chore: upgrade to latest version of StandardJS 1 year ago
Romain a09ff03f2e [feat] new option to pass settings to a theme, from a JSON file
Fixes #168
5 years ago
Romain 9425604dd7 chore(dependencies): upgrade Standard from v11 to v12 which introduces a style change 6 years ago
Romain 83831274ff refactor(themes): remove themes from core + use the new extracted modules 6 years ago
Romain 39591c70a1 feat(theme): support for themes published within a subfolder
If a theme has a build process, it will likely publish a subfolder (e.g. “dist”) to npm.
It can simply set “thumbsup.themeRoot” in its package.json so thumbsup looks in the right place.
6 years ago
Romain bd86ab6535 test(themes): add integration tests using a mock file system
This replaces the basic unit tests that used private methods
and didn’t have a very clear intent
6 years ago
Romain deee049650 refactor(themes): extract the {{relative}} helper to be standalone + add some tests 6 years ago
Felix Eckhofer 383f77e0d4 fix(core): Use correct base for calculating the relative path
Fixes #109
6 years ago
Romain 24790c075c chore(cleanup): remove old code and console.log() 6 years ago
Romain 9612ca0048 feat(core): load an external theme from a given path using --theme-path 6 years ago
Romain 03a9c9a319 refactor: themes are now standalone folders, to prepare for external loading
Every theme is made of { Handlebars + Less + Partials + Helpers + Public }
6 years ago