1578 Commits

Author SHA1 Message Date
Victor Savkin
ab96bcc851
fix(core): add a workaround for potential bugs in git hasher (#3521) 2020-08-14 14:02:47 -04:00
Jakub Koralewski
f25e70fb3d fix(core): git hasher should handle file that are both renamed and modified 2020-08-13 13:29:10 -04:00
Victor Savkin
23d37728e0 fix(core): remove an unnecessary npm install when connecting to cloud 2020-08-11 11:46:20 -04:00
Martin Hochel
a3fc7e18c0 fix(core): generate proper cli command in lib readme 2020-08-07 14:47:50 -04:00
Jason Jean
91f4f60328 fix(core): do not print warnings for print-affected 2020-08-07 14:39:50 -04:00
Victor Savkin
ac40036215 feat(misc): flip set default linter to assume eslint 2020-08-07 11:50:05 -04:00
Victor Savkin
aff592b930 feat(angular): add an option to use eslint 2020-08-06 22:08:16 -04:00
Victor Savkin
e4f7a6d976 Revert "fix(nest): add default linter for new nest projects (#3469)"
This reverts commit 8136b7ad4057cfa99b224a33de8fa4a381afb85e.
2020-08-06 12:08:35 -04:00
Victor Savkin
01d41cab57 fix(core): sort files before creating project graph to make stable hashes 2020-08-05 23:31:04 -04:00
Przemyslaw Figura
8136b7ad40
fix(nest): add default linter for new nest projects (#3469)
* fix(nest): add default linter for new nest projects

Closes: #3063
2020-08-05 23:09:37 -04:00
Juri
1c4efa213f fix(core): accidental removal of libsDir(host) 2020-08-05 23:02:18 -04:00
Jason Jean
4d4749c9b1 fix(core): warn for invalid eslintrc 2020-08-05 22:56:58 -04:00
Philip Fulcher
d6b2201a21 fix(core): fix crosshair icon for dep-graph 2020-08-05 22:52:56 -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
Jo Hanna Pearce
53b69272eb
fix(misc): add regex pattern to schematics to prevent empty app/lib creation (#3396)
ISSUES CLOSED: #2924
2020-07-31 10:44:31 -04:00
Victor Savkin
3cd9f4fe6c feat(misc): add nx package to make installing global cli easier 2020-07-29 12:16:12 -04:00
Juri Strumpflohner
40a85e8eee
fix(core): remove speakingurl pkg as not used (#3401) 2020-07-24 18:29:03 -04:00
Isaac Mann
29c0b809c9
docs(core): expand description of outputPath for run-commands builder and schematic (#3398) 2020-07-24 16:13:06 -05:00
Victor Savkin
78275ef892 fix(core): with-deps should handle circular dependencies 2020-07-23 22:27:01 -04:00
Victor Savkin
4ec68d3464 cleanup(core): add unit tests to verify edge cases of git hashing 2020-07-23 22:27:01 -04:00
Victor Savkin
6eb8b0198c fix(core): handle git renames and spaces in filenames when doing git hashing 2020-07-22 23:57:02 -04:00
Victor Savkin
8b3e054d5e fix(misc): workspace-lint should respect nested gitignores 2020-07-22 15:13:24 -04:00
Juri Strumpflohner
ed0a9a7405
fix: generated tsconfig path mapping for publishable libs (when generated in nested folders) (#2840)
fix(core): require importPath for publishable libs
2020-07-22 12:39:44 -04:00
Victor Savkin
30d740615b fix(core): remove deleted files from git-hashers result 2020-07-21 22:28:30 -04:00
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