1524 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
0bcb50373a
cleanup(angular): deprecate and clean up angular schematics utilities (#6099) 2021-06-23 10:08:50 +01:00
Craigory V Coppola
f1911a71f3
feat(core): split nx config to project files (#5880) 2021-06-22 20:30:38 -04:00
Leosvel Pérez Espinosa
c66324d71d
fix(angular): fix workspace init generator to workaround file rename issues in the tree (#6098) 2021-06-22 17:50:27 +01:00
Philip Fulcher
98ac32e615
feat(misc): add watch mode to dep-graph command (#6043) 2021-06-22 10:41:44 -06:00
Leosvel Pérez Espinosa
122f7eca72
cleanup(angular): migrate downgrade-module and upgrade-module generators to nx devkit (#6083) 2021-06-22 10:20:02 +01:00
Noriyuki Shinpuku
8915c6ba4e
fix(core): format after sorting nx.json, workspace.json and tsconfig.… (#6044) 2021-06-21 09:17:43 -04:00
Benjamin Cabanes
4f74759098
docs(core): deep dive menu is expanded by default (#6071) 2021-06-18 18:31:38 +00:00
Colum Ferry
96293b02cb
cleanup(angular): refactor angular application generator (#6036)
Refactor Angular Application Schematic to Generator using Nx Devkit
2021-06-18 15:39:05 +01:00
Jason Jean
235725b585
cleanup(core): refactor process forking out of task orchestrator (#6037) 2021-06-18 10:26:05 -04:00
vsavkin
ac871d93b5 fix(core): fix the add-target-dependencies migration to remove the old property 2021-06-18 09:10:40 -04:00
vsavkin
8a7b6c8405 feat(core): replace strictlyOrderedTargets with targetDependencies 2021-06-18 06:54:33 -04:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 (#5623) 2021-06-17 16:44:30 +02:00
Phillip Barta
b9ef28712d
cleanup(core): refactored @nrwl/workspace command-line to improve code quality (#5438) 2021-06-16 22:44:05 +00:00
Benjamin Cabanes
5c13db8f2b
docs(core): close opened nav on route change (#6038) 2021-06-16 21:56:41 +00:00
James Henry
d5c3a79f5f feat(core): allow NX_BASE and NX_HEAD environment variables to set affected SHAs 2021-06-16 14:12:19 -04:00
Jason Jean
c5ccd9c2fb fix(core): resolve npm packages after typescript 2021-06-16 14:07:57 -04:00
vsavkin
04b1401ace feat(misc): fixMissingBuildDependencies should not require package.json 2021-06-15 16:17:02 -04:00
Juri Strumpflohner
d40ca95501
fix(core): throw error for non-existing proj on getSourceDirOfDependentProjects (#6017) 2021-06-15 16:04:27 +00:00
Juri Strumpflohner
e182700f78
feat(core): expose utilities for retrieving source dirs of dependent projects (#5976)
* feat(core): expose utilities for retrieving source dirs of dependent projects

* feat(nextjs): utility to generate glob patterns from dependent projects
2021-06-15 10:11:05 -04:00
Leosvel Pérez Espinosa
b8162c4a17
cleanup(angular): migrate stories generator to nx devkit (#6010) 2021-06-15 14:13:56 +02:00
Leosvel Pérez Espinosa
d4537f75cc
cleanup(angular): migrate component-story and component-cypress-spec generators to nx devkit (#5977) 2021-06-14 15:20:58 +01:00
Colum Ferry
3e8ff083f2
cleanup(angular): refactor library generator to use nx devkit (#5935)
* cleanup(angular): refactor library generator to use nx devkit

Refactor Library Generator to use Nx Devkit
2021-06-14 11:05:32 +01:00
Noriyuki Shinpuku
a0b2df5395
fix(core): fix remove generator for custom layout (#5921) 2021-06-11 19:06:59 -04:00
Jonathan Cammisuli
5b2e594b62
feat(core): sort projects in nx.json, workspace.json, and tsconfig.base.json (#5945)
* feat(core): sort projects in nx.json, workspace.json, and tsconfig.base.json

* fix(core): catch errors when trying to format

* chore(core): use existing sort util - rename new sort util to match (will soon be merged)

* fix(core): only sort workspace.projects if they have projects

* fix(core): remove sort from old format-files

* fix(core): noop catches rather and outputting an error message

* chore(core): revert format-files utils
2021-06-11 17:54:29 -04:00
Phillip Barta
a2c2d94050
feat(core): first step to common JSON behavior and common fileutils (#5859) 2021-06-09 12:45:16 +02:00
Colum Ferry
fd27615514
chore(angular): ast utils for angular with nx devkit (#5927) 2021-06-09 10:35:09 +01:00
Leosvel Pérez Espinosa
4563386d76
fix(core): add support for formatting using all extensions prettier supports (#5890) 2021-06-04 10:46:53 -04:00
vsavkin
9791fd4ca2 fix(core): displayed commands do not wrap strings into quotes correctly 2021-06-02 13:22:32 -04:00
vsavkin
27d8633ec8 fix(core): add nxignore and gitignore to the list of files affecting the hashing 2021-06-02 11:09:11 -04:00
Phillip Barta
7c34f779e3
cleanup(core): remove unneccessary dependencies and refactored prettier path resolve (#5852)
removed depenedencies app-root-path and resolve
refactored workspace/src/command-line/format.ts to
use require.resolve
2021-06-01 21:49:15 -04:00
Leosvel Pérez Espinosa
a6772c4346
fix(angular): update angular deps to use the latest minor versions (#5858) 2021-06-01 17:52:38 +01:00
James Henry
a3c08a9153
feat(linter): do not set eslint parserOptions.project by default (#5798) 2021-05-28 13:35:34 +00:00
puku0x
9c67c69560 fix(core): update project package.json on move 2021-05-27 13:25:52 -04:00
Juri Strumpflohner
2d2880ef94
fix(core): iteration of targets should not break if targets don't exist (#5791) 2021-05-26 20:48:48 +03:00
Fernando Montoya
b2e266ac2c Fix GitHub brand typo 2021-05-26 13:41:53 -04:00
Kirils L
bffc239e6e
fix(nextjs): add @nrwl/next as a prod dependency for new workspaces (#5662) 2021-05-21 13:50:58 +00:00
vsavkin
75cd7d9006 cleanup(core): clean up hash details 2021-05-19 14:26:02 -04:00
Miroslav Jonaš
f112b9283a
fix(linter): improve error message for circular reference (#5721)
Improves original error message by providing a hint

Closes #5625
2021-05-19 17:50:58 +00:00
Phillip Barta
053d488801 cleanup(core): removed reexport of devkit types in workspace 2021-05-19 13:42:03 -04:00
Miroslav Jonaš
1a6fc7649d
fix(core): update project's eslintrc and readme on move (#5714)
* fix(core): update eslint project path on move

Closes #5493

* fix(core): update project readme on move

* fix(core): add update readme to move generator
2021-05-19 15:14:31 +02:00
vsavkin
f82344d63a chore(repo): refine the tag line 2021-05-18 20:55:40 -04:00
vsavkin
af23cc5d7d feat(misc): change the nx tag line 2021-05-18 16:07:22 -04:00
vsavkin
f31b8cb023 docs(misc): replace memoization with caching 2021-05-18 13:43:50 -04:00
Miroslav Jonaš
ff3cc38b0c
feat(linter): optimize lint performance. resolves #5210 (#5576)
* feat(linter): optimize containsFile function

related to #5210

* feat(linter): optimize find project function

related to #5210

* feat(core): cleanup target project locator

* fix(core): fix false positive match on resolvedModule

* chore(core): mark old code for removal

* feat(linter): move npm check before expensive typescript resolution

* feat(linter): improve performance of extension removal

* feat(linter): improve I/O operations

* feat(linter): read ts config only once in project locator

* feat(linter): remove double path normalization from rule

normalization is already part of getSourceFilePath function

* feat(linter): run find source only once

* feat(linter): defer source file path calculation will after whitelist check

* feat(linter): map project graph node files to hash map

* fix(linter): map projectGraph only once per runtime

* feat(linter): introduce mapped project graph type
2021-05-18 16:41:12 +02:00
Phillip Barta
52e3083a19
feat(core): added encoding param in Tree.read() (#5668)
feat(core): added encoding param in Tree.read()
2021-05-17 21:03:04 -04:00
Jason Jean
f111027a8e fix(misc): be more specific finding targets being used when removing projects 2021-05-17 20:59:46 -04:00
Jason Jean
b4fe292d83 fix(core): run workspace-generators within the same process 2021-05-17 20:57:07 -04:00
Michaël De Boey
370831d527 Update format.ts 2021-05-17 20:55:51 -04:00
Michaël De Boey
672e728007 feat(workspace): support formatting on .graphql, .gql, .yaml, .yml & .vue files 2021-05-17 20:55:51 -04:00
Tasos Bekos
4103c6007a fix(node): package execution doesn't exit on watch mode
Closes #5208
2021-05-17 20:54:35 -04:00