Charles Lyding
1a3a117b48
refactor(@angular-devkit/core): adjust rxjs type usage
...
Required for upcoming upgraded to rxjs 6.3
2018-09-26 12:57:56 -04:00
Charles Lyding
3034019ba9
build: update webpack types
2018-09-26 08:54:33 -04:00
Charles Lyding
228a2edd4a
fix(@angular-devkit/build-angular): fully resolve project modules
2018-09-26 08:53:14 -04:00
Filipe Silva
048366b3ee
feat(@angular-devkit/build-angular): add profile option to browser builder
...
This should help users send us profile logs for builds that take too long.
2018-09-26 08:24:07 -04:00
Alan Agius
1bf96348bc
fix(@angular/cli): --verbose
is an unknown option of serve
...
Closes #11086
2018-09-26 08:17:33 -04:00
Alan Agius
191edda747
test: add unit test to cover subdirs
...
Closes #12143
2018-09-25 17:01:03 -04:00
Terry
b561657946
fix(@angular-devkit/core): fix cannot delete directory ( #11574 )
2018-09-25 16:51:46 -04:00
majo44
c9dab34fbb
feat(@angular-devkit/core): support of tsx files in aot mode ( #11407 )
2018-09-25 16:50:02 -04:00
Luca Vazzano
b9d8eed4a7
fixed typo in the Schematics README
2018-09-25 16:38:58 -04:00
Luca Vazzano
4a2fc6f04a
extended Schematics README regarding templating
...
to include basic info and an example about it
2018-09-25 16:38:58 -04:00
S K
4efa26a004
feat(@angular-devkit/build-angular): update license-webpack-plugin
...
Closes #11536
2018-09-24 13:24:48 -07:00
Charles Lyding
30f8352ca2
feat(@angular-devkit/build-angular): automatically include reflect metadata polyfill for JIT
...
The reflect metadata polyfill is only required by Angular when using JIT. Since it is unanticipated it would be needed when using AOT, including it when using AOT only serves to unnecessarily increase application file sizes.
JIT is not recommended for production use. However, if an application uses JIT in production and an alternate reflect metadata polyfill is preferred (core-js/es7/reflect is currently used), then TypeScript path mapping can be used to override the polyfill. As an example, the following will allow the usage of the `reflect-metadata` package in lieu of the default:
```
"paths": {
"core-js/es7/reflect": ["node_modules/reflect-metadata"]
}
```
2018-09-24 13:23:57 -07:00
Hans
f74c1f479a
feat(@angular-devkit/schematics): allow workflow impl to define their own sinks ( #12330 )
...
Behaviour for NodeWorkflow should be the same.
2018-09-20 15:19:42 -07:00
Hans
9648aa3ed9
feat(@angular-devkit/core): add enum support to getTypesOfSchema
2018-09-19 13:02:40 -07:00
Charles Lyding
72a65ddf5e
feat(@angular-devkit/build-angular): update webpack dependencies
...
memory leak fix, security vulnerability package updates, hash integrity fix, and other minor defect fixes
2018-09-19 11:34:55 -07:00
Charles Lyding
5890759a9f
fix(@angular-devkit/build-optimizer): deprecate transform test functions
...
These were not intended to be part of the public API and will eventually be removed completely.
2018-09-19 11:34:02 -07:00
Charles Lyding
a8a60a7faf
refactor(@angular-devkit/build-optimizer): minor type cleanup
2018-09-19 11:34:02 -07:00
Charles Lyding
95f29fbb82
refactor(@angular-devkit/build-optimizer): remove unused import purifier
2018-09-19 11:34:02 -07:00
Charles Lyding
f5314531f5
refactor(@angular-devkit/build-optimizer): correct implicit returns
2018-09-19 11:32:39 -07:00
Charles Lyding
80b94ad2f4
refactor(@angular-devkit/build-angular): correct implicit returns
2018-09-19 11:32:39 -07:00
Charles Lyding
98c2747dd5
fix(@angular-devkit/build-angular): fully remove url inlining
2018-09-18 13:57:51 -07:00
Alan Agius
fce686d965
feat(@angular-devkit/build-angular): enable sourcemaps by default when using karma
...
Closes #12282
2018-09-18 11:34:44 -07:00
Alan Agius
813c520926
build: add angular_devkit/core:node
to deps
2018-09-18 11:33:11 -07:00
Alan Agius
f70254d5b8
refactor: use common type for stdout and stderr
2018-09-18 11:33:11 -07:00
Alan Agius
04ed3010b2
feat(@angular-devkit/core): createConsoleLogger
now accepts 2 parameters to add custom stdout
and stderr
2018-09-18 11:33:11 -07:00
Alan Agius
40129ccebd
refactor: make the cli testable
2018-09-18 11:33:11 -07:00
Alan Agius
1753b6affb
test: add tests to schematic-cli
2018-09-18 11:33:11 -07:00
Alan Agius
8fac6a7ceb
fix(@angular-devkit/schematics-cli): fix list-schematics
is not printing anything
...
Usage:
```
$ schematics @schematics/angular: --list-schematics
$ schematics --list-schematics
```
When no colon is specified, it means that that you are passing a schematic name to be looked up in the default collection.
Closes #12220
2018-09-18 11:33:11 -07:00
Alan Agius
84533e2446
build: update ng-packagr to 4.2.0
2018-09-18 11:30:54 -07:00
Alan Agius
7fee77006c
docs: add jsdoc instead of comments
2018-09-17 15:07:23 -07:00
Filipe Silva
4f9dcd309c
build: update pidusage
...
Fixes https://github.com/angular/angular-cli/pull/12022#issuecomment-417278408
2018-09-14 13:57:20 -07:00
Filipe Silva
b6793bd521
build: use specific engines for built packages
2018-09-14 13:56:43 -07:00
Yi Qi
e36a259a45
fix(@angular/cli): fix issues in google3
2018-09-13 14:08:04 -07:00
Filipe Silva
c2625271de
feat(@angular-devkit/benchmark): add package
2018-09-10 14:19:22 -07:00
Charles Lyding
b403aa69c1
test(@angular-devkit/build-angular): improve resilience of watch rebuilds
2018-09-10 12:30:49 -07:00
Charles Lyding
96dc506038
test(@angular-devkit/build-angular): expand polling success threshold
...
polling is highly dependent on CPU and IO; with shared CI machines this can cause high variability
2018-09-10 12:30:49 -07:00
Charles Lyding
d29701f978
fix(@angular-devkit/core): allow stat on record host
2018-09-10 12:30:49 -07:00
Alan Agius
b8b36ba339
refactor: pin down all direct dependencies
...
This is so that CLI users get the same direct dependency versions that were tested on the CI.
2018-09-07 11:01:50 -07:00
Charles Lyding
87db956cab
refactor(@angular-devkit/build-optimizer): remove unused helper function
2018-09-07 10:45:46 -07:00
Charles Lyding
74bc8e886b
fix(@angular-devkit/build-optimizer): remove deprecated wrap enums check
2018-09-07 10:45:46 -07:00
Charles Lyding
a1ea3a05d4
fix(@angular-devkit/build-optimizer): remove deprecated purify plugin
2018-09-07 10:45:46 -07:00
Alex Eagle
f7f1d139f4
release: v7.0.0-beta.2
2018-09-06 14:47:26 -07:00
Sebastian Häni
8caeb47824
fix(@angular-devkit/schematics): fix generate
mangling files containing wide characters
...
Executing a command like `ng generate component my-component` can sometimes lead to
mangled Angular module files when inserting the component into `declaration` and
adding the import. This happens if the file contains characters that are wider than
one byte e.g. a copyright sign or an umlaut. Today it is expected to be able to use
two byte long characters in code.
The `UpdateBuffer` class operates using Buffer objects which use byte arrays internally.
Using text node positions provided by the TypeScript library, these will not match up.
This change looks up the textual position inside the Buffer and uses the correct index.
Closes #7851 , #7950
2018-09-06 10:53:27 -07:00
Alan Agius
e16c8bbe87
fix(@angular-devkit/build-angular): set the proper type to fileReplacements
...
Closes #11294
2018-09-06 10:51:04 -07:00
Alan Agius
54f7ea2b1d
fix(@angular-devkit/schematics): throw InvalidCollectionJsonException
when collection file is invalid
...
Closes #11818
2018-09-06 10:49:50 -07:00
Alan Agius
5007a19ad9
refactor(@angular-devkit/build-angular): clean up style webpack config
...
Clean up several parts of the styles config and also removed the dependency on `postcss-url`
2018-09-06 08:51:22 -07:00
Alan Agius
bdebc9e0cb
feat(@angular-devkit/build-angular): add ignore
option to assets
object
...
You can now provide an array of globs to `ignore` from copying
Closes #11850
2018-09-06 08:36:16 -07:00
Alan Agius
a723310e94
feat(@angular-devkit/build-optimizer): update typescript
dependency to 3.0.x
2018-09-06 08:28:16 -07:00
Alan Agius
88804b63dc
build: update repo to use typescript
3.0.x
...
Updated `@angular/<packages>` to `^7.0.0-beta.4` since we need this to be able to run the tests. Due to the `@angular/compiler` in `v6` doesn't support `typescript` `3.0.x`.
2018-09-06 08:28:16 -07:00
Filipe Silva
7c5178c698
feat(@angular-devkit/build-optimizer): correctly identify renamed enums
2018-09-06 08:18:41 -07:00