Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(compiler_cli): move it into modules/@angular and integrate p…
…roperly into the build This also does no more depend on a version on npm for the compiler_cli.
- Loading branch information
Showing
41 changed files
with
410 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export {CodeGenerator} from './src/codegen'; | ||
export {NodeReflectorHost} from './src/reflector_host'; | ||
export {TsickleHost, MetadataWriterHost} from './src/compiler_host'; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
modules/@angular/compiler_cli/integrationtest/tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"angularCompilerOptions": { | ||
// For TypeScript 1.8, we have to lay out generated files | ||
// in the same source directory with your code. | ||
"genDir": ".", | ||
"legacyPackageLayout": false | ||
}, | ||
|
||
"compilerOptions": { | ||
"target": "es5", | ||
"experimentalDecorators": true, | ||
"noImplicitAny": false, | ||
"moduleResolution": "node", | ||
"outDir": "../../../../dist/all/@angular/compiler_cli/integrationtest", | ||
"rootDir": "", | ||
"declaration": true, | ||
|
||
"baseUrl": ".", | ||
"paths": { | ||
"@angular/*": ["../../../../dist/all/@angular/*"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/// <reference path="../../typings/es6-collections/es6-collections.d.ts" /> | ||
/// <reference path="../../typings/es6-promise/es6-promise.d.ts" /> | ||
/// <reference path="../../typings/node/node.d.ts" /> | ||
/// <reference path="../../typings/jasmine/jasmine.d.ts" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import {__compiler_private__ as _c} from '@angular/compiler'; | ||
|
||
export var AssetUrl: typeof _c.AssetUrl = _c.AssetUrl; | ||
export type AssetUrl = _c.AssetUrl; | ||
|
||
export var ImportGenerator: typeof _c.ImportGenerator = _c.ImportGenerator; | ||
export type ImportGenerator = _c.ImportGenerator; | ||
|
||
export type CompileMetadataResolver = _c.CompileMetadataResolver; | ||
export var CompileMetadataResolver: typeof _c.CompileMetadataResolver = _c.CompileMetadataResolver; | ||
|
||
export type HtmlParser = _c.HtmlParser; | ||
export var HtmlParser: typeof _c.HtmlParser = _c.HtmlParser; | ||
|
||
export type DirectiveNormalizer = _c.DirectiveNormalizer; | ||
export var DirectiveNormalizer: typeof _c.DirectiveNormalizer = _c.DirectiveNormalizer; | ||
|
||
export type Lexer = _c.Lexer; | ||
export var Lexer: typeof _c.Lexer = _c.Lexer; | ||
|
||
export type Parser = _c.Parser; | ||
export var Parser: typeof _c.Parser = _c.Parser; | ||
|
||
export type TemplateParser = _c.TemplateParser; | ||
export var TemplateParser: typeof _c.TemplateParser = _c.TemplateParser; | ||
|
||
export type DomElementSchemaRegistry = _c.DomElementSchemaRegistry; | ||
export var DomElementSchemaRegistry: typeof _c.DomElementSchemaRegistry = _c.DomElementSchemaRegistry; | ||
|
||
export type StyleCompiler = _c.StyleCompiler; | ||
export var StyleCompiler: typeof _c.StyleCompiler = _c.StyleCompiler; | ||
|
||
export type ViewCompiler = _c.ViewCompiler; | ||
export var ViewCompiler: typeof _c.ViewCompiler = _c.ViewCompiler; | ||
|
||
export type TypeScriptEmitter = _c.TypeScriptEmitter; | ||
export var TypeScriptEmitter: typeof _c.TypeScriptEmitter = _c.TypeScriptEmitter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import {__core_private__ as r, __core_private_types__ as t} from '@angular/core'; | ||
|
||
export type ReflectorReader = t.ReflectorReader; | ||
export var ReflectorReader: typeof t.ReflectorReader = r.ReflectorReader; |
3 changes: 0 additions & 3 deletions
3
tools/compiler_cli/src/main.ts → modules/@angular/compiler_cli/src/main.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.