Alan Agius
a464c001c3
fix(@schematics/angular): fix paths when newProjectRoot
is an empty string
...
When `newProjectRoot` the paths are prefixed with an `/` example `/project-name/tsconfig.lib.json` which results in these being marked as absolute paths, which causes build failures.
Fixes #14108
2019-04-22 16:17:39 -07:00
Charles Lyding
ca1ecb027d
test(@schematics/angular): ensure application schematic is run async
2019-04-16 11:23:48 -07:00
Alan Agius
58fb593787
feat(@schematics/angular): update several workspace dependencies
...
With this change we update ng-packagr, jasmine-core and tslint.
2019-04-15 11:09:13 -07:00
Charles Lyding
cbce3d3793
refactor(@schematics/angular): update library to use new workspace rules
2019-04-15 11:02:46 -07:00
Alan Agius
e516a817ac
feat(@schematics/angular): update to ng-packagr version 5
...
This changes remove the need for tsickle.
2019-03-27 12:11:38 -07:00
WilliamKoza
d841b3771e
fix(@schematics/angular): change entry file name of the library schematic according to the kebab-case convention
2019-03-11 13:40:02 -07:00
Alan Agius
9e18cf240e
fix(@schematics/angular): kebab case prefix causes lint errors in new directives
...
`Component` selectors are always kekabed while `Directive` selectors are always camelized. This updates the lint rules to convert the prefix to the appropiate case
Fixes #13796
2019-03-04 09:35:22 -08:00
Amadou Sall
3e14158283
fix(@schematics/angular): generate coverage for libs in their own folder
2019-01-14 10:57:51 -08:00
Klaus Kazlauskas
100cf47cb9
feat(@schematics/angular): generate a library with a README.md file
...
Fixes #13296
2019-01-08 13:45:18 -08:00
Alan Agius
e18b912aa7
test: use toContain
instead of indexOf
2018-11-14 12:34:49 -08:00
Alan Agius
8bbba9d0ac
fix(@schematics/angular): update @angular
peerDependencies for new libraries
2018-10-19 15:58:12 -07:00
Alan Agius
5308fa07d9
feat(@schematics/angular): update ng-packagr to 4.2.0
2018-09-18 11:30:54 -07:00
Filipe Silva
9720077a4b
build: make resolution logic compatible with Bazel
2018-08-22 16:36:10 -07:00
Alan Agius
718ee15b9a
refactor: remove flatModuleId
and flatModuleOutFile
from library tsconfig
...
The autogenerated fiellds are no longer required following this PR https://github.com/dherges/ng-packagr/pull/1024
This has been released in `ng-packagr` `v4.1.0`
2018-08-21 10:16:38 -07: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
50fc7214c4
feat(@schematics/angular): add support for watch
when building a library
...
`ng-packagr` version `4.0.0-rc.3`, lands the incremental builds feature.
More info: https://github.com/dherges/ng-packagr/blob/master/CHANGELOG.md#400-rc2-2018-06-23
`enableResourceInlining` needs to be enabled for libraries that contain components
Closes : #11100
2018-07-30 06:41:28 -07:00
Alan Agius
10eb83d660
feat(@schematics/angular): update ng-packagr
to version 4
2018-07-25 22:54:22 +01:00
Hans Larsen
483cbe2665
refactor: add tslint-sonarts and a lot of tslint rules
...
This should clean up the code a bit.
Note: at first I added the no-useless-cast rule, but after getting frustrated
with it (as it has many false positive), I decided to remove the rule but some
useless casts were removed so I let those in the PR.
2018-07-10 15:07:36 -07:00
Hans Larsen
44086c60ff
build: move devkit repo back to angular-cli
2018-06-05 18:50:06 -07:00