87 Commits

Author SHA1 Message Date
Jack Hsu
ed8bd2bbe8
Revert "fix(core): resolve webpack loaders with require.resolve() (#3341)" (#3371)
This reverts commit d74ab4e9d6eae6d83c3bb76072b45f7a4c7a6305.
2020-07-20 16:24:47 -04:00
Victor Savkin
5d53661139 fix(repo): update the repo to nx 10 2020-07-16 16:18:00 -04:00
Spencer Elliott
d74ab4e9d6
fix(core): resolve webpack loaders with require.resolve() (#3341)
With strict package managers such as pnpm or Yarn PnP, transitive
dependencies are *not* hoisted to the root node_modules folder. This
means that a webpack config defined within a package like
'@nrwl/cypress' cannot resolve loaders like 'ts-loader', unless
'ts-loader' is declared in the workspace's own package.json.

This is a problem because the workspace might define a different version
of 'ts-loader', incompatible with the version declared by
'@nrwl/cypress/package.json'. The workspace should not need to declare
a dependency on 'ts-loader' anyway.

See also:
* https://github.com/pnpm/pnpm/issues/801
* https://github.com/webpack/webpack/issues/5087
2020-07-15 13:55:38 -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
Victor Savkin
0111d87575 feat(repo): have separate readmes for all plugins 2020-06-14 23:33:05 -04:00
Jason Jean
0d9b8bb0db
fix(testing): do not add cypress-eslint-plugin if eslint not used (#3162) 2020-06-11 21:42:28 -04:00
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
Victor Savkin
e71ceba4ce feat(repo): run e2e tests using nx 2020-06-07 23:31:38 -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
Victor Savkin
d0cbc35efa feat(repo): build nx with nx 2020-06-03 16:25:25 -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
Brandon Roberts
49d8ce1297 feat(angular): update Angular libraries to version 9.1.0 2020-03-31 11:25:30 -04: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
Jack Hsu
a433035eca
chore(react): update web/react dependencies and clean up npm warnings (#2547) 2020-02-25 11:03:58 -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
Jason Jean
e5db43f92b fix(misc): loosen dependencies for angular dependencies 2020-02-16 09:59:11 -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
Jason Jean
fd0b192161 feat(core): update to devkit 9.0.1 2020-02-07 13:47:54 -05:00
Jason Jean
35e3be2469 feat(angular): update to angular 9.0.0 2020-02-06 15:16:21 -05:00
Jason Jean
3c6d8c67f8
feat(angular): update angular to 9-rc.14 (#2437) 2020-02-06 13:01:04 -05:00
Jason Jean
b6e6b3f1c3
Revert "Revert "feat(core): update to next version of angular deps"" (#2264)
This reverts commit f816fc424d4b0d850e0a49d0ed8e4a30ddca308c.
2020-01-31 13:08:50 -05:00
Benjamin Cabanes
5109548710 feat(core): add peerdependency cypress for nrwl/cypress (#2373) 2020-01-24 14:52:22 -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
Jonathan Cammisuli
342ee9db77 chore(misc): update tree-kill package to 1.2.2 (#2328) 2020-01-16 19:53:04 -05:00
Juri
7a9d4bde0c chore(core): update @angular-devkit/* deps to fix browserslist out of date issue
see https://github.com/angular/angular-cli/issues/16560
2020-01-15 21:10:42 -05:00
Victor Savkin
f43897978c Revert "chore(core): update @angular-devkit/* deps to fix browserslist out of date issue"
This reverts commit 3780eba421bda7f4755e6c433f1d6eba8fd86104.
2020-01-15 10:20:56 -05:00
Juri
3780eba421 chore(core): update @angular-devkit/* deps to fix browserslist out of date issue
see https://github.com/angular/angular-cli/issues/16560
2020-01-15 09:39:01 -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
Victor Savkin
f816fc424d Revert "feat(core): update to next version of angular deps"
This reverts commit bd230e0530e690b2ae7896a876510f62002943c8.
2019-12-10 08:07:26 -05:00
Jason Jean
bd230e0530 feat(core): update to next version of angular deps 2019-12-08 16:16:33 -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
Brandon
8812ce1fe2
chore(nx): bump dependencies on Angular, Angular DevKit, and NgRx (#2002) 2019-11-07 13:57:36 -06: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