fix(aio): support `ValueModule` symbols in the TypeScript source (#14464)

In #14388 the following syntax is used in the source:

```
import * as view_utils from './linker/view_utils';
import * as viewEngine from './view/index';
…
export {view_utils as ɵview_utils};
export {viewEngine as ɵviewEngine};
```

The usage of `export {... as ...}` was not being recognised by dgeni.

It is now being recognised and a temporary dummy output file is being
rendered. Later we will either ignore this doctype altogether or find
a better way of rendering it.
This commit is contained in:
Pete Bacon Darwin 2017-02-13 23:46:44 +01:00 committed by Miško Hevery
parent 221b7a1176
commit 1dc9be4b7d
3 changed files with 25 additions and 6 deletions

View File

@ -41,8 +41,8 @@
"@types/node": "^6.0.42", "@types/node": "^6.0.42",
"canonical-path": "^0.0.2", "canonical-path": "^0.0.2",
"codelyzer": "~2.0.0-beta.1", "codelyzer": "~2.0.0-beta.1",
"dgeni": "^0.4.2", "dgeni": "^0.4.4",
"dgeni-packages": "^0.16.5", "dgeni-packages": "^0.16.6",
"entities": "^1.1.1", "entities": "^1.1.1",
"firebase-tools": "^3.2.1", "firebase-tools": "^3.2.1",
"gulp": "^3.9.1", "gulp": "^3.9.1",

View File

@ -0,0 +1 @@
{% extends 'interface.template.html' %}

View File

@ -1538,9 +1538,9 @@ detect-indent@^4.0.0:
dependencies: dependencies:
repeating "^2.0.0" repeating "^2.0.0"
dgeni-packages@^0.16.5: dgeni-packages@^0.16.6:
version "0.16.5" version "0.16.6"
resolved "https://registry.yarnpkg.com/dgeni-packages/-/dgeni-packages-0.16.5.tgz#3f4d59b312dc11cf216933d0fc368a954ac7c268" resolved "https://registry.yarnpkg.com/dgeni-packages/-/dgeni-packages-0.16.6.tgz#db7b0079e7e24ddd3527bc1ac79b59514b86767d"
dependencies: dependencies:
canonical-path "0.0.2" canonical-path "0.0.2"
catharsis "^0.8.1" catharsis "^0.8.1"
@ -1563,7 +1563,7 @@ dgeni-packages@^0.16.5:
stringmap "^0.2.2" stringmap "^0.2.2"
typescript "^1.7.5" typescript "^1.7.5"
dgeni@^0.4.0, dgeni@^0.4.2: dgeni@^0.4.0:
version "0.4.2" version "0.4.2"
resolved "https://registry.yarnpkg.com/dgeni/-/dgeni-0.4.2.tgz#c5f7297922444e9e149368f7d3c3fdb17cc96d28" resolved "https://registry.yarnpkg.com/dgeni/-/dgeni-0.4.2.tgz#c5f7297922444e9e149368f7d3c3fdb17cc96d28"
dependencies: dependencies:
@ -1576,6 +1576,20 @@ dgeni@^0.4.0, dgeni@^0.4.2:
validate.js "^0.9.0" validate.js "^0.9.0"
winston "^2.1.1" winston "^2.1.1"
dgeni@^0.4.4:
version "0.4.4"
resolved "https://registry.yarnpkg.com/dgeni/-/dgeni-0.4.4.tgz#4179b9c31dc351d439f40acf0b4c2267f066163a"
dependencies:
canonical-path "~0.0.2"
dependency-graph "~0.4.1"
di "0.0.1"
lodash "^3.10.1"
objectdiff "^1.1.0"
optimist "~0.6.1"
q "~1.4.1"
validate.js "^0.9.0"
winston "^2.1.1"
di@0.0.1, di@^0.0.1: di@0.0.1, di@^0.0.1:
version "0.0.1" version "0.0.1"
resolved "https://registry.yarnpkg.com/di/-/di-0.0.1.tgz#806649326ceaa7caa3306d75d985ea2748ba913c" resolved "https://registry.yarnpkg.com/di/-/di-0.0.1.tgz#806649326ceaa7caa3306d75d985ea2748ba913c"
@ -4299,6 +4313,10 @@ object.omit@^2.0.0:
for-own "^0.1.4" for-own "^0.1.4"
is-extendable "^0.1.1" is-extendable "^0.1.1"
objectdiff@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/objectdiff/-/objectdiff-1.1.0.tgz#8d7a15be6cb8670df8a490cc6be12a4f05ea82f4"
obuf@^1.0.0, obuf@^1.1.0: obuf@^1.0.0, obuf@^1.1.0:
version "1.1.1" version "1.1.1"
resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.1.tgz#104124b6c602c6796881a042541d36db43a5264e" resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.1.tgz#104124b6c602c6796881a042541d36db43a5264e"