152 Commits

Author SHA1 Message Date
Victor Savkin
3cd9f4fe6c feat(misc): add nx package to make installing global cli easier 2020-07-29 12:16:12 -04:00
Victor Savkin
8b3e054d5e fix(misc): workspace-lint should respect nested gitignores 2020-07-22 15:13:24 -04:00
Victor Savkin
67dda10d55 feat(core): redesign workspace file hashing 2020-07-16 13:51:25 -04:00
Philip Fulcher
4968b6e6e3
feat(core): add filtering arguments to dep-graph CLI (#3171)
BREAKING CHANGE:
Dependency graph will now default to having no projects selected if run without filtering arguments
2020-07-10 19:31:32 -04:00
Dominik Huppmann
800bf15ea0 fix(angular): add the root directory to the "resolvePaths" option when creating the NodeWorkflow
NX workspace schematics could not be executed, because the NodeWorkflow was created without the "resolvePaths" options. Therefore the NodeModulesEngineHost was created without paths to look for the collection.

Closes #3233
2020-07-09 22:33:24 -04:00
Jason Jean
dcd6061604
fix(core): print args warning when base is not passed (#3237) 2020-06-25 21:57:49 -04:00
Brandon
24b87d115b
feat(core): adds configurable base branch and HEAD in nx.json (#3217)
* feat(core): adds configurable base branch in nx.json

new field in nx.json - defaultBranch

ISSUES CLOSED: #1791

* feat(core): split affected into config options for base and head in nx.json

Co-authored-by: agriggs <alex.griggs@gmail.com>
2020-06-25 10:24:37 -04:00
Brandon
6e79f255a0
fix(core): support --only-failed option with run-many command (#3054) 2020-05-29 17:26:43 -04:00
Victor Savkin
a6220f7b0a fix(core): handle passing arrays as arguments 2020-05-28 23:17:10 -04:00
Benedikt D Valdez
dbda2b8904
feat(core): generate static website with dep-graph --file=foldername.html (#3049)
* feat(core): generate static website with dep-graph --file=dep-graph.html

ISSUES CLOSED: #3048, #2005

* fix(core): only allow .json and .html extensions in dep-graph file arg

# Conflicts:
#	packages/workspace/src/command-line/dep-graph.ts
2020-05-25 13:46:14 -04:00
Isaac Mann
ba86bbd51b
docs(core): add docs about .nxignore (#3013)
* docs(core): add docs about .nxignore

* docs(docs): change backticks to quotes

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2020-05-15 16:17:39 -04:00
James Spivey
5cd5b7da86
fix(core): change chunkify length to 50 to prevent windows crashes (#2913)
Issue 2362 requests a length of 50 as 70 was still causing issues
this pr addresses that by reducing
the length to 50

ISSUES CLOSED: #2362
2020-04-29 01:11:04 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 (#2934)
this is just for the repo, and not the workspace

Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Nathan Walker
a06c256f04
fix(core): file-utils workspaceFileName now returns proper file… (#2811)
closes https://github.com/nrwl/nx/issues/2253
2020-04-11 21:51:44 +02:00
Jason Jean
9a8c95a1ef fix(misc): exit 1 for errors in workspace-schematics 2020-03-23 13:04:30 -04:00
Victor Savkin
0b7535ae92 feat(core): improve outputs when using --parallel and --with-deps 2020-03-18 18:14:50 -04:00
Wes Grimes
bb12d7c6d6 feat(core): nx list enhancements and cleanup 2020-03-18 17:51:39 -04:00
Victor Savkin
798abe4b33 fix(core): fix the handling of --prod by run-many and affected 2020-03-12 17:11:14 -04:00
Victor Savkin
dae258928c fix(core): provide better error messages when the target is incorrect 2020-03-10 10:07:30 -04:00
Wes Grimes
13302f099e fix(core): update nx list output spacing issue 2020-03-06 14:21:05 -05:00
Wes Grimes
2ae1e98408 feat(core): add community approved plugins to nx list command 2020-03-06 10:16:34 -05:00
Benjamin Cabanes
dd403ad1cc
docs(core): generate nx commands supports blacklist (#2611)
* docs(core): generate nx commands support blacklist

* docs(core): update documentation wording
2020-03-06 09:58:05 -05:00
Victor Savkin
b52e97c816 fix(repo): fix formatting 2020-03-05 17:32:45 -05:00
Victor Savkin
923f3541df fix(repo): fix ci 2020-03-04 21:18:45 -05:00
Victor Savkin
115a1abd75 fix(core): use default configuration when the provided one is not available 2020-03-04 16:31:19 -05:00
Bucky Maler
e2e3412768 feat(misc): support formatting .mdx files 2020-03-04 14:25:47 -05:00
Victor Savkin
ff6b434548 feat(core): add ability to run targets against project's deps 2020-02-28 16:42:38 -05:00
Jason Jean
c45ee2ab87 fix(misc): parse args for format command 2020-02-28 15:28:40 -05:00
Victor Savkin
90879eb469 feat(core): add ability to skip cache 2020-02-25 16:38:43 -05:00
Bradley Zeggelaar
4d8b38b7ce feat(core): adds host binding option to dep-graph command 2020-02-16 10:28:24 -05:00
Philip Fulcher
9f81564d7c feat(core): add better filtering to dep-graph visualization 2020-02-13 17:31:07 -05:00
Jason Jean
f923697358 fix(core): invalidate previous failed projects 2020-01-29 17:43:21 -05:00
Victor Savkin
c3fdf2e702 feat(core): running one task uses the same tasks runner as run-many 2020-01-09 12:07:41 -05:00
Victor Savkin
d2d9f1cca0 feat(core): implement caching 2020-01-01 10:51:58 -05:00
Jason Jean
e41b448085 fix(core): default to whole file change type 2019-12-23 16:08:47 -05:00
Jack Hsu
3a36c24873 feat(core): add support for npm package dependencies in project graph 2019-12-20 18:23:02 -05:00
Jason Jean
40ae2032c7 fix(repo): fix imports and error on unsuccessful documentation generation 2019-12-16 17:36:57 -05:00
Victor Savkin
8e08924bc3 feat(core): add ability to select data from the print affected output 2019-12-16 16:04:35 -05:00
Victor Savkin
8749c18f91 cleanup(core): extract "core" folder from "command-line" 2019-12-16 16:04:35 -05:00
Jason Jean
e56dadc09a feat(bazel): generate all target rules 2019-12-14 12:57:05 -05:00
Jason Jean
f9da4d93d5
fix(core): handle projects with directories correctly (#2194) 2019-12-13 19:29:13 -05:00
Jason Jean
8d96737b59
fix(core): forbid project dependencies onto self (#2190) 2019-12-13 18:45:25 -05:00
Matt Briggs
734acefeb2 feat(core): update run-many to handle --with-deps 2019-12-12 18:10:56 -05:00
Victor Savkin
e5377d223f feat(core): improves print-affected command to support more use cases 2019-12-12 18:08:43 -05:00
Jack Hsu
a82737968b
chore(core): refactor generation of dependency graph (aka project graph) (#2151) 2019-12-12 15:54:31 -05:00
Victor Savkin
6eae959184 feat(misc): add first version of the nx insights plugin 2019-12-08 14:49:58 -05:00
Matt Briggs
4fada77d2b fix: invalid projects to run-many cause it to exit (#2094) 2019-11-25 12:26:32 -05:00
Victor Savkin
667915692d style(nx): don't display common package when running list 2019-11-19 16:35:20 -05:00
Matt Briggs
bebc71a714 feat(nx): add run-many
This adds a run-many command to:

 - make more semantic sense for the --all option
 - to add the ability to specify specific projects to run

It also involves a quite substancial refactoring of affected.ts in order
to attempt reuse of the code in both commands
2019-11-15 18:59:05 -05:00
Jo Hanna Pearce
607bcfdeb2 feat(nx): refactor nx list to also show plugins with builders and uninstalled approved plugins 2019-11-11 13:09:18 -05:00