Alan Agius
67fd5f52ef
fix(@schematics/angular): update protractor version for new projects
...
New projects will now be created with `~5.4.3`
2020-01-29 10:21:17 -08:00
Alan Agius
9c9d2de6bc
revert: "fix(@schematics/angular): add skipLibCheck
to workspace tsconfig"
...
This reverts commit a8c60cb8b976d50c898607a5a5bf4fe84f0b2bfb.
Closes : #16696
2020-01-29 10:20:50 -08:00
Daniele Morosinotto
3aacf41057
fix(@schematics/angular): regression tsconfig.json #16708 ( #16709 )
...
* fix(@schematics/angular): regression tsconfig.json
fix(@schematics/angular): regression tsconfig.json …
Unverified
0e318ae
Regression in tsconfig.json set `"outDir": "./dist/out-tsc"` for problems in VSCode TS(2307) when building library referred in tsconfig "paths"
Closes : #16708
* fix(@schematics/angular): regression tsconfig.json
Improve paths in root tsconfig.json for better DX experience when using auto imports in IDE's.
Closes #16709
* fix(@schematics/angular): regression tsconfig.json
Improve paths in root tsconfig.json for better DX experience when using auto imports in IDE's.
Fix code lint.
Closes #16709
* fix(@schematics/angular): regression tsconfig.json
Improve paths in root tsconfig.json for better DX experience when using auto imports in IDE's.
Fix test code to conform new behaviour.
Closes #16709
2020-01-23 17:58:38 -08:00
Alan Agius
a8c60cb8b9
fix(@schematics/angular): add skipLibCheck
to workspace tsconfig
...
Add skipLibCheck to speed up TypeScript analysis and prevent compilation errors caused by incompatible declaration files which were generated with older/new TS versions
2020-01-16 14:48:23 -08:00
Alan Agius
63957ae127
feat(@schematics/angular): update karma and karma-jasmine
2020-01-07 10:29:23 -08:00
Alan Agius
be1bcbaead
fix(@schematics/angular): improve paths and exclude options
...
Currently the library schematic doesn't support adding a secondary entry-point and having deep imports is not recommanded.
It's best if paths are more stricter when having a secondary entry-point instead of a wildcard.
Instead of :
```
"lib/*": [
"dist/lib/*"
]
```
Users should configure:
```
"lib/secondary": [
"dist/lib/secondary"
]
```
This would allow a better DX experience when using auto imports in IDE's.
Closes : #15952
2019-12-03 12:37:07 -08:00
Alan Agius
b1fba1e0c1
fix(@schematics/angular): update @types/jasmine to 3.5 to match version of jasmine-core
2019-12-02 10:17:01 -08:00
Filipe Silva
5f8e8083b2
fix(@schematics/angular): remove ngcc postinstall hook
...
Partially addresses #16017
2019-11-11 09:14:24 -08:00
Amadou Sall
0e3d8e4a64
feat(@schematics/angular): add packageManager option
...
closes #15875
2019-10-25 09:53:12 -07:00
Alan Agius
0074abfbe8
feat(@schematics/angular): update to TypeScript 3.6
2019-10-21 09:37:29 -07:00
Filipe Silva
940276f554
fix(@schematics/angular): update ngcc postinstall command
2019-10-15 19:19:05 -07:00
Filipe Silva
318396345a
feat(@schematics/angular): use ngcc on postinstall ( #15801 )
...
* build: use FW 9.0.0-next.10
* feat(@schematics/angular): use ngcc on postinstall
This should improve the time first builds take.
Part of https://github.com/angular/angular/pull/32999
Blocked on an Angular release that includes https://github.com/angular/angular/pull/33049
2019-10-10 12:39:10 -07:00
Alan Agius
35edccf4b4
Update several dependencies ( #15797 )
...
* feat(@schematics/schematics): update serveral dependencies of blank projects
* feat(@schematics/angular): update serveral dependencies of new workspaces
2019-10-09 11:04:25 -07:00
mgechev
5393041747
fix(@schematics/angular): drop deprecated tslint rule
...
>no-use-before-declare is deprecated. Since TypeScript 2.9. Please use the built-in compiler checks instead.
2019-09-27 14:40:05 -07:00
mgechev
e2e7dee752
feat(@schematics/angular): use codelyzer@5.1.2
2019-09-27 14:39:50 -07:00
Alan Agius
438e2eb4a7
feat(@schematics/angular): add strict compiler option to workspace tsconfig ( #14905 )
...
Closes #14694
2019-09-18 14:51:12 +01:00
Alan Agius
ad8acb0d23
build: bump angular dev packages to latest next versions
2019-08-22 09:41:28 -07:00
Alan Agius
c1523d220a
build: update @types/jasmine to version ~3.4.0
2019-08-19 12:22:57 -07:00
Alan Agius
0d7dbc7f09
feat(@schematics/angular): update workspace dev dependencies
2019-08-16 09:31:30 -07:00
Alan Agius
96c457d6a5
refactor: add enableIvy: true
until FW flips it on by default
2019-08-16 09:31:02 -07:00
Alan
fc1fda2663
fix(@schematics/angular): add differential loading profiling file to gitignore
...
When differential loading enabled we will have different profiling files for every build target
Ex:
```
chrome-profiler-events-es2015.json
speed-measure-plugin-es2015.json
chrome-profiler-events-es5.json
speed-measure-plugin-es5.json
```
2019-07-24 19:05:23 -07:00
Minko Gechev
814b3c586c
fix(@schematics/angular): set proper severity of the tslint deprecation rule
2019-06-27 09:25:08 -07:00
Alan
555668c987
feat(@schematics/angular): add fullTemplateTypeCheck
and strictInjectionParameters
to workspace tsconfig.json
...
Closes #14794
2019-06-17 11:00:09 -07:00
Alan Agius
c6fb34a092
fix(@schematics/angular): enable tsc downlevelIteration
...
We by default now use ES2015. Users can use ES2015 iterations however the ES5 build will fail.
Fixes #14697
2019-06-07 13:00:28 -07:00
Charles Lyding
6b28d3ac51
fix(@schematics/angular): remove emitDecoratorMetadata
TS option for new applications
2019-05-23 19:12:40 +02:00
Alan Agius
0d235e1ef4
feat(@schematics/angular): update karma
to 4.1.x
2019-04-16 09:41:11 -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
Alan Agius
718ed37684
feat(@schematics/angular): set workspace tsconfig target to es2015
2019-04-15 11:03:09 -07:00
Charles Lyding
a0a583adaa
fix(@schematics/angular): remove unused core-js dependency from new projects
...
Required polyfills are now managed directly by the build system. If additional polyfills are required, packages can be manually added as needed.
2019-04-04 09:28:02 -07:00
Minko Gechev
9a1f48f990
feat(@schematics/angular): update to codelyzer 5
...
This PR also updates the hello world sample app and migrates its
`tslint.json` file.
2019-03-31 09:56:19 -07:00
cexbrayat
12b5db4624
feat(@schematics/angular): use more codelyzer rules
2019-03-19 10:00:30 -07:00
Alan Agius
4ff4d5335f
feat(@schematics/angular): update workspace jasmine to 3.3.1+
2019-03-13 13:49:49 -07:00
Filipe Silva
643e83d054
feat(@schematics/angular): use esnext as the default TS module format
2019-03-06 11:29:34 -08:00
Alan Agius
60ccf2fe64
feat(@schematics/angular): update minimum karma and tslint versions
...
Karma `4.0.1` removes usages of some vulnerable dependencies
See: https://github.com/karma-runner/karma/releases/tag/v4.0.1
Also, this updates tslint to `~5.13.1` which comes with several bugfixes https://github.com/palantir/tslint/blob/master/CHANGELOG.md#change-log
2019-03-06 11:28:37 -08:00
Alan
a7d095d916
feat(@schematics/angular): change layout for root applications
...
This change aligns the file layout of applications generated with `ng new` and `ng generate`
Ref: TOOL-686
2019-03-06 11:28:26 -08:00
Alex Eagle
4a093e5e38
Revert "feat(@angular/cli): Add VsCode extension recommendations"
...
This reverts commit d9166b04fccc708bc3856a6b243a8752120f312d.
2019-02-28 10:25:28 -08:00
Alex Eagle
71428bd9cb
Revert "feat(@angular/cli): Add VsCode recommendation for Angular Console"
...
This reverts commit 3d6ae631788b600a1b80132ae407f15ad3dc65aa.
2019-02-28 10:24:46 -08:00
Alex Eagle
242ebd932f
Revert "feat(@schematics/angular): recommend plugins that John Papa recommends"
...
This reverts commit 3a68b8cf9696e678308da65ca59b53329981c94f.
2019-02-28 10:24:44 -08:00
Alex Eagle
3a68b8cf96
feat(@schematics/angular): recommend plugins that John Papa recommends
...
This list comes from https://marketplace.visualstudio.com/items?itemName=johnpapa.angular-essentials
But we don't write a .prettier.json config file so we don't include the Prettier plugin yet
2019-02-27 10:10:18 -08:00
mrmeku
3d6ae63178
feat(@angular/cli): Add VsCode recommendation for Angular Console
2019-02-26 08:45:12 -08:00
cipchk
1a927aca4d
fix(@schematics/angular): fix missing semicolons in extensions.json.template
2019-02-20 10:37:19 -08:00
mrmeku
d9166b04fc
feat(@angular/cli): Add VsCode extension recommendations
2019-02-14 09:32:09 -08:00
Alex Eagle
6fc6e84b0a
fix(@schematics/angular): Include bazel-out in .gitignore
...
We could do this only when we know the user has opted into using Bazel, like in the @angular/bazel schematics.
However, the complexity of amending new lines to the .gitignore isn't worth it, when we can just add one line here.
Fixes #13636
2019-02-08 16:13:00 -08:00
Alan Agius
bf566c7101
build: update karma and jasmine dependencies ( #13566 )
...
* feat(@schematics/angular): update karma and jasmine dependencies
* feat(@angular-devkit/build-angular): update karma and jasmine dependencies
* build: update karma and jasmine dependencies
* test: add test expectations in shell component
2019-02-05 21:15:08 -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
cexbrayat
a52fc53f04
feat(@schematics/angular): activate recommended tslint rules
2019-01-14 11:06:54 -08:00
cexbrayat
2f262bb75f
feat(@schematics/angular): extend tslint:recommended
...
Updates the `tslint.json` file to extend to the `tslint:recommended` set.
Removes the rules that have the same value as the recommended one and explicitely deactivates some rules that are activated in the recommended set, but were not in ours.
2018-12-26 12:37:37 -08:00
Alan Agius
7b3dd8f510
fix(@schematics/angular): let tslint resolve codelyzer ( #13101 )
...
Tslint will try to resolve modules using node module resolution.
https://palantir.github.io//tslint/usage/configuration/
Fixes #13100
2018-11-30 14:10:53 -08:00
Hayden Berge
480952df56
feat(@schematics/angular): add .history directory to gitignore
2018-11-19 17:20:00 -08:00
Jesús
83469c5387
style: update editorconfig website url ( #12923 )
2018-11-14 12:36:33 -08:00