Miroslav Jonaš
c18a40b1f0
feat(linter): show files involved in circular dependency ( #7113 )
2021-09-24 09:00:15 +00:00
James Henry
8dcf391649
chore(core): daemon cache pre-serialized project graph ( #7104 )
2021-09-23 11:18:56 -04:00
James Henry
98527acabc
chore(core): daemon uses cached project graph whenever possible
2021-09-22 09:46:10 -04:00
Victor Savkin
d79bba3630
chore(repo): update to nx 12.10
2021-09-20 16:39:13 -04:00
Victor Savkin
dca092874b
feat(core): add examples and links to nx.dev when using --help
2021-09-17 10:02:44 -04:00
James Henry
31a9bff5b0
chore(core): properly add strip-ansi to dependencies for workspace
2021-09-17 08:58:34 -04:00
James Henry
4956ebea9f
fix(core): ensure ANSI escape codes are stripped in git-hasher process outputs
2021-09-17 08:58:34 -04:00
Victor Savkin
a5ba9bc0c3
docs(core): add better docs for run-script
2021-09-16 20:30:00 -04:00
Himadu2000
e5b9d80abc
feat(react): updating @reduxjs/toolkit to 1.6.1 ( #6939 )
...
Updated @reduxjs/toolkit from 1.5.0 to 1.6.1
2021-09-16 14:05:32 +00:00
Benjamin Cabanes
efe780cfc9
chore(core): format fix ( #7018 )
2021-09-15 16:29:18 -04:00
Victor Savkin
e77f675118
fix(repo): fix a broken unit test
2021-09-15 15:21:06 -04:00
James Henry
d739f0c864
feat(core): daemon supports incremental file hashing
2021-09-15 13:54:23 -04:00
James Henry
5cce731fdb
fix(core): daemon server should reinitialize file hashes on each connection
2021-09-15 13:54:23 -04:00
James Henry
36facd8948
fix(core): ensure daemon server perf logging instantiated only once
2021-09-15 13:54:23 -04:00
James Henry
fe40485e1c
fix(core): git-hasher checkForDeletedFiles will now hard error
2021-09-15 13:53:40 -04:00
Wedema, D. (Daniël)
305813e3f2
fix(core): resolve nested files using tsConfig paths that have similar names
...
When tsConfig paths with overlapping names were configured (e.g. @my/project/*
and
@my/project-core/*), the project locator would always return the shorter name first.
ISSUES CLOSED : #6672
2021-09-15 13:25:59 -04:00
Linbudu
ebee6388cf
feat(workspace): Enable run-commands preferLocal option by default ( #6807 )
2021-09-15 13:08:39 -04:00
AgentEnder
a3599a525b
fix(core): convert-to-nx-project should normalize paths
...
fixes #6968
2021-09-15 11:54:03 -04:00
Andrew Luca
fe7c25d00f
chore(misc): add repository directory for all packages.json ( #6973 )
2021-09-15 11:53:08 -04:00
mmuenker
ab2f526021
fix(core): support hidden files in assets ( #6298 )
...
The transformation of `AssetGlob` objects into `FileInputOutput` objects does not include hidden files. The glob option `dot: true` is required to include hidden files. The commit extends the AssetGlob interface with the optional property `dot`. The glob check will include hidden files when the property `dot` is set to true.
Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
2021-09-15 09:45:36 -04:00
Leosvel Pérez Espinosa
bdd01ed1dd
fix(core): use defaultConfiguration in run-many and affected when no configuration is specified ( #6884 )
2021-08-28 18:07:41 +01:00
Jason Jean
1b6c0ee7fa
feat(misc): add x-type to app and lib generators ( #6874 )
2021-08-27 19:28:01 -04:00
Jason Jean
677e481729
fix(core): hash npm projects based on version ( #6879 )
2021-08-27 19:26:38 -04:00
Jason Jean
9c07d7fa06
fix(core): use tao generate for angular devkit workspace-schematics ( #6861 )
2021-08-27 14:56:16 -04:00
Jason Jean
6d8fa39d29
chore(misc): fix failing workspace lib unit test ( #6862 )
2021-08-26 16:47:32 -04:00
Emily Xiong
387af0cf3f
feat(core): add react native to main repo ( #6493 )
2021-08-25 15:54:23 -04:00
Chau Tran
5ff55ced15
feat(angular): upgrade to ~12.2.0 ( #6836 )
...
* feat(angular): upgrade to ~12.2.0
* fix(angular): adjust nrwl/angular packageJson to pass depCheck
* fix(angular): add @angular/platform-server to migrations
Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2021-08-25 15:51:22 -04:00
Leosvel Pérez Espinosa
a30d9e11f8
docs(core): improve cli docs ( #6669 )
2021-08-24 16:05:02 +00:00
AgentEnder
c9c8fa7f1c
chore(core): project.json should not be included in builds
...
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-08-20 20:22:30 -04:00
Jason Jean
c01b538985
chore(misc): fix failing unit test in npm-package ( #6798 )
2021-08-20 14:58:45 -04:00
Jason Jean
bfa06ce8b0
feat(misc): add generator for simple npm-package ( #6784 )
2021-08-20 14:10:00 -04:00
Jason Jean
85f92e740e
feat(misc): simplify npm scripts generated ( #6764 )
2021-08-20 12:07:26 -04:00
Miroslav Jonaš
3b2f0b64ea
fix(core): remove .eslintrc double extends update on move ( #6765 )
...
* fix(core): remove eslintrc double extends update on move
* fix(core): move eslintrc move logic back to eslint update
2021-08-20 02:56:56 -04:00
Jonathan Cammisuli
bd2a635cfd
feat(core): add default path argument for readNxJson ( #6779 )
2021-08-19 21:43:08 +00:00
Leosvel Pérez Espinosa
ff202d323c
cleanup(misc): rename oss preset to npm and update presets related docs ( #6777 )
2021-08-19 11:10:29 -07:00
Miroslav Jonaš
b32062416a
fix(core): skip caching output properties missing in options and arguments ( #6743 )
...
* fix(core): add outputFile to cached outputs
* fix(core): ignore output properties missing in options and console arguments
2021-08-18 19:56:01 -04:00
Shihab Uddin
eaa0287238
fix(core): always use environment variable for cache directory ( #6746 )
...
In 6c16ee0feead3f01c575af2b998fe614c207ac96 the environment variable was used
while reading from `nx.json`. But in `packages/workspace/src/tasks-runner/cache.ts`
the `cacheDirectory` is used without using `readCacheDirectoryProperty`. Now we
check the environment variable in `cacheDirectory`, so that the environment
variable is always used.
ISSUES CLOSED : #6629
2021-08-18 17:56:13 -04:00
Jason Jean
6fbf7ffa16
feat(misc): remove ts-node, tslib, and dotenv from empty workspace package.json ( #6763 )
2021-08-18 17:36:11 -04:00
Nrwl CI Machine
5f02a10ac9
feat(core): add an ability to extend nx.json config
2021-08-17 14:44:41 -04:00
Jason Jean
5a2b7f4a34
fix(core): fix env for batch mode ( #6719 )
2021-08-13 16:43:49 -04:00
Nikolaos Stamatopoulos
6d23591280
fix(core): Fix removal of terminalOutputs in cache ( #6657 )
...
Terminal outputs were not cleaned up because the terminalOutputs
subdirectory was not joined when constructing the path. With this
commit, all files are handled using their full paths. Path joins are
done once the directories are read, ensuring that we have the full path
later on for removal.
2021-08-13 14:16:39 -04:00
kazamov
9966443d09
fix(core): close webpack compiler when build complete ( #6608 )
...
* fix(core): close webpack compiler when build complete
Call webpack `close` method when build complete according to https://webpack.js.org/api/node/#run . Fallback webpack 4 `close` method
2021-08-13 14:13:53 -04:00
Jason Jean
c2832caf40
fix(misc): fix adding @nrwl/workspace to projects without prettier ( #6716 )
2021-08-13 11:59:02 -04:00
James Henry
3351ef80bc
chore(core): opt-in daemon for ProjectGraph creation, refactor hasher ( #6572 )
2021-08-12 08:56:01 -04:00
Shihab Uddin
8cad038788
feat(core): make it possible to use environment variable to set cache directory ( #6670 )
...
Use the environment variable NX_CACHE_DIRECTORY to set the cache directory.
This would override the cache directory set in nx.json.
ISSUES CLOSED : #6629
2021-08-11 14:13:48 -04:00
Leosvel Pérez Espinosa
91527e18e8
fix(core): fix --with-deps arg support and deprecate its usage ( #6660 )
2021-08-11 14:11:13 -04:00
MaximSagan
735802e5dc
fix(workspace): exit process with exit code 1 on any failed task including dependency ( #6631 )
...
Co-authored-by: Max Sagan - Yieldbroker <Max.Sagan@yieldbroker.com>
2021-08-11 14:00:59 -04:00
Leosvel Pérez Espinosa
ce7441217f
cleanup(misc): refactor absolute imports to self ( #6667 )
2021-08-10 12:45:43 +01:00
Leosvel Pérez Espinosa
3e3794c52c
fix(core): default run-many to use provided projects order ( #6632 )
2021-08-06 18:16:14 -04:00
Nrwl CI Machine
bc4ec52f53
cleanup(misc): avoid importing rxjs in the core path
2021-08-06 16:29:16 -04:00