1524 Commits

Author SHA1 Message Date
Victor Savkin
9d053e7912 fix(core): a new workspace should have an explict dep on tao 2020-11-16 09:25:33 -05:00
Victor Savkin
1c791cfc7f cleanup(core): remove deprected function 2020-11-13 20:58:12 -05:00
Victor Savkin
74195bcf1a Revert "fix(core): add --fork-point arg to git merge"
This reverts commit 444a3930d8134b9649e16af0ac96fc27e519128e.
2020-11-13 20:57:13 -05:00
Tasos Bekos
8676c1a68b fix(core): default to NPM package manager
* Simplify the determination & detection of the desired package manager.
* Add the `package-manager` option on plugin creation.
* Nx Cloud installation uses the appropriate package manager.
2020-11-11 10:02:47 -05:00
Tasos Bekos
3753cf3151 fix(core): add PNPM lock file to hasher's implicit dependencies 2020-11-11 10:01:48 -05:00
Victor Savkin
95c539fc39 fix(core): store terminal output for failed tasks created with pipe output capture 2020-11-11 10:01:22 -05:00
Victor Savkin
7a9214bce8 fix(core): allow --all=true in addition to --all 2020-11-09 16:10:04 -05:00
Mehrad Rafigh
e3f318cde3 feat(core): update prettier to v2.1.2 2020-11-06 15:56:40 -05:00
Brandon
41ad265426
fix(angular): add support for migrating from empty Angular CLI workspace (#4043)
Closes #1465, #3128
2020-11-06 13:36:48 -06:00
Victor Savkin
5e9a7d76ac cleanup(repo): remove bazel package 2020-11-02 09:28:14 -05:00
Jason Jean
989226d008 fix(core): fix resolving imports that cannot be resolved via typescript 2020-10-31 20:58:22 -04:00
Adrian
992013ca0a
Add possibility to specify port when running dep graph (#3938)
* feat(misc): add possibility to specify port when running dep graph

* feat(docs): documentation was updated with the exposed port

Co-authored-by: adrian.etter <adrian.etter@dswiss.com>
2020-10-30 12:09:35 -06:00
Christian Jensen
da4fe07c47
fix(angular): handle delimited name in NgRx templates (#3955) 2020-10-30 10:01:34 -05:00
Nik Gorylenko
4a90fba758
chore(web): deprecate @webcomponents/custom-elements (#3930)
Since `@webcomponents/custom-elements` is deprecated, here is suggested alternative: `@ungap/custom-elements`
2020-10-30 09:45:54 -04:00
Tasos Bekos
34d156d46e feat(core): support packageManager argument 2020-10-30 09:25:23 +02:00
Nadav Sinai
444a3930d8 fix(core): add --fork-point arg to git merge
this fixes getFilesUsingBaseAndHead output in some forking scenarios.
2020-10-28 20:57:06 -04:00
Jason Jean
63d0ed15ed
fix(core): fix resolving npm dependencies (#3963) 2020-10-23 19:13:46 -04:00
Tasos Bekos
463d2cb9e0
fix(repo): add missing tslib dependency in generated applications (#3858) 2020-10-23 17:09:35 -04:00
James Henry
4f5fb0f8fc
feat(linter): use overrides in root eslint config (#3949)
* feat(linter): use overrides in root eslint config

* feat(linter): update-root-eslint-config-to-use-overrides migration
2020-10-23 16:14:09 -04:00
Jason Jean
a7f2670d49
fix(core): add @nrwl/cli to the list of migrated dependencies (#3927) 2020-10-23 15:28:26 -04:00
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