Skip to content

Commit

Permalink
docs(misc): turning on PAT blog and adding rspack to changelog (#27856)
Browse files Browse the repository at this point in the history
<!-- 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 #
  • Loading branch information
ZackDeRose authored Sep 10, 2024
1 parent 0b81de2 commit fd59284
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
1 change: 0 additions & 1 deletion docs/blog/2024-09-10-personal-access-tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ authors: ['Philip Fulcher']
tags: [nx-cloud]
cover_image: /blog/images/2024-09-10/personal-access-tokens-header.avif
youtubeUrl: https://youtu.be/i51LPtagb2s
published: false
---

Today, Nx Cloud gets a huge upgrade to managing access to your cached artifacts
Expand Down
13 changes: 11 additions & 2 deletions docs/changelog/19_7_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,20 @@

## Features

Two new top-level commands: [`nx login`](/nx-api/nx/documents/login) (an alias for [`nx-cloud login`](/ci/reference/nx-cloud-cli#npx-nxcloud-login))and [`nx logout`](/nx-api/nx/documents/login) (an alias for [`nx-cloud logout`](/ci/reference/nx-cloud-cli#npx-nxcloud-logout)) to support Personal Access Tokens for Nx Cloud.
### Personal Access Tokens

Two new top-level commands: [`nx login`](/nx-api/nx/documents/login) (an alias for [`nx-cloud login`](/ci/reference/nx-cloud-cli#npx-nxcloud-login))and [`nx logout`](/nx-api/nx/documents/login) (an alias for [`nx-cloud logout`](/ci/reference/nx-cloud-cli#npx-nxcloud-logout)) to support Personal Access Tokens for Nx Cloud. [Checkout the Full Blog Post](/blog/personal-access-tokens)

{% youtube
src="https://youtu.be/i51LPtagb2s"
title="NEW: Personal Access Tokens for Nx Cloud"
/%}

[Full Blog Post](/blog/personal-access-tokens)
### [rspack](/nx-api/rspack) as the Default Bundler for Module Federation

We've moved to [rspack](/nx-api/rspack) as the default bundler when setting up Module Federation with Nx! Checkout [Colum's thread](https://x.com/FerryColum/status/1833097821496455321) and catch our upcoming Nx Live broadcast for more:

{% youtube
src="https://youtube.com/live/_c4zjYm0pYE"
title="Module Federation w/ rspack | Nx Live"
/%}
4 changes: 2 additions & 2 deletions nx-dev/ui-blog/src/lib/blog-container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ export function sortFirstFivePosts(
posts: BlogPostDataEntry[]
): BlogPostDataEntry[] {
return posts
.sort((a, b) => new Date(b.date).getTime() - new Date(a.date).getTime())
.slice(0, 5);
.slice(0, 5)
.sort((a, b) => new Date(b.date).getTime() - new Date(a.date).getTime());
}

export function BlogContainer({ blogPosts, tags }: BlogContainerProps) {
Expand Down

0 comments on commit fd59284

Please sign in to comment.