1145 Commits

Author SHA1 Message Date
Brandon
fb197a27a9
feat(angular): update to NgRx 12.0.0-rc.0 (#5640) 2021-05-12 15:34:22 -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
Jordan Hall
a78fe65d81
feat(angular): add support for a target Builder (#4903)
Ability to support incremental builds when using target builders

ISSUES CLOSED: #4896
2021-05-11 14:32:56 +01:00
Leosvel Pérez Espinosa
939da0a1c3
fix(angular): support dynamic imports in buildable libs (#5560) 2021-05-05 20:17:08 +01:00
James Henry
1cf7a69ce2
feat(angular): update angular-eslint to v4 (#5499)
* feat(angular): update angular-eslint to v4

* fix(linter): add check to see if right version is used

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-04-29 22:19:50 +00:00
Katerina Skroumpelou
6b7b6815c1
feat(storybook): update Angular Storybook to use new Storybook v6 syntax (#5398) 2021-04-29 11:02:04 +02:00
Tasos Bekos
156e3c2c40 chore(repo): use jest-circus runner 2021-04-26 15:16:09 -04:00
Rares Matei
bd21728255
feat(storybook): infer Cypress project name from app source (#5404) 2021-04-22 15:16:49 +02:00
minijus
4df9b121d6 chore(angular): update jest-preset-angular to 8.4.0
Change import path and snapshotSerializers according to jest-preset-angular version 9 deprecations.
2021-04-16 09:13:09 -04:00
Jason Jean
d007d37fb4
fix(devkit): add env variable to disable project graph cache (#5297) 2021-04-15 10:29:33 -04:00
Santosh Yadav
00d712dca0
chore(angular): update ngrx to 11.1.0 while migration (#5321)
Fixes #5261
2021-04-14 21:17:07 +01: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
Rares Matei
6c4155dac6
feat(storybook): configure Cypress directory (#5314) 2021-04-12 14:06:51 +02:00
Leosvel Pérez Espinosa
95cdeaed06 fix(angular): resolve @angular/cli version mismatch causing data persistence typing to be broken 2021-04-08 10:36:54 -04:00
Jason Jean
bfb194843f
feat(core): remove readFile argument from createProjectGraph (#5206)
* feat(core): deprecate creating a project graph from a host

* feat(core): remove readFile argument from createProjectGraph
2021-04-06 13:44:09 -04:00
Leosvel Pérez Espinosa
bba3f0ee3f fix(angular): fix eslint component/directive selector prefix 2021-04-06 10:30:58 -04:00
Leosvel Pérez Espinosa
ad5628557c fix(angular): prevent running ngcc with incremental builds 2021-04-05 13:25:31 -04:00
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
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
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