- Accommodate marker pipe and directive
- Enable support for other marker packages apart from the original from Kim Biesbjerg
- Merged P4's PRs (#1, #2) in order to improve the pipe parser when it comes to pipe args and structural directives
- Fixed some botched imports
- Re-added --marker/-m option to CLI thanks to tmijieux's PR
- Moved to eslint and fixed errors/warnings
- Other minor clerical changes and small refactoring
- Remove dependency on a specific version of the Angular compiler. Instead, we rely on the peer dependency. #3
-
fix(pipe-parser): Search for pipe in structural directives #1
This fix will now detect the pipe in code like this:
<ng-container *ngTemplateOutlet="section; context: { title: 'example.translation.key' | translate }"></ng-container>
-
fix: Find uses of translate pipe in pipe arguments #2
Fixes the following:
{{ 'value' | testPipe: ('test1' | translate) }} // finds nothing, misses 'test1' {{ 'Hello' | translate: {world: ('World' | translate)} }} // finds 'Hello', misses 'World' {{ 'previewHeader' | translate:{filename: filename || ('video' | translate)} }} // finds 'previewHeader', misses 'video'
- First package published under the @vendure namespace
- Update references in README
- Support for Angular 13 + 14 added by https://github.com/bartholomej
See the releases in the original repo.