804 Commits

Author SHA1 Message Date
Victor Savkin
2329a51f99 cleanup(core): remove an unnecceary peer dep on cli 2020-10-23 15:16:02 -04:00
Jason Jean
df1fdd87d7
fix(core): fix formatting of strings with periods (#3928) 2020-10-23 14:09:44 -04:00
Philip Fulcher
cf7d779b2b
feat(core): add dep-graph-client app (#3695) 2020-10-16 19:00:27 -04:00
James Henry
588effd5c5
feat(linter): shareable eslint configs (#3882)
* feat(linter): shareable eslint configs

* chore(linter): migration towards shareable eslint configs
2020-10-16 15:31:26 -04:00
Jason Jean
8e519cd8e4
fix(core): fix process hanging for ctrl C (#3856) 2020-10-02 19:17:03 -04:00
Jason Jean
6c4aacf212
feat(repo): update to nx 10.3 (#3840) 2020-10-02 13:12:34 -04:00
James Henry
da6f987631
fix(linter): add root .eslintrc.json to implicit deps (#3852)
* fix(linter): add root .eslintrc.json to implicit deps

* fix(linter): unit tests
2020-10-02 09:41:49 -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
Jason Jean
e68854143c
fix(core): fix resolving projects for imports to '.' (#3839) 2020-09-30 22:38:18 -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
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
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
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
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
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
ed797617af fix(core): allow-tsconfig.json for project graph 2020-09-17 12:38:26 -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
Kyle Bastien
b548f1a759 feat(core): adds ability for outputs to be files and not just folders
Makes the cache put code slightly more flexible, which allows for specified outputs to be not
just
folder but also files. This allows for greater flexibility of control when it comes to which
files
you want Nx to cache, so you could exclude sub folders of your dist. This is useful so that
Nx
doesn't spend time copying sometimes complex folder structures to cache (i.e. node_modules in
the
case of using npm link).
2020-09-14 14:15:25 -04:00
Jo Hanna Pearce
001b6ee8cc fix(misc): updates the mv schematic to cope with libs created with --importPath
ISSUES CLOSED: #3476
2020-09-14 13:36:46 -04:00
Tasos Bekos
71c8e9c493 cleanup(repo): avoid referencing node_modules 2020-09-14 13:14:11 -04: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
ebe49c7917 fix(core): correctly alias format:write to format 2020-09-14 11:13:02 -04:00
Victor Savkin
a615da995d feat(core): add a prompt when using --scan without nx-cloud 2020-09-10 16:32:46 -04:00
Victor Savkin
cb15498d83 fix(core): git hasher should handle unstaged files with spaces 2020-09-10 14:38:13 -04:00
Jason Jean
e9393805c1 feat(core): optimize project locator perf 2020-09-10 14:23:36 -04:00
Martin Hochel
6b8592da2e
feat(misc): add babelJest support to node,web,workspace,express plugins (#3636)
ISSUES CLOSED: #3041
2020-09-08 13:59:36 -04:00
Victor Savkin
326bff6f1a fix(core): update the version of yargs to fix npm audit 2020-09-04 10:15:07 -04:00
Victor Savkin
28fbd5c576 fix(core): set status code to 2 when sigint 2020-09-03 10:44:15 -04:00