432 Commits

Author SHA1 Message Date
jiverson
a8e4beba54 fix(@angular/cli): glob copy plugin config 2017-06-27 16:10:37 +01:00
Charles Lyding
143a0748b5 refactor(@angular/cli): cleanup global config path discovery 2017-06-27 14:35:34 +01:00
Mike Brocchi
9e8a4427de
release: 1.2.0-rc.1 2017-06-22 08:40:06 -07:00
Alex Rickabaugh
220e59dbf4 fix(@angular/cli): check for existing SW manifest should look in project dir
A previous change broke the logic which brings an application ngsw-manifest.json into the Webpack build for merging with the auto-generated configuration. It caused the GlobCopyWebpackPlugin to look in the wrong directory for the existing manifest. This change sets the working directory for the copy plugin explicitly.

Fixes #6654.
2017-06-21 14:05:40 -07:00
Bram Borggreve
b989e80626 feat(@angular/cli): allow disabling warning when --hmr flag is enabled 2017-06-19 15:29:54 -04:00
jiverson
477a8e50f6 fix(@angular/cli): package sort 2017-06-16 17:05:22 -04:00
Charles Lyding
bd0dac11aa fix(@angular/cli): correct sourcemap source paths 2017-06-15 13:50:35 -04:00
Prakhar Srivastav
ca9414bd93 fix(@angular/cli): URL for tour of heroes tutorial (#6672)
Existing URL that is generated in the scaffold gives a 404. Updating this to the correct version.
2017-06-15 10:49:35 -07:00
Freek Wielstra
b8acc48fd3 fix(@angular/cli): Make generated inline template conform to test case
The generated app component spec checks for the string "Welcome to {{title}}!!", which is only output by the generated `app.component.htm`l file, not the generated inline template in `app.component.ts` when the `--inline-template` option is passed to the `ng new` command. This causes a test failure when generating a new app with `--inline-template`.
2017-06-15 13:36:08 -04:00
Charles Lyding
10ec556813 fix(@angular/cli): provide file path with config parse errors 2017-06-15 13:29:01 -04:00
Charles Lyding
ebb56d7485 refactor(@angular/cli): use UI method to show component generation warning 2017-06-15 13:27:08 -04:00
Giora Guttsait
e87598e5db docs(@angular/cli): update documentation for ng new
* for several options that are saved in .angular-cli.json, I've added an explanation of what setting in the json file controls that options.
* added an explanation about what --dry-run will output.
* added possible values for --style option
* added respective documentation in the command
* also added less, sass and styl(stylus) as possible style extensions

The motivation for this change is that sometimes people would want to change some of the settings set by the cli durig ng new, that they might have not known or cared about, for example, prefix.
2017-06-12 09:52:45 -04:00
Charles Lyding
f75b5a7151 feat(@angular/cli): improve common bundling performance 2017-06-12 09:48:49 -04:00
laco0416
692b378770 feat(@angular/cli): add baseHref property to appConfig 2017-06-12 09:44:44 -04:00
Filipe Silva
01cbf65728
release: 1.1.1 2017-06-07 14:04:31 -07:00
Mike Brocchi
a7668e0b0c feat(@angular/cli): add barebones option to ng new
This feature allows users to specify `--barebones` (`-b`) to create a no-frills app.
2017-06-07 12:33:48 -07:00
Sumit Arora
2be0bf2d53 fix(@angular/cli): fix delete path check 2017-06-07 11:22:25 -07:00
Tatsuyuki Ishi
75311c2a45 feat(@angular/cli): add support for minifying HTML
Close #1861
2017-06-07 18:49:09 +01:00
Charles Lyding
d437afbfae fix(@angular/cli): allow public host option to accept only hostname 2017-06-07 18:44:34 +01:00
Gleb Gusachenko
407625ca90 feat(@angular/cli): support loading webp images (#6594)
Fix #6526
2017-06-07 18:42:34 +01:00
Rokas Brazdžionis
f7847f58a3 docs(@angular/cli): correct web animations polyfill description 2017-06-06 15:09:33 +01:00
Charles Lyding
6e8944e621 fix(@angular/cli): check package manager only when using one 2017-06-06 15:08:39 +01:00
Charles Lyding
f9053bf5b7 refactor(@angular/cli): simplify command registration 2017-06-06 15:05:35 +01:00
Sumit Arora
0e153cb765 fix(@angular/cli): fix env path 2017-06-06 15:04:38 +01:00
Charles Lyding
6c6d50eb0d refactor(@angular/cli): remove unnecessary use of ember-cli promise wrapper 2017-06-06 15:03:11 +01:00
cexbrayat
b6bf8aedb4 fix(@angular/cli): restore e2e blueprint
This reverts commit ba15605fc3ef2e9a117b25b8fbc05b6817b3d27d.

The commit introduced non idiomatic Protractor code.
2017-06-06 14:59:28 +01:00
Sumit Arora
e72693a948 feat(@angular/cli): remove deduped licenses 2017-06-02 19:19:44 +01:00
Jesse Palmer
d1cac3255b feat(@angular/cli): add n as new alias (#6494) 2017-06-01 12:01:28 +01:00
Charles Lyding
af3e6b22f4 feat(@angular/cli): add option to preserve symlinks for module resolution 2017-06-01 11:47:19 +01:00
Charles Lyding
b72dbd9dea refactor(@angular/cli): remove additional unneeded ember-cli files 2017-06-01 11:45:01 +01:00
Hans Larsen
54b228e49b
release: 1.2.0-beta.0 2017-05-31 14:26:59 -07:00
Hans Larsen
3b4bf616f7
release: 1.1.0 2017-05-31 14:08:09 -07:00
Douglas Duteil
be7a7162eb fix(@angular/cli): resolve in all available node_modules
When @angular/cli dependencies (like @ngtool/webpack for example) are installed in its node_modules (as node_modules/@angular/cli/node_modules for example) webpack isn't seeing them.
2017-05-31 13:07:03 -07:00
Hans Larsen
9c7a7ea47b fix(@angular/cli): allow node_modules to be linked somewhere else.
Fixes #6499.
2017-05-31 10:59:22 -07:00
Trotyl Yu
2b4b4c9bfc fix(@angular/cli): add missing WeakMap polyfill 2017-05-31 09:44:33 -07:00
Hans Larsen
0d3d9ef217
release: 1.1.0-rc.2 2017-05-25 13:09:24 -07:00
Mike Brocchi
ab6e6247f5
release: 1.1.0-rc.1 2017-05-24 15:43:57 -07:00
Filipe Silva
0f6a5d6367 fix(@angular/cli): use realpath for project root
Fix #2726
2017-05-24 13:39:30 -07:00
Filipe Silva
91cbe3375f refactor(@angular/cli): use this.project instead of cliProject 2017-05-24 13:39:30 -07:00
Samuel Marks
ba15605fc3
fix(@angular/cli): update protractor API usage in the blueprints.
Closes #6163
2017-05-24 13:36:19 -07:00
Sumit Arora
a13e780d3d fix(@angular/cli): fix issue of folder getting generated on dry run
Fixes: #6017
2017-05-24 16:06:01 -04:00
Sumit Arora
d954ed1eab fix(@angular/cli): only values in enum should be allowed to update 2017-05-24 15:54:35 -04:00
Ricardo Varanda
dbfa851709 fix(@angular/cli): fix leading digit in file names from generate command 2017-05-24 15:35:46 -04:00
Filipe Silva
2b2e8b3685 fix(@angular/cli): remove broken script after eject
`prepree2e` doesn't run because it's a lifecycle script for a lifecycle script, but even if it did it would not work because there is nothing coordinating the serve and e2e processes.

Users must manually initialize the server prior to running e2e tests after ejecting.

Related to https://github.com/angular/angular-cli/issues/6171
2017-05-24 15:29:32 -04:00
Sumit Arora
403bf7efb1 fix(@angular/cli): allow e2e tests to run if no-serve and port is provided 2017-05-24 15:27:27 -04:00
Sumit Arora
61cf790057 fix(@angular/cli): fix package name fetching from package.json 2017-05-24 15:22:32 -04:00
clydin
78d1c77ca2 fix(@angular/cli): update new project dev dependencies (#6415) 2017-05-23 16:35:01 -04:00
Scott
a09f744b2d fix(@angular/cli): proper generation when the target dir exists (#5929)
This allows generating nested components or other blurprint outputs.
2017-05-17 19:22:53 -04:00
Hans
4ea6d5db00 fix(@angular/cli): if user pass a full path, use the path (#6341) 2017-05-17 19:22:03 -04:00
clydin
67fac865f8 refactor(@angular/cli): use memory FS for i18n extraction (#6306) 2017-05-17 19:19:45 -04:00