1300 Commits

Author SHA1 Message Date
James Henry
cc3e50e4d9 chore(angular): update @angular-eslint dependencies to latest 2021-04-05 13:25:20 -04:00
vsavkin
b78584325e Revert "fix(angular): prevent running ngcc with incremental builds (#5107)"
This reverts commit 6ad7c6037cc389ac64a540ac7a96c69d25e6adad.
2021-04-03 21:19:01 -04:00
Leosvel Pérez Espinosa
6ad7c6037c
fix(angular): prevent running ngcc with incremental builds (#5107) 2021-04-01 18:33:45 +02:00
Manfred Steyer
9d2290fea9 feat(angular): add buildTarget to webpack-browser builder
Before, the webpack-browser builder always directly scheduled @angular-devkit/build-angular:browser. Now, one can configure an
optional buildTarget that is scheduled instead. If this option is not used, the former behavior -- directly scheduling
@angular-devkit/build-angular:browser -- takes place.
2021-03-31 21:11:47 -04: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
Tasos Bekos
14b1df2173
cleanup(misc): deprecate showCircularDependencies option (#5135) 2021-03-26 15:12:21 -04:00
kirjai
feb31628e9 fix(angular): not install @ngrx/component-store if it's not installed already 2021-03-26 16:45:26 +00:00
Jason Jean
24a5cb0b25
fix(linter): keep plugins other than typescript-eslint/tslint (#5111) 2021-03-25 11:30:12 -04:00
Vivek More 🧐
212fb00548 cleanup(misc): use more es6 features
- Single char alternation (e.g. a|b|c|d) in a RegExp can be simplified to use a character class ([abcd]) instead.
  This usually also provides slightly better matching performance.
- Character escapes that are replaceable with the unescaped character without a change in meaning. Inside the square brackets of a character class, many escapes are unnecessary that would be necessary outside of a character class. For example the regex [\.] is identical to [.]
- If several qualified expressions occur after the qualifier having been checked for nullable, they can be replaced with optional chaining
2021-03-24 20:11:32 -04: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
Jason Jean
9acf8cbbf0
fix(angular): fix angular move merge conflict (#5094) 2021-03-23 17:22:41 +00:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
Jason Jean
1918e62625 Revert "fix(angular): fix angular move merge conflict (#5088)"
This reverts commit e6ec5f914232f81e5393d4d528b35d77f7528582.
2021-03-23 11:51:30 -04:00
Jason Jean
e6ec5f9142
fix(angular): fix angular move merge conflict (#5088) 2021-03-22 21:40:57 +00: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
Santosh Yadav
372b7939c6
feat(angular): support font inling optimization for builds (#4971) 2021-03-09 16:19:54 -05:00
Jason Jean
fc9caccffb
chore(repo): update nx to 11.5.0-beta.0 (#4957) 2021-03-05 19:57:26 -05: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
Juri Strumpflohner
1716c0b7f7
fix(angular): adjust ngcc postinstall command (#4641) 2021-03-05 11:40:28 -05:00
Krylova Dinara
87f483640c
fix(angular): ngrx effects generation (#4900) 2021-02-25 20:22:58 +00:00
Philip Fulcher
1681257340 fix(angular): fix --skipFormat option on application schematic 2021-02-21 23:44:54 -05:00
Matt Hodgson
5ee28743bc
fix(angular): honor buildableProjectDepsInPackageJsonType in angula… (#4760)
Fixes the angular:package builder to honor the `buildableProjectDepsInPackageJsonType` setting. It was previously ignored.
2021-02-19 20:52:20 +01:00
Christian Jensen
78a6f98e8f
fix(angular): generate constant case name in NgRx schematics (#4811) 2021-02-17 06:06:52 -06: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
Brandon
6be07fbb77
feat(angular): update NgRx packages to versions 11 release (#4783) 2021-02-12 12:24:30 -05:00
katerina
1edafe8c4f fix(core): fixed some wrong paths for utils/utilities
ISSUES CLOSED: #4736
2021-02-10 09:41:05 -05:00
Jason Jean
d51bbe04f9 feat(storybook): migrate storybook schematics to devkit 2021-02-10 09:35:54 -05:00
Brandon Roberts
ec45381687 feat(angular): update NgRx packages to 11.0.0-rc.0 2021-02-10 09:11:24 -05:00
Jason Jean
32a64c50c8
feat(angular): export angular generators from @nrwl/angular/generators (#4739) 2021-02-08 15:34:41 -05:00
Jason Jean
a5cb929a35
feat(web): set defaults on first application and cleanup generated app (#4722) 2021-02-08 10:24:39 -05:00
katerina
0fc65d8763 feat(storybook): Storybook v6 migration generator for default configurations
Co-authored-by: Philip Fulcher <philip@nrwl.io>
2021-02-01 09:17:49 -05:00
Jason Jean
c0387b9415
fix(angular): set default linter when creating the first app (#4644) 2021-01-29 15:43:18 -05:00
Billy Lando
f13047ea93
fix(angular): replace TestBed.get with TestBed.inject inside NgRx spec files (#4184) 2021-01-29 09:32:47 -06:00
Jason Jean
037c1b94b8 feat(testing): migrate cypress to devkit 2021-01-28 18:52:08 -05:00
Victor Savkin
14503c27c9 Revert "feat(storybook): storybook v6 migration generator for default configuration"
This reverts commit e3c46f3fefd39c3095651d6074a04c0590433ecb.
2021-01-28 16:26:19 -05:00
Katerina Skroumpelou
e3c46f3fef
feat(storybook): storybook v6 migration generator for default configuration
Co-authored-by: Philip Fulcher <philip@nrwl.io>
Co-authored-by: Juri <juri.strumpflohner@gmail.com>
2021-01-28 21:45:32 +01:00
James Henry
57ae457258
fix(core): change all default linter values from tslint to eslint (#4602) 2021-01-26 15:54:07 -05:00
Juri
ffe769f102 fix(angular): check whether project has architect node during migration of eslint 2021-01-26 08:54:03 -05:00
James Henry
d0d7cf4a8c
fix(core): eslint workspaces should not contain codelyzer (#4529) 2021-01-25 16:54:03 -05:00
Victor Savkin
a25e081a84 feat(core): remove angular devkit deps 2021-01-25 12:52:30 -05:00
Jason Jean
7066e8b821 feat(core): migrate preset to devkit 2021-01-22 20:13:33 -05:00
Jason Jean
2ee7629fe9
fix(angular): fix anguar lib build (#4578)
* fix(angular): fix anguar lib build

* fix(repo): fix e2e tests
2021-01-22 12:26:33 -05:00
Tasos Bekos
96625c77fb fix(repo): fix dependenies/discrepancies causing e2e tests with PNPM to fail 2021-01-16 17:54:54 +02:00
Victor Savkin
d6a26c7aa6 Revert "fix(angular): Honor buildableProjectDepsInPackageJsonType in package builder"
This reverts commit b4100648bb085ad704e8ab85284a463490e3a1c5.
2021-01-15 16:12:40 -05:00
Victor Savkin
a565717728 fix(repo): fix formatting 2021-01-15 12:22:09 -05:00
mehrad-rafigh
9267008320 feat(angular): update jest-preset-angular to 8.3.2 2021-01-15 08:46:23 -05:00
Matt Hodgson
b4100648bb fix(angular): Honor buildableProjectDepsInPackageJsonType in package builder
Fixes the angular:package builder to honor the `buildableProjectDepsInPackageJsonType` setting. It was previously ignored.
2021-01-15 08:45:41 -05:00
Victor Savkin
599923bc68 fix(misc): remov peer deps to make npm 7 install work
Closes #4436
2021-01-07 20:27:11 -05:00