304 Commits

Author SHA1 Message Date
Jonathan Cammisuli
807fd6faa1
fix(testing): use readWorkspace for getting the workspace file (#3160) 2020-06-11 14:02:21 -04:00
Devin Shoemaker
3b142691c7
fix(testing): add Cypress ESLint plugin (#2977)
This fixes linting errors when using ESLint with a Cypress project that uses JavaScript.
2020-06-10 08:35:30 -04:00
Rares Matei
5a59f090fe
fix(linter): fix exclude pattern for tslint and eslint schematics (#3113) 2020-06-05 16:04:53 -04:00
Devin Shoemaker
1f90080d67
fix(testing): fix generating cypress-project with no project specified (#2965) 2020-06-05 16:00:37 -04:00
Jack Hsu
c2b8c22555
fix(linter): remove config builder option for @nrwl/linter:lint when using eslint (#3093)
- eslint automatically detects .eslintrc files already
- removing the config option also enables nested configs
- provide a migration to remove config as long as users didn't customize it
2020-05-29 16:30:32 -04:00
Victor Savkin
a95cba3144 feat(core): support different workspace layouts 2020-05-17 16:39:14 -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
Juri Strumpflohner
a47c24c05f
feat(react): improve storybook schematics (#2831) 2020-04-27 18:47:23 +02:00
Jason Jean
e5578076ed fix(testing): fix cypress headless mode for some versions 2020-03-31 11:24:54 -04:00
Jason Jean
09c4654ae9 fix(misc): add formatting to all migrations 2020-03-29 11:30:59 -04:00
Florian Tischler
417ff21aac
fix(testing): cypress cannot be started in chrome headless mode (#2683) 2020-03-20 15:10:19 -04:00
Jonathan Cammisuli
0f04fab0bc
feat(testing): add support for cypress 4 (#2604) 2020-03-06 10:18:10 -05:00
Mathias Remshardt
7aaa09bfff
cleanup(node): moves some schematic helper to shared workspace rules 2020-02-26 20:19:17 -05:00
Victor Savkin
d27cb3aa42
feat(misc): support customizing cypress webpack config (#2503)
Co-authored-by: Spencer Elliott <me@elliottsj.com>
2020-02-19 09:26:49 -05:00
Spencer Elliott
d1170b8e58
feat(misc): add group option to cypress builder (#2480) 2020-02-15 19:12:07 -05:00
Gaetan Paucot
e75fe50299
fix(testing): cypressconfig now propagates to cypress (#2460) 2020-02-15 19:10:38 -05:00
Benjamin Cabanes
02e95d9f8c fix(testing): cypress & fork ts checker plugin (#2316) 2020-01-23 22:10:09 -05:00
Jason Jean
6c10aa4610
feat(core): updating cypress version nrwl/cypress (#2370)
Co-authored-by: Benjamin Cabanes <contact@benjamincabanes.com>
2020-01-23 22:04:59 -05:00
Jason Jean
311685762e feat(core): generate implicit dependencies for e2e projects 2020-01-09 12:08:17 -05:00
Jack Hsu
fd47229764
feat(react): add option to generate js files instead of ts files (#2247) 2020-01-02 15:56:14 -05:00
Jason Jean
f8b3f4c3f5
fix(testing): fix cypress 8.10 migration (#2236) 2019-12-23 18:21:27 -05:00
Andrew Yang
6ef95bd454 feat(testing): add --ci-build-id option to cypress in order to make parallel work for some ci (#2218) 2019-12-19 16:07:41 -05:00
Jason Jean
34f51631bb
fix(testing): set cypress 3.6.1 migration to 8.x version (#2185) 2019-12-16 16:07:31 -05:00
Jason Jean
29176f8ac3 fix(testing): fix migration for cypress (#2141) 2019-12-06 09:53:39 -05:00
Benjamin Cabanes
093e693a01 chore(nx): cypress version update to 3.6.1 (#2109) 2019-11-30 11:10:28 -05:00
Benjamin Cabanes
08f3844007 feat(nx): cypress supportFile handling (#1920)
This update the Cypress schematic to handle by default the `supportFile` option
in `cypress.json` with an example for _custom commands_.

Related to #1609
2019-11-15 16:16:27 -05:00
Isaac Mann
c60857a6df feat(nx): storybook schematics
chore(nx): move some schematics into @nrwl/angular

    chore(nx): add e2e test

    feat(nx): add storybook schematics and builder

    test: Add tests

    test: remove test

    chore: Move some schematics into @nrwl/angular

    test: fix tests

    chore: Add e2e test

    chore: Bump storybook versions

    chore: createTestUiLib takes a libName argument

    chore: configs extend root config

    fix: Remove custom scss loader

    feat: add storybook builder

    fix: generate documentation and fix linting

    chore: Builder tests passing

    fix(nx): configuration schematic can run multiple times

    feat(nx): component story format

    docs(nx): update storybook docs

    fix(nx): pin core-js dev dependency to ^2.6.9

    chore(nx): fix formatting

    chore(nx): match core-js version for web/storybook

    chore(nx): remove storybook's angular dependencies

    chore(nx): modifyObstructiveCode to false in cypress.json

    See: https://github.com/cypress-io/cypress/issues/4042#issuecomment-487562075

    chore(nx): storybook tests --no-interactive

    chore(nx): add storybook to e2e tests

    chore(nx): reorder e2e tests
2019-10-23 17:16:19 -04:00
Thomas Skalnik
d3d5417a09 feat(testing): set transpileOnly=true ...
... and use the ForkTsCheckerWebpackPlugin
for the cypress test execution.

Closes #1871
2019-09-23 13:01:00 -04:00
Zachary Williams
5daf21152d feat(angular): fail cypress builder early if compilation error
If watch is not enabled and either the application or integration files (legacy) fail to compile,
the cypress angular builder will fail early.
2019-09-11 16:22:12 -04:00
Victor Savkin
09a94b8958 feat(nx): implement next support 2019-09-08 14:36:30 -04:00
Victor Savkin
70d71b3516 feat(nx): add support for migrations 2019-09-02 14:33:56 -04:00
Mehrad Rafigh
ff1de5b7f0 build(nx): update dependencies (#1711)
* build(nx): update husky and conventional-changelog-cli to latest version

* build(nx): update react and react-dom

update react and react-dom to 16.9.0
update @types/react to 16.9.1

* build(nx): update graphviz to 0.0.9

* build(nx): update express 4.17.1 and @types/express to 4.17.0

* build(nx): update cypress to 3.4.1
2019-08-15 11:21:33 -04:00
Victor Savkin
e29dcf904d fix(testing): remove directory x-prompt 2019-08-14 04:12:53 -04:00
Jason Jean
aecdd2bc4c fix(angular): use build-angular for linting 2019-08-09 11:15:40 -04:00
Victor Savkin
192a6a083d feat(nx): misc ux improvements 2019-07-29 09:23:51 -04:00
Victor Savkin
8fc5c4cae6 feat(nx): add a generic lint package that works with eslint and tslint 2019-07-25 08:34:05 -04:00
Victor Savkin
2b646f8eb4 feat(nx): standalone version of nx 2019-07-24 10:27:47 -04:00
Victor Savkin
2c81cc02ed chore(nx): update cypress to 3.4 (#1605) 2019-07-22 13:40:28 -04:00
João Dias
055e8bc7b3 fix(cypress): return a non 0 exit status on failures 2019-07-07 19:02:52 -04:00
Jason Jean
889d13f3aa enhancement(testing): do not bundle node_modules for cypress files 2019-06-27 16:31:55 -04:00
Jason Jean
3b699dacef fix(testing): fix cypress 8.2 for windows 2019-06-27 10:28:26 -04:00
Jason Jean
6dd7353636 feat(testing): rework how typescript is loaded into cypress 2019-06-24 12:12:06 -04:00
Jason Jean
2f27cc2156 feat(nx): exclude files from outside the project root when linting 2019-06-15 19:10:41 -04:00
Troy Houston
609a2f61e0 feat(testing): add regex based copy files & unit tests 2019-06-04 13:16:21 -04:00
Emilio Martinez
00b93fa988 feat(nx): update to cypress 3.3.6 2019-06-04 11:21:27 -04:00
Jason Jean
eebee9ab0b fix(testing): fix cypress on windows 2019-05-27 10:17:40 -04:00
Nick Favero
cf5ebf59d7 feat(nx): add in spec option for Cypress Builder
Add in spec option to angular.json so it can be passed to they cypress builder
2019-05-23 08:55:28 -04:00
Victor Savkin
f007ca9d17 fix(nx): make distribution ivy-friendly 2019-05-21 11:51:40 -04:00
Nick Favero
9618413020 feat(nx): add in env option for Cypress Builder
Add in env property to cypress builder that can be set from the angular.json in the options section
2019-05-13 22:34:12 -04:00
Jason Jean
b6170bdb17 feat(nx): update angular to v8 (#1334)
feat(nx): update angular to v8
2019-05-10 12:09:47 -04:00