Commit Graph

55 Commits

Author SHA1 Message Date
Kim Biesbjerg
9a8abb3248 refactor(directive parser) remove cheerio in favor of angular's own compiler 2019-06-18 15:54:58 +02:00
Kim Biesbjerg
102286a209 - (feat) add concept of post processors
- (feat) add 'key as default value' post processor (closes #109)
- (chore) move clean functionality to a post processor
- (chore) move sort functionality to a post processor
- (refactor) get rid of leading underscore on protected properties/methods
2019-06-11 23:06:47 +02:00
Kim Biesbjerg
d07d81681e update packages, replace chalk with colorette 2019-06-11 12:50:08 +02:00
Kim Biesbjerg
64ebb5e6e8 Bump version 2017-11-08 14:02:41 +01:00
Kim Biesbjerg
40051f4144 Bump version 2017-11-07 15:17:38 +01:00
Tiago Dionesto Willrich da Silva
8d1e2c5a2f Change typescript to be a dependency (#75)
Typescript is being imported by the parser files, so it should be a direct dependency instead of just a development one.

Without that change, it's impossible to use the extractor programatically or with npx.
2017-11-07 15:13:35 +01:00
Kim Biesbjerg
7c06b66974 Bump version 2017-07-05 15:46:05 +02:00
Kim Biesbjerg
2d73f056ff Update dependencies 2017-07-05 15:16:17 +02:00
Kim Biesbjerg
fde5245731 Bump version 2017-05-10 14:10:36 +02:00
Kim Biesbjerg
a6c7af0630 Update dependencies 2017-05-10 14:07:45 +02:00
Kim Biesbjerg
0949bf765b Bump version 2017-05-09 20:09:03 +02:00
Kim Biesbjerg
4e351405fb Bump version 2017-05-09 14:40:06 +02:00
Kim Biesbjerg
3b9561916b Fix crash when constructor parameter has no type. Closes #38 2017-05-05 11:31:30 +02:00
Kim Biesbjerg
5cef383f3b Forgot to build v2.2.2 before publishing to npm 2017-05-05 11:18:51 +02:00
Kim Biesbjerg
677d2a35ca Update dependencies. Bump version 2017-04-06 08:52:22 +02:00
Kim Biesbjerg
bcb4a9c069 Fix bug where obsolete strings were not removed when --clean was used. Closes #29 2017-03-31 08:31:14 +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
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
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
0f0f277a08 Add additional keywords 2017-03-07 15:50:14 +01:00
Kim Biesbjerg
d51674950c Update pinned package versions 2017-03-07 15:38:45 +01:00
Kim Biesbjerg
124b4a8dd0 Bump version 2017-01-28 15:22:32 +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
Kim Biesbjerg
2a36aa7319 Bump version 2016-12-23 05:45:23 +01:00
Kim Biesbjerg
d09f9c7b0c Bump version 2016-12-23 05:26:41 +01:00
Kim Biesbjerg
cdf6dfd9d5 Bump version 2016-12-20 16:42:17 +01:00
Kim Biesbjerg
0a4d58c1fa Bump version 2016-12-20 16:18:56 +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
ca8b122295 Bump version 2016-12-10 19:21:50 +01:00
Kim Biesbjerg
11c910df65 Bump version 2016-12-10 01:59:44 +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
73801a9cc5 Add StringCollection to make it easier to work with strings 2016-12-09 05:18:04 +01:00
Kim Biesbjerg
51d69c7fc3 Bump version 2016-12-08 16:10:12 +01:00
Kim Biesbjerg
ff93233f6b Bump version 2016-12-08 15:45:02 +01:00
Kim Biesbjerg
23d2a5eb9d Add tests for AbstractTemplateParser and DirectiveParser 2016-12-08 13:53:13 +01:00
Kim Biesbjerg
0cf47344a1 Bump version 2016-12-07 12:38:58 +01:00
Kim Biesbjerg
5404b033d4 Bump version 2016-12-07 06:31:26 +01:00
Kim Biesbjerg
16705a0c80 Bump version 2016-12-07 06:22:05 +01:00
Kim Biesbjerg
085f5fe700 Add tslint 2016-12-07 06:03:23 +01:00
Kim Biesbjerg
022c221963 Merge branch 'directive-parsing' of https://github.com/ocombe/ng2-translate-extract into ocombe-directive-parsing 2016-12-07 02:22:00 +01:00
Kim Biesbjerg
63208952ac Add keywords to package 2016-12-07 02:21:36 +01:00