804 Commits

Author SHA1 Message Date
Jason Jean
64c09f2d46
fix(core): migrate tsconfig references in eslintrc (#3373) 2020-07-20 18:34:43 -04:00
Jason Jean
30d4bbd174
fix(core): migrate implicitDependencies that reference tsconfig.json (#3361) 2020-07-17 15:58:00 -04:00
Victor Savkin
a5ee1db0d3 feat(core): add perf logging 2020-07-17 10:43:42 -04:00
Victor Savkin
6553c178f5 fix(core): increase maxBuffer when invoking git to get file hashes 2020-07-16 20:33:18 -04:00
Victor Savkin
5d53661139 fix(repo): update the repo to nx 10 2020-07-16 16:18:00 -04:00
Victor Savkin
67dda10d55 feat(core): redesign workspace file hashing 2020-07-16 13:51:25 -04:00
Philip Fulcher
840b7deb84 feat(core): add text filtering to dep-graph visualization 2020-07-15 21:51:20 -04:00
Jack Hsu
f110ccfe8e
feat(core): add cwd and outputPath options for run-commands schematic (#3333) 2020-07-14 14:19:35 -04:00
Jason Jean
c0ef32546a
fix(core): forward sigint in task orchestrator (#3330) 2020-07-13 19:20:37 -04:00
Brandon
68aa782134
fix(angular): allow for existing .prettierignore when adding Nx (#3329)
Closes #3192
2020-07-13 15:36:53 -04:00
ysdidenko
39963e4497
fix(angular): check for file to exist in decorate script (#3301)
Closes #3186
2020-07-13 12:54:12 -05:00
Jonathan Cammisuli
3b8a10f073
feat(testing): add setupFilesAfterEnv and other configs to project's jest config file (#3224)
* feat(testing): add util to update jest configs.

* feat(testing): place configurations in jest config file rather than just the builder

* feat(testing): create migration and unit tests

* feat(testing): fix jest template

* feat(testing): fix jest template to correct unit tests

* feat(testing): include globals.ts-jest for all non babel configs

* feat(testing): include globals.ts-jest for node e2e

* feat(testing): fix migration to run properly. Also check for angular tests using the setupfile rather than builder

* feat(testing): clean up jest config functions and fix errors with some migrations

* feat(testing): add new line to package.json

* feat(testing): update object check to actually check for undefined

* chore(testing): loop through all project targets as well as targets

* chore(testing): update migration to be 10.0.0-beta.2
2020-07-13 10:45:04 -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
Jason Jean
7686a39a7c
fix(core): fix solution tsconfig migration (#3312) 2020-07-10 16:17:32 -04:00
Jo Hanna Pearce
dc6b527095 fix(core): add linter to workspace package group 2020-07-10 17:45:42 +01:00
Jo Hanna Pearce
fd89c35da6 fix(core): add eslint-plugin-nx to workspace package group 2020-07-10 17:45:42 +01:00
Brandon Roberts
4e0417f60c feat(core): use custom output logging for configuration out of sync errors 2020-07-09 22:35:25 -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
Jonathan Cammisuli
f9d6acebc5
fix(core): run package.json migration for angular v10 (#3289) 2020-07-08 20:19:55 -04:00
Jason Jean
a7b7af2dfe
feat(core): switch over to angular 10 (#3056)
* feat(core): switch over to devkit 10-rc.0

* feat(core): implement solution tsconfigs wip

* feat(angular): add angular migrations

* fix(angular): modify angularjs tests
2020-07-07 17:02:06 -04:00
Victor Savkin
74c73b5398 fix(core): provide a way to override nx root path to fix unit tests
patch
2020-07-01 23:29:02 -04:00
Victor Savkin
1b48b1224f fix(core): tmp workaround to unblock gatsby plugin 2020-07-01 23:29:02 -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
Mark Goho
c8a433c4c5
fix(docs): fix typos in decorate cli explanation (#3216) 2020-06-22 14:30:24 -05:00
Jo Hanna Pearce
24abc1f98a fix(core): fix check deps .gitignore shortcut in rm schematic 2020-06-22 12:38:52 +01:00
Jo Hanna Pearce
06a7080132 feat(core): implicitDependency tests for mv & rm schematics 2020-06-22 12:38:52 +01:00
Hanna Walter
a4fa80a351 fix(core): remove matching implicitDependency when removing a project 2020-06-22 12:38:52 +01:00
Hanna Walter
37894f689f fix(core): rename implicitDependencies during move
ISSUES CLOSED: #2906
2020-06-22 12:38:52 +01:00
Jason Jean
0ab2fc7875
fix(repo): register local collections for unit tests (#3207) 2020-06-20 03:01:03 -04:00
Victor Savkin
06f1ac6a89
fix(core): remove tmp hack for running e2e tests (#3206) 2020-06-20 01:10:44 -04:00
Adam L Barrett
3cc2521914
fix(core): fix task-orchastrator to convert boolean flags properly (#3198)
the task-orchastrator was converting boolean command line flags to a string value `true` instead of
preserving the boolean flag, this commit checks for a boolean value and adds a flag accordingly

ISSUES CLOSED: #3197
2020-06-19 16:20:08 -04:00
Victor Savkin
7cbf4ffd88 feat(core): add oss preset to create-nx-workspace 2020-06-19 13:01:57 -04:00
Juan Carlos Valerio Arrieta
a638d86490 fix(core): read tsconfig file using readJsonInTree 2020-06-18 09:50:21 -04:00
Juan Carlos Valerio
c1b494c22e fix(generate): improve error handling
Deliver better errors than `Unexpected token } in JSON at position X`
Fix issue #1047

https://github.com/nrwl/nx/issues/1047
2020-06-17 23:23:59 -04:00
Victor Savkin
73bcba6ac5 fix(core): only set FORCE_COLOR=true when using pipe to capture output 2020-06-16 10:10:29 -04:00
Victor Savkin
96a7f69d33 feat(core): add second way of capturing output 2020-06-15 16:55:35 -04:00
Victor Savkin
1e593a2b07 fix(misc): minor format changes in readmes 2020-06-15 10:27:07 -04:00
Victor Savkin
0111d87575 feat(repo): have separate readmes for all plugins 2020-06-14 23:33:05 -04:00
Jason Jean
7301930d3d
fix(core): consider overrides for output path (#3172) 2020-06-13 12:59:13 -04:00
Jason Jean
fc61fcb2ab
fix(linter): fix dependencies from projects on themselves when another circular dependency exists (#3163) 2020-06-12 10:07:56 -04:00
Victor Savkin
0cd4cdf4f0 fix(misc): fix run-command schematic to not error when no architect section 2020-06-11 14:27:33 -04:00
Victor Savkin
71690c0d38 fix(core): update decorate script to implement a more reliable way of "symlinking' on windows 2020-06-11 14:27:33 -04:00
Victor Savkin
842e458cc1 fix(core): decorate cli postinstall script doen not work on windows 2020-06-11 14:27:33 -04:00
Jason Jean
e923ae621c fix(angular): fix angular cli decoration for windows 2020-06-11 10:23:56 -04:00
Victor Savkin
13280b5282 fix(angular): always append ngcc postinstall script 2020-06-10 16:34:35 -04:00
Victor Savkin
41e4714dd0 feat(core): decorate angular cli when creating workspaces powered by Angular CLI 2020-06-10 13:30:43 -04:00
Victor Savkin
e5f8ac28d7 fix(core): set NX_CLI_SET when running any command 2020-06-09 13:39:55 -04:00
Victor Savkin
4224ab9731 fix(core): hash package.json files from node_modules more selectively
They can be updated by other tools
2020-06-09 13:39:55 -04:00
Victor Savkin
5d6cd1aefc fix(angular): fix decorate-angular-cli script to path index file 2020-06-09 09:17:23 -04:00