Commit Graph

107 Commits

Author SHA1 Message Date
Alan Agius a08af77b70 refactor: fix return type of `tryCall` ()
PR Close 
2018-09-27 12:07:38 -07:00
Greg Magolan b99d7ed5bf build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 ()
PR Close 
2018-09-18 13:05:38 -07:00
Alan Agius 5653fada32 feat: add TypeScript 3 support ()
PR Close 
2018-08-27 21:07:53 -04:00
Greg Magolan 9605456b66 build: refactor ambient node & jasmine types so they are only included where needed ()
PR Close 
2018-08-16 13:46:43 -07:00
Victor Berchet 14ac7ad6b4 feat(ivy): implement TestBed ()
PR Close 
2018-08-14 11:58:47 -07:00
Alex Eagle a3f1e2cb42 style: format .bzl files with buildifier ()
PR Close 
2018-08-08 13:12:07 -07:00
George Kalpakas 68814040e3 fix(language-service): do not overwrite native `Reflect` ()
Fixes 

PR Close 
2018-07-09 15:09:16 -07:00
George Kalpakas 787c54736c test: run unit tests in random order ()
PR Close 
2018-07-06 13:48:02 -07:00
Igor Minar e3064d5432 feat: typescript 2.9 support ()
PR Close 
2018-07-03 13:32:06 -07:00
Rado Kirov c95437f15d build(bazel): Turning on strictPropertyInitialization for Angular. ()
All errors for existing fields have been detected and suppressed with a
`!` assertion.

Issue/24571 is tracking proper clean up of those instances.

One-line change required in ivy/compilation.ts, because it appears that
the new syntax causes tsickle emitted node to no longer track their
original sourceFiles.

PR Close 
2018-06-25 07:57:13 -07:00
Alex Eagle c2b5ebfa24 build: update buildifier to latest ()
this matches the version in ngcontainer:0.3.1

PR Close 
2018-06-12 11:42:35 -07:00
Alex Rickabaugh 7983f0a69b ci(ivy): configure CI environments for Ivy JIT and AOT ()
Two new CircleCI environments are created: test_ivy_jit and test_ivy_aot.
Both run a subset of the tests that have been marked with Bazel tags as
being appropriate for that environment.

Once all the tests pass, builds are published to the *-builds repo both
for the legacy View Engine compiled code as well as for ivy-jit and ivy-aot.

PR Close 
2018-06-08 13:34:27 -07:00
Lucas Sloan 5cf82f8f3f build: upgrade to TypeScript 2.8 ()
PR Close 
2018-05-15 15:31:12 -07:00
Alex Eagle 017d67cdf8 test: switch to ts_web_test_suite ()
Unit tests now run on Firefox too

PR Close 
2018-05-15 11:40:56 -07:00
swseverance fe3679a356 style: remove empty comments ()
PR Close 
2018-05-10 15:48:13 -07:00
Camilo Giraldo a025f7e2a6 refactor(language-service): fix typo on type.ts language-service 2018-04-13 00:06:26 -07:00
Pete Bacon Darwin 4b96a58c5a docs: remove all deprecated `@stable` jsdoc tags ()
These are no longer needed as stable docs are computed as those that
do not have `@experimental` or `@deprecated` tags.

PR Close 
2018-04-10 21:49:32 -07:00
Alex Eagle 6699fb5d77 build: language-service package built by bazel ()
PR Close 
2018-04-04 16:48:39 -07:00
Alex Eagle 15278784fc release(bazel): change publish-next script to publish bazel artifacts ()
PR Close 
2018-03-30 14:03:05 -07:00
Chuck Jazdzewski 9fb08e2377 ci(language-service): enable language service tests in bazel ()
PR Close 
2018-03-29 13:11:27 -07:00
Keen Yee Liau ed53c5ccdd refactor(language-service): Remove angularOnlyResults ()
This commit is a duplicate of https://github.com/angular/angular/pull/18637
to remove Angular-specific results from the language service.

PR Close 
2018-03-27 17:22:44 -04:00
Veres Lajos de90314304 style: typos fixed - https://github.com/vlajos/misspell-fixer ()
PR Close 
2018-03-27 14:51:53 -04:00
Igor Minar b43f8bc7d3 feat(core): upgrade rxjs to 6.0.0-alpha.4 ()
PR Close 
2018-03-19 21:51:51 -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
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
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
Chuck Jazdzewski 8449eb8d62 build: upgrade to TypeScript 2.7 ()
Fixes: 

PR Close 
2018-03-12 09:27:23 -07:00
Hans Larsen 288851c41e release: add ng update package group metadata to angular ()
"ng update" supports having multiple packages as part of a group which should be updated together, meaning that e.g. calling "ng update @angular/core" would be equivalent to updating all packages of the group (that are part of the package.json already).

In order to support the grouping feature, the package.json of the version the user is updating to needs to include an "ng-update" key that points to this metadata.

The entire specification for the update workflow can be found here: 2e8b12a4ef/docs/specifications/update.md

PR Close 
2018-02-28 14:57:53 -08:00
Frederik Prijck e2bdef4cf6 test(language-service): fix minor typos ()
PR Close 
2018-02-20 10:08:55 -08:00
Chuck Jazdzewski 676d9c2c4b fix(language-service): ensure correct paths are passed to TypeScript ()
The 2.6 version of TypeScript's `resolveModuleName`  started to
require paths passed to be separated by '/' instead of being
able to handle '\'.

`ngc` and `ng` already do this transformation.

Fixes: 

PR Close 
2018-01-26 14:49:23 -08:00
Chuck Jazdzewski 2b68e8d98a fix(language-service): spell diagnostics correctly ()
PR Close 
2018-01-26 14:49:23 -08:00
Alex Eagle a1492a73ce build: Remove angular_src nested workspace ()
PR Close 
2018-01-19 10:17:37 -08:00
Keen Yee Liau 43e1520260 fix(language-service): Clear caches when program changes ()
This commit fixes a bug whereby the caches are not cleared when the
program changes. This subsequently produces the incorrect error of
'Component ... is not included in a module ...'.

PR Close 

PR Close 
2018-01-12 14:43:01 -08:00
Chuck Jazdzewski e64b1e99c2 fix(compiler): make `.ngsummary.json` files idempotent ()
Fixes: 

PR Close 
2018-01-10 16:20:53 -08:00
Alex Eagle c4f02e21dd build: move repeated tsconfig attributes to a macro ()
This helps ensure we use the same tsconfig.json file for all compilations.
Next steps are to make it the same tsconfig.json file used by the editor

PR Close 
2018-01-10 12:30:19 -08:00
Chuck Jazdzewski 83d207d0a7 build: upgrade to TypeScript 2.6 ()
Fixes 

PR Close 
2017-12-22 20:15:47 -08:00
Miško Hevery ae97920fe2 build: move _testing_init into tools; limit web_test concurrency ()
PR Close 
2017-12-22 13:10:51 -08:00
Misko Hevery 3d50fd7cac build: add bazel test rules for remainder of packages ()
PR Close 
2017-12-22 13:10:51 -08:00
Keen Yee Liau 3203069d6c fix(language-service): Allow empty templates ()
Fixes the bug where templates with empty strings show up as error in the editor.

PR Close 

PR Close 
2017-11-29 16:52:55 -06:00
Keen Yee Liau 54bfe14313 fix(language-service): Fix crash when no script files are found ()
Fixes the crash in typescript host when getScriptFileNames() returns an
empty array.

PR Close 

PR Close 
2017-11-29 16:52:48 -06:00
Chuck Jazdzewski 8ecda94899 feat(compiler-cli): improve error messages produced during structural errors ()
The errors produced when error were encountered while interpreting the
content of a directive was often incomprehencible. With this change
these kind of error messages should be easier to understand and diagnose.

PR Close 
2017-11-27 16:59:57 -06:00
Keen Yee Liau eb8013e853 fix(language-service): pass compilerOptions.paths to ReflectorHost ()
This commit fixes the options passed to ReflectorHost to include 'paths'
if it's specified in compiler options, so that dependency modules can
be loaded.

PR Close 
2017-11-10 11:51:11 -08:00
Rado Kirov 005a78bd83 refactor: allow compilation with TypeScript 2.5 ()
A small number of types need to be adjusted. The changes seem to be
backwards compatible with TS 2.4.

PR Close 
2017-10-31 00:26:43 -04:00
Hans Larsen b6abcb2500 refactor: make all rollup config ES5 compatible ()
So they can be required by other Node scripts.

PR Close 
2017-10-30 23:09:17 -04:00
Tobias Bosch 8d45fefc31 refactor(compiler): remove old ngtools api and add listLazyRoutes to new api ()
Usages of `NgTools_InternalApi_NG_2` from `@angular/compiler-cli` will now
throw an error.

Adds `listLazyRoutes` to `@angular/compiler-cli/ngtools2.ts` for getting
the lazy routes of a `ng.Program`.
PR Close 
2017-10-23 18:46:04 -04:00
Victor Berchet 6a9ce67714 Revert "refactor(core): Removed readonly getters and changed to readonly ()"
This reverts commit 2b84b86fc0.
2017-09-28 13:36:44 -07:00
tinayuangao 2b84b86fc0 refactor(core): Removed readonly getters and changed to readonly ()
variables
2017-09-28 09:36:29 -07:00
Chuck Jazdzewski c1b029a413 fix(language-service): do not report errors for `OpaqueToken` ()
`OpaqueToken` was removed from angular but the language-service
should not report errors when it is used for older versions of
angular.
2017-09-28 09:30:34 -07:00