320 Commits

Author SHA1 Message Date
Jason Jean
a7f89508e5
feat(linter): cache --outputFile (#6852) 2021-08-26 11:25:51 -04:00
Sumit Parakh
47d1d38fae
feat(testing): update cypress to 8.x (#6808)
ISSUES CLOSED: #6430
2021-08-21 15:08:34 -04:00
AgentEnder
c9c8fa7f1c chore(core): project.json should not be included in builds
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-08-20 20:22:30 -04:00
Jason Jean
b2ea44ea87
fix(testing): fix remove typescript plugin migration when project has no targets (#6803) 2021-08-20 22:57:04 +00:00
Jack Hsu
9d8431d567
fix(testing): remove webpack dependency since it is causing issues with MFE (#6794) 2021-08-20 14:08:55 -04:00
Ashwin Gokhale
101a89e9e8
fix(web): Added WebpackError for webpack 4 compatibility (#6519)
* fix(web): Added WebpackError for webpack 4 compatibility

* Added WebpackError to cypress and node
2021-08-19 09:48:33 -04:00
Jason Jean
2f442ec632
feat(testing): remove cypress typescript preprocessor (#6706) 2021-08-16 16:23:17 -04:00
Phillip Barta
1b5498f367
feat(core): updated dotenv and switched to import 'dotenv/config' (#5615) 2021-07-29 17:49:23 -04:00
Leosvel Pérez Espinosa
9044a8f869
cleanup(misc): rename collection.json to generators.json (#6442) 2021-07-21 11:42:43 +01:00
Jason Jean
7de111c25b
feat(core): update typescript to 4.3 (#6397) 2021-07-16 17:29:03 -04:00
Jason Jean
59c8e186db
fix(angular): add --skip-format for convert-tslint-to-eslint (#6387) 2021-07-15 21:34:28 -04:00
Craigory V Coppola
442e4fc6a1
chore(repo): convert to project json format (#6286) 2021-07-08 11:36:35 -04:00
Jack Hsu
4b859493ea
feat(web): add migration generator for webpack 5 (#6232) 2021-07-06 12:21:20 -04:00
Ben Snyder
ce793144a8
Update schema.d.ts (#6222)
fix double "nn" on "boolean"
2021-07-05 16:50:07 -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
Miroslav Jonaš
84e1228e85
chore(repo): fix preprocessor test wrong import (#6168) 2021-06-29 16:20:00 +02:00
Jack Hsu
369da3ee78
feat(web): add support for webpack 5 (#5892) 2021-06-29 08:41:01 -04:00
Jason Jean
4f7191e154 chore(repo): update nx to 12.5.0-beta.5 2021-06-25 17:08:37 -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
Craigory V Coppola
f1911a71f3
feat(core): split nx config to project files (#5880) 2021-06-22 20:30:38 -04:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 (#5623) 2021-06-17 16:44:30 +02:00
James Henry
a3c08a9153
feat(linter): do not set eslint parserOptions.project by default (#5798) 2021-05-28 13:35:34 +00:00
Minijus L
2778e6e1ec
feat(testing): update cypress to 7.x (#5624)
Closes #5382
2021-05-21 09:44:35 -04:00
vsavkin
f82344d63a chore(repo): refine the tag line 2021-05-18 20:55:40 -04:00
vsavkin
af23cc5d7d feat(misc): change the nx tag line 2021-05-18 16:07:22 -04:00
Younes Jaaidi
2c811aba73 feat(testing): add testingType option to cypress executor
Cf. https://docs.cypress.io/guides/guides/module-api#Options

Closes #5622
2021-05-17 20:59:17 -04:00
Jason Jean
1c714de844
fix(testing): support cypress projects for default serve configuration (#5667) 2021-05-14 12:45:10 -04:00
Edouard Bozon
5340986722 fix(core): support target without watch option (#2735)
This commit checks if the target dev server supports the watch option before forwarding it to, this is relevant for running Cypress against dev server target that does not support this option, for instance "@nguniversal/builders:ssr-dev-server".
2021-05-12 21:04:25 -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
Tasos Bekos
156e3c2c40 chore(repo): use jest-circus runner 2021-04-26 15:16:09 -04:00
Minijus L
357ecd09a4
fix(testing): update ts-jest to version 26.5.5 (#5405)
Update `jest.config.js` ts-jest section with lower-cased 'tsconfig' property as 'tsConfig' is to be deprecated in version 27.
2021-04-26 08:56:52 -04:00
Phillip Barta
c0ce1ce65e
cleanup(core): normalized usage of fs-extra and updated fs-extra to 9.1.0 (#5199)
* cleanup(core): normalized usage of fs-extra and updated fs-extra

* cleanup(misc): use fs over fs-extra when possible

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-04-22 12:52:52 -04:00
Rares Matei
bd21728255
feat(storybook): infer Cypress project name from app source (#5404) 2021-04-22 15:16:49 +02:00
Phillip Barta
48bf60c17d
cleanup(repo): removed unused dependecies from @nrwl/web migration in #2004 (#5344) 2021-04-15 00:14:27 -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
Rares Matei
6c4155dac6
feat(storybook): configure Cypress directory (#5314) 2021-04-12 14:06:51 +02: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
vsavkin
5bfb5a4f8e cleanup(testing): remove log statement 2021-03-31 12:12:21 -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
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
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
Zachary Williams
564a86e096 feat(core): add option to skip serve step for cypress builder
The builder currently supports skipping the serve step by passing an empty value
for
devServerTarget. This is not intuitive and makes configuring this via the command line messy.
This
flag has the same behavior as passing an empty devServerTarget but is more user-friendly.
This
option can be useful for CI purposes where applications are previously built and want to use
the
same configuration for e2e testing but the serve step is unnecessary.

ISSUES CLOSED: #3744
2021-03-12 09:07:10 -05:00
vsavkin
7457b16811 cleanup(misc): misc docs update and small cleanups 2021-03-11 15:45:54 -05:00
Vivek More
49ba90b81a cleanup(misc): use shorthand 2021-03-08 10:13:06 -05:00
Jason Jean
fc9caccffb
chore(repo): update nx to 11.5.0-beta.0 (#4957) 2021-03-05 19:57:26 -05:00