hacksalot
7af50c51f6
Gather.
2016-01-14 08:48:07 -05:00
hacksalot
1b94ada709
Misc improvements.
2016-01-12 18:13:54 -05:00
hacksalot
8ced6a730a
Fix BUILD command event notifications.
2016-01-12 12:46:55 -05:00
hacksalot
11bfcd4bef
Support raw JSON in the --options parameter.
2016-01-11 18:07:56 -05:00
hacksalot
376e720f4b
Scrub.
2016-01-11 08:21:06 -05:00
hacksalot
1416f57d0b
Move verb.js to /verbs folder.
2016-01-10 19:08:29 -05:00
hacksalot
65c7e41c53
Remove unused var.
2016-01-10 19:02:24 -05:00
hacksalot
656dbe2fc2
Capture.
2016-01-10 14:53:22 -05:00
hacksalot
bd8b587c5b
Remove explicit logger and error handler params.
2016-01-09 22:34:21 -05:00
hacksalot
540ad48d61
Scrub.
2016-01-09 16:56:30 -05:00
hacksalot
bece335a64
Fix CREATE verb output.
2016-01-09 15:58:39 -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
hacksalot
1fbfe2507b
Carry over debug flag.
2016-01-08 16:33:13 -05:00
hacksalot
ca94513630
Fix single format output error.
...
Fixes #97 .
2016-01-08 11:59:10 -05:00
hacksalot
29c53af843
Rename "invalidTarget" error to "invalidFormat".
2016-01-08 10:09:46 -05:00
hacksalot
46bd5d51cc
Support implicit PDF generation (interim).
2016-01-08 09:00:43 -05:00
hacksalot
d6280e6d89
Start integrating JRS and FRESH rendering paths.
2016-01-08 08:40:19 -05:00
hacksalot
4a2a47f551
Tweak casing.
2016-01-08 07:08:12 -05:00
hacksalot
ae51930c9c
Tweak indentation.
2016-01-08 07:06:26 -05:00
hacksalot
fb33455bea
Refactor JRS rendering.
2016-01-08 06:48:04 -05:00
hacksalot
cb3488276d
Refactor error handling.
...
Work towards better debug/log/stack trace options for error cases.
2016-01-07 15:54:10 -05:00
hacksalot
cb46497346
Rename generate.js to build.js.
...
Should match the canonical verb name -- "build". Generate is an alias.
2016-01-07 12:03:44 -05:00
hacksalot
830c36818e
Tweak missing file message for "new" command.
2016-01-06 14:15:27 -05:00
hacksalot
712b504168
Support global theme partials (interim).
2016-01-06 10:48:51 -05:00
hacksalot
2d20077c08
Support --assert option for validate command.
...
Cause HMR to return an error code if validation fails and the --assert
option is present.
2016-01-06 00:44:34 -05:00
hacksalot
f61deda4e8
Fix format detection error in validate logic.
2016-01-06 00:21:18 -05:00
hacksalot
e230d640cb
Rename imp() to i() (interim).
2016-01-05 22:02:11 -05:00
hacksalot
ec05f6737a
Emit JSON Resume theme instructions.
2016-01-05 10:10:12 -05:00
hacksalot
2ba23ee80d
Add support for user-definable section titles.
...
Introduce a {{sectionTitle}} helper; requires theme updates.
2016-01-04 16:20:48 -05:00
hacksalot
4ba3a3f2a9
Merge branch 'master' of https://github.com/hacksalot/HackMyResume
2016-01-04 08:09:12 -05:00
hacksalot
ce75f09210
Refactor API interface.
2016-01-04 07:23:20 -05:00
hacksalot
c8d4a3deb3
Handle global options.
...
Fix broken --silent flag and set up -o/-opts.
2016-01-04 01:49:35 -05:00
hacksalot
d5e2a45034
Output theme message on generate.
2016-01-04 00:58:41 -05:00
hacksalot
2465f2ce1c
Fix gap analysis glitches.
2016-01-04 00:14:43 -05:00
hacksalot
08ab512f4c
Add overlap analysis.
2016-01-03 09:48:43 -05:00
hacksalot
46c7fa9838
Add baseline keyword analysis.
2016-01-03 06:39:46 -05:00
hacksalot
c3ec3f28bd
Introduce section totals inspector.
2016-01-03 05:03:31 -05:00
hacksalot
0a8ee721e8
Allow for multiple PDF engines / support Phantom PDFs.
...
Start formalizing PDF generation apparatus and support a `--pdf`
parameter allowing the user to specify the flavor of PDF generation.
2016-01-03 04:11:42 -05:00
hacksalot
8d7cf32988
Finish Commander.js integration.
2016-01-03 03:18:56 -05:00
hacksalot
655ecebaa5
Clean up comments.
2016-01-03 02:40:04 -05:00
hacksalot
6b3396e01b
Use Commander.js for invocations.
2016-01-03 02:22:26 -05:00
hacksalot
a95b52acd0
Refactor command processing.
2016-01-02 00:15:46 -05:00
hacksalot
47553b6def
Fix ICE encoding issues.
...
Fix issue where @@@@ is appearing in generated resumes.
2016-01-01 20:27:46 -05:00
hacksalot
d8b9d86896
Scrub.
2016-01-01 17:30:57 -05:00
hacksalot
13fc903b2b
Catch JSON syntax errors for all commands.
...
...and emit line/column info.
2016-01-01 17:20:42 -05:00
hacksalot
43873efcab
Tweak analyze command error.
2016-01-01 14:38:52 -05:00
TJ Lavelle
49e56cc226
Fix relative theme directory
...
The theme directory assumes it was a child of the HackMyResume module, but NPM3 will actually flatten this out. Following the same logic that the template-generator uses, find the path to the themes using NPMs require method.
2016-01-01 11:27:05 -05:00
hacksalot
84ad6cf356
Add missing chalk references.
2016-01-01 04:57:50 -05:00
hacksalot
cb14452df3
Replace colors with chalk.
...
Chalk has a few more options and doesn't mess around with
String.prototype.
2016-01-01 04:44:14 -05:00
hacksalot
6285c2db3b
Introduce "analyze" verb and framework.
...
Introduce a new "analyze" command and start setting up the inspector /
analyzer pipeline with a simple "gap analysis" inspector using a
reference-counted gap detection approach.
2016-01-01 03:39:48 -05:00
hacksalot
069c02ddcc
Interim changes supporting v1.3.0.
2015-12-31 03:34:41 -05:00
hacksalot
2b4266ee42
Merge pull request #69 from zhuangya/missing-extend-def-fix-68
...
fix: missing extend method
2015-12-30 22:11:20 -05:00
hacksalot
3cf24cfb40
Fix PNG generation glitch.
2015-12-30 20:11:21 -05:00
hacksalot
55943bf49a
Fix missing semicolon.
2015-12-30 20:09:39 -05:00
hacksalot
a280d8acb2
Support CSS embedding vs. linking.
2015-12-30 19:45:50 -05:00
hacksalot
558a321fe8
Refactor generator logic.
2015-12-30 18:52:41 -05:00
hacksalot
d901047043
Update fluent-themes --> fresh-themes.
2015-12-30 18:50:58 -05:00
hacksalot
ccadb0416f
Move freebie formats out of theme class.
2015-12-30 15:03:26 -05:00
hacksalot
5e51beddf7
Refactor.
2015-12-30 14:48:22 -05:00
hacksalot
3c7868a750
Scrub.
2015-12-30 12:38:01 -05:00
hacksalot
3e7d9c0411
Integrate JRSTheme class.
2015-12-30 12:37:26 -05:00
Ya Zhuang
6280a18c14
fix: missing extend method
...
fix #68
2015-12-30 19:20:22 +08:00
hacksalot
483207e5a0
Improve Markdown support for JSON Resume themes.
2015-12-29 10:01:45 -05:00
hacksalot
bf5c040971
Copy JRS theme assets to target.
2015-12-29 03:10:26 -05:00
hacksalot
3c1ae4cbd1
Add baseline support for local generation of JSON Resume themes.
2015-12-28 04:37:42 -05:00
hacksalot
5e7abb66bd
Safer source format conversions.
...
Quick fix against missing fields in FRESH and/or JRS (ahead of introing
more robust standalone converter thing). Address portions of #31 and
#33 .
2015-12-24 17:51:26 -05:00
hacksalot
3d41528059
Fix path parsing issue on prev versions of Node.js.
...
Work around absence of path.parse in Node versions < v0.12. Addresses
#31 and #33 .
2015-12-24 16:18:38 -05:00
hacksalot
e2589b3730
Fix validate command error.
...
Still hitting some inconsistent behavior in different NPM
versions/platforms with invalid uppercase dependency names per
https://github.com/npm/npm/issues/3692 . Partial fix for #33 .
2015-12-24 03:23:56 -05:00
hacksalot
ebad1677bc
Replace file-exists.js with NPM path-exists.
2015-12-22 18:55:17 -05:00
hacksalot
c966f6766c
Refactor verbs to separate files.
2015-12-21 02:56:02 -05:00