206 Commits

Author SHA1 Message Date
vsavkin
c17fb12ee6 fix(misc): dep graph should not remove deps 2021-07-04 20:12:12 -04:00
James Henry
f5058a1baf
fix(core): affected base and head logs (#6164) 2021-06-30 10:51:41 -04:00
Katerina Skroumpelou
6ded4b1f58
docs(nxdev): bad formatting in migrate docs (#6166) 2021-06-29 09:50:09 -04:00
Jason Jean
8ac7519ada feat(core): introduce batch executors 2021-06-28 14:46:53 -04:00
Philip Fulcher
a29c11ac54
fix(misc): correct url parsing for dep-graph server (#6139) 2021-06-25 22:43:40 +00:00
Phillip Barta
5e6cf9646b feat(devkit): reexport package manager methods in devkit 2021-06-25 17:07:35 -04:00
Philip Fulcher
98ac32e615
feat(misc): add watch mode to dep-graph command (#6043) 2021-06-22 10:41:44 -06:00
Noriyuki Shinpuku
8915c6ba4e
fix(core): format after sorting nx.json, workspace.json and tsconfig.… (#6044) 2021-06-21 09:17:43 -04:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 (#5623) 2021-06-17 16:44:30 +02:00
Phillip Barta
b9ef28712d
cleanup(core): refactored @nrwl/workspace command-line to improve code quality (#5438) 2021-06-16 22:44:05 +00:00
Benjamin Cabanes
5c13db8f2b
docs(core): close opened nav on route change (#6038) 2021-06-16 21:56:41 +00:00
James Henry
d5c3a79f5f feat(core): allow NX_BASE and NX_HEAD environment variables to set affected SHAs 2021-06-16 14:12:19 -04:00
Jonathan Cammisuli
5b2e594b62
feat(core): sort projects in nx.json, workspace.json, and tsconfig.base.json (#5945)
* feat(core): sort projects in nx.json, workspace.json, and tsconfig.base.json

* fix(core): catch errors when trying to format

* chore(core): use existing sort util - rename new sort util to match (will soon be merged)

* fix(core): only sort workspace.projects if they have projects

* fix(core): remove sort from old format-files

* fix(core): noop catches rather and outputting an error message

* chore(core): revert format-files utils
2021-06-11 17:54:29 -04:00
Phillip Barta
a2c2d94050
feat(core): first step to common JSON behavior and common fileutils (#5859) 2021-06-09 12:45:16 +02:00
Leosvel Pérez Espinosa
4563386d76
fix(core): add support for formatting using all extensions prettier supports (#5890) 2021-06-04 10:46:53 -04:00
Phillip Barta
7c34f779e3
cleanup(core): remove unneccessary dependencies and refactored prettier path resolve (#5852)
removed depenedencies app-root-path and resolve
refactored workspace/src/command-line/format.ts to
use require.resolve
2021-06-01 21:49:15 -04:00
Fernando Montoya
b2e266ac2c Fix GitHub brand typo 2021-05-26 13:41:53 -04:00
Phillip Barta
053d488801 cleanup(core): removed reexport of devkit types in workspace 2021-05-19 13:42:03 -04:00
vsavkin
f82344d63a chore(repo): refine the tag line 2021-05-18 20:55:40 -04:00
vsavkin
af23cc5d7d feat(misc): change the nx tag line 2021-05-18 16:07:22 -04:00
Miroslav Jonaš
ff3cc38b0c
feat(linter): optimize lint performance. resolves #5210 (#5576)
* feat(linter): optimize containsFile function

related to #5210

* feat(linter): optimize find project function

related to #5210

* feat(core): cleanup target project locator

* fix(core): fix false positive match on resolvedModule

* chore(core): mark old code for removal

* feat(linter): move npm check before expensive typescript resolution

* feat(linter): improve performance of extension removal

* feat(linter): improve I/O operations

* feat(linter): read ts config only once in project locator

* feat(linter): remove double path normalization from rule

normalization is already part of getSourceFilePath function

* feat(linter): run find source only once

* feat(linter): defer source file path calculation will after whitelist check

* feat(linter): map project graph node files to hash map

* fix(linter): map projectGraph only once per runtime

* feat(linter): introduce mapped project graph type
2021-05-18 16:41:12 +02:00
Jason Jean
b4fe292d83 fix(core): run workspace-generators within the same process 2021-05-17 20:57:07 -04:00
Michaël De Boey
370831d527 Update format.ts 2021-05-17 20:55:51 -04:00
Michaël De Boey
672e728007 feat(workspace): support formatting on .graphql, .gql, .yaml, .yml & .vue files 2021-05-17 20:55:51 -04:00
Phillip Barta
6a4bb34103 cleanup(core): removed dependency axios 2021-05-17 20:48:47 -04:00
Victor Savkin
67e78dc051
feat(core): add support for custom hashers 2021-05-11 11:17:57 -04:00
James Henry
8d24bb01a0 fix(core): remove unused quiet option from nx cli 2021-05-04 12:06:16 -04:00
Jason Jean
87bc1c2f83
fix(core): fix parsing for affected (#5538) 2021-05-03 12:54:39 -04:00
Jason Jean
c7ce8d2b28
fix(core): consistently process args with yargs-parser instead of minimist (#5488) 2021-04-30 19:08:59 -04:00
vsavkin
d767261fea fix(nextjs): default to build target for incremental serve
feat(core): support exclude with run-many
2021-04-29 15:57:26 -04:00
vsavkin
85ceb3c790 fix(core): propagate sigterm and other signals correctly 2021-04-26 20:50:30 -04:00
Tasos Bekos
156e3c2c40 chore(repo): use jest-circus runner 2021-04-26 15:16:09 -04:00
Jason Jean
ef1649efe4 fix(core): do not remove version from overrides 2021-04-24 11:00:49 -04:00
Jason Jean
ae5722eb50
fix(core): fix invalid performance mark (#5444) 2021-04-23 13:48:10 -04:00
Phillip Barta
c0ce1ce65e
cleanup(core): normalized usage of fs-extra and updated fs-extra to 9.1.0 (#5199)
* cleanup(core): normalized usage of fs-extra and updated fs-extra

* cleanup(misc): use fs over fs-extra when possible

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-04-22 12:52:52 -04:00
Jason Jean
030f5ebeac fix(core): report based on projects and tasks 2021-04-22 10:16:22 -04:00
Craigory V Coppola
4b61d44615
fix(core): Wrap head + base arguments in quotes in execSyn (#5240)
On windows caret symbols are removed from command line args unless wrapped in double quotes, causing an error in this case.

Closes #4828.
2021-04-13 15:39:41 -04:00
Phillip Barta
0e99ffca2f
cleanup(repo): replaced deprecated opn package with open (#5236) 2021-04-12 15:42:22 -04:00
Philip Fulcher
d8d643a1e3
fix(misc): fix grouping problem in dep-graph client (#5279) 2021-04-12 09:17:42 -06:00
Tasos Bekos
9cb23ddbbd feat(core): replace inquirer dependency with enquirer 2021-04-06 10:31:30 -04:00
vsavkin
1a918d7e6b feat(misc): add a convenince command to connect to nx cloud 2021-04-04 20:14:57 -04:00
vsavkin
59e6d399ae cleanup(misc): speed up requiring commands 2021-04-04 20:14:57 -04:00
vsavkin
2eadc30f21 cleanup(misc): speed up requiring devkit 2021-04-04 11:11:16 -04:00
vsavkin
6024859990 chore(repo): clean up language 2021-03-29 12:26:01 -04:00
Philip Fulcher
dae0d62e22
feat(misc): add debugger panel to dep-graph client (#5143) 2021-03-29 08:56:23 -06:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
Vivek More
49ba90b81a cleanup(misc): use shorthand 2021-03-08 10:13:06 -05:00
Juri Strumpflohner
468c878bd1
fix(core): add @nrwl/storybook & @nrwl/gatsby to pkgs listed by nx report (#4948) 2021-03-05 10:39:00 +01:00
Jason Jean
925e5d2287
fix(misc): add project name default for workspace schematics (#4901) 2021-02-25 17:39:35 -05:00
Juri Strumpflohner
6dc7de4cb5
fix(core): fix(core): fix(core): ensure dir when exporting dep-graph to json (#4893) 2021-02-25 10:49:14 -05:00