232 Commits

Author SHA1 Message Date
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
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
vsavkin
38c111ba06 chore(repo): update to nx 12 2021-04-07 12:31:23 -04:00
Tasos Bekos
01e536c6eb fix(repo): documentation generation correclty handles deprecated 2021-03-31 21:03:10 -04:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
Dmitry Zakharov
00516ecd68
fix(testing): remove jest executor error while babel-jest exists with ts-jest (#4729) (#4730) 2021-03-11 11:14:07 -05:00
Jack Hsu
ddec362a5a
fix(nextjs): update babel setup to better support next apps (#4944)
* fix(nextjs): update babel setup to better support next apps

* fix(testing): remove babel-jest.config.json used in jest.config.js

- Fix `@nrwl/web/babel` to support Jest as well
2021-03-09 21:32:36 +00:00
Vivek More
49ba90b81a cleanup(misc): use shorthand 2021-03-08 10:13:06 -05:00
Damian Bielecki
043de57626 feat(core): export jestConfigParser from jest.impl
It should allow to easily extend jest config for other purposes.
2021-02-22 11:23:25 -05:00
Jason Jean
06f84b3326
feat(react): migrate @nrwl/web schematics to devkit (#4666) 2021-02-02 18:56:35 -05:00
Victor Savkin
a25e081a84 feat(core): remove angular devkit deps 2021-01-25 12:52:30 -05:00
Jason Jean
aeec4bd4d9
feat(core): migrate move to devkit (#4558) 2021-01-19 16:45:44 -05:00
Victor Savkin
c40ce8a539 feat(testing): update cypress use nx devkit 2021-01-18 21:46:17 -05:00
Victor Savkin
1961bc97fb feat(core): support executors returning async iterators 2021-01-17 09:34:13 -05:00
Jason Jean
7482944eea feat(testing): move jest builder to devkit 2021-01-14 08:54:38 -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
Jason Jean
4bc9bbda22
feat(testing): move jest to nrwl devkit (#4454) 2021-01-08 15:07:27 -05:00
Jason Jean
fcfc8589d5 fix(jest): warn with a helpful warning when unable to update the config 2020-12-17 16:47:43 -05:00
victor savkin
baa8c23d0f feat(misc): make all generators public 2020-12-02 10:51:43 -05:00
Tasos Bekos
6c1335ac83 feat(core): interpolated outputs & cache coverage folder 2020-12-01 13:49:43 -05:00
victor savkin
234ca36385 cleanup(misc): clean up devkit 2020-11-26 10:19:13 -05:00
Tasos Bekos
2f2ddec54e fix(testing): calculate coverage-directory from the root 2020-11-17 12:42:28 -05:00
Jason Jean
bc6e6b9a5b
fix(testing): fix ts-jest migration (#3900) 2020-10-13 16:52:13 -04:00
Jonathan Cammisuli
ac1a0e20d7
feat(core): update recommended extensions for new workspaces (#3823)
* feat(core): update recommended extensions for new workspaces

* feat(core): fix vscode extensions not being generated, add migrations for workspace and jest to add extensions

* feat(core): add e2e to check .vscode/extensions.jon

* chore(core): fix logic for handling angular builders

* chore(core): fix e2e

* chore(core): revert change for angular-console to be default for everyone
2020-09-29 22:25:57 -04:00
James Henry
e22f9370f5
feat(linter): new eslint builder (#3834)
* feat(linter): new eslint builder

* chore(linter): move migration to linter, add implementation

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2020-09-29 20:52:10 -04:00
Jason Jean
232fd9f30b
feat(core): update to typescript 4 (#3814) 2020-09-29 18:53:22 -04:00
Jonathan Cammisuli
e6e2dc67aa
feat(testing): add projects into jest config (#3766)
* feat(testing): add projects into jest config

* chore(testing): update unit tests and fix presets with spreading a default

* chore(testing): fix node e2e

* chore(testing): review comment changes
2020-09-23 02:20:10 -04:00
Martin Hochel
6b8592da2e
feat(misc): add babelJest support to node,web,workspace,express plugins (#3636)
ISSUES CLOSED: #3041
2020-09-08 13:59:36 -04:00
Zachary Williams
556385c012
fix(misc): remove deprecated jest builder options from schematic (#3630)
ISSUES CLOSED: #3505
2020-09-05 10:44:30 -04:00
Tasos Bekos
8abc06d3af fix(testing): handle coverageRepoters for Jest through CLI 2020-09-03 11:07:06 -04:00
Jonathan Cammisuli
2569b0270d
feat(testing): update jest to v26 (#3449) 2020-08-14 14:54:01 -04:00
Ramiro Rivera
de36724e36
docs(testing): fix jest builder documentation regarding coverageDirectory key (#3421)
ISSUES CLOSED: #3420
2020-07-28 09:53:18 -04:00
Jonathan Cammisuli
12a407f8cb
fix(testing): resolve jestconfig and add globals.ts-jest if needed for migration (#3336)
* fix(testing): require jest config to resolve it better during migration

* fix(testing): require with appRootPath

* chore(testing): remove uneeded exports and imports
2020-07-14 12:59:38 -04:00
Jonathan Cammisuli
3b8a10f073
feat(testing): add setupFilesAfterEnv and other configs to project's jest config file (#3224)
* feat(testing): add util to update jest configs.

* feat(testing): place configurations in jest config file rather than just the builder

* feat(testing): create migration and unit tests

* feat(testing): fix jest template

* feat(testing): fix jest template to correct unit tests

* feat(testing): include globals.ts-jest for all non babel configs

* feat(testing): include globals.ts-jest for node e2e

* feat(testing): fix migration to run properly. Also check for angular tests using the setupfile rather than builder

* feat(testing): clean up jest config functions and fix errors with some migrations

* feat(testing): add new line to package.json

* feat(testing): update object check to actually check for undefined

* chore(testing): loop through all project targets as well as targets

* chore(testing): update migration to be 10.0.0-beta.2
2020-07-13 10:45:04 -04:00
Jason Jean
a7b7af2dfe
feat(core): switch over to angular 10 (#3056)
* feat(core): switch over to devkit 10-rc.0

* feat(core): implement solution tsconfigs wip

* feat(angular): add angular migrations

* fix(angular): modify angularjs tests
2020-07-07 17:02:06 -04:00
Adam L Barrett
7b27ba4daa
fix(testing): allow jest --bail flag type to be either boolean or number (#3181) 2020-06-19 16:20:24 -04:00
Jack Hsu
d593153a33
feat(react): refactored babel support so options are more easily customized (#3089)
This reverts commit 7679df22f5b90d085b5f32f2135d828036ee5aa7.
2020-05-29 02:09:47 -04:00
Will S
3ecf6ea5a9
fix(testing): update maxWorkers jest builder option to support string type (#3025)
* fix(testing): update maxWorkers jest builder option to support string type

Jest supports both number and string args for the maxWorkers option, per their latest docs. This
updates the options for the jest builder to support both number and string types. Also updates the
docs accordingly.

ISSUES CLOSED: #2871

* fix(testing): fix test expectation missing property
2020-05-23 08:49:44 -04:00
Jason Jean
b42f0a81bf
fix(testing): add coverage as alias of code-coverage (#3010) 2020-05-15 10:02:49 -04:00
Ross Knudsen
41572b3afb
feat(testing): added --showConfig CLI option to Jest package (#2968) 2020-05-08 13:39:07 -04:00
Benedikt Starzengruber
ac6f52a5a5
feat(testing): add --detectOpenHandles to Jest CLI Options (#2969) 2020-05-08 13:26:36 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 (#2934)
this is just for the repo, and not the workspace

Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Jonathan Cammisuli
b85b8afe3c fix(testing): add migration for Jest 25 2020-03-31 13:49:19 -04:00
Jo Hanna Pearce
9ad9b2eb34
feat(testing): add option to use babel-jest rather than ts-jest (#2722) 2020-03-30 07:15:33 -04:00
Jonathan Cammisuli
0ad6f91ff8 feat(testing): update Jest and its dependencies to v25 2020-03-29 11:31:20 -04:00
Jason Jean
09c4654ae9 fix(misc): add formatting to all migrations 2020-03-29 11:30:59 -04:00
Jay Bell
a39587a350
feat(nest): implement nest lib schematic (#2540) 2020-03-02 11:20:45 -05:00
Derek Pavao
60077fbc29
fix(testing): remove --coverage option from jest builder (#2569)
the --coverage option was not being used in the builder at all, so provided no change in behavior.
The --codeCoverage option should be used instead

ISSUES CLOSED: #2564
2020-02-27 15:09:16 +00:00
Mathias Remshardt
7aaa09bfff
cleanup(node): moves some schematic helper to shared workspace rules 2020-02-26 20:19:17 -05:00
Jack Hsu
a433035eca
chore(react): update web/react dependencies and clean up npm warnings (#2547) 2020-02-25 11:03:58 -05:00