31 Commits

Author SHA1 Message Date
Isaac Mann
154aedefa8
docs(core): document NX_GRAPH_CREATION (#28111)
Documents the NX_GRAPH_CREATION environment variable

Related to #27244
2024-09-27 08:35:16 -04:00
Craigory Coppola
abfb25dc37
fix(core): prevent post install failures when socket path too long (#27366)
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
We communicate with sockets during graph construction. Its possible for
the assigned path to be too long and this can cause issues. The issues
present as a strange error with no helpful information.

## Expected Behavior
There is a helpful error message, and post-install is not interrupted

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #27040
2024-08-09 23:15:23 -04:00
Craigory Coppola
0f193e21ce
fix(core): allow configuring plugin message timeout (#27315)
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
Plugin messages timeout if they don't hear back in 5 minutes. This adds
timeouts to createNodes and other plugin APIs invoked during graph
construction, which didn't previously exist

## Expected Behavior
Increased timeout + easy configuration via env var

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
2024-08-07 12:27:16 -04:00
Craigory Coppola
5e39cb0019
feat(core): allow partially resetting workspace (#23381) 2024-06-04 18:55:10 -04:00
MaxKless
10f97b99bc
fix(core): use current user when hashing native file & enable setting its directory via env (#24326) 2024-05-24 09:10:51 -04:00
Emily Xiong
9122b85616
fix(core): not load env files when NX_LOAD_DOT_ENV_FILES is false (#23231)
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #23090
2024-05-14 13:54:24 -04:00
Leosvel Pérez Espinosa
fb57667088
docs(misc): reorder sidebar menu items (#22746) 2024-04-11 11:40:23 +02:00
Isaac Mann
f98b18d4a2
docs(core): various references to Nx Cloud (#22237) 2024-03-08 09:41:18 -05:00
Isaac Mann
e732e7116f
docs(core): default cache directory update (#22023) 2024-02-27 11:40:33 -05:00
Leosvel Pérez Espinosa
2b7047b8b8
feat(core): support migrating to canary versions of nx for testing (#21812) 2024-02-15 16:45:54 +01:00
Miroslav Jonaš
4caa6be71a
feat(core): add option to disable log grouping on CI (#21782) 2024-02-12 19:07:03 +01:00
Jason Jean
f950f9b68d
docs(core): document NX_ADD_PLUGINS environment variable (#21565) 2024-02-05 14:08:55 -05:00
Isaac Mann
595a7743b6
docs(core): rename distributed cache to remote cache (#21061) 2024-01-11 18:14:44 +00:00
Isaac Mann
d1e842f827
feat(nx-dev): rename nx-cloud tab to CI (#20476) 2023-11-30 08:24:24 -05:00
Edouard Bozon
9b6c642a8f
docs(core): add NX_BATCH_MODE to env var references (#20235) 2023-11-19 23:39:03 -05:00
Craigory Coppola
024966ef73
feat(core): add NX_PARALLEL env var (#19488) 2023-10-09 15:47:21 -04:00
Tim Fisher
a49a84e753
feat(core): add NX_IGNORE_CYCLES environment variable (#18708) 2023-09-22 22:37:03 -04:00
Miroslav Jonas
42a06b67d2 feat(nx-dev): restructure recipes 2023-07-25 15:09:46 +02:00
Craigory Coppola
22c0047b63
fix(core): prefer NX_TASKS_RUNNER over NX_RUNNER (#16618) 2023-04-28 16:50:48 -04:00
Isaac Mann
330fe741aa
docs(core): env variable pages link to each other (#16258) 2023-04-14 11:37:19 -04:00
Jay Bell
6e86866867
feat(core): allow local execution transpiler overriding with env var (#16037) 2023-04-03 22:22:15 -04:00
Craigory Coppola
0370794e63
feat(core): add --quiet option to suppress generate output (#15802) 2023-03-21 19:53:21 -04:00
Craigory Coppola
0af052b18c
feat(core): add support for NX_DEFAULT_PROJECT env variable (#15549) 2023-03-17 10:37:15 -04:00
Richard Versteeg
c95b27d80a
feat(core): make task runner selection configurable through env variable (#14529) 2023-03-16 14:12:46 -04:00
Jason Jean
63eced7fca
fix(core): include target and configuration being run in env variables (#15668) 2023-03-14 13:44:33 -04:00
Colum Ferry
40deb00035
feat(core): add interactive env var (#14994) 2023-02-16 08:54:59 -05:00
Isaac Mann
91f4635e0c
docs(core): document more environment variables (#13298) 2022-11-21 12:32:55 -05:00
Isaac Mann
bf4f6c0a76
docs(core): add NX_PROJECT_GRAPH_CACHE_DIRECTORY (#13267) 2022-11-18 15:28:57 -05:00
Benjamin Cabanes
04d9d9813c
docs(nxdev): add proper recipes section (#12557) 2022-10-13 09:18:08 -04:00
Isaac Mann
1c0bebf194
docs(nxdev): automatic related docs (#11994)
* feat(nxdev): automatic related docs

* docs(nxdev): use auto related docs
2022-09-15 19:56:15 +00:00
Isaac Mann
e717660102
docs(nx-dev): diataxis restructure (#11649)
* docs(nxdev): restructure docs to diataxis style

* docs(nxdev): cleanup

* docs(nxdev): fix links

* chore(nxdev): format

* docs(nxdev): fix broken images

* docs(nxdev): fix links

* docs(nxdev): fix links

* docs(nxdev): fix links

* docs(nxdev): tweaks

* docs(nxdev): redirect rules

* docs(nxdev): fixes
2022-08-29 08:36:55 -04:00