1534 Commits

Author SHA1 Message Date
Jason Jean
6fb780e474
fix(storybook): fix .eslintrc.json being undefined when adding storybook to project (#3851) 2020-10-02 08:43:39 -04:00
Jason Jean
ad56f5785a
fix(linter): run migration for targets that are not lint (#3850) 2020-10-02 00:05:32 -04:00
x87
655143e16c
fix(core): fix resolving projects for imports to '..' (#3846)
* fix(core): fix resolving projects for imports to '..'

* fix(core): fix formatting

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2020-10-02 00:05:00 -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
Rares Matei
b45734b1d2
fix(core): fix linter prompt in create-nx-workspace (#3845) 2020-10-01 09:35:25 -04:00
Jason Jean
e68854143c
fix(core): fix resolving projects for imports to '.' (#3839) 2020-09-30 22:38:18 -04:00
Jason Jean
f2585ae04e
fix(linter): remove duplicate migration of disabling explicit-module-boundary-types (#3837) 2020-09-30 12:11:57 -04:00
Victor Savkin
c25628a4f6
feat(misc): add linter flag to create-nx-workspace (#3826)
* feat(misc): add linter flag to create-nx-workspace

* fix(core): prompt linter when preset is angular or angular-nest

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2020-09-30 12:11:37 -04:00
Brian
3f436fc6d0
feat(core): add flag to set dependant libs in either peerDependencies or dependencies (#3078)
* feat(core): add flag to set dependant libs in either peerDependencies or dependencies

* fix(core): mark new property as optional

* feat(core): add migration for new option

* Update migrations.json

Co-authored-by: Jonathan Cammisuli <jon@cammisuli.ca>
2020-09-30 10:36:35 -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
Jason Jean
f0bb232935 fix(core): migrate to latest version of @nrwl/nx-cloud 2020-09-29 12:05:04 -04:00
Jason Jean
f057978400
fix(core): fix lint failures for npm packages (#3827) 2020-09-28 18:31:29 -04:00
Jason Jean
6885507567
fix(angular): add tsconfig.editor.json to catch misc files" (#3810) 2020-09-28 13:23:56 -04:00
Tasos Bekos
01d8c98a90
fix(repo): add migration for cli dependency (#3820)
Migration for 21bbd1e90ad7f48435a46776edc7e225c6f741d7.
2020-09-28 13:23:38 -04:00
maxkoretskyi
4a942d9eda fix(linter): fix performance issues with boundaries lint checks 2020-09-28 13:20:25 -04:00
Jason Jean
970a60d08c fix(core): combine npm and project locators to scan files only once 2020-09-28 11:52:31 -04:00
Tasos Bekos
e03d7d56c1 cleanup(core): avoid referencing node_modules 2020-09-28 11:48:37 -04:00
Katerina Skroumpelou
5da9e668fd
feat(storybook): add support for Storybook v6
Co-authored-by: Katerina Skroumpelou <katerina@fileas.local>
Co-authored-by: Juri <juri.strumpflohner@gmail.com>
2020-09-28 15:57:10 +02:00
Tasos Bekos
341cc6bdba fix(repo): lookup for installed plugins in package.json
In addition, we refactor the plugin capabilities and installed plugin
methods to avoid references to `node_modules`.
2020-09-25 10:29:56 -04:00
Noriyuki Shinpuku
c3334d0ab0
feat(core): sort dependencies and devDependencies (#3806) 2020-09-25 10:11:46 -04:00
Tasos Bekos
9153007462 feat(repo): check package dependencies on CI 2020-09-25 09:06:02 +03:00
Jack Hsu
ea71278aba
fix(react): calculate npm project dependencies correctly (#3804) 2020-09-24 13:29:23 -04:00
Ashley Hunter
c382feb4de
fix(web): adding missing @rollup/plugin-json dependency (#3783)
* fix(web): adding missing @rollup/plugin-json dependency

* fix(web): updating @rollup/plugin-json dependency range

Co-authored-by: Ashley Hunter <ashley.hunter@hotmail.co.uk>
2020-09-24 11:54:05 -04:00
Tasos Bekos
21bbd1e90a fix(core): declare cli as direct dependency
Having `cli` as dependency of `workspace` was working because of the
flattened module structure that NPM/Yarn use. On stricter package
managers like PNPM and Yarn 2 this is not the case, and any `pnpm nx` or
`yarn nx` command was failing because `@nrwl/cli` couldn't be located.

ISSUES CLOSED: #2944
2020-09-24 10:56:04 -04:00
Webber Wang
9efa305b62
feat(storybook): storybook config projectType application (#2382) (#3611)
* feat(storybook): storybook config projectType application

* docs(storybook): update auto-generated docs

* feat(storybook): supporting projectType application for storybook

feat(storybook): supporting projectType application for storybook

* fix(storybook): change build asset glob pattern

fix(storybook): change build asset glob pattern

Co-authored-by: Webber Wang <webber@codelabstudios.com>
2020-09-24 17:33:24 +03:00
Jason Jean
5e8c57a5ce fix(core): fix decorate angular-cli script to work for production installs 2020-09-24 10:27:20 -04:00
Christopher Dieringer
adc34f82e3 feat(core): add user-friendly error on invalid input
Prevent cryptic error of `TypeError: Cannot read property 'map' of undefined`, which doesn't guide the user towards success
2020-09-24 10:25:45 -04:00
Jonathan Cammisuli
be92108355 fix(nx-plugin): remove root dir in tsconfig from newly generated plugins 2020-09-23 10:57:27 -04:00
James Henry
122afe7731
fix(repo): tests and e2e, enable linting for workspace to set baseline (#3790)
* chore(repo): enable linting for workspace to set baseline

* fix(repo): broken tests from master branch

* fix(repo): broken e2e tests from master branch
2020-09-23 10:00:20 -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
Juri Strumpflohner
b19d29319a
fix(storybook): migration of tsconfig when now tsconfig.lib.json is present (#3786) 2020-09-22 18:58:56 -04:00
atomaszewski
e50b2c2de4 fix(node): update all webpack-dev-server versions 2020-09-21 12:38:54 -04:00
atomaszewski
a3a4818332 fix(node): update yarn vulnerability in webpack-dev-server 2020-09-21 12:38:54 -04:00
Jason Jean
6d9ff59cd4 fix(core): fix possible memory leak warning from task orchestrator 2020-09-21 12:38:09 -04:00
Tasos Bekos
6c7b3060b2 cleanup(core): avoid referencing node_modules 2020-09-21 12:37:15 -04:00
Jason Jean
ae17586084
fix(angular): fix ng add for angular cli 10.1 (#3771) 2020-09-19 14:29:26 -04:00
Jason Jean
c2a1946fe6
fix(core): enable intelligent tsconfig changes in tsconfig.base.json (#3768) 2020-09-19 12:23:54 -04:00
Jason Jean
66038891ec
fix(core): improve performance of analyzing npm dependencies (#3755) 2020-09-18 21:23:56 -04:00
Jason Jean
14987f955c
fix(core): update version of yargs-parser (#3754) 2020-09-17 13:26:14 -04:00
Jonathan Cammisuli
87ded432ed
fix(node): set noEmitOnError to always true, and show diagnostic messages from ts (#3697) 2020-09-17 13:08:22 -04:00
Jason Jean
ed797617af fix(core): allow-tsconfig.json for project graph 2020-09-17 12:38:26 -04:00
Juri
d34c3e6b82 fix(storybook): tsconfig extends mapping 2020-09-17 11:20:20 -04:00
Tasos Bekos
2bac63e0ee cleanup(core): avoid referencing node_modules on plugin creation 2020-09-17 11:16:01 -04:00
Tasos Bekos
c510cdd3d3
fix(misc): upgrade version of yargs-parser (#3751)
ISSUES CLOSED: #3105
2020-09-17 10:31:10 -04:00
Tasos Bekos
07ba927ed7 cleanup(core): avoid referencing node_modules on workspace creation 2020-09-15 21:53:29 -04:00
Mehrad Rafigh
d07ab51b4d feat(angular): update jest-preset-angular library to v8.3.1 2020-09-15 11:17:03 -04:00
Juri Strumpflohner
929f2f4b9d
fix(angular): properly generate storybook stories across barrel files (#3662)
Previously stories haven't been generated properly when
barrel files had been used to import
components in
Angular modules

ISSUES CLOSED: 2813
2020-09-15 14:25:11 +03:00
Katerina Skroumpelou
44069bf0c8
Fix web builder (#3661)
* feat(react): wip: initial e2e test by jack and web package builder fix

Updated some commnets about versions of Storybook, extra config files, and how to treat these

* fix(web): preserve the target set in tsconfig.lib.json

ISSUES CLOSED: #3601

* fix(react): preserve the target set in tsconfig.lib.json

ISSUES CLOSED: #3601

* fix(react): preserve the target set in tsconfig.lib.json

ISSUES CLOSED: #3601
2020-09-14 15:43:56 -04:00