hacksalot
097e81caf8
Merge pull request #191 from ryneeverett/theme-helpers
...
Register handlebars helpers in themes. Fix #158 .
2018-01-27 17:44:36 -05:00
ryneeverett
ec591b9432
Register handlebars helpers in themes. Fix #158 .
...
Try to register all javascript files found in themes as handlebars
helpers.
Note that, unlike all other theme files currently, format directories
are ignored. I don't think there's a use case for format-specific
helpers, and this gives theme developers the flexibility to put them
either in top level files or organize them in subdirectories however
they see fit.
Note also that the theme format seems to be primarily documented in
<https://github.com/fresh-standard/fresh-themes >. This newly recognized
theme file type should be documented there should this branch be merged.
2017-01-20 22:53:16 -05:00
Daniele Rapagnani
664eea752f
parseJSON has been modified to always include private fields if not otherwise instructed. This is to ensure back-compatibility. The BUILD command instead, excludes private fields by default
2016-02-14 21:50:13 +01:00
Daniele Rapagnani
fed59b704e
Implemented private fields that can be included or excluded with cli switch
2016-02-14 19:15:47 +01:00
hacksalot
ca92d41d9e
Numerous fixes.
2016-02-13 16:08:45 -05:00
hacksalot
3f8e795c61
Fix generation glitches.
...
Fix output file name glitch, writing CSS files to destination folder,
and an issue where the process would evaporate before PDF/PNG generation
could complete.
2016-02-13 03:27:11 -05:00
hacksalot
dbef9f0a35
Improve VALIDATE error handling.
2016-02-13 00:11:52 -05:00
hacksalot
f87eb46549
Fix theme generation error.
2016-02-11 22:04:11 -05:00
hacksalot
317a250917
Gather.
2016-02-11 11:48:44 -05:00
hacksalot
aaa5e1fc1f
Refactor generation.
...
Merge implicit and explicit generation paths, start emitting file
transform & copy signals, fix various bugs, introduce new bugs, support
better --debug outputs in the future.
2016-02-09 15:27:34 -05:00
hacksalot
2758038858
Cleanup and bug fixes.
...
Remove file-based open methods from resume classes; force clients to use
clean string-based or JSON overloads; fix processing glitch in
validate(); tweak outputs; adjust tests; update CHANGELOG; etc.
2016-02-04 18:49:16 -05:00
hacksalot
661fb91861
Aerate.
2016-02-04 15:23:47 -05:00
hacksalot
70f45d468d
Asynchrony.
2016-02-01 22:52:13 -05:00
hacksalot
212b01092c
Improve proc spawn behavior.
...
Interim until async / promises support is in.
2016-02-01 09:25:22 -05:00
hacksalot
27c7a0264a
Improve date handling.
2016-01-30 20:06:04 -05:00
hacksalot
8e806dc04f
Improve duration calcs, intro base resume class.
2016-01-30 16:40:22 -05:00
hacksalot
1c416f39d3
Fix JSON Resume theme breakage.
...
Fixes #128 .
2016-01-30 11:31:39 -05:00
hacksalot
0f65e4c9f3
Finish HackMyCore reshaping.
...
Reintroduce HackMyCore, dropping the interim submodule, and reorganize
and improve tests.
2016-01-29 15:23:57 -05:00
hacksalot
d3194fba19
Relocate internal sources to HackMyAPI.
...
Move internal sources and related tests to:
https://github.com/hacksalot/HackMyAPI
2016-01-24 09:55:04 -05:00
hacksalot
f073c79b8d
Better dynamic font handling.
2016-01-22 22:19:28 -05:00
hacksalot
4fe74057f9
Improve font helpers.
...
Log a warning on incorrect use.
2016-01-22 08:33:01 -05:00
hacksalot
01c053702d
Gather.
2016-01-21 23:40:15 -05:00
hacksalot
6b171e69db
Improve CSS handling.
2016-01-21 05:21:49 -05:00
hacksalot
984ae95576
Cleanup.
2016-01-20 21:43:11 -05:00
hacksalot
f77cced7f3
Improve error handling.
2016-01-20 19:59:36 -05:00
hacksalot
201f39442e
Add support for .ignore flag in FRESH and JRS resumes.
...
Preliminary support for ".ignore" on any non-leaf FRESH or JRS node.
Nodes (employment entries, education stints, etc.) decorated with
".ignore" will be treated by HMR as if they weren't present.
2016-01-19 20:09:59 -05:00
hacksalot
d220cedfeb
Improve behavior of PEEK command.
2016-01-18 18:35:38 -05:00
hacksalot
e72564162b
Remove custom "extend" method.
...
Replace with NPM extend.
2016-01-18 17:31:08 -05:00
hacksalot
c98d05270e
Improve error handling.
2016-01-18 17:13:37 -05:00
hacksalot
3e3803ed85
Improve error handling.
2016-01-18 14:10:35 -05:00
hacksalot
c8d8e566f8
Add IIFE.
2016-01-18 14:10:25 -05:00
hacksalot
712cba57b8
Capture.
2016-01-18 00:34:57 -05:00
hacksalot
c9e45d4991
Capture.
2016-01-17 21:46:58 -05:00
hacksalot
5c95fe7af1
Integrate with fresh-jrs-converter.
...
Move FRESH/JRS conversion logic (and all future format conversions) into
a separate repo.
2016-01-16 12:40:16 -05:00
hacksalot
4c5ccc001a
Introduce PEEK command.
...
Peek at arbitrary resumes and resume objects paths with "hackmyresume
peek <resume> [objectPath]". For ex:
hackmyresume PEEK resume.json
hackmyresume PEEK resume.json info
hackmyresume PEEK resume.json employment[2].keywords
hackmyresume PEEK r1.json r2.json r3.json info.brief
2016-01-15 13:08:01 -05:00
hacksalot
c9ae2ffef3
Improve errors / tests consistency.
2016-01-14 14:22:26 -05:00
hacksalot
a9c685c6a4
Refactor error handling (interim).
2016-01-14 11:47:05 -05:00
hacksalot
7af50c51f6
Gather.
2016-01-14 08:48:07 -05:00
hacksalot
19b30d55ec
Move error handling out of core.
2016-01-13 15:28:02 -05:00
hacksalot
1b94ada709
Misc improvements.
2016-01-12 18:13:54 -05:00
hacksalot
1966b0a862
Move string transformation out of FRESHResume.
2016-01-12 13:28:20 -05:00
hacksalot
6cd1e60e79
Sort projects.
2016-01-12 12:46:18 -05:00
hacksalot
1416f57d0b
Move verb.js to /verbs folder.
2016-01-10 19:08:29 -05:00
hacksalot
656dbe2fc2
Capture.
2016-01-10 14:53:22 -05:00
hacksalot
a4ee7127ee
Fix stack reporting glitch.
2016-01-10 13:28:20 -05:00
hacksalot
c5b8eec33a
Move CLI-related assets to subfolder.
2016-01-09 16:14:28 -05:00
hacksalot
3aabb5028d
Continue moving logging out of core.
2016-01-09 15:49:08 -05:00
hacksalot
732bc9809a
Start moving logging out of core.
2016-01-09 13:58:47 -05:00
hacksalot
d77b484e55
Verbs are event emitters.
...
Let verbs source events through EventEmitter. Using aggregation is a bit
simpler here than extending because of the Resig "Class" stuff.
2016-01-09 08:12:55 -05:00
hacksalot
88c71f6e9c
Move commands to Verb hierarchy
...
Move flat command functions (BUILD, ANALYZE, etc.) to a shallow Verb
hierarchy. Allow command verbs to inherit common functionality and prep
for better debugging/logging as well as test mocks.
2016-01-09 06:44:22 -05:00