229 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
301e70aa7a
fix(linter): fix how eslint hasher gets projects from task dependencies (#6875) 2021-08-27 17:54:38 +01:00
Jason Jean
a7f89508e5
feat(linter): cache --outputFile (#6852) 2021-08-26 11:25:51 -04:00
Chau Tran
5ff55ced15
feat(angular): upgrade to ~12.2.0 (#6836)
* feat(angular): upgrade to ~12.2.0

* fix(angular): adjust nrwl/angular packageJson to pass depCheck

* fix(angular): add @angular/platform-server to migrations

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2021-08-25 15:51:22 -04:00
Jason Jean
85f92e740e
feat(misc): simplify npm scripts generated (#6764) 2021-08-20 12:07:26 -04:00
Miroslav Jonaš
b32062416a
fix(core): skip caching output properties missing in options and arguments (#6743)
* fix(core): add outputFile to cached outputs

* fix(core): ignore output properties missing in options and console arguments
2021-08-18 19:56:01 -04:00
Jason Jean
7de111c25b
feat(core): update typescript to 4.3 (#6397) 2021-07-16 17:29:03 -04:00
Colum Ferry
bea5ed458d
feat(angular): upgrade angular to ~12.1.0 (#6390) 2021-07-16 18:44:16 +00:00
Jason Jean
59c8e186db
fix(angular): add --skip-format for convert-tslint-to-eslint (#6387) 2021-07-15 21:34:28 -04:00
Jason Jean
35d77a1b2a
fix(linter): check existence of eslintrc.json before running migration (#6335) 2021-07-15 10:40:54 -04:00
Miroslav Jonaš
8ab463e386
cleanup(core): replace deprecated usage of appRootPath (#6241)
* cleanup(core): replace deprecated usage of appRootPath

* cleanup(core): revert migration changes
2021-07-05 15:51:19 -04:00
Jason Jean
8ac7519ada feat(core): introduce batch executors 2021-06-28 14:46:53 -04:00
Miroslav Jonaš
4a9d82fc2e
fix(linter): tslint to eslint conversion should not override existing root config (#6103) 2021-06-24 07:20:07 +02:00
James Henry
8ac0f3f5ff Update lint.impl.spec.ts 2021-06-17 14:50:11 -04:00
James Henry
e4bbeba86b Update lint.impl.ts 2021-06-17 14:50:11 -04:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 (#5623) 2021-06-17 16:44:30 +02:00
Phillip Barta
84f873dcdb
cleanup(misc): cleanup typescript imports 2021-06-16 14:07:01 -04:00
James Henry
a3c08a9153
feat(linter): do not set eslint parserOptions.project by default (#5798) 2021-05-28 13:35:34 +00:00
vsavkin
75cd7d9006 cleanup(core): clean up hash details 2021-05-19 14:26:02 -04:00
Phillip Barta
52e3083a19
feat(core): added encoding param in Tree.read() (#5668)
feat(core): added encoding param in Tree.read()
2021-05-17 21:03:04 -04:00
vsavkin
e781d3c1e0 fix(linter): hasher throws when invoked not in root 2021-05-13 15:49:10 -04:00
Jason Jean
902c46e8f3
fix(angular): update angular-eslint to v12 stable (#5649) 2021-05-13 15:38:19 -04:00
vsavkin
3dadb304ad chore(repo): update repo to use nx 12.3-beta.2 and latest @nrwl/nx-cloud 2021-05-12 20:10:47 -04:00
Jason Jean
7352fd0c1e
feat(angular): update to angular 12 stable (#5643) 2021-05-12 19:30:23 -04:00
Leosvel Pérez Espinosa
678818a58b
feat(angular): upgrade Angular to v12.0.0-rc.3 (#5630)
* feat(angular): upgrade Angular to v12.0.0-rc.3

* feat(angular): target Nx v12.4.0-beta.0 for Angular v12.0.0-rc.0 upgrade

* fix(angular): use defaultConfiguration if no other configuration is passed

* cleanup(angular): sync migration folder name to target version

* fix(repo): creating custom schema flattener for docs

* chore(repo): amend yarn.lock

* feat(angular): update angular storybook to use webpack 5

* fix(angular): add legacy peer deps for angular+jest

* fix(angular): move migrations to 12.3.0-rc.0

Co-authored-by: Zack DeRose <zack.derose@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-05-12 12:20:12 -04:00
vsavkin
0bd6deaa65 fix(core): misc fixes to make the task orchestration logic work with the existing nx cloud package 2021-05-12 08:11:53 -04:00
Victor Savkin
67e78dc051
feat(core): add support for custom hashers 2021-05-11 11:17:57 -04:00
Ravi Rajpurohit
bc9eaedb41
feat(repo): replace tslint with eslint in recommended extensions (#5280)
* feat(repo): feat(repo): replace tslint with eslint in recommended extensions

* feat(linter): recommand eslint extension when creating a project with eslint
2021-04-22 10:34:39 -04:00
James Henry
bff5d431c9
feat(core): add --ignoreExistingTsLintConfig option to lint conversion generators (#5127)
* feat(core): add --discardExistingLintConfig option to lint conversion generators

* fixup! feat(core): add --discardExistingLintConfig option to lint conversion generators

* chore(core): address PR feedback

* fix(linter): properly store defualts for converting tslint to eslint

* fix(linter): fix tests for set defaults

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-04-12 15:40:48 -04:00
James Henry
b4981324b5
fix(linter): convert tslint:disable comments as part of project conversion (#5188)
* fix(linter): convert tslint:disable comments as part of project conversion

* fix(linter): use dynamically loaded tslint-to-eslint-config

* fix(linter): restore unrelated snapshot

* chore(linter): use visitNotIgnoredFiles

* cleanup(linter): remove unused code

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-03-31 22:53:20 +00:00
Jack Hsu
e2287867cd
feat(core): update typescript to 4.1 (#5116) 2021-03-30 08:38:40 -04:00
Jack Hsu
ed94c4e1ec
docs(core): add nextjs app for new nx.dev website (#5133)
Co-authored-by: ben <contact@benjamincabanes.com>
2021-03-27 04:01:31 +00:00
Jason Jean
9348eae236
feat(linter): update tslint-to-eslint-config to ^2.2.0 (#5117) 2021-03-25 13:03:15 -04:00
Jason Jean
24a5cb0b25
fix(linter): keep plugins other than typescript-eslint/tslint (#5111) 2021-03-25 11:30:12 -04:00
Jason Jean
578455f032
fix(linter): remove unused parameter from convert-to-eslint-config (#5108) 2021-03-24 20:04:05 +00:00
Jason Jean
be600ef15e feat(linter): install tslint-to-eslint in a tmp dir 2021-03-24 15:16:18 -04:00
Jason Jean
eb2fa0fac0 fix(linter): remove tslint/config rule from converted eslint configs 2021-03-24 15:16:18 -04:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
James Henry
00dec221e2
feat(linter): convert-tslint-to-eslint generators (#4943)
* feat(linter): convert-tslint-to-eslint generators

* fix(core): remove generators in collection for ng and nest

* fix(core): update tao to support mixed generators and schematics

* fix(core): update tao to support mixed generators and schematics

* fix(core): address some PR feedback

* fix(core): fix snapshots after syncing up with master

* feat(core): store user preference for removeTSLintIfNoMoreTSLintTargets

* fix(linter): unit tests

* feat(core): apply root tslint.json conversion to root .eslintrc.json
2021-03-19 13:41:13 -04:00
Kirils Ladovs
253addef4a
chore(nextjs): add migration to remove tsconfig.app.json (#4988)
additionally, fix linter migration to migrate next.js apps correctly
2021-03-10 11:25:07 -05:00
Jack Hsu
2527dc629e
chore(linter): convert linter migration to @nrwl/devkit (#4978) 2021-03-09 21:40:47 +00:00
Gustavo Perdomo
5b0f23a3e4
chore(linter): update eslint-config-prettier (#4899)
* chore(linter): update eslint-config-prettier

* fix(linter): fix migrations

* feat(linter): update migrations

* fix(linter): move peer dependency to eslint-plugin-nx

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-03-05 20:22:16 +00:00
James Henry
48c7c7b6a3
fix(core): always use project level tsconfigs with eslint (#4657)
* chore(core): increase coverage of eslint config file contents

* fix(core): always use project level tsconfigs with eslint

* chore(core): enhance depcheck to ignore type only imports

* chore(linter): migration always-use-project-level-tsconfigs-with-eslint

* fix(core): snapshots

* feat(core): thin wrapper around tseslint parser

* fix(core): depcheck for eslint-plugin-nx

* fix(core): revert wrapped parser

* fix(linter): add tsconfig root dir to allow for normalized paths for project configs

* fix(linter): move migration to 11.5.0

* fix(linter): add dependency on to @nrwl/workspace

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-03-05 11:48:18 -05:00
James Henry
699b1cbe1b feat(linter): noEslintrc option for eslint executor 2021-02-22 11:25:00 -05:00
Brandon
e4faaf1ef4
feat(angular): update Angular packages to 11.2.x release (#4788)
* feat(angular): update Angular packages to 11.2.x release

* chore(angular): fix storybook 5-6 default schematic unit test

* fix(angular): fix Angular Devkit discrepancies
2021-02-16 10:38:11 -05:00
Jason Jean
33acb41afb
cleanup(react): cleanup generators for react and next (#4769) 2021-02-12 15:29:31 -05:00
Lucas Vieira
4133c05bd3
fix(linter): do not print lint results to stdout when "outputPath" is set (#4755) 2021-02-12 13:16:55 +00:00
Jason Jean
06f84b3326
feat(react): migrate @nrwl/web schematics to devkit (#4666) 2021-02-02 18:56:35 -05:00
Jason Jean
ec758b4276
feat(linter): remove tslint from empty workspace and fix tslint support (#4622) 2021-01-27 18:38:07 -05:00
Jason Jean
f25776d903
feat(linter): migrate eslint executor to devkit (#4607) 2021-01-25 15:00:53 -05:00
Jason Jean
716bb44254
feat(core): migrate library to devkit (#4512)
* migrate lint

* feat(core): migrate library to devkit
2021-01-13 16:57:19 -05:00