Skip to content

Commit

Permalink
fix(peerDeps): allow @angular/compiler@^7.0.0 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikatyang authored Oct 19, 2018
1 parent f250c8a commit 1d71736
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"typescript": "3.1.3"
},
"peerDependencies": {
"@angular/compiler": "^6.0.0"
"@angular/compiler": "^6.0.0 || ^7.0.0"
},
"engines": {
"node": ">= 6"
Expand Down
12 changes: 6 additions & 6 deletions tests/__snapshots__/transform-microsyntax.test.ts.snap
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`" " 1`] = `
NGMicrosyntax { body: [] }
> 1 |
| ^
`;

exports[`" a " 1`] = `
NGMicrosyntax { body: ["NGMicrosyntaxExpression"] }
> 1 | a
Expand Down Expand Up @@ -329,3 +323,9 @@ Identifier { name: "heroes" }
> 1 | let hero of heroes
| ^^^^^^
`;

exports[`"" 1`] = `
NGMicrosyntax { body: [] }
> 1 |
| ^
`;
2 changes: 1 addition & 1 deletion tests/transform-microsyntax.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { snapshotAst } from './helpers';

test.each`
input | types
${' '} | ${[]}
${''} | ${[]}
${' let hero '} | ${['NGMicrosyntaxLet']}
${' let hero = hello '} | ${['NGMicrosyntaxLet']}
${' let hero of heroes '} | ${['NGMicrosyntaxLet', 'NGMicrosyntaxKeyedExpression']}
Expand Down

0 comments on commit 1d71736

Please sign in to comment.