Charles Lyding
3ec03e9673
revert: build: integrate prettier code formatter
...
This reverts commit 920be3ab397f5f3315a960630274581256f9986b.
2019-03-05 14:53:33 -08:00
Charles Lyding
79f8413ddc
revert: ci: add precise commits code formatting check
...
This reverts commit f2049109a920a13a1da1faadf20889024f8890b0.
2019-03-05 14:53:33 -08:00
Hans Larsen
eca5dc322f
test(@angular-devkit/build-angular): move ALL Browser Builder tests
...
To the new Architect API.
2019-03-05 11:14:59 -08:00
Hans Larsen
e8dab635ff
feat(@angular-devkit/build-angular): add Browser Builder v2
...
It exposes a lot of functions that can be reused to run webpack with
different config, so third party builders can reuse those.
2019-03-05 11:14:59 -08:00
Hans Larsen
041907d551
feat(@angular-devkit/core): add factories for workspace
...
It makes it easier instead of always copy-pasting the same findUp code
to get the workspace file.
2019-03-05 11:14:59 -08:00
Hans Larsen
02943eaf49
fix(@angular-devkit/architect): properly subscribe to error handlers
...
If an error is reported but ANY subscription have an undefined error handler, RxJS
reports the error to the "host platform" (it setTimeout(() => throw error)). Since
we properly handle errors in some places, but should ignore them in others (e.g.
we handle errors on the outboundBus, so the output subscription should ignore it),
we still need to subscribe to error, just ignore it.
2019-03-05 11:14:59 -08:00
Hans Larsen
f0adbc41fd
fix(@angular-devkit/architect): properly report errors thrown by builder
...
When they are thrown by the builder itself.
2019-03-05 11:14:59 -08:00
Hans Larsen
e6ba05ba64
fix(@angular-devkit/build-webpack): also split on multi modules and spaces
...
Its not perfect but it will give a better overview of the file and it
is shorter.
2019-03-05 11:14:59 -08:00
Hans Larsen
0cb7092a16
build: add golden API to prettierignore
2019-03-05 11:14:59 -08:00
Mathias Raacke
dfb08b95b7
feat(@ngtools/webpack): allow .svg files as templates
...
With directTemplateLoading enabled, components
can now use .svg files as templates. For AOT builds,
the Angular compiler host now reads .svg files
directly when reading component templates.
For JIT builds, replaceResources creates a require call
that directly uses raw-loader instead of using the
loader provided by the current webpack configuration.
Closes #10567
2019-03-05 10:16:41 -08:00
Alan
1fcb9a09f9
test: remove now duplicate test
2019-03-04 10:26:09 -08:00
Alan
08c4cb748f
fix(@schematics/angular): reintroduce .sass
as a supported file extention
...
Sass Indented (.sass) is fully supported by the Sass team and we should still offer and support it.
Fixes #13739
2019-03-04 10:26:09 -08:00
Alan Agius
d1a0697102
test: fix new tslint architect test large on windows
2019-03-04 10:25:32 -08:00
Charles Lyding
2f4602db08
feat(@angular-devkit/build-angular): change es5BrowserSupport output filename to polyfills.es5.js
...
Closes #13808
2019-03-04 09:36:00 -08:00
Renovate Bot
b80a281342
build: update ajv to version 6.10.0
2019-03-04 09:35:46 -08:00
Alan Agius
9e18cf240e
fix(@schematics/angular): kebab case prefix causes lint errors in new directives
...
`Component` selectors are always kekabed while `Directive` selectors are always camelized. This updates the lint rules to convert the prefix to the appropiate case
Fixes #13796
2019-03-04 09:35:22 -08:00
Alan Agius
a7c66f982e
docs: add how to create a minimal repo in bug report template
2019-03-04 09:34:53 -08:00
Renovate Bot
ef523d0d41
build: update webpack to version 4.29.6
2019-03-04 09:34:41 -08:00
Alan
46e898f2ab
fix(@angular-devkit/architect-cli): fix paths to support Windows
2019-03-04 09:34:00 -08:00
Renovate Bot
237251f260
build: update @types/inquirer to version ^0.0.44
2019-03-04 09:33:32 -08:00
Alan Agius
edfc155f35
feat(@schematics/angular): rename tsconfig.e2e.json
to tsconfig.json
...
This will help IDEs as they only pick up the standard name
2019-03-04 09:33:12 -08:00
Alan Agius
3cbc7631b1
test: fix test for directive prefix
2019-03-04 09:33:12 -08:00
Alan
7f16cc7129
test: update e2e setup to cater for e2e within an application
2019-03-04 09:33:12 -08:00
Alan
026ae8cefc
feat(@schematics/angular): change layout of e2e files
...
With this change E2E files will be relocated inside an existing application instead of creating a seperate E2E project. This will also remove a lot of extra boilerplating inside the workspace configuration file.
File layout:
```
│ browserslist
│ karma.conf.js
│ tsconfig.app.json
│ tsconfig.spec.json
│ tslint.json
│
├───e2e
│ │ protractor.conf.js
│ │ tsconfig.e2e.json
│ │
│ └───src
│ app.e2e-spec.ts
│ app.po.ts
│
└───src
│ favicon.ico
│ index.html
│ main.po.ts
│ main.ts
│ polyfills.ts
│ styles.css
│ test.ts
│
├───app
│ app.component.css
│ app.component.html
│ app.component.spec.ts
│ app.component.ts
│ app.module.ts
│
├───assets
│ .gitkeep
│
└───environments
environment.prod.ts
environment.ts
```
Ref: TOOL-699
2019-03-04 09:33:12 -08:00
Charles Lyding
f2049109a9
ci: add precise commits code formatting check
2019-03-04 09:32:08 -08:00
Charles Lyding
920be3ab39
build: integrate prettier code formatter
2019-03-04 09:32:08 -08:00
Hans Larsen
214e8efaa7
release: v8.0.0-beta.4
v8.0.0-beta.4
2019-02-28 17:57:33 -08:00
Alex Eagle
4a093e5e38
Revert "feat(@angular/cli): Add VsCode extension recommendations"
...
This reverts commit d9166b04fccc708bc3856a6b243a8752120f312d.
2019-02-28 10:25:28 -08:00
Alex Eagle
71428bd9cb
Revert "feat(@angular/cli): Add VsCode recommendation for Angular Console"
...
This reverts commit 3d6ae631788b600a1b80132ae407f15ad3dc65aa.
2019-02-28 10:24:46 -08:00
Alex Eagle
242ebd932f
Revert "feat(@schematics/angular): recommend plugins that John Papa recommends"
...
This reverts commit 3a68b8cf9696e678308da65ca59b53329981c94f.
2019-02-28 10:24:44 -08:00
Minko Gechev
ef11c9fbc9
release: v8.0.0-beta.3
v8.0.0-beta.3
2019-02-27 16:40:55 -08:00
Hans Larsen
3c0bb12091
build: add bootstrap debug logs
2019-02-27 16:35:31 -08:00
Filipe Silva
50a7f4ad8d
ci: update circleci post checkout to v2 syntax
...
Port of https://github.com/angular/angular/pull/28472
2019-02-27 12:12:24 -08:00
Filipe Silva
220cbdea43
ci: use fallback cache
...
Port of https://github.com/angular/angular/pull/28545
2019-02-27 12:12:24 -08:00
Hans Larsen
79c546b470
feat(@angular-devkit/build-webpack): add a "build" builder
...
Having webpack everywhere is redundant. I would like to deprecate the
"webpack" and "webpack-dev-server" in favor of simply "build" and
"dev-server".
2019-02-27 10:11:22 -08:00
Hans Larsen
862571cfd0
test: add tests for build-webpack:webpack-dev-server new builder
2019-02-27 10:11:22 -08:00
Hans Larsen
b4daa72165
build: add node-fetch typings
2019-02-27 10:11:22 -08:00
Hans Larsen
44900f9d00
test: add tests for build-webpack:webpack new builder
2019-02-27 10:11:22 -08:00
Hans Larsen
06f5624b71
feat(@angular-devkit/build-webpack): add API builder for dev server
...
It outputs the port and address that it is bound to.
2019-02-27 10:11:22 -08:00
Hans Larsen
318a0a3b99
feat(@angular-devkit/build-webpack): add API builder for webpack
...
It takes a webpack config path from its options, add the Architect Plugin to it
which reports progress and status to Architect from webpack events.
2019-02-27 10:11:22 -08:00
Hans Larsen
2ffaf0c11c
feat(@angular-devkit/architect): allow for a different output type
...
There is no schema validation of output and we are not planning any
for now, but the attributes should be retained.
2019-02-27 10:11:22 -08:00
Hans Larsen
f1edc089ed
refactor: remove build-webpack schema.d.ts and use quicktype
2019-02-27 10:11:22 -08:00
Hans Larsen
03fc0e6bdb
feat(@angular-devkit/architect-cli): wait for last output of build
...
This allows watching builds to work. They wont show logs though. Looking
into making a better UI for this tool.
2019-02-27 10:11:22 -08:00
Hans Larsen
a90ba8eaa5
fix(@angular-devkit/architect-cli): remove any throttling of the progress bar
...
Sometimes it would miss the last update and it showed up at completed but the bar
would not be at 100%.
2019-02-27 10:11:22 -08:00
Hans Larsen
d84332b7b9
fix(devkit): make name required for devkit package schematics
2019-02-27 10:11:22 -08:00
Renovate Bot
0be006ce00
build: update autoprefixer to version 9.4.9
2019-02-27 10:11:06 -08:00
Alex Eagle
3a68b8cf96
feat(@schematics/angular): recommend plugins that John Papa recommends
...
This list comes from https://marketplace.visualstudio.com/items?itemName=johnpapa.angular-essentials
But we don't write a .prettier.json config file so we don't include the Prettier plugin yet
2019-02-27 10:10:18 -08:00
Hans
8b10768110
docs: Update release process for microsite
2019-02-26 11:00:34 -08:00
Filipe Silva
05966646e7
feat(@schematics/angular): rename experimentalIvy to enableIvy
...
Followup to https://github.com/angular/angular/pull/28569#discussion_r259558085
2019-02-26 10:49:58 -08:00
mrmeku
3d6ae63178
feat(@angular/cli): Add VsCode recommendation for Angular Console
2019-02-26 08:45:12 -08:00