Skip to content

Commit

Permalink
feat: use angular as direct dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mgechev committed Jul 2, 2020
1 parent 8cd660d commit d52bf4f
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 22 deletions.
50 changes: 34 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@
},
"homepage": "https://github.com/mgechev/codelyzer#readme",
"devDependencies": {
"@angular/compiler": "9.0.0-next.12",
"@angular/core": "9.0.0-next.12",
"@commitlint/cli": "8.2.0",
"@commitlint/config-angular": "8.2.0",
"@types/chai": "4.2.4",
Expand All @@ -88,15 +86,19 @@
"standard-version": "7.1.0",
"ts-node": "8.5.4",
"tslint": "5.20.0",
"typescript": "3.9.6",
"zone.js": "0.10.2"
"typescript": "3.9.6"
},
"peerDependencies": {
"@angular/compiler": ">=2.3.1 <11.0.0 || >9.0.0-beta <11.0.0 || >9.1.0-beta <11.0.0 || >9.2.0-beta <11.0.0",
"@angular/core": ">=2.3.1 <11.0.0 || >9.0.0-beta <11.0.0 || >9.1.0-beta <11.0.0 || >9.2.0-beta <11.0.0",
"tslint": "^5.0.0 || ^6.0.0"
},
"dependencies": {
"@angular/core": "9.0.0",
"@angular/compiler": "9.0.0",
"tslib": "^1.10.0",
"zone.js": "~0.10.3",
"rxjs": "^6.5.3",
"app-root-path": "^3.0.0",
"aria-query": "^3.0.0",
"axobject-query": "2.0.2",
Expand Down
2 changes: 0 additions & 2 deletions src/angular/templates/jitReflector.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { CompileReflector, ExternalReference, Identifiers, getUrlScheme, syntaxError } from '@angular/compiler';
import {
ANALYZE_FOR_ENTRY_COMPONENTS,
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
Expand Down Expand Up @@ -105,7 +104,6 @@ export class JitReflector implements CompileReflector {

function createBuiltinExternalReferencesMap() {
const map = new Map<ExternalReference, any>();
map.set(Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS, ANALYZE_FOR_ENTRY_COMPONENTS);
map.set(Identifiers.ElementRef, ElementRef);
map.set(Identifiers.NgModuleRef, NgModuleRef);
map.set(Identifiers.ViewContainerRef, ViewContainerRef);
Expand Down

0 comments on commit d52bf4f

Please sign in to comment.