53 Commits

Author SHA1 Message Date
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
Alan Agius
0995886004 refactor: remove experimentalAngularNext (#12848)
Closes #12769
2018-11-06 22:46:10 -08:00
Filipe Silva
8064ff6bdd fix(@schematics/angular): update karma version 2018-11-01 10:31:50 -07:00
Fabrice_Pomata
524769bf99 feat(@schematics/angular): add profiling files to gitignore
closes #12811
2018-11-01 08:32:58 -07:00
Alan Agius
c891ab0723 fix(@schematics/angular): minimal workspace leaves blank line in package.json
Fix #12778
2018-10-31 21:04:30 -07:00
Alan Agius
0b4e91bb97 feat(@schematics/angular): enable typescript helpers in workspace 2018-10-23 10:22:16 -07:00
Charles Lyding
16f1834736 fix(@schematics/angular): update codelyzer for new projects
codelyzer@4.5.0 adds support for Angular 7.0 and removes peer dep warnings on new project install.
2018-10-18 09:50:35 -07:00
Suguru Inatomi
1a6b471c82 feat(@schematics/angular): remove @angular/http as it's deprecated 2018-10-15 14:34:49 -07:00
Rohit Sarkar
907ce5c94c feat(@schematics/angular): Add --minimal flag to generate a barebones (#12498)
project
2018-10-10 12:08:24 -07:00
Christian Liebel
e72d1c3ed7 feat(@schematics/angular): update tsconfig.json libs to include es2018
Update the lib property in tsconfig.json files for Angular libraries and workspaces to include es2018.
2018-09-25 16:38:43 -04:00
Sibiraj
e66394f27f feat(@schematics/angular): update karma to v3
Fixes #10963
2018-08-17 10:39:27 -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
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
Charles Lyding
d8a2ebc039 feat(@schematics/angular): update new project development dependencies 2018-07-30 08:02:30 -07:00