58 Commits

Author SHA1 Message Date
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
Jimmy Liu
e4d54f08d1 fix(nx): affected maximum call stack size exceeded when circular dependencies 2019-11-04 18:06:44 -05:00
minijus
49e6a58a03 fix(nx): affected --all should not parse for affected files
Closes #1988
2019-11-03 16:56:36 -05:00
Zachary Williams
99bc6df846 fix(nx): parse schema boolean properties as booleans for workspace-schematic
fix #1952
2019-10-31 15:58:48 -04:00
Joshua D. Mentzer
f6ad171450 feat(nx): inclusion and exclusion capability added to nx dep-graph
`nx dep-graph --filter=todos-feature-main --exclude=shared-utils` will launch dep graph with all
ancestors and descendants of todos-feature-main and exclude the shared-utils library

fix #1864
2019-10-21 21:46:15 -04:00
Victor Savkin
5b8989f87e fix(nx): add a message about dep graph server 2019-10-18 16:18:17 -04:00
Victor Savkin
1c7b8dce8c feat(nx): implement print-affected
This allows printing information about affected projects, which is useful in CI.
2019-10-15 16:56:38 -04:00
Jason Jean
fa675f1194 fix(nx): fix affected logic for app tsconfigs 2019-10-15 15:28:44 -04:00
Austin Shoecraft
0f1fa29277 fix(nx): update dep-graph render logic to show full graph
adds width attribute to svg on render call based on graph size

fix #1938
2019-10-15 15:27:02 -04:00
Jason Jean
ed546337f1 feat(nx): add generic task execution 2019-10-08 15:00:54 -04:00
Jo Hanna Pearce
b962b09ac6 feat(nx): add new nx list command which enables simpler schematic discovery 2019-10-08 10:59:38 -04:00
Victor Savkin
1aa255cd65 fix(nx): dep-graph vizualiation should only highlight an edge when both nodes are affected 2019-10-07 10:34:56 -04:00
Jo Hanna Pearce
1d377eac29 feat(nx): add report function to @nrwl/workspace which lists versions of select packages 2019-10-04 17:16:02 -04:00
Jason Jean
98fc5e00bb refactor(nx): refactor affected to produce affected metadata 2019-10-03 13:47:47 -04:00
Victor Savkin
3516890ec6 feat(nx): add a flag to run affected:libs and affected:apps without pretty formatting 2019-10-02 17:54:38 -04:00
Victor Savkin
156f961195 fix(nx): make dep-graph work on node 12 2019-10-02 16:26:28 -04:00
Ryan Diehl
adcd9280ad fix(nx): increases buffer size for git commands
increases buffer size to 10MB

fix #1886
2019-10-01 17:16:20 -04:00
Victor Savkin
5bb12dc4af fix(nx): add migrate packages 2019-09-26 09:23:20 -04:00
Colum Ferry
d89fd949bc refactor(nx): change workspace-schematic output format to be consistent with Angular CLI
Any schematic that modifies the Virtual Tree using the `workspace-schematic` command will output
changes to the Virtual Tree in a consistent format with the Angular CLI `generate` command.
2019-09-23 12:55:36 -04:00
ben
0ac030b09f docs(nx): update affected files description
Update the description of the `--files` options for the `affected`
command, making it clearer (hopefully).

close #1535
2019-09-17 08:51:32 -04:00
Terry
37ab942407 fix(nx): remove unused double dashes to avoid yarn's warning 2019-09-17 08:37:02 -04:00
Brandon Roberts
0491ccc5b2 feat(nx): update to Angular 8.2, Devkit 8.3, and NgRx 8.3
Incorporates fix from https://github.com/angular/angular-cli/pull/15041
which changed the behavior of registering schematic defaults
2019-09-07 16:28:07 -04:00
Victor Savkin
70d71b3516 feat(nx): add support for migrations 2019-09-02 14:33:56 -04:00
Bucky Maler
77c0c56a2f fix(nx): format all files when --all is passed 2019-09-02 13:17:02 -04:00
Wes Grimes
929aeb751b feat(nx): check .nxignore for globs to add to ignored files in affected
Add ability to ignore files from the affected check using .nxignore files

Implement #895
2019-08-29 10:44:15 -04:00
Jack Hsu
bb8c18c2d8
fix(react): update extensions for Prettier to include tsx and jsx files (#1708) 2019-08-13 13:03:50 -04:00
Victor Savkin
bd7af859ce fix(nx): fix workspace schematic package manager detection 2019-08-10 14:53:18 -04:00
Victor Savkin
c07e322370 fix(nx): running affected commands in parallel does not terminate on azure 2019-08-07 14:04:10 -04:00
Bucky Maler
07d963befd fix(nx): npm scripts documentation generation
Before, a single instance of yargs was accumulating options, so commands parsed later would have options from prior commands. That's because all yargs options are global by default. Now, a new instance of yargs is required before each command is parsed, so global options aren't accumulated.

fixes #1567
2019-08-06 14:27:31 -04:00
Victor Savkin
1b2eaf81fe fix(nx): minor fixes 2019-07-25 20:21:04 -04:00
Victor Savkin
2793b6fb26 feat(nx): misc improvements 2019-07-25 15:40:46 -04:00
Victor Savkin
2b646f8eb4 feat(nx): standalone version of nx 2019-07-24 10:27:47 -04:00
Victor Savkin
4022fe80d5 fix(nx): create-nx-workspace cannot depend on typescript 2019-07-15 22:23:00 -04:00
James Henry
8271c7650e chore(workspace): improved logging design and consistency 2019-07-22 20:05:07 -04:00
Brandon Roberts
93aac33b79 docs(nx): update description of Nx in schematics, and frontend links
The schematics for React and Angular still refer to Angular CLI power-ups.
This also links the generated schematic for an Angular or React application
to their framework-specific pages.
2019-07-17 14:39:43 -04:00
Victor Savkin
c16f250136 feat(nx): implement global nx cli to remove the need to use yarn nx 2019-07-10 17:53:47 -04:00
Juri
82ee4f10ba fix(workspace): delegate to local ng script to allow customization 2019-07-08 19:59:35 -04:00
Victor Savkin
7b00b920aa feat(nx): delegate to cli when command is not recognized 2019-07-07 21:48:56 -04:00
Bucky Maler
83c15590d3 fix(nx): make target a required option when running affected npm script 2019-07-07 18:53:15 -04:00
Terry
4297aefc71 fix(frontend): remove unused double dashes to avoid yarn's warning 2019-07-03 19:15:13 -04:00
Victor Savkin
e720dde7ae fix(nx): replace app-root-path with a custom function to fix tslint in vscode 2019-06-25 13:11:04 -04:00
Victor Savkin
815a3b5595 feat(nx): add a warning about using --all flag 2019-06-21 13:32:32 -04:00
Marko Binic
9e15f4a7f5 feat(nx): detect package manager in workspace-schematic
workspace-schematic now tries to detect the right package manager using Angular CLI config and can
identify pnpm from lock file.
2019-06-15 19:25:28 -04:00
Zachary Williams
bf624b7e67 fix(nx): wrap files inputted to prettier in quotes
Files that contained parentheses caused 'yarn format' to fail unless the files passed to the
prettier cli are wrapped in quotes

fix #1473
2019-06-15 19:16:32 -04:00
Victor Savkin
3910be25d9 feat(nx): default base to master 2019-05-23 11:26:34 -04:00