Commit Graph

271 Commits

Author SHA1 Message Date
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
Kim Biesbjerg
2739545b9e Optimize TranslationCollection 2016-12-10 19:20:44 +01:00
Kim Biesbjerg
43df1f0fb8 Fix bug in DirectiveParser: should not extract translate pipe in html tag 2016-12-10 04:14:13 +01:00
Kim Biesbjerg
4307e4bde8 Fix: no implicit any 2016-12-10 04:13:36 +01:00
Kim Biesbjerg
dca10f23de Group utils import 2016-12-10 04:13:18 +01:00
Kim Biesbjerg
3bb74e6c9e Move extractor to utils 2016-12-10 03:40:07 +01:00
Kim Biesbjerg
2ec4fd194f Export classes in a barrel 2016-12-10 03:37:05 +01:00
Kim Biesbjerg
657eb6d953 Change cli description for output 2016-12-10 03:36:28 +01:00
Kim Biesbjerg
6b2059b23e Move cli code to Typescript 2016-12-10 03:29:03 +01:00
Kim Biesbjerg
c35036d4c8 Update test 2016-12-10 02:05:25 +01:00
Kim Biesbjerg
11c910df65 Bump version 2016-12-10 01:59:44 +01:00
Kim Biesbjerg
ac9702122f Update REAME 2016-12-10 01:59:25 +01:00
Kim Biesbjerg
a7e0a9d909 Refactor cli and move responsibilities out of Extractor 2016-12-10 01:57:20 +01:00
Kim Biesbjerg
c9bae68a84 Use domain property 2016-12-10 01:56:45 +01:00
Kim Biesbjerg
423b62a6bc Bump version 2016-12-09 19:30:18 +01:00
Kim Biesbjerg
6a76e7b5cb Add option to merge extracted strings with existing translations (Thanks to @ocombe) 2016-12-09 19:29:48 +01:00
Kim Biesbjerg
59ef277c64 Refactor and clean code 2016-12-09 14:40:21 +01:00
Kim Biesbjerg
73801a9cc5 Add StringCollection to make it easier to work with strings 2016-12-09 05:18:04 +01:00
Kim Biesbjerg
befd841457 Remove newlines 2016-12-08 16:25:36 +01:00
Kim Biesbjerg
51d69c7fc3 Bump version 2016-12-08 16:10:12 +01:00
Kim Biesbjerg
e5f937d7f6 Support alternate ng2-translate attribute in DirectiveParser. Add more tests 2016-12-08 16:09:06 +01:00
Kim Biesbjerg
ff93233f6b Bump version 2016-12-08 15:45:02 +01:00
Kim Biesbjerg
867905586a Add DirectiveParser test for extracting strings with ng2-translate selector 2016-12-08 15:43:38 +01:00
Kim Biesbjerg
b2e46c5259 Update tslint config 2016-12-08 15:38:52 +01:00
Kim Biesbjerg
3601b5985b Make regexes more readable by not creating from string 2016-12-08 15:27:44 +01:00
Kim Biesbjerg
fdf26d6af5 Add support for extracting array of strings in ServiceParser + tests 2016-12-08 15:24:23 +01:00
Kim Biesbjerg
3e84dd2f72 Use same structure for tests as src 2016-12-08 14:28:59 +01:00
Kim Biesbjerg
206edc53f7 Add tests for ServiceParser 2016-12-08 14:26:38 +01:00
Kim Biesbjerg
85a1d04c96 Add tests for PipeParser 2016-12-08 14:12:43 +01:00
Kim Biesbjerg
c2aac9c257 Replace quotes with backticks 2016-12-08 14:12:33 +01:00
Kim Biesbjerg
23d2a5eb9d Add tests for AbstractTemplateParser and DirectiveParser 2016-12-08 13:53:13 +01:00
Kim Biesbjerg
2c3b5e580d Extract direct text nodes only when parsing directive 2016-12-07 16:30:24 +01:00
Kim Biesbjerg
e26d522604 Grab html instead of text when parsing directive 2016-12-07 16:03:46 +01:00
Kim Biesbjerg
e56ce36d9d Include tslint.json 2016-12-07 15:27:48 +01:00
Kim Biesbjerg
0cf47344a1 Bump version 2016-12-07 12:38:58 +01:00
Kim Biesbjerg
e6b03f8582 Fix regex. Add *.js to globPatterns 2016-12-07 12:38:16 +01:00
Kim Biesbjerg
2e38258cd9 I suck at git. 2016-12-07 06:36:47 +01:00
Kim Biesbjerg
5404b033d4 Bump version 2016-12-07 06:31:26 +01:00
Kim Biesbjerg
cf93eeebf8 Trim whitespace 2016-12-07 06:31:05 +01:00
Kim Biesbjerg
16705a0c80 Bump version 2016-12-07 06:22:05 +01:00
Kim Biesbjerg
a45ca2be41 Formatting 2016-12-07 06:19:10 +01:00
Kim Biesbjerg
ef574a2d4f Move _normalizeTemplateAttributes to AbstractTemplateParser 2016-12-07 06:19:10 +01:00