Alan Agius
1db57d44dd
fix(@schematics/angular): return undefined instead of throw when file is not found
...
Follow up on https://github.com/angular/angular-cli/pull/16063
2019-11-11 09:13:20 -08:00
Charles Lyding
6602d90b42
fix(@angular-devkit/build-angular): prevent double sourcemap processing
2019-11-11 09:12:36 -08:00
Renovate Bot
f6c3d47bd0
build: update copy-webpack-plugin to version 5.0.5
2019-11-11 09:12:25 -08:00
Alan Agius
524bff6f43
fix(@angular/cli): add link to update guide post running Angular migrations
2019-11-09 11:52:42 -08:00
Renovate Bot
2a1597a7ad
build: update parse5-html-rewriting-stream to version 5.1.1
2019-11-09 11:52:03 -08:00
Renovate Bot
c8a2c9ac2c
build: update core-js to version 3.4.0
2019-11-09 11:51:45 -08:00
Charles Lyding
ab3703c573
fix(@angular-devkit/build-angular): silence internal webpack dev server logging
2019-11-09 11:50:46 -08:00
renovate[bot]
f871228d69
build: update find-cache-dir to version 3.1.0 ( #16128 )
2019-11-09 11:50:10 -08:00
renovate[bot]
2785222344
build: update @angular/animations to version 9.0.0-rc.1 ( #15992 )
2019-11-09 11:47:06 -08:00
Charles
862b28f844
fix(@angular-devkit/build-angular): allow localization with development server ( #16053 )
...
* fix(@angular-devkit/build-angular): allow localization with development server
* test: ensure i18n application E2E tests are executed
2019-11-08 07:56:05 -08:00
Charles
b8257e276e
fix(@angular/cli): re-introduce install package using shell spawn ( #16112 )
...
This works around a Windows CI failure that related to the PATH environment variable and a failure to located the `npm` command.
2019-11-08 07:54:47 -08:00
Filipe Silva
9cd09e6523
ci: bump cache key ( #16067 )
...
Our yarn cache is now at 4gb:
```
No cache is found for key: angular_devkit-0.11.0-m+RxJhhe6Gc_rzgntffBpEs5LmGYauhWKuRZBYBtlP0=
Found a cache from build 106076 at angular_devkit-0.11.0
Size: 4.0 GB
Cached paths:
* /home/circleci/.cache/yarn
Downloading cache archive...
Unarchiving cache...
```
By bumping the cache key we'll reset it.
2019-11-07 16:45:02 -08:00
Douglas Parker
217eb29b0f
fix(@angular-devkit/benchmark): Allows the CLI repo to be hosted in a directory with spaces. ( #16073 )
...
child_process.spawn() with `shell: true` does not quote its arguments, so any data passed in must be surrounded by quotes to properly include spaces. This was making tests fail when the repository is checked out to a directory with a space in it.
Easiest solution is to simply not use shell escaping which avoids the whole problem.
2019-11-07 16:44:31 -08:00
Filipe Silva
56a70bcf2b
fix(@ngtools/webpack): also elide type references on transform ( #16085 )
...
Fix #14617
2019-11-07 16:43:21 -08:00
Filipe Silva
722c3cb828
fix(@ngtools/webpack): only remove decorators in VE ( #16086 )
...
Fix #16070
2019-11-07 16:42:47 -08:00
Alan Agius
bd840b2ea5
fix(@schematics/angular): improve cli migration name and description ( #16093 )
2019-11-07 16:41:56 -08:00
Charles Lyding
00aa5bba5a
fix(@angular-devkit/build-angular): temporarily disable global locale data injection
2019-11-07 12:12:46 -08:00
Charles Lyding
7735516949
fix(@angular/cli): disable update commit creation by default
...
Closes #16013
2019-11-07 11:32:52 -08:00
Alan Agius
449c51f87e
fix(@schematics/angular): only show ngsw-config.json
file not find warning when ngswConfigPath
is defined
2019-11-07 10:09:20 -08:00
Alan Agius
bcd6d059b3
fix(@schematics/angular): migrate module compiler option
...
This migration coverts the TypeScript `module` compiler option to `esnext` or `commonjs` which is required when using `import()`.
Fixes : #16094
2019-11-07 10:08:51 -08:00
Charles Lyding
1941762552
fix(@angular-devkit/build-angular): insert locale data when localizing
2019-11-07 10:08:19 -08:00
Alan Agius
f35b80ebaf
fix(@angular/cli): use spawned process error when it's available
...
In some cases when an error occurs in the spawned process the `error` property will be populated instead of `stderr` or `stdout`.
See: https://nodejs.org/api/child_process.html#child_process_child_process_spawnsync_command_args_options
2019-11-07 10:07:10 -08:00
Filipe Silva
3558220596
test: update FW size expectations
...
We verified this size change happens just from increasing FW version from 9.0.0-rc.0 to 9.0.0-rc.1
CLI master with FW rc.1:
```
141032 Nov 6 20:08 main-es2015.ed01ec5f480fa886325f.js
163321 Nov 6 20:08 main-es5.ed01ec5f480fa886325f.js
36808 Nov 6 20:08 polyfills-es2015.b6fe2b19564e29c5d554.js
127927 Nov 6 20:08 polyfills-es5.9cbeb6b4a192c8c548fe.js
1485 Nov 6 20:08 runtime-es2015.52756d3ab8e6582f0541.js
1485 Nov 6 20:08 runtime-es5.52756d3ab8e6582f0541.js
```
CLI master with FW rc.0:
```
139902 Nov 6 20:05 main-es2015.cd909d61c6a4766689e9.js
162180 Nov 6 20:05 main-es5.cd909d61c6a4766689e9.js
36808 Nov 6 20:05 polyfills-es2015.b6fe2b19564e29c5d554.js
127927 Nov 6 20:05 polyfills-es5.9cbeb6b4a192c8c548fe.js
1485 Nov 6 20:05 runtime-es2015.52756d3ab8e6582f0541.js
1485 Nov 6 20:05 runtime-es5.52756d3ab8e6582f0541.js
```
Likely related to these PRs:
- https://github.com/angular/angular/pull/33602
- https://github.com/angular/angular/pull/33540
- https://github.com/angular/angular/pull/31270
2019-11-07 10:06:50 -08:00
Renovate Bot
7d1247b9e5
build: update caniuse-lite to version 1.0.30001008
2019-11-06 11:12:25 -08:00
Alan Agius
e8135babd4
refactor: update pacote to version 10
2019-11-06 10:51:35 -08:00
Renovate Bot
c85fd165ad
build: update rollup to version 1.26.3
2019-11-06 10:51:20 -08:00
Alan Agius
c5ab958eb3
fix(@angular/cli): handle null stderr during npm install
2019-11-06 10:50:47 -08:00
Filipe Silva
da6d74a86e
fix(@ngtools/webpack): fix resource dep lookup on windows
...
Fix https://github.com/angular/angular-cli/issues/15863
2019-11-05 16:40:37 -08:00
Filipe Silva
d438cf0f45
test: increase debounce time for rebuild tests
2019-11-05 16:40:37 -08:00
Filipe Silva
3f38e4e57d
ci: fix --ve flag on flake jail
2019-11-05 16:40:37 -08:00
Alan Agius
0f3587173a
test: verify that link in outputpath is not deleted at source
...
Closes : #15183
2019-11-05 16:39:14 -08:00
Alan Agius
9ba78050bb
fix(@schematics/angular): warn when target references a missing tsconfig
...
Fixes #16019
2019-11-05 16:37:18 -08:00
Alan Agius
26f5e6ffa3
fix(@schematics/angular): appendValueInAstArray
should not break JSON when using different formatting
...
Fixes : #16024 , fixes : #15462 and fixes : #14776
2019-11-05 16:36:44 -08:00
Alan Agius
aad8fa1fab
refactor(@schematics/angular): deprecate component entryComponents
...
Since version 9.0.0 with Ivy, entryComponents is no longer necessary
2019-11-05 16:36:16 -08:00
Charles Lyding
84ba5d55f0
fix(@angular/cli): only show add/update package install output on errors
...
Closes #16014
Closes #16027
2019-11-05 16:30:14 -08:00
Charles Lyding
6f3d162e41
fix(@angular/cli): remove unneeded git HEAD update message
...
Closes #16031
2019-11-05 16:29:19 -08:00
Alan Agius
82fbda6255
build: update @angular to version 9.0.0-next.15
2019-11-05 16:28:40 -08:00
Renovate Bot
85b671147e
build: update autoprefixer to version 9.7.1
2019-11-04 13:29:12 -08:00
Renovate Bot
d780ae6c60
build: update core-js to version 3.3.6
2019-11-04 13:28:52 -08:00
Renovate Bot
c6c099e23e
build: update sass to version 1.23.3
2019-11-04 13:28:17 -08:00
Alan Agius
2d66fecee8
fix(@angular/cli): add migration name to commit header
...
Closes : #16030
2019-11-04 13:27:48 -08:00
Alan Agius
d13387db4d
fix(@schematics/angular): tsconfig creates invalid file references
...
Fixes : #16035
2019-11-04 13:27:32 -08:00
Alan Agius
afae476b51
fix(@schematics/angular): replace '**/*.ts
file inclusion with **/*.d.ts
...
This fixes warnings such as the below;
```
WARNING in /test-update/src/environments/environment.prod.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.
```
When the previous generated add was in VE.
2019-11-04 13:27:32 -08:00
Charles Lyding
98bc458480
fix(@angular/cli): pass next option to all update logic
...
Fixes #16015
2019-11-04 13:27:17 -08:00
Charles Lyding
673030de1c
fix(@angular-devkit/build-angular): temporarily remove localize peer dependency
...
This should be reintroduced in 9.1 or 9.2. The other remaining "hidden" peer dependencies should be included as well (currently `karma` and `node-sass`).
2019-11-04 13:26:53 -08:00
Charles Lyding
3f57956c32
fix(@angular/cli): verify package specifier when adding a package
...
Fixes #16029
2019-11-04 13:26:07 -08:00
Charles Lyding
e7bf105214
fix(@angular/cli): skip project analytics prompt when using update
...
The prompt will cause the workspace configuration file to be updated which can result in an unclean repository.
Fixes #16012
2019-11-04 13:25:13 -08:00
Alan Agius
8820093b7f
fix(@angular/cli): don't install using global command but rather install in a different folder
...
Fixes : #16010
2019-11-04 13:24:57 -08:00
Kayla Altepeter
3100182ab1
fix(@angular/cli): change analytics type to boolean or string
2019-11-04 13:24:15 -08:00
Charles Lyding
c3651e458b
fix(@angular-devkit/build-angular): allow missing i18nFile option when using i18nLocale
...
Improves support for the deprecated i18n options when used with Ivy.
2019-11-04 13:23:37 -08:00