2325 Commits

Author SHA1 Message Date
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
Benjamin Cabanes
0371657c1d
fix(docs): update image links for console (#3841) 2020-09-30 16:14:23 -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
91ca9ddf66
fix(repo): optimize workspace aux commands test (#3830) 2020-09-29 18:53:11 -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
Victor Savkin
bfc2f6f53d cleanup(repo): remove unused @nrwl/bazel build target 2020-09-28 13:20:25 -04:00
maxkoretskyi
4a942d9eda fix(linter): fix performance issues with boundaries lint checks 2020-09-28 13:20:25 -04:00
Victor Savkin
b719803777 chore(repo): update the version of nx-cloud 2020-09-28 12:16:07 -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
Victor Savkin
7582aab6cc fix(repo): update the version of nx-cloud that set NX_BRANCH and NX_RUN_GROUP automatically 2020-09-24 13:12:25 -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
Machiste Quintana
608510f9a7 docs(angular): Reorganize CLI docs in tutorial to match React tutorial 2020-09-24 10:51:50 -04:00
Machiste Quintana
6f7a1bc96a docs(react): Update plain nx commands to npx in angular tutorial 2020-09-24 10:51:50 -04:00
Machisté N. Quintana
4ab8ff7705 docs(angular): Update plain nx commands to npx in angular tutorial 2020-09-24 10:51:50 -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
Zachary DeRose
d1f740e264
fix(docs): Updating size of youtube embeds (#3798) 2020-09-23 16:07:55 -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
Zachary DeRose
6e764888fa
feat(docs): Adding videos for React tutorials (#3791) 2020-09-23 10:27:47 -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
Zachary DeRose
c9e167b6ae
feat(docs): Adding videos for Angular tutorials (#3787) 2020-09-22 17:49:07 -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
Isaac Mann
c74b933fe9 docs(docs): fix copy paste typo 2020-09-21 12:38:28 -04:00
Isaac Mann
ea0edb7585 docs(docs): add missing schematics to map.json 2020-09-21 12:38:28 -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