108 Commits

Author SHA1 Message Date
victor savkin
93ebc835dc docs(misc): clean up api docs 2020-12-02 10:51:43 -05:00
victor savkin
baa8c23d0f feat(misc): make all generators public 2020-12-02 10:51:43 -05:00
Tasos Bekos
1c3b215a9f cleanup(repo): enable missing dependencies check 2020-12-01 14:25:13 +02:00
Jason Jean
b9791a3108
feat(core): upgrade to angular and angular devkit 11 (#4095) 2020-11-30 14:07:27 -05:00
victor savkin
234ca36385 cleanup(misc): clean up devkit 2020-11-26 10:19:13 -05:00
Victor Savkin
2824794a92 feat(core): clean up the language to use word executor 2020-11-24 09:49:52 -05:00
Mehrad Rafigh
6a61b154af
feat(testing): update cypress to 5.5.0 (#3759) 2020-11-09 16:28:29 -05:00
Tasos Bekos
463d2cb9e0
fix(repo): add missing tslib dependency in generated applications (#3858) 2020-10-23 17:09:35 -04:00
Jason Jean
6c4aacf212
feat(repo): update to nx 10.3 (#3840) 2020-10-02 13:12:34 -04:00
James Henry
e339ece224
feat(linter): add explicit file extension to config files (#3847)
* feat(linter): add explicit file extension to config files

* feat(linter): update references to .eslintrc for new projects

* fix(linter): fix quotes in global eslint config
2020-10-01 18:59:45 -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
Tasos Bekos
9153007462 feat(repo): check package dependencies on CI 2020-09-25 09:06:02 +03:00
Tasos Bekos
b11a50f9a0 cleanup(repo): add packages to dependency lists in package.json
This commit also adds a dependency check tool.
2020-09-14 13:07:45 -04:00
Tasos Bekos
ee4b2783fe fix(testing): handle cypress parameters when invoked through Angular CLI
When Cypress was invoked using `ng`, it  was throwing errors because no additional properties were allowed.
When allowed, all the extra options are passed as array in the `--` key, which is not currently handled.
This commit allows additional properties and makes sure that if any adittional options are passed they are parsed and incorporated correctly.

ISSUES CLOSED: #3571
2020-08-31 12:05:17 -04:00
Jonathan Cammisuli
7dbf48a11e
chore(repo): update to 10.1.0-beta (#3561) 2020-08-19 13:06:12 -04:00
Mehrad Rafigh
78ed02c2cd
feat(testing): pass reporter and reporterOptions to cypress builder (#3536) 2020-08-18 09:49:57 -04:00
Mehrad Rafigh
8a7cb350a8 feat(testing): pass ignoreTestFiles to cypress builder
ISSUES CLOSED: #3439
2020-08-13 14:15:28 -04:00
Zachary DeRose
86b4f4e7b8
fix(testing): builder should let baseUrl option take precidence if present (#3487) 2020-08-12 12:11:39 -04:00
Spencer Elliott
5b6df632cb
fix(core): resolve webpack loaders with require.resolve() (#3436)
* fix(core): resolve webpack loaders with `require.resolve()`

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

* fix(core): resolve absolute 'raw-loader' path

When replacing the 'raw-loader' rule in the `getStylesPartial` function,
check for the absolute path of 'raw-loader' rather than just the name.
2020-08-08 17:53:00 -04:00
Victor Savkin
aff592b930 feat(angular): add an option to use eslint 2020-08-06 22:08:16 -04:00
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