116 Commits

Author SHA1 Message Date
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
Tasos Bekos
6c7b3060b2 cleanup(core): avoid referencing node_modules 2020-09-21 12:37:15 -04:00
Tasos Bekos
71c8e9c493 cleanup(repo): avoid referencing node_modules 2020-09-14 13:14:11 -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
326bff6f1a fix(core): update the version of yargs to fix npm audit 2020-09-04 10:15:07 -04:00
Tasos Bekos
86784b2988
feat(misc): support projects option in format (#3588)
ISSUES CLOSED: #3303, #3090
2020-09-02 12:15:55 +03:00
Martin Hochel
ac643a70fa feat(core): compile only schematics realted source when using workspace-schematics
ISSUES CLOSED: #1215
2020-09-01 11:59:32 -04:00
Martin Hochel
c275dcdd4a fix(core): remove invalid --plain flags from affected commands
ISSUES CLOSED: 2720
2020-09-01 11:45:48 -04:00
Tasos Bekos
26c13d66a7
cleanup(misc): remove unused error message & simplify quotes in format (#3568)
The yargs conflicts, already handles the message.
2020-08-21 13:29:36 -04:00
Tasos Bekos
9c5028e005
fix(misc): format only workspace projects with libs-and-apps (#3498)
* fix(misc): rename format option to `libs-and-apps`

* fix(misc): format only workspace projects with `apps-and-libs`

Retrieving and npm project dependecies is throwing exception when trying to read the `root` of the projects, causing a fallback to all files.
2020-08-19 11:16:54 -04:00
Victor Savkin
a71dd8586a feat(core): add scan to list of supported flags 2020-08-18 14:56:58 -04:00
Jason Jean
91f4f60328 fix(core): do not print warnings for print-affected 2020-08-07 14:39:50 -04:00
Rares Matei
100989eacb fix(core): fix an issue with path normalization on windows when invoking external schematic
ISSUES CLOSED: 3233
2020-08-05 22:51:45 -04:00
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