2933 Commits

Author SHA1 Message Date
Filipe Silva
9fdcdf49bb ci: add back angular snapshot e2e on master 2018-09-10 14:18:24 -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
b6ff520b10 refactor(@ngtools/webpack): avoid double caching of files 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
432fe97d89 fix(@schematics/angular): use app root to set server paths in options 2018-09-07 13:00:37 -07:00
Alan
d07e68aa95 fix(@schematics/angular): module imports paths are incorrect when flat option is used
Closes #12169
2018-09-07 13:00:18 -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 v7.0.0-beta.2 2018-09-06 14:47:26 -07:00
Alex Eagle
7421d63d4a release: v7.0.0-beta.1 2018-09-06 14:31:53 -07:00
Alex Eagle
351359b2ff release: v7.0.0-beta.0 2018-09-06 14:24:14 -07:00
Alex Eagle
5feb1faa37
Update release.md
add note about `latest-versions.ts`
2018-09-06 14:20:53 -07:00
Charles Lyding
6595490b8b feat(@angular/pwa): support customized workspace configurations with add 2018-09-06 11:01:17 -07:00
Filipe Silva
0dc36f2848 ci: update CI to node 10 2018-09-06 10:59:24 -07:00
Alan Agius
36f8cd77ba fix(@schematics/angular): fix path for ngswConfigPath during migration
`/` will cause an error during lookup `Error: Expected to find an `ngsw-config.json` configuration file
2018-09-06 10:58:33 -07:00
Alan Agius
616ffe70f8 fix(@schematics/angular): app shell schematic does not use production configuration
Closes: #11578
2018-09-06 10:55:39 -07:00
Jan Kuri
6afa6a31bb docs: update proxy.md with correct path 2018-09-06 10:55:08 -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
65ede1fd6e docs: fix english 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
Charles Lyding
ee7603f597 feat(@schematics/angular): add several prompts to ng-new 2018-09-06 08:46:33 -07:00
Bram Borggreve
a94c826661 feat(@schematics/angular): let Universal schematic use configurations from build architect 2018-09-06 08:45:22 -07:00
Alan Agius
01beb520bc 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
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
509c0fa8af build: add typescript as devDependencies 2018-09-06 08:28: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
Alan Agius
58977a1969 feat(@ngtools/webpack): add typescript version 3.0.x as a peer dependency 2018-09-06 08:28:16 -07:00
Charles Lyding
cc6181e3c9 feat(@schematics/angular): add CLI 7.x migration schematic 2018-09-06 08:25:29 -07:00
Filipe Silva
53e6d2d3e9 test(@angular/cli): add third party decorator prod test 2018-09-06 08:18:41 -07:00
Filipe Silva
7c5178c698 feat(@angular-devkit/build-optimizer): correctly identify renamed enums 2018-09-06 08:18:41 -07:00
Filipe Silva
6076e16ebc feat(@angular-devkit/build-optimizer): remove constructor __param 2018-09-06 08:18:41 -07:00
Filipe Silva
2962ede3e3 test(@angular-devkit/build-optimizer): also check method metadata 2018-09-06 08:18:41 -07:00
Hans
0070ea46e6 fix(@angular-devkit/schematics): fix task executor on Windows
Before we did not denormalize the paths, but were expecting to get paths as options.
2018-09-06 07:37:48 -07:00
Hans Larsen
fefef0271e refactor(@angular/cli): remove parseJsonFile and add options to parseJson instead 2018-09-06 07:37:48 -07:00
Hans
c72c45f9db fix(@angular/cli): only add options if theres only one builder configuration 2018-09-06 07:37:48 -07:00
Hans
66fbc59767 feat(@angular/cli): add long description and suboption option type 2018-09-06 07:37:48 -07:00
Hans
37d1a43d71 fix(@angular/cli): only print options once for schematic --help 2018-09-06 07:37:48 -07:00
Hans
c8ddfbbe62 fix(@angular/cli): add options in help for architect commands
And fix a bug with json schema to Option array.
2018-09-06 07:37:48 -07:00
Hans
7ffd3b3033 refactor(@angular/cli): rename project to workspace and clean up
Removed unnecessary fields in interfaces, added some comments. Overall QoL.
2018-09-06 07:37:48 -07:00
Hans
de7ec84872 feat(@angular/cli): add --helpJson (or --help-json) too all commands
And other refactors.

The interface for the JSON is available in command.ts (the CommandDescription).
2018-09-06 07:37:48 -07:00
Hans
fd7bcd25fe fix(@angular-devkit/core): use architect key only if it exists
And if target didnt exist.
2018-09-06 07:37:48 -07:00
Hans
9517677158 feat(@angular-devkit/core): remove addUndefinedDefaults as default post transform
And various bug fixes.
2018-09-06 07:37:48 -07:00
Hans
ff1baab7fc feat(@angular/cli): remove yargs-parser and implement parsing
This is fully backward compatible.
2018-09-06 07:37:48 -07:00
Hans
fb99a490bf feat(@angular-devkit/core): add a parseJsonFile that shows file path on error 2018-09-06 07:37:48 -07:00