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
hacksalot
9466a8c0dd
Remove spawn-watch.
...
No longer necessary.
2016-01-09 05:29:45 -05:00
hacksalot
9fdfd1b5a6
Add baseline support for -d or --debug flag.
...
For now, -d just force-emits the stack when there is one. In the future,
it can trigger more detailed logging info.
2016-01-08 16:08:33 -05:00
hacksalot
1d655a4ddb
Support duration units for JRS resumes.
2016-01-08 12:13:54 -05:00
hacksalot
f3dcbd9081
Improve error vs. warning formatting.
...
Errors = red. Warnings = yellow.
2016-01-08 10:42:24 -05:00
hacksalot
29c53af843
Rename "invalidTarget" error to "invalidFormat".
2016-01-08 10:09:46 -05:00
hacksalot
8d24087faa
Rename src/gen --> src/generators.
2016-01-08 10:02:47 -05:00
hacksalot
44555da00f
Fix PNG output format for JSON Resume themes.
2016-01-08 09:36:32 -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
28c703daf7
Improve error handling: PDFs.
2016-01-08 05:11:38 -05:00
hacksalot
97ebecd84a
Support CLI-based PDF generation.
...
Support Phantom and wkhtmltopdf generation via CLI.
2016-01-07 18:24:25 -05:00
hacksalot
a2723452c2
Improve ENOENT handling.
2016-01-07 16:13:09 -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
60e455b36d
Emit call stack for wkhtmltopdf errors.
2016-01-07 10:54:27 -05:00
hacksalot
39e995213f
Improve starter resume.
...
"hackmyresume new" should emit a starter resume that a) has example
information and b) validates.
2016-01-06 14:09:22 -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
8203fa50ae
Prep convert.js.
2016-01-06 00:20:30 -05:00
hacksalot
c5eab0fd9c
Scrub.
2016-01-05 23:59:41 -05:00
hacksalot
40e71238ac
Scrub.
2016-01-05 23:46:01 -05:00
hacksalot
9d75b207d1
Formalize empty-fresh.json dependency.
2016-01-05 23:28:49 -05:00
hacksalot
9b52c396d3
Fix missing method rename.
2016-01-05 22:32:46 -05:00
hacksalot
2759727984
Add convenience method.
2016-01-05 22:26:16 -05:00
hacksalot
e230d640cb
Rename imp() to i() (interim).
2016-01-05 22:02:11 -05:00
hacksalot
ff23ee508b
Restore app title.
2016-01-05 09:38:21 -05:00
hacksalot
2819faeb6f
Improve theme/format inheritance (interim).
2016-01-05 09:28:40 -05:00
hacksalot
d205e882f6
Introduce FRESH theme/format inheritance.
...
Support "inherits" property in theme.json (FRESH themes only).
2016-01-05 06:34:56 -05:00
hacksalot
6185f20ec9
Sort project history by default.
2016-01-05 05:00:04 -05:00
hacksalot
ce75f09210
Refactor API interface.
2016-01-04 07:23:20 -05:00
hacksalot
62ca2020d8
Bump FRESH themes version.
2016-01-04 04:15:01 -05:00
hacksalot
c711cb7922
Improve sorting.
2016-01-03 23:17:18 -05:00
hacksalot
f2bf09bf96
Allow variable-unit resume duration.
2016-01-03 09:48:22 -05:00
hacksalot
75e2b1c131
Improve keyword acquisition.
2016-01-03 09:48:02 -05:00
hacksalot
247eec396c
Fix string iteration filtering glitch.
2016-01-03 07:35:47 -05:00
hacksalot
46c7fa9838
Add baseline keyword analysis.
2016-01-03 06:39:46 -05:00
hacksalot
8d7cf32988
Finish Commander.js integration.
2016-01-03 03:18:56 -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
13fc903b2b
Catch JSON syntax errors for all commands.
...
...and emit line/column info.
2016-01-01 17:20:42 -05:00
hacksalot
2b669cf35c
Tweak error handling for cmd params.
2016-01-01 15:06:16 -05:00
hacksalot
5a2d892b85
Scrub error-handler.js.
2016-01-01 14:59:21 -05:00
hacksalot
37a7c318d5
Remove stack trace for ENOENT.
2016-01-01 14:58:56 -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
d54b9a6d6c
Remove unused method.
2016-01-01 03:45:14 -05:00
hacksalot
b85d40b1b3
Improve XML encoding for Word docs.
...
Fix various encoding errors.
2015-12-31 06:38:30 -05:00
hacksalot
069c02ddcc
Interim changes supporting v1.3.0.
2015-12-31 03:34:41 -05:00
hacksalot
76cafa4249
Fix reference error in explicit themes.
2015-12-30 20:10:14 -05:00
hacksalot
72de1bbd33
Scrub.
2015-12-30 15:21:58 -05:00
hacksalot
2ff912e687
Scrub.
2015-12-30 15:11:18 -05:00
hacksalot
ccadb0416f
Move freebie formats out of theme class.
2015-12-30 15:03:26 -05:00
hacksalot
39d61c66b9
Finish Theme --> FreshTheme rename.
2015-12-30 13:22:18 -05:00
hacksalot
7a1eadb3fc
Tweak error messages.
...
Stay away from language like "please specify a valid input resume". The
fluentcv fork can use corporate-speak. HackMyResume is more like a
gremlin -- feed it, but never after midnight.
2015-12-30 13:12:51 -05:00
hacksalot
e3cb949992
Fix: Exception when HMR is run without params.
2015-12-30 12:59:21 -05:00
hacksalot
3e7d9c0411
Integrate JRSTheme class.
2015-12-30 12:37:26 -05:00
hacksalot
b21fd93d66
Introduce JRSTheme class.
...
Start splitting out logic into dedicated abstractions for both FRESH and
JSON Resume themes given the different structure and use cases of each.
2015-12-30 12:08:46 -05:00
hacksalot
37e75acd86
Merge remote-tracking branch 'refs/remotes/origin/master' into dev
2015-12-30 12:06:02 -05:00
hacksalot
483207e5a0
Improve Markdown support for JSON Resume themes.
2015-12-29 10:01:45 -05:00
hacksalot
02ef2b2241
Improve error handling.
...
Better support for spawn errors encountered during generation (for ex,
PDFs through wkhtml) + general refactoring.
2015-12-29 06:35:55 -05:00
hacksalot
13430bcad5
Refactor status codes.
2015-12-29 05:09:05 -05:00
Ya Zhuang
6b0ea0c7bd
add: png format
2015-12-29 03:29:13 +08: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
c5ee1ee33c
Quick fix for ".history" errors.
...
Affects #31 and #33 .
2015-12-24 04:05:56 -05:00
hacksalot
ef2fe95bd8
Remove unused method.
2015-12-24 04:04:44 -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
c966f6766c
Refactor verbs to separate files.
2015-12-21 02:56:02 -05:00
hacksalot
a54476eede
Reaffirm string-based generation.
...
In recent commits, HackMyResume generation logic, much like the pilots
in Top Gun who became too reliant on air-to-air missiles and lost the
true art of dogfighting, has become dependent on file-based generation
as implicit file assumptions have crept in. This commit reaffirms the
file-less, string-based nature of the generation process and, as a side
effect, adjusts the behavior of (binary) PDF generation to match.
2015-12-21 00:36:08 -05:00
hacksalot
80c6bb6e8b
Rename to HMR.
2015-12-19 12:37:42 -05:00
hacksalot
f0a22be731
Skip underscore-prefixed folders during theme load.
2015-12-19 08:39:36 -05:00
hacksalot
a630741098
Fix exception.
2015-12-18 10:10:19 -05:00
devlinjd
eabab26eef
Update file headers.
2015-12-17 10:15:59 -05:00
devlinjd
ae9c295ce1
Better Handlebars support.
2015-12-16 20:13:27 -05:00
devlinjd
e0ef774692
Add missing semicolon.
2015-12-16 12:13:50 -05:00
devlinjd
1603a4bc73
Prosecute FCVD updates.
2015-12-16 11:25:50 -05:00
devlinjd
8273e7d150
...
2015-12-15 06:20:06 -05:00
devlinjd
5c49a8297f
Fix: FCVD error.
2015-12-14 07:32:41 -05:00
devlinjd
b38a7c1da2
Improve conversions and tests.
2015-12-12 10:48:26 -05:00
devlinjd
9d459370ce
Update FRESH<-->JRS converter.
2015-12-12 04:42:56 -05:00
devlinjd
3805a36271
Fix folder generation wrinkle.
2015-12-09 23:30:53 -05:00
devlinjd
541198321e
Fix JSHint warnings.
2015-12-09 21:44:35 -05:00
devlinjd
0395792359
Restore canonical output filename.
2015-12-09 05:08:10 -05:00
devlinjd
3dcf3c3974
Tweak Markdownification.
2015-12-09 04:32:39 -05:00
devlinjd
857de65750
More MEGADESK.
2015-12-09 00:13:58 -05:00
devlinjd
f3c9f92263
Add baseline Markdownification.
2015-12-08 22:22:33 -05:00
devlinjd
e8704e1374
Fix file generation glitch.
2015-12-08 22:22:14 -05:00
devlinjd
87c03b437c
Generate safe date times; don't hard-code.
2015-12-08 22:21:42 -05:00
devlinjd
7c58f0ea96
Add symlink support.
2015-12-08 10:13:04 -05:00
devlinjd
fcaeb381fe
Gather.
2015-12-07 21:24:14 -05:00
devlinjd
5a716dff16
Add basic multiplexing support.
2015-12-07 16:39:59 -05:00
devlinjd
8ee2716245
Scrub theme.js.
2015-12-07 10:16:38 -05:00
devlinjd
5f19f0a7df
Add baseline support for multifile themes. #rough
2015-12-07 09:51:00 -05:00
devlinjd
228f14d06c
Support recursive theme template loading.
2015-12-06 18:19:33 -05:00
devlinjd
307c37dc44
Use "src" subfolder instead of "templates".
2015-12-06 18:18:36 -05:00
devlinjd
3b8d100f39
Add baseline Handlebars support.
2015-12-06 16:19:55 -05:00