10079 Commits

Author SHA1 Message Date
Misko Hevery
fc50c77bd3 test(ivy): switch HelloWorld to ivy compiler ()
PR Close 
2018-03-19 16:00:38 -07:00
Greg Magolan
bfe077ad64 fix(bazel): correct expected outs for external sources in ng_module ()
PR Close 
2018-03-19 16:30:01 -05:00
Kara Erickson
1a0cb21538 refactor(ivy): remove unnecessary binding from hello world ()
PR Close 
2018-03-19 16:29:45 -05:00
Igor Minar
0bede54b2d style: fix formatting issues on the master branch ()
PR Close 
2018-03-18 14:03:26 -07:00
Igor Minar
243c86cd04 ci: improve logging when running aio/examples e2e tests ()
PR Close 
2018-03-18 14:03:26 -07:00
Igor Minar
9054e357d6 build: update to zone.js@0.8.20 ()
PR Close 
2018-03-18 14:03:26 -07:00
Igor Minar
0b68a35ff2 build: remove obsolete rollup-test ()
PR Close 
2018-03-18 14:03:26 -07:00
Kara Erickson
e27cfd6236 refactor(ivy): split up directiveCreate for tree shaking ()
PR Close 
2018-03-18 11:56:35 -07:00
Kara Erickson
1612985e48 refactor(ivy): allow tick and deps to be tree-shaken ()
PR Close 
2018-03-18 11:47:44 -07:00
Kara Erickson
4f21d373b7 refactor(ivy): move hostBindings calls out of template ()
PR Close 
2018-03-18 11:41:39 -07:00
Igor Minar
ce63dc6f95 feat: update the package output of build.sh to APF v6 ()
PR Close 
2018-03-18 09:33:51 -07:00
Igor Minar
d54615d555 build: don't mark language-service package as sideEffect free ()
we are not sure if this is the case and we don't need this package to
be optimized at the moment.

PR Close 
2018-03-18 09:33:51 -07:00
Igor Minar
912fe08756 test: improve ng build flags for cli-hello-world ()
Remove unnecessary --build-optimizer flag and add --sourcemaps flag to
generate source maps for better debugging.

PR Close 
2018-03-18 09:33:51 -07:00
Igor Minar
99408d0445 test: add workaround to cli-hello-world payload-size test ()
See https://github.com/angular/devkit/pull/524

PR Close 
2018-03-18 09:33:51 -07:00
Miško Hevery
f258ec67bf docs(ivy): update status of ivy ()
PR Close 
2018-03-16 22:20:21 -07:00
Rob Wormald
5d82d8da6d fix(elements): fix elements test bootstrap ()
PR Close 
2018-03-16 22:19:50 -07:00
Alex Rickabaugh
6ef9f2278f feat(ivy): @NgModule -> ngInjectorDef compilation ()
This adds compilation of @NgModule providers and imports into
ngInjectorDef statements in generated code. All @NgModule annotations
will be compiled and the @NgModule decorators removed from the
resultant js output.

All @Injectables will also be compiled in Ivy mode, and the decorator
removed.

PR Close 
2018-03-16 12:57:11 -07:00
Andrew Seguin
688096b7a3 feat(elements): remove attribute/input from config ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
2e450f6fda feat(elements): update package.json with latest ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
fe21437232 feat(elements): fix payload size ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
cf3ff7d219 feat(elements): another polyfill solution ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
d72f44556d feat(elements): rebase ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
0b45dfac29 feat(elements): fix lint ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
167fdf745c feat(elements): rename API to createCustomElement ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
39a12d2c3d feat(elements): make bazel happy ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
87f60bccfd feat(elements): injector create ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
46efd4b938 feat(elements): George's comments ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
19368085aa feat(elements): provide type, not factory; remove config need ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
d2be675acc feat(elements): add tests for component factory strategy ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
44f637a88b feat(elements): fix test ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
863aff1a77 feat(elements): add polyfill for elements es5 shim ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
400460cc93 feat(aio): update payload size ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
4d506acba0 feat(aio): add hack, remove me ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
7c9b411777 feat(aio): migrate embedded comp to elements ()
PR Close 
2018-03-16 12:39:07 -07:00
Andrew Seguin
22b96b9690 feat(elements): add support for creating custom elements ()
PR Close 
2018-03-16 12:39:07 -07:00
Chuck Jazdzewski
cedc04c320 docs(ivy): document project status ()
Moves the status reporting from the issue  to a file that
can be updated as changes are being made. This addresses one of the
comments on the issue and allows better tracking of updates to this
status and changes made.

PR Close 
2018-03-16 11:27:15 -07:00
Kara Erickson
bafdad9083 fix(ivy): cache local names and support multiple locals with same value ()
PR Close 
2018-03-16 11:26:38 -07:00
Kara Erickson
9220521149 test(ivy): correct export tests and add query test ()
PR Close 
2018-03-16 11:26:38 -07:00
Jeremy Elbourn
b149424b11 build(bazel): make ng_package auto generate package.json for secondary entry-points ()
PR Close 
2018-03-15 21:18:27 -07:00
Oussama Ben Brahim
269c3a1908 build(compiler-cli): fix tsconfig.json circularity issue ()
Fixes 

PR Close 
2018-03-15 21:18:07 -07:00
Alex Eagle
f9247e4b2e build: enable importHelpers in tsconfig ()
This is the primary tsconfig file used for Bazel builds.
Previously, we enabled this option only for releases.

PR Close 
2018-03-15 21:16:03 -07:00
Igor Minar
44de10e2db feat: mark angular packages as side-effect free ()
This flag is picked up by webpack v4 and used for more agressive optimizations.

Our code is already side-effect free, because that's what we needed for build-optimizer to work.

PR Close 
2018-03-15 14:52:40 -07:00
Victor Berchet
0ebd577db4 refactor(compiler): Drop support for the deprecated <template>. Use <ng-template> instead ()
BREAKING CHANGE:

The `<template>` tag was deprecated in Angular v4 to avoid collisions (i.e. when
using Web Components).

This commit removes support for `<template>`. `<ng-template>` should be used
instead.

BEFORE:

    <!-- html template -->
    <template>some template content</template>

    # tsconfig.json
    {
      # ...
      "angularCompilerOptions": {
        # ...
        # This option is no more supported and will have no effect
        "enableLegacyTemplate": [true|false]
      }
    }

AFTER:

    <!-- html template -->
    <ng-template>some template content</ng-template>

PR Close 
2018-03-15 14:52:22 -07:00
Kara Erickson
4e6ac185e5 refactor(ivy): double size of DI bloom filter ()
PR Close 
2018-03-15 14:49:39 -07:00
Kara Erickson
e55bf8fa79 refactor(ivy): access component def through tData ()
PR Close 
2018-03-15 14:49:23 -07:00
Olivier Combe
3b167be069 feat(compiler): support for singleline, multiline & jsdoc comments ()
PR Close 
2018-03-15 14:48:53 -07:00
Judy Bogart
02e6ac2117 docs: incorporate suggestions and corrections from gkalpak ()
PR Close 
2018-03-15 14:48:35 -07:00
Judy Bogart
04ca77e38e docs(aio): update architecture section ()
PR Close 
2018-03-15 14:48:35 -07:00
Igor Minar
a011654c71 build: update to tsickle@0.27.2 ()
PR Close 
2018-03-15 11:38:49 -07:00
Alex Eagle
88b3198c80 feat(bazel): change ng_package rule to APF v6 ()
Angular Package Format v6 stops bundling files in the esm5 and esm2015
directories, now that Webpack 4 can tree-shake per-file.

Adds some missing files like package.json to make packages closer to
what we publish today.

Refactor ng_package to be a type of npm_package and re-use the packaging
action from that rule.

PR Close 
2018-03-15 11:38:31 -07:00