Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nrwl/nx
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 19.5.1
Choose a base ref
...
head repository: nrwl/nx
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 19.5.2
Choose a head ref

Commits on Jul 22, 2024

  1. fix(core): resolve nested delegated executor package correctly (#26979)

    <!-- 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
    <!-- This is the behavior we have today -->
    
    Resolving the package for delegated executor definitions doesn't take
    into account that the package could be nested inside the parent package.
    
    ## Expected Behavior
    <!-- This is the behavior we should expect with the changes in this PR
    -->
    
    Resolving the package for delegated executor definitions should work
    correctly.
    
    ## Related Issue(s)
    <!-- Please link the issue being fixed so it gets closed when this is
    merged. -->
    
    Fixes #26896
    
    (cherry picked from commit 53d2e9c)
    leosvelperez authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    dc9e8b2 View commit details
  2. feat(module-federation): use proxy servers to proxy to single file se…

    …rver for static remotes (#26782)
    
    <!-- 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
    <!-- This is the behavior we have today -->
    Remotes that are served for a host are usually served from a single file
    server running on a single port.
    We perform some mapping logic during the build of the host application
    to update the locations the remotes can be found at to point to the
    single file server.
    
    This works, but it's also wrong, as it breaks the flow that users
    expect.
    It also breaks dynamic remotes.
    
    ## Expected Behavior
    <!-- This is the behavior we should expect with the changes in this PR
    -->
    Continue to serve the remotes from a single file server, as this helps
    reduce the amount of resources used on developers machines.
    Use express to create proxy servers that will proxy requests from the
    original remote location to the single file server.
    
    This allows applications to continue to work without us having to
    interfere and map any remote locations.
    It also solves the issue with dynamic remotes.
    
    ## Related Issue(s)
    <!-- Please link the issue being fixed so it gets closed when this is
    merged. -->
    
    Fixes #26318
    
    (cherry picked from commit a549b9b)
    Coly010 authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    2c0bbec View commit details
  3. feat(nx-dev): update descriptions and layout styles for better clarity (

    #26991)
    
    Revised meta descriptions and adjusted layout styles to improve visual
    consistency and accessibility. Enhanced card layout by refining padding
    and icon handling for different screen sizes.
    
    (cherry picked from commit 83b88a1)
    bcabanes authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    6c73070 View commit details
  4. fix(module-federation): do not cache assets from static serve (#27005)

    We're currently caching files for an hour when serving the host with
    static remotes. This PR fixes the issue by setting `cacheSeconds: -1` on
    the static server (disables cache).
    
    This affects development only.
    <!-- 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
    <!-- 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 #
    
    (cherry picked from commit 8b1c78c)
    jaysoo authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    77cdd77 View commit details
  5. fix(core): normalizeTargetDependencyWithStringProjects should not ret…

    …urn undefined (#26994)
    
    <!-- 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
    <!-- 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 #26975
    
    (cherry picked from commit 188f0d8)
    xiongemi authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    2776f57 View commit details
  6. docs(core): move "nx connect" earlier in CI section for standalone/mo…

    …norepo tutorials (#26845)
    
    We're making an enhancement to `nx g ci-workflow` such that when the
    workspace is already connected to Nx Cloud, we'll enable distribution in
    the workflow file, rather than having them commented out. For the flow
    of the tutorial, it makes more sense to do `nx connect` first so things
    are set up correctly without user intervention.
    
    Note: I left the "Make sure the following line is uncommented" for
    distribution because older versions will still leave it uncommented.
    
    Example:
    https://nx-dev-git-docs-tutorials-update-nrwl.vercel.app/getting-started/tutorials/angular-monorepo-tutorial
    
    ---------
    
    Co-authored-by: Isaac Mann <isaacplmann@gmail.com>
    (cherry picked from commit ec5b04f)
    2 people authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    ce02967 View commit details
  7. feat(nx-dev): update typography and hero component styles (#27011)

    Enhanced the typography styles to improve text scaling across various
    screen sizes. Adjusted the hero component to include responsive line
    breaks and optimized the SVG element for better alignment and sizing.
    
    (cherry picked from commit f1f8ab7)
    bcabanes authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    e4e6896 View commit details
  8. feat(nx-dev): add Nx Cloud Page (#26865)

    (cherry picked from commit 51d5d23)
    ndcunningham authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    4baa46d View commit details
  9. docs(nest): add deployment section (#26048)

    <!-- 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
    nx/nest documentation contains no deployment information.
    
    ## Expected Behavior
    Deployment information is present, as it is a common question in
    Discord.
    
    ## Related Issue(s)
    <!-- Please link the issue being fixed so it gets closed when this is
    merged. -->
    
    ---------
    
    Co-authored-by: MilanKovacic <9189985+MilanKovacic@users.noreply.github.com>
    (cherry picked from commit b623104)
    2 people authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    b0239ad View commit details
  10. fix(react-native): fix unable to resolve realm (#26983)

    <!-- 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
    <!-- 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 #26853
    
    (cherry picked from commit e87bf39)
    xiongemi authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    074a316 View commit details
  11. docs(core): github actions tutorial update (#26995)

    Update the github actions tutorial:
    - Removes content that focuses on GitHub Actions itself
    - Updates for the new `nx connect` onboarding flow
    
    ---------
    
    Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
    (cherry picked from commit 9410164)
    2 people authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    72e4df7 View commit details
  12. fix(angular): generate correct server file when using webpack-based e…

    …xecutors (#27007)
    
    <!-- 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
    <!-- 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 #26722
    
    (cherry picked from commit 4871642)
    leosvelperez authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    47a3287 View commit details
  13. docs(core): added missing close bracket (#27023)

    <!-- 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
    <!-- This is the behavior we have today -->
    
    There is a missing closing bracket in the
    [cache-task-result](https://nx.dev/features/cache-task-results#finetune-caching-with-inputs-and-outputs)
    
    <img width="696" alt="Screenshot 2024-07-21 at 2 22 01 PM"
    src="https://github.com/user-attachments/assets/4a798a3a-3869-46e9-bd0b-cb762034a70f">
    
    ## Expected Behavior
    <!-- This is the behavior we should expect with the changes in this PR
    -->
    
    Add the missing closing bracket: change `{projectName` to
    `{projectName}`.
    
    ## Related Issue(s)
    <!-- Please link the issue being fixed so it gets closed when this is
    merged. -->
    N/A!
    
    (cherry picked from commit f366d4e)
    arthur-mountain authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    75bd775 View commit details
  14. fix(core): typo in nx update log (#27036)

    (cherry picked from commit 521c3f3)
    JamesHenry authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    d4907d3 View commit details
  15. fix(core): record stats for more commands (#27017)

    <!-- 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
    <!-- This is the behavior we have today -->
    
    Stats are not recorded for `nx connect`, `nx view-logs`, and `nx init`.
    
    ## Expected Behavior
    <!-- This is the behavior we should expect with the changes in this PR
    -->
    
    Stats are recorded for those commands and they get sent to the right URL
    
    ## Related Issue(s)
    <!-- Please link the issue being fixed so it gets closed when this is
    merged. -->
    
    Fixes #
    
    (cherry picked from commit e1cced3)
    FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    c6b3509 View commit details
  16. docs(misc): lower concurrency to 3 in the docs (#27013)

    <!-- 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
    <!-- This is the behavior we have today -->
    
    This was changed in the generated ci workflow but not on the docs.
    
    ## Expected Behavior
    <!-- This is the behavior we should expect with the changes in this PR
    -->
    
    This is changed in the docs as well so it's not confusing.
    
    ## Related Issue(s)
    <!-- Please link the issue being fixed so it gets closed when this is
    merged. -->
    
    Fixes #
    
    (cherry picked from commit f08cd4c)
    FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    559ba22 View commit details
  17. fix(linter): log a message when the number of warnings exceeds the sp…

    …ecified maxWarnings for the lint executor (#27003)
    
    <!-- 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
    <!-- 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 #26906
    
    (cherry picked from commit ae48a15)
    leosvelperez authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    6f82880 View commit details
  18. cleanup(linter): remove leftover console.log from lint executor (#27002)

    <!-- 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
    <!-- 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 #
    
    (cherry picked from commit c724d10)
    leosvelperez authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    419a88c View commit details
  19. docs(testing): remove wrong cypress config filenames from plugin over…

    …view (#26981)
    
    <!-- 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
    <!-- This is the behavior we have today -->
    
    The cypress plugin overview lists `cypress.config.mts` and
    `cypress.config.cts` filenames, which are not configuration filenames
    supported by Cypress by default.
    
    ## Expected Behavior
    <!-- This is the behavior we should expect with the changes in this PR
    -->
    
    The cypress plugin overview only lists valid configuration filenames
    supported by Cypress.
    
    ## Related Issue(s)
    <!-- Please link the issue being fixed so it gets closed when this is
    merged. -->
    
    Fixes #
    
    (cherry picked from commit 5b414d1)
    leosvelperez authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    d9c00c0 View commit details
  20. fix(core): copy package manager config files when installing latest n…

    …x version in nx migrate (#27032)
    
    <!-- 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
    <!-- 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 #26926
    
    (cherry picked from commit 0bc8898)
    leosvelperez authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    2d18546 View commit details
  21. fix(linter): convert root projects correctly to inferred and remove d…

    …efault option values (#27035)
    
    <!-- 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
    <!-- This is the behavior we have today -->
    
    Converting a root project to inferred results in the plugin registration
    to have the `includes` option set to `./**/*`. This is invalid and
    causes no project to be inferred.
    
    Additionally, the eslint `convert-to-inferred` generator:
    
    - keeps a redundant `config` option, which is not needed because
    inferred tasks only work with default/known ESLint config files, so
    there's no need to specify it in the options
    - converts all `lintFilePatterns` to `args`, which is correct, but it
    keeps the patterns that are already inferred by the plugin, which leads
    to duplicated patterns when running the task
    
    ## Expected Behavior
    <!-- This is the behavior we should expect with the changes in this PR
    -->
    
    Converting a root project to inferred should work as expected and result
    in the `lint` task being inferred for the project.
    Also, default inferred options should be removed from the target
    options.
    
    ## Related Issue(s)
    <!-- Please link the issue being fixed so it gets closed when this is
    merged. -->
    
    Fixes #26775
    
    (cherry picked from commit 5217c33)
    leosvelperez authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    1d6a3af View commit details
  22. docs(core): angular monorepo tutorial video (#26819)

    Add video to Angular monorepo tutorial
    
    (cherry picked from commit 199ffd1)
    isaacplmann authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    586a366 View commit details
  23. feat(repo): run e2e in the same command as build,test,lint (#27019)

    <!-- 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
    <!-- 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 #
    
    (cherry picked from commit fb55c90)
    lourw authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    22b104c View commit details
  24. docs(nx-cloud): add release notes (#26989)

    <!-- 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
    <!-- 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 #
    
    ---------
    
    Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
    (cherry picked from commit 224305c)
    2 people authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    90e671a View commit details
  25. feat(testing): support vite configOverrides for cypress (#26554)

    We'd like to use shared cypress commands, but that's currently not
    working because vite cannot resolve the import.
    By allowing to pass options to the vite config we have the possibility
    to add an alias or a plugin to fix this.
    
    This adds support for an **optional** `viteConfigOverrides` object.
    
    ## Current Behavior
    ![Screenshot 2024-06-14 at 15 19
    21](https://github.com/nrwl/nx/assets/951290/78f5037f-c839-4227-a3ea-4de4142006cf)
    
    cypress.config.ts:
    ```ts
    import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
    import { defineConfig } from 'cypress';
    
    export default defineConfig({
      e2e: {
        ...nxE2EPreset(__filename, { cypressDir: 'cypress', bundler: 'vite' }),
      },
    });
    ```
    
    ## Expected Behavior
    ![Screenshot 2024-06-14 at 15 23
    56](https://github.com/nrwl/nx/assets/951290/385cde67-91b9-462e-9bfa-0c784d3947b7)
    
    cypress.config.ts:
    ```ts
    import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
    import { defineConfig } from 'cypress';
    
    const viteConfigOverrides = {
      resolve: {
        alias: {
          '@cypress-shared-commands': '../../../shared-cypress-commands',
        },
      },
    };
    
    export default defineConfig({
      e2e: {
        ...nxE2EPreset(__filename, { cypressDir: 'cypress', bundler: 'vite', viteConfigOverrides }),
      },
    });
    ```
    ## Related Issue(s)
    <!-- Please link the issue being fixed so it gets closed when this is
    merged. -->
    
    Fixes #
    
    (cherry picked from commit 764ecee)
    TimvdEijnden authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    7032497 View commit details
  26. fix(vite): typecheck vue projects with vue-tsc #20242 (#26450)

    <!-- 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 -->
    Typechecking of  Vue Projects with Vite is not functioning correctly
    
    ## Expected Behavior
    <!-- This is the behavior we should expect with the changes in this PR
    -->
    Typechecking of Vue projects should type check the .vue files and not
    error in TS files importing .vue files
    
    ## Related Issue(s)
    <!-- Please link the issue being fixed so it gets closed when this is
    merged. -->
    
    Fixes #20242
    
    (cherry picked from commit 8cf69c4)
    Coly010 authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    0a43ec2 View commit details
  27. docs(core): add docs for parallelism (#26950)

    <!-- 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
    <!-- 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 #
    
    (cherry picked from commit 627504d)
    xiongemi authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    f841dc5 View commit details
  28. feat(graph): add parallelism in target details (#27014)

    <!-- 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
    <!-- This is the behavior we have today -->
    ![Screenshot 2024-07-19 at 4 00
    37 PM](https://github.com/user-attachments/assets/10637098-2429-4672-bec9-6caacd8ca190)
    ![Screenshot 2024-07-19 at 3 27
    54 PM](https://github.com/user-attachments/assets/11b2c280-2b26-4ba0-b83d-3b833fea2ae7)
    
    ## 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 #
    
    (cherry picked from commit bfb0106)
    xiongemi authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    ff7e1aa View commit details
  29. fix(repo): update tests to pass regardless of actually installed yarn…

    … version (#27054)
    
    … version
    
    <!-- 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
    <!-- 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 #
    
    (cherry picked from commit c4f9d89)
    AgentEnder authored and FrozenPandaz committed Jul 22, 2024
    Copy the full SHA
    4dc68be View commit details
Showing with 4,988 additions and 2,003 deletions.
  1. +1 −2 .circleci/config.yml
  2. +1 −1 docs/blog/2024-03-21-reliable-ci.md
  3. +0 −2 docs/generated/packages/cypress/documents/overview.md
  4. +20 −0 docs/generated/packages/nest/documents/overview.md
  5. +1 −1 docs/nx-cloud/reference/nx-cloud-cli.md
  6. +30 −0 docs/nx-cloud/reference/release-notes.md
  7. BIN docs/nx-cloud/tutorial/circle-create-pr.avif
  8. BIN docs/nx-cloud/tutorial/circle-new-run.avif
  9. BIN docs/nx-cloud/tutorial/circle-pr.avif
  10. BIN docs/nx-cloud/tutorial/circle-setup-project.avif
  11. +108 −310 docs/nx-cloud/tutorial/circle.md
  12. +93 −348 docs/nx-cloud/tutorial/github-actions.md
  13. BIN docs/nx-cloud/tutorial/github-cloud-pr.avif
  14. BIN docs/nx-cloud/tutorial/github-pr-workflow.avif
  15. BIN docs/nx-cloud/tutorial/nx-cloud-agents-in-progress.png
  16. BIN docs/nx-cloud/tutorial/nx-cloud-report-comment.png
  17. BIN docs/nx-cloud/tutorial/nx-cloud-setup.avif
  18. +1 −1 docs/shared/features/cache-task-results.md
  19. +64 −24 docs/shared/migration/adding-to-existing-project.md
  20. +64 −24 docs/shared/migration/adding-to-monorepo.md
  21. +64 −24 docs/shared/migration/migration-angular.md
  22. +1 −1 docs/shared/monorepo-ci-azure.md
  23. +2 −2 docs/shared/monorepo-ci-bitbucket-pipelines.md
  24. +1 −1 docs/shared/monorepo-ci-circle-ci.md
  25. +1 −1 docs/shared/monorepo-ci-github-actions.md
  26. +1 −1 docs/shared/monorepo-ci-gitlab.md
  27. +2 −2 docs/shared/monorepo-ci-jenkins.md
  28. +0 −2 docs/shared/packages/cypress/cypress-plugin.md
  29. +20 −0 docs/shared/packages/nest/nest-plugin.md
  30. +20 −0 docs/shared/reference/project-configuration.md
  31. +97 −63 docs/shared/tutorials/angular-monorepo.md
  32. +55 −29 docs/shared/tutorials/angular-standalone.md
  33. BIN docs/shared/tutorials/github-cloud-pr-merged.avif
  34. BIN docs/shared/tutorials/github-pr-cloud-report.avif
  35. BIN docs/shared/tutorials/gradle-github-pr-cloud-report.avif
  36. +68 −26 docs/shared/tutorials/gradle.md
  37. +66 −79 docs/shared/tutorials/npm-workspaces.md
  38. BIN docs/shared/tutorials/nx-cloud-github-connect.avif
  39. BIN docs/shared/tutorials/nx-cloud-run-details.avif
  40. +75 −49 docs/shared/tutorials/react-monorepo.md
  41. +64 −24 docs/shared/tutorials/react-standalone.md
  42. +64 −24 docs/shared/tutorials/vue-standalone.md
  43. +1 −1 e2e/nx/src/misc.test.ts
  44. +25 −75 e2e/react/src/react-module-federation.test.ts
  45. +25 −3 graph/ui-project-details/src/lib/target-configuration-details/target-configuration-details.tsx
  46. +8 −1 graph/ui-tooltips/src/lib/property-info-tooltip.tsx
  47. +6 −1 nx-dev/nx-dev/app/blog/page.tsx
  48. +0 −2 nx-dev/nx-dev/app/layout.tsx
  49. +68 −0 nx-dev/nx-dev/app/nx-cloud/page.tsx
  50. +2 −3 nx-dev/nx-dev/pages/index.tsx
  51. BIN nx-dev/nx-dev/public/images/cloud/nrwl-ocean.avif
  52. BIN nx-dev/nx-dev/public/images/cloud/nx-oss-source.avif
  53. +0 −1 nx-dev/nx-dev/redirect-rules.js
  54. +12 −0 nx-dev/ui-cloud/.babelrc
  55. +18 −0 nx-dev/ui-cloud/.eslintrc.json
  56. +7 −0 nx-dev/ui-cloud/README.md
  57. +9 −0 nx-dev/ui-cloud/project.json
  58. +9 −0 nx-dev/ui-cloud/src/index.ts
  59. +189 −0 nx-dev/ui-cloud/src/lib/agent-number-over-time.tsx
  60. +243 −0 nx-dev/ui-cloud/src/lib/automated-agents-management.tsx
  61. +87 −0 nx-dev/ui-cloud/src/lib/call-to-action.tsx
  62. +73 −0 nx-dev/ui-cloud/src/lib/elements/bento-grid.tsx
  63. +56 −0 nx-dev/ui-cloud/src/lib/elements/spotlight.tsx
  64. +71 −0 nx-dev/ui-cloud/src/lib/enhance-with-ai.tsx
  65. +97 −0 nx-dev/ui-cloud/src/lib/faster-and-cheaper.tsx
  66. +202 −0 nx-dev/ui-cloud/src/lib/hero.tsx
  67. +25 −0 nx-dev/ui-cloud/src/lib/layout.tsx
  68. +159 −0 nx-dev/ui-cloud/src/lib/statistics.tsx
  69. +47 −0 nx-dev/ui-cloud/src/lib/trusted-by.tsx
  70. +826 −0 nx-dev/ui-cloud/src/lib/understand-workspace.tsx
  71. +17 −0 nx-dev/ui-cloud/tsconfig.json
  72. +24 −0 nx-dev/ui-cloud/tsconfig.lib.json
  73. +3 −3 nx-dev/ui-common/src/lib/footer.tsx
  74. +1 −1 nx-dev/ui-common/src/lib/headers/menu-items.ts
  75. +1 −1 nx-dev/ui-common/src/lib/typography.tsx
  76. +6 −3 nx-dev/ui-home/src/lib/hero.tsx
  77. +281 −116 nx-dev/ui-home/src/lib/smarter-tools-for-monorepos.tsx
  78. +2 −1 package.json
  79. +3 −0 packages/angular/ng-package.json
  80. +3 −4 packages/angular/src/executors/module-federation-dev-server/lib/build-static-remotes.ts
  81. +0 −1 packages/angular/src/executors/module-federation-dev-server/lib/index.ts
  82. +8 −1 packages/angular/src/executors/module-federation-dev-server/lib/start-static-remotes-file-server.ts
  83. +16 −28 packages/angular/src/executors/module-federation-dev-server/module-federation-dev-server.impl.ts
  84. +14 −10 packages/angular/src/generators/setup-ssr/__snapshots__/setup-ssr.spec.ts.snap
  85. +7 −5 packages/angular/src/generators/setup-ssr/files/server/server-builder/v17+/__serverFileName__
  86. +7 −1 packages/cypress/plugins/cypress-preset.ts
  87. +4 −2 packages/cypress/src/plugins/preprocessor-vite.ts
  88. +19 −17 packages/devkit/src/generators/plugin-migrations/executor-to-plugin-migrator.ts
  89. +32 −0 packages/eslint/src/executors/lint/lint.impl.spec.ts
  90. +6 −0 packages/eslint/src/executors/lint/lint.impl.ts
  91. +241 −12 packages/eslint/src/generators/convert-to-inferred/convert-to-inferred.spec.ts
  92. +55 −20 packages/eslint/src/generators/convert-to-inferred/convert-to-inferred.ts
  93. +0 −1 packages/eslint/src/utils/config-file.ts
  94. +34 −11 packages/expo/plugins/metro-resolver.ts
  95. +26 −1 packages/expo/plugins/with-nx-metro.ts
  96. +1 −1 packages/nx/bin/nx.ts
  97. +8 −6 packages/nx/src/adapter/ngcli-adapter.ts
  98. +8 −0 packages/nx/src/command-line/connect/command-object.ts
  99. +16 −6 packages/nx/src/command-line/connect/connect-to-nx-cloud.ts
  100. +1 −0 packages/nx/src/command-line/connect/view-logs.ts
  101. +2 −0 packages/nx/src/command-line/migrate/command-object.ts
  102. +15 −7 packages/nx/src/command-line/run/executor-utils.ts
  103. +3 −12 packages/nx/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud.ts
  104. +10 −0 packages/nx/src/nx-cloud/utilities/get-cloud-options.ts
  105. +3 −10 packages/nx/src/nx-cloud/utilities/url-shorten.ts
  106. +0 −1 packages/nx/src/tasks-runner/utils.ts
  107. +3 −2 packages/nx/src/utils/ab-testing.ts
  108. +26 −7 packages/nx/src/utils/plugins/plugin-capabilities.ts
  109. +34 −11 packages/react-native/plugins/metro-resolver.ts
  110. +26 −1 packages/react-native/plugins/with-nx-metro.ts
  111. +29 −59 packages/react/src/executors/module-federation-dev-server/module-federation-dev-server.impl.ts
  112. +8 −1 packages/react/src/generators/host/lib/add-module-federation-files.ts
  113. +10 −8 packages/react/src/generators/remote/lib/add-remote-to-dynamic-host.ts
  114. +7 −1 packages/vite/src/executors/build/build.impl.ts
  115. +26 −14 packages/vite/src/utils/executor-utils.ts
  116. +2 −0 packages/webpack/package.json
  117. +13 −2 packages/webpack/src/utils/module-federation/get-remotes-for-host.ts
  118. +4 −1 ...e-federation-dev-server/lib → webpack/src/utils/module-federation}/parse-static-remotes-config.ts
  119. +27 −0 packages/webpack/src/utils/module-federation/start-remote-proxies.ts
  120. +487 −251 packages/workspace/src/generators/ci-workflow/__snapshots__/ci-workflow.spec.ts.snap
  121. +52 −36 packages/workspace/src/generators/ci-workflow/ci-workflow.spec.ts
  122. +107 −199 pnpm-lock.yaml
  123. +1 −0 tsconfig.base.json
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -114,8 +114,7 @@ jobs:
pnpm nx run-many -t check-imports check-commit check-lock-files check-codeowners documentation --parallel=1 --no-dte &
pids+=($!)
(pnpm nx affected --targets=lint,test,build --base=$NX_BASE --head=$NX_HEAD --parallel=3 &&
pnpm nx affected --targets=e2e,e2e-ci --base=$NX_BASE --head=$NX_HEAD --parallel=1) &
pnpm nx affected --targets=lint,test,build,e2e,e2e-ci --base=$NX_BASE --head=$NX_HEAD --parallel=3 &
pids+=($!)
for pid in "${pids[@]}"; do
2 changes: 1 addition & 1 deletion docs/blog/2024-03-21-reliable-ci.md
Original file line number Diff line number Diff line change
@@ -103,7 +103,7 @@ Nx Cloud introduces an entirely different model. Instead of the graph of VMs, th
By adding the following line…

```shell
npx nx-cloud start-ci-run --distribute-on="5 linux-medium-js"
npx nx-cloud start-ci-run --distribute-on="3 linux-medium-js"
```

... you are telling Nx Cloud to create five Nx Agents to execute all the tasks from all the commands that will follow.
2 changes: 0 additions & 2 deletions docs/generated/packages/cypress/documents/overview.md
Original file line number Diff line number Diff line change
@@ -56,9 +56,7 @@ The `@nx/cypress` plugin will create a task for any project that has a Cypress c
- `cypress.config.js`
- `cypress.config.ts`
- `cypress.config.mjs`
- `cypress.config.mts`
- `cypress.config.cjs`
- `cypress.config.cts`

### View Inferred Tasks

20 changes: 20 additions & 0 deletions docs/generated/packages/nest/documents/overview.md
Original file line number Diff line number Diff line change
@@ -150,6 +150,26 @@ You can lint a library with the following command:
nx lint my-nest-lib
```

## Deployment

Ensuring a smooth and reliable deployment of a Nest.js application in a production environment requires careful planning and the right strategy. Depending on your specific needs and infrastructure, you can choose from several deployment approaches. Below are four commonly used methods:

1. **Using Docker:**
Create a Dockerfile that specifies the application's environment and dependencies. Build a Docker image and optionally push it to a container registry. Deploy and run the Docker container on the server. Utilize the `@nx/node:setup-docker` generator to streamline the Docker setup process.

2. **Installing Dependencies on the Server:**
Transfer the build artifacts to the server, install all dependencies using the package manager of your choice, and start the application. Ensure that [NxWebpackPlugin](/recipes/webpack/webpack-plugins#nxwebpackplugin) is configured with `generatePackageJson: true` so that the build artifacts directory includes `package.json` and `package-lock.json` (or the equivalent files for other package managers).

3. **Transferring Pre-installed Dependencies:**
Install dependencies during the build process, and transfer the build artifacts along with the `node_modules` directory to the server. Typically, the artifacts are archived for faster transfer and then unarchived on the server.

4. **Bundling Dependencies:**
By default, Nx/Nest creates a setup that externalizes all dependencies, meaning they are not included in the bundle. This behavior can be adjusted using the `externalDependencies` parameter in the webpack configuration with [NxWebpackPlugin](/recipes/webpack/webpack-plugins#nxwebpackplugin). After bundling, transfer the package to the server and start the application.

{% callout type="note" title="Bundling Dependencies" %}
Bundling dependencies is typically not recommended for Node applications.
{% /callout %}

### Unit Test

You can run unit test for an application with the following command:
2 changes: 1 addition & 1 deletion docs/nx-cloud/reference/nx-cloud-cli.md
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ Tells Nx Cloud how many agents to use (and what launch templates to use) to dist
using the `linux-medium-js` launch template.

You can use different types of launch templates as follows:
`npx nx-cloud start-ci-run --distribute-on="5 linux-medium-js, 3 linux-large-js"`.
`npx nx-cloud start-ci-run --distribute-on="3 linux-medium-js, 3 linux-large-js"`.

You can also define the configuration in a file and reference it as follows:
`npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"`.
30 changes: 30 additions & 0 deletions docs/nx-cloud/reference/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Enterprise Release Notes

### 2406.29.1

##### Full terminal outputs in the web app

Due to storage constraints in Mongo, long terminal outputs were sometimes truncated when viewed in the UI. With this update we are now loading all terminal outputs directly
from the storage bucket, removing the need to keep them in Mongo. You should now be able to view full, complete logs in the UI regardless of how large the output is.

##### OpenShift fixes for Agents

- the latest messagequeue image is now OpenShift ready
- to use, just update to the latest Helm version `0.15.6` and make sure you are not passing in an explicit tag for the messagequeue
- then use version `2406.29.1` for NxCloud. This should use the latest, OpenShift enabled messagequeue image
- when running Agents on OpenShift, they run as a specific user with ID 1000
- to override this, make sure to set `NX_CLOUD_RUN_UNIX_PODS_AS_USER: <userId>` and `NX_CLOUD_RUN_UNIX_PODS_AS_GROUP: <groupId>` on the [workflow controller env vars](https://github.com/nrwl/nx-cloud-helm/blob/main/charts/nx-agents/values.yaml#L63)

##### Full Bitbucket Data Center (on-prem)

We now have full support for BitBucket Data Center (self-hosted):

- VCS integration for posting comments with live updates about your CI runs
- full agents integration
- more info about each one of your commits on the NxCloud web app
- you can even [set-up auth with BitBucket Data Center](/ci/recipes/enterprise/on-premise/auth-bitbucket-data-center#bitbucket-data-center-auth)

##### Misc

- easier workspace setup experience for new customers
- the CIPE visualisation has been updated (elapsed task time)
- general web app performance improvements

### 2405.02.15

##### Easy membership management via GitHub
Binary file added docs/nx-cloud/tutorial/circle-create-pr.avif
Binary file not shown.
Binary file added docs/nx-cloud/tutorial/circle-new-run.avif
Binary file not shown.
Binary file added docs/nx-cloud/tutorial/circle-pr.avif
Binary file not shown.
Binary file added docs/nx-cloud/tutorial/circle-setup-project.avif
Binary file not shown.
Loading