Commit Graph

212 Commits

Author SHA1 Message Date
Kim Biesbjerg
030ab145d6 Add return types 2017-03-30 14:40:51 +02:00
Kim Biesbjerg
daaebede6f Add support for marker functions, to be able to extract strings not directly passed to TranslateService. Closes #10 2017-03-30 14:37:30 +02:00
Kim Biesbjerg
42a6568d47 Fix lint error 2017-03-29 14:20:35 +02:00
Kim Biesbjerg
9a2108e9a9 Add cli option to customize compiler indentation. Closes #22 2017-03-29 14:20:01 +02:00
Kim Biesbjerg
ff1c91010e Fix namespaced-json compiler not preserving numeric values. Fixes #28 2017-03-29 12:52:14 +02:00
Kim Biesbjerg
7654397bb3 Update README 2017-03-21 15:59:18 +01:00
Kim Biesbjerg
7b10b246e6 Update cli option descriptions. Change default filename to strings.format 2017-03-21 15:59:03 +01:00
Kim Biesbjerg
2f68bbc660 Fix package exports 2017-03-21 15:30:04 +01:00
Kim Biesbjerg
371a14d73e Read version directly from package.json 2017-03-21 15:27:24 +01:00
Kim Biesbjerg
4537c1224a Refactored Extractor and cli 2017-03-21 15:21:39 +01:00
Kim Biesbjerg
f61cdc4064 Rename cli script filename. Rename option 'dir' to 'input' 2017-03-20 15:51:38 +01:00
Kim Biesbjerg
72739f2e9a Rename Test class for ServiceParser 2017-03-20 15:32:49 +01:00
Kim Biesbjerg
3facc0c287 - Added typings for packages where typings existed
- Remove regexp ServiceParser and make AstServiceParser the default. #23
- Replaced CLI parser to add support for multiple input/output paths (supports file expansion, glob patterns and multiple values/parameters) #7
2017-03-20 15:29:41 +01:00
Kim Biesbjerg
c5d68cfcaa Check if parameter has a type before attempting to access. Should fix #26 2017-03-20 15:17:46 +01:00
Kim Biesbjerg
bf3b1b29bf Update README 2017-03-07 15:56:26 +01:00
Kim Biesbjerg
0f0f277a08 Add additional keywords 2017-03-07 15:50:14 +01:00
Kim Biesbjerg
994c31fb97 Remove default compareFn. According to docs: If compareFunction is not supplied, elements are sorted by converting them to strings and comparing strings in Unicode code point order. 2017-03-07 15:49:25 +01:00
Kim Biesbjerg
f590b9bb9e Fix sorting. Closes #16 2017-03-07 15:45:50 +01:00
Kim Biesbjerg
d51674950c Update pinned package versions 2017-03-07 15:38:45 +01:00
Kim Biesbjerg
931433e83d Update README 2017-01-28 15:32:16 +01:00
Kim Biesbjerg
124b4a8dd0 Bump version 2017-01-28 15:22:32 +01:00
Kim Biesbjerg
1c3915ff43 Add experimental AstServiceParser 2017-01-28 15:22:08 +01:00
Kim Biesbjerg
303fb1b6de Fix bug where keys were being extracted when not accessing TranslationService property 2017-01-28 15:06:05 +01:00
Kim Biesbjerg
04429bdb44 Add test 2017-01-16 07:13:18 +01:00
Kim Biesbjerg
fcd37fd000 Fix bug in PipeParser 2017-01-13 09:34:34 +01:00
Kim Biesbjerg
7822916e28 Add NamespacedJsonCompiler 2017-01-13 09:02:01 +01:00
Kim Biesbjerg
183592acc3 Update README and bump version 2017-01-13 06:09:43 +01:00
Gustav Gahm
c18b7dc9c7 Add CLI option to enable alphabetical sorting of extracted keys 2017-01-13 06:05:52 +01:00
Kim Biesbjerg
94e6416c76 Small refactor 2016-12-23 05:54:49 +01:00
Kim Biesbjerg
2a36aa7319 Bump version 2016-12-23 05:45:23 +01:00
Kim Biesbjerg
5c78a37ae0 Add support for node 4.3.2+ 2016-12-23 05:45:06 +01:00
Kim Biesbjerg
d09f9c7b0c Bump version 2016-12-23 05:26:41 +01:00
Kim Biesbjerg
031890c2a4 Allow --output to be either a directory or a full path including filename 2016-12-23 05:24:45 +01:00
Kim Biesbjerg
d786aa5f64 Explicitly define modules 2016-12-23 05:24:04 +01:00
Kim Biesbjerg
e0f909fb4f Fix tests 2016-12-23 05:23:33 +01:00
Kim Biesbjerg
d0730431d0 Move normalizeTemplateAttributes method to DirectiveParser 2016-12-23 04:07:01 +01:00
Kim Biesbjerg
91dc1925a1 Fix export extractor 2016-12-23 04:06:30 +01:00
Kim Biesbjerg
cdf6dfd9d5 Bump version 2016-12-20 16:42:17 +01:00
Kim Biesbjerg
9d87ff368c Fix Pipe regex and add test 2016-12-20 16:42:05 +01:00
Kim Biesbjerg
0a4d58c1fa Bump version 2016-12-20 16:18:56 +01:00
Kim Biesbjerg
fbbfa04a34 Use non-greedy regular expression 2016-12-20 16:18:40 +01:00
Kim Biesbjerg
788d9ed4d3 Bump version 2016-12-20 16:07:36 +01:00
Kim Biesbjerg
f31e807e5b Bump version 2016-12-20 16:03:15 +01:00
Kim Biesbjerg
c88d387516 Update README and CLI output 2016-12-20 16:02:56 +01:00
Kim Biesbjerg
48be895dd4 Pin dependency versions 2016-12-20 15:49:14 +01:00
Kim Biesbjerg
7942e8b8ed Transpile to es5 to support older node versions 2016-12-20 15:17:37 +01:00
Kim Biesbjerg
45adcfcf02 Bump version 2016-12-13 15:17:30 +01:00
Kim Biesbjerg
8093370e94 Add tests and allow more liberal spacing with get/instant calls 2016-12-13 15:17:03 +01:00
Kim Biesbjerg
ca8b122295 Bump version 2016-12-10 19:21:50 +01:00
Kim Biesbjerg
b5688e9f83 Fix arg in README 2016-12-10 19:21:35 +01:00