Victor Savkin
428106f6be
cleanup(core): create more meaningful file structure in nx package ( #9621 )
2022-03-31 09:07:22 -04:00
Jason Jean
b7ed00ffa3
chore(core): re-export from core/project-graph and core/file-utils ( #9560 )
2022-03-28 16:26:48 +00:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… ( #9469 )
2022-03-23 22:18:17 -04:00
Enoyao
bf836f4313
cleanup(core): use full variable name in git-hasher.ts ( #9143 )
2022-03-18 22:32:02 +00:00
Miroslav Jonaš
f50f0bc845
chore(core): split hasher filter types for node and workspace project ( #9293 )
...
* chore(core): split hasher filter types for node and workspace project
* fix(core): change leftover hash filter to node hash filter
2022-03-18 16:26:37 -04:00
Victor Savkin
419131838f
fix(misc): handle tsx files correctly when excluding specs
2022-03-15 13:52:56 -04:00
Victor Savkin
6f038e7a4a
feat(core): reorganize packges to consolidate all cli-related code in nx
2022-03-14 16:42:51 -04:00
Miroslav Jonaš
ca38be735d
chore(core): add type for hasher filter to avoid typos ( #9287 )
2022-03-11 14:54:21 +01:00
Miroslav Jonaš
5db394ecd8
fix(linter): use import to check for secondary entrypoint in angular ( #9285 )
2022-03-11 14:52:43 +01:00
Victor Savkin
a32d46c5a3
feat(core): provide an experimental hashing mode for jest and cyrpess
2022-03-10 21:16:58 -05:00
Leosvel Pérez Espinosa
acc29e9593
fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json ( #9195 )
...
* fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json
* cleanup(angular): address pr feedback
2022-03-09 11:30:26 -05:00
Leosvel Pérez Espinosa
5ada5adda2
fix(core): fix daemon server path on client ( #9235 )
2022-03-08 16:34:21 +00:00
Craigory Coppola
de7aa8ed3d
fix(core): cwd during dep-graph shouldn't vary based on daemon ( #9223 )
2022-03-08 13:28:42 +04:00
Jason Jean
5964379bc9
feat(core): use package manager workspace globs to find projects ( #9131 )
2022-03-02 16:03:21 -05:00
Craigory Coppola
efedd2eff7
fix(core): batch calls to git hash-object to avoid E2BIG error
2022-03-01 11:45:24 -05:00
Enoyao
40f0f3d870
chore(core): use optional chaining for reading js plugin config ( #8951 )
2022-02-25 17:41:35 -05:00
Miroslav Jonaš
b251234af9
feat(core): use stricter types for project graph node references ( #8813 )
2022-02-16 11:45:04 +01:00
Chau Tran
7da9fbbe88
fix(js): migrate swc executor off of rxjs ( #8728 )
...
* fix(js): clean up swc
* fix(js): clean up swc
* fix(js): add incremental to TypeCheckOptions
* fix(js): use async iterator with tsc executor. remove rxjs deps
* chore(js): remove unnecessary test and commented out code
* fix(js): add else statement for readability
* fix(js): ensure error() and done() always set error and done fields
* chore(js): clean up create async iterable tests
* fix(js): ensure pushQueue is resolved first if there are still items to be resolved before done
Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2022-02-15 14:16:30 -06:00
Victor Savkin
0b86b141e0
fix(core): node-based file hasher should use absolute paths
2022-02-07 13:18:17 -05:00
Victor Savkin
fb056891ec
fix(core): do not start daemon process when running a docker container
2022-02-01 13:54:11 -05:00
Victor Savkin
5e3f1d47bf
chore(repo): update repo to 13.7.1
2022-01-28 21:20:27 -05:00
Victor Savkin
a7b1065be4
fix(core): fix the issue introduced by 45c9ee09
2022-01-28 20:56:07 -05:00
Victor Savkin
4e5b48d64a
fix(core): warn when daemon fails to start
2022-01-28 20:42:29 -05:00
Jason Jean
1f6c17031e
fix(core): fix git support detection ( #8764 )
2022-01-29 00:38:29 +00:00
Victor Savkin
51b90435b3
fix(core): fix cache for directory outputs ( #8756 )
...
Only use parent directory for outputs if output is a file. Closes #8504 .
This bug has been caused by 16e9f58f76 .
Co-authored-by: skrtheboss <denisfrenademetz97@gmail.com>
2022-01-28 16:30:14 -05:00
Daniel Payet
b86feb1048
fix(dep-graph): set the number of workers with environment variables
...
In a docker container, the result of os.cpus() can be wrong (https://github.com/nodejs/node/issues/28762 ).
2022-01-28 14:31:47 -05:00
Kirill Metrik
1c5ad6e45a
fix(core): avoid importing posix/path but still use posix paths on Windows
2022-01-28 13:35:13 -05:00
Phillip Barta
2b1fbfd6f6
cleanup(core): cleanup hasher and core fileutils
2022-01-28 13:26:12 -05:00
Victor Savkin
86a1a6c825
fix(core): better detection whether the workspace uses git ( #8720 )
2022-01-27 11:13:07 -05:00
Victor Savkin
f360447677
feat(core): enable daemon by default for new projects ( #8698 )
2022-01-27 09:27:09 -05:00
Victor Savkin
4e474773bf
Revert "feat(core): show dep types in dep graph ( #2760 ) ( #8132 )"
...
This reverts commit 31bb2f36261fdf222e9e8e962227dcd911dfee66.
2022-01-25 15:23:25 -05:00
David Nunez
3d36169b49
fix(core): need to read in any base nx.json when building a workspace ( #8333 )
...
* fix(core): need to read in any base nx.json when building a workspace
* chore(core): remove changes to ngcli-adapter and cleanup nx extension
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-01-24 18:46:36 -05:00
Jon Hammerskov
4e11378954
fix(core): fix crash in hash of project when imports of unregistered npm packages
...
If some .ts file imports an npm package that is not directly registered as dependency
the caching of
project graph may result in an exception
when switching back and forth between branches where the
npm package
is a dependency and where it is not
This PR will just provide some dummy checksum for
unknown dependencies
ISSUES CLOSED : #7225
2022-01-20 11:37:09 -05:00
Victor Savkin
3e0e30eceb
fix(core): add an extra check to list for lock file changes
2022-01-20 11:09:50 -05:00
Victor Savkin
950c94155e
feat(core): do not use the daemon when inotify limit is reached
2022-01-20 11:09:50 -05:00
Victor Savkin
9e75918154
feat(core): speed up file map creation ( #8597 )
2022-01-19 15:30:21 -05:00
James Henry
faef0d8c85
chore(core): task runner dynamic output life cycle ( #8590 )
2022-01-19 14:52:10 -05:00
Phillip Barta
574160ddc4
cleanup(repo): import ignore instead of require ( #8579 )
2022-01-19 10:11:22 -05:00
MaximSagan
31bb2f3626
feat(core): show dep types in dep graph ( #2760 ) ( #8132 )
2022-01-18 10:20:09 -07:00
Jason Jean
0c31a9902d
fix(core): allow for creating a project graph without any root tsconfig.json at all ( #8545 )
2022-01-14 17:32:10 -05:00
Victor Savkin
330c33ddd1
fix(repo): add nx-cache to gitignore to make e2e tests pass on windows
2022-01-14 15:25:22 -05:00
Victor Savkin
6c75057556
fix(core): daemon should reinitilize hasher when doing reset
2022-01-13 11:29:10 -05:00
Victor Savkin
f00a0b5390
fix(core): affected logic should get file hashes from graph
2022-01-12 11:54:48 -05:00
Victor Savkin
d21047efbc
cleanup(core): misc cleanup
2022-01-11 20:57:22 -05:00
Victor Savkin
58814c697a
cleanup(core): make hashing faster
2022-01-11 20:56:26 -05:00
Colum Ferry
15c6ca70a2
chore(repo): use LTS node typings ( #8366 )
2022-01-11 12:31:58 -05:00
Victor Savkin
75cc52fd48
fix(core): change default folder for daemon assets to cache dir
2022-01-10 16:54:12 -05:00
Victor Savkin
16e9f58f76
feat(core): optimise cache restoration and storing
2022-01-10 11:40:10 -05:00
Victor Savkin
b3fb9eef4a
fix(core): correctly print parsing errors when receiving graph from daemon
2022-01-07 16:00:29 -05:00
Victor Savkin
57593f5df7
feat(core): add the ability to remove edges in the graph
2021-12-22 12:51:16 -05:00