Alan Agius
c99cef7ed6
docs: remove when true, when false from argument descriptions
...
It's confusing and redundant to use `When true` and `when false` in descriptions for a CLI arguments because specifying false/true is redundant in a command line argument flag and in most cases users will not do it.
Example:
`--foo=true` is the same as `--foo`
`--foo=false` is the same as `--no-foo`
2020-12-08 14:39:23 -05:00
tim_frijters
2dac2ac769
fix(@schematics/angular): Alphabetized import sources within a group
2020-12-01 10:05:02 +01:00
Alan Agius
affaabe6d3
fix(@schematics/angular): remove lint fix default value
...
Since will remove lintFix usage warnings when the option is set by a default of another schematic.
Example when executing
```
ng generate module customers --route customers --module app.module
```
The lintFix default of the module schematic will be passed down to the component schematic which would cause a warning to be shown.
Closes #19169
2020-10-22 15:48:30 +02:00
Alan Agius
57b63b3a93
refactor(@schematics/angular): deprecate lintFix option
...
As part of tslint deprecation we are also deprecated the lintFIx option. Users should use `ng lint --fix` directly instead
2020-10-07 11:12:58 -04:00
Sachin Grover
d4198e500b
fix(@schematics/angular): consecutive blank lines in routing.module.ts
...
Fixes : #18220
2020-07-15 12:33:05 -04:00
Alan Agius
47e4111b9f
refactor(@schematics/angular): clean up module schematic template
2019-12-03 12:35:04 -08:00
Judy Bogart
805e1a9a47
docs: further clarify module relationship
2019-09-11 10:12:35 -07:00
Judy Bogart
e200d730d4
docs: remove naming comment, clarify declaring module
2019-09-11 10:12:35 -07:00
Judy Bogart
f2cb88572b
docs: expand doc for new -route flag in generate module
2019-09-11 10:12:35 -07:00
Alan Agius
fcea2443aa
fix(@schematics/angular): lazy loading module generation routing module lookup
...
Fixes : #15552
2019-09-10 10:09:31 -07:00
Alan
cabf57d3c9
docs(@schematics/angular): improve description of the route parameter
2019-09-10 10:05:16 -07:00
Charles Lyding
5a7b823b28
test: remove use of deprecated synchronous test helper runSchematic
2019-08-08 08:27:31 -07:00
Alan Agius
15ef15e94a
style: remove redundant max-line-length
disables and fix other lint issues
2019-07-24 19:06:21 -07:00
hawkgs
fdcd1f7546
feat(@schematics/angular): lazy routing module generator
...
Introduces the lazy routing module generator as part of the existing
module generator.
Feature document:
https://docs.google.com/document/d/1NAJEWTG54cu4kW7XBp0gVadmz-gqJouW2XDs4c9PPJM/edit#heading=h.xgjl2srtytjt
2019-06-26 11:15:58 -07:00
Charles Lyding
ef12a1511b
refactor(@schematics/angular): update module to use new workspace rules
2019-04-16 11:23:48 -07:00
Hans Larsen
2e9dc3d252
docs: add analytics dimensions for schematics flags and internal doc
...
The analytics.md should be kept up to date with the flags.
2019-03-20 15:08:07 -07:00
Alex Eagle
bf1c069f73
refactor(@schematics/angular): drop dependency on TypeScript package
...
instead, vendor in the two files we actually need.
This reduces our install footprint by 5MB
2019-03-06 11:27:48 -08:00
Charles Lyding
91d457af73
refactor(@schematics/angular): remove redundant branchAndMerge rules
2019-02-13 15:21:37 -08:00
Alan
4718de4dae
feat(@schematics/angular): only support known style extentions
...
Fixes #13149
2019-01-18 11:56:19 -08:00
Alan Agius
36eba0c9fc
refactor: use .template
suffix for all schematic files
...
Currently when using `ivy-ngcc` it will print out a warning
```
Failed to read entry point info from //node_modules/@schematics/angular/workspace/files/package.json with error SyntaxError: Unexpected token < in JSON at position 1121.
```
Fixes #13378
2019-01-16 10:29:56 -08:00
Alan Agius
0715beb65c
feat(@schematics/angular): add lintFix
to several other schematics
...
At the moment some schematics contain this options for instance the `guard`, `component` etc.. But some others don't such as `module`
Fixes #12894 and Fixes #6272
2018-12-13 15:53:13 -08:00
Alan Agius
e18b912aa7
test: use toContain
instead of indexOf
2018-11-14 12:34:49 -08:00
Judy Bogart
ed6e765471
docs: add generation schematics option docs
2018-11-13 13:09:51 -08:00
Alan Agius
a1176986e4
fix(@schematics/angular): order of module
properties is inconsistent
...
Closes #12509
2018-10-31 21:00:34 -07:00
Alan Agius
f52f043e4f
docs: update descriptions
2018-10-24 13:11:55 -07:00
clydin
e9a8c3cfa8
feat(@schematics/angular): add prompts for all name options ( #12519 )
2018-10-10 12:11:12 -07:00
Cédric Exbrayat
5757b21f21
fix(@schematics/angular): remove module test ( #11278 )
...
The `module` schematic was generating a useless `module.spec.ts` file.
This commit removes such test.
Fixes #11277
2018-09-20 14:05:47 -07:00
Hans
f15d5589c3
refactor(@schematics/angular): automated JSON schema generation
2018-09-13 16:44:17 -07:00
Alan Agius
82f2bda2f5
refactor(@schematics/angular): make interaction with architect targets type safe
2018-09-12 12:37:24 -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
Filipe Silva
9720077a4b
build: make resolution logic compatible with Bazel
2018-08-22 16:36:10 -07:00
Mike Brocchi
f64087b625
fix(@schematics/angular): Allow additionalProperties in schematics options
...
fixes #11681
2018-08-03 12:38:27 -04:00
Hans Larsen
44086c60ff
build: move devkit repo back to angular-cli
2018-06-05 18:50:06 -07:00