Hans
2ce1155158
fix(@angular/cli): allow commandMap as an argument
...
With a fallback to looking for it from current file.
2018-08-13 20:58:47 -07:00
Hans
a7b9ee5856
refactor: cleanup and better documentation / comments (hidden from release log)
2018-08-13 20:58:47 -07:00
Hans Larsen
2bf1228f12
fix(@angular/cli): fix rebase on master of original commit
...
Keeping this as a separate commit to leave Mike as the author of the original
work.
2018-08-13 20:58:47 -07:00
Hans
2aa2b1fb4c
fix(@angular/cli): add $type values for all commands
2018-08-13 20:58:47 -07:00
Hans
5488dda25a
build: some tooling prefer unique keys in JSON
2018-08-13 20:58:47 -07:00
Hans
2a3237655e
refactor: fix typo
2018-08-13 20:58:47 -07:00
Hans
c75318b432
fix(@angular/cli): fix ci for new command formats
2018-08-13 20:58:47 -07:00
Mike Brocchi
ae9817b7ee
feat(@angular/cli): Update commands to extract meta data into JSON
2018-08-13 20:58:47 -07:00
Alan Agius
9ce4987947
ci: add missing license replacements for Apache v2
2018-08-13 17:04:03 -07:00
Alan Agius
b99b6bab08
fix(@schematics/angular): incorrect exclude
path for test.ts
...
Closes #11829
2018-08-13 17:03:32 -07:00
vakrilov
311723d369
refactor(@ngtools/webpack): expose TS TypeChecker from NG compiler plugin
...
Expose the TypeScript Program created by the plugin, so that it can be used in custom platform transformers.
2018-08-13 17:01:43 -07:00
Hans Larsen
f3e389bd8c
feat(@angular-devkit/schematics): add .template as an extension
...
New rules to deal with templates using a .template extension. Apply the template only
to those files, then remove the .template suffix.
Also added a new rename() rule that takes a matcher and a renamer. Nothing big there.
Also added a new composeFileOperator() that compose operators one after the other.
2018-08-13 16:59:32 -07:00
Alan Agius
9aadb8e6d1
feat(@schematics/angular): add no-redundant-jsdoc
tslint rule
...
When building a library, `tsickle` is used as the `annotateForClosureCompiler` option is `true`. `tsickle` warns when redundant jsdocs are used.
d24b139b71/src/jsdoc.ts (L170-L178)
These diagnostics are later passed to Angular Compiler and are treated as errors.
Seeing this: https://github.com/angular/angular/issues/19969#issuecomment-343318361 it looks like it is expected that warnings will fail the build.
Closes : #11282
2018-08-13 16:58:23 -07:00
qiyi
cd8801ca7b
fix(@angular-devkit/schematics): fix issues in google ( #11857 )
...
1. update the return type of 'validateOptionsWithSchema' to make it
conform the signature of engineHost.registerOptionsTransform
2. fix minor naming issue
2018-08-13 12:31:26 -07:00
Charles Lyding
3000c8a935
ci: use workspace persistence
2018-08-10 18:25:32 -07:00
Charles Lyding
af6dc938bd
test: update license validation
2018-08-10 18:25:32 -07:00
Charles Lyding
2ad9e57ba4
build: remove npm package lock
2018-08-10 18:25:32 -07:00
Charles Lyding
c729b0e7d9
build: use yarn workspaces
2018-08-10 18:25:32 -07:00
Charles Lyding
7b9cd20b62
fix(@schematics/update): correct npm config return value
2018-08-10 18:25:32 -07:00
Charles Lyding
2cb4ac5f77
fix(@angular-devkit/build-angular): cleanup serviceworker direct import
2018-08-10 18:25:32 -07:00
Alex Eagle
7d130630a9
build: add configuration for github bot ( #11849 )
2018-08-10 09:24:42 -07:00
Alex Eagle
a6912ac489
release: v6.2.0-beta.2
v6.2.0-beta.2
2018-08-09 18:27:53 -07:00
Hans Larsen
cf9f86e743
feat(@angular/cli): add tree shaking of ngDevMode if compiling in prod
...
Whether Ivy is on or not does not matter.
2018-08-09 19:37:53 -04:00
Hans
3886aab55b
feat(@schematics/angular): add a --experimental-ivy flag to ng-new
...
This will create a new Ivy-enabled application. Also available in "ng g application".
2018-08-09 19:37:53 -04:00
Yi Qi
569acc40d8
feat(@angular/cli): allow specifying workflow and engineHost for schematic commands.
2018-08-08 20:39:43 -04:00
Charles Lyding
64cf05b88f
fix(@ngtools/webpack): resolve relative host replacement paths
...
Fixes : #11801
2018-08-08 11:09:09 +01:00
Mike Brocchi
af415a215b
fix(@schematics/angular): Handle Windows paths for generate names
...
fixes #11501
2018-08-07 12:23:52 -04:00
Filipe Silva
8fd1040361
fix(@angular-devkit/build-angular): use process TTY as progress default
...
Fix #11195
2018-08-07 17:20:02 +01:00
Alexander Bobrov
b465930d42
refactor(@angular-devkit/build-angular): remove unnecessary stylus-loader workaround
...
Remove unnecessary stylus-loader workaround. Issue, from which this workaround originates, is resolved. Link to issue in stylus-loader: https://github.com/shama/stylus-loader/issues/189
2018-08-07 16:18:40 +01:00
Noel Mace
78c83c9632
docs: fix links url in CONTRIBUTING.md
...
Some urls where kept from angular/devkit and angular/angular-cli before the cli package was moved.
2018-08-07 15:02:34 +01:00
Noël Macé
cb93537832
docs: be more specific about E2E suite
...
specify that these instructions are for the E2E suite only
2018-08-07 15:02:34 +01:00
Noël Macé
0b11b07046
docs: typo in README
2018-08-07 15:02:34 +01:00
Noel Mace
2aa0883e19
docs: add some informations about VS Code debugging
...
Add an example of VS Code launch config permitting to debug Angular CLI.
2018-08-07 15:02:34 +01:00
Noel Mace
cc15444615
docs(@angular/cli): update Development Hints
...
Due to the changes the devkit reintegration to this repository have bring,
this old documentation didn't worked anymore, as the @angular/cli dependencies
versions now are dynamics. So, we now need to build it before linking it with npm.
2018-08-07 15:02:34 +01:00
Qais Patankar
68d87e82d1
style(@schematics/angular): fix English in environment.ts
2018-08-07 10:40:26 +01:00
Lukáš Matta
be5d3b0536
docs: fix schematics-cli url
2018-08-07 10:39:56 +01:00
Alan Agius
1a255e6e4e
build: bump TypeScript
to 2.9
2018-08-04 16:23:37 +01:00
cexbrayat
a7bfef72e1
feat(@schematics/angular): simplify service test
...
Now that the service schematic uses `providedIn` by default,
we can simplify the test to use `TestBed.configureTestingModule({})`.
Also use `TestBed.get()` instead of the `inject` wrapper.
2018-08-04 12:47:16 +01:00
Alan Agius
c35b44ca4d
feat(@schematics/angular): add skipInstall
option to library
schematic
...
Closes : #11343
2018-08-04 12:46:55 +01:00
Alan Agius
02f87cf2a5
docs: update universal story
2018-08-04 12:46:21 +01:00
Charles Lyding
6c0cbe3c6d
test(@angular/cli): run an npm audit test
...
currently purely for reporting and does not fail
2018-08-04 12:44:51 +01:00
Charles Lyding
59eedc2ed8
ci: use npm 6.1 for CLI E2E tests
2018-08-04 12:44:51 +01:00
Daniel Imhoff
91c18ce7bf
feat(@angular-devkit/core): respect FORCE_COLOR env var behavior
...
Currently, there is no mechanism in the Angular tooling to forcefully
output colors regardless of detected terminal capabilities. This commit
adds an override via an environment variable: `FORCE_COLOR`. The
behavior in this commit is the same as the behavior in a commonly used
module, `supports-color` (https://github.com/chalk/supports-color#info ).
This is especially useful when piping output from the Angular CLI, which
would automatically and irreversibly disable colors before this commit.
2018-08-04 12:42:55 +01:00
Sarun Intaralawan
37072fb1db
fix(@schematics/angular): increase version range for TypeScript
2018-08-04 12:41:56 +01:00
Yi Qi
b834014bb1
build: Fix all the BUILD files for google3
2018-08-03 23:32:10 +01:00
Alan Agius
d77304b700
refactor: remove extra .
in error message
2018-08-03 14:32:44 -04:00
Hans Larsen
bd423e21a0
build: remove @schematics/package-update package
...
Its unused.
Fixes #11674 .
2018-08-03 14:31:18 -04:00
Mike Brocchi
1370ac02bb
fix(@angular-devkit/build-angular): Fix initial chunk logic for bundle budgets
...
fixes #11712
2018-08-03 12:39:38 -04:00
Mike Brocchi
8c6a525d3b
fix(@angular/pwa): Allow additionalProperties in schematics options
...
fixes #11681
2018-08-03 12:38:27 -04:00
Mike Brocchi
f64087b625
fix(@schematics/angular): Allow additionalProperties in schematics options
...
fixes #11681
2018-08-03 12:38:27 -04:00