Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(core): release blog post #28275

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

docs(core): release blog post #28275

wants to merge 1 commit into from

Conversation

mhartington
Copy link
Contributor

Current Behavior

Expected Behavior

Related Issue(s)

Fixes #

@mhartington mhartington requested a review from a team as a code owner October 3, 2024 16:01
Copy link

vercel bot commented Oct 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ❌ Failed (Inspect) Oct 3, 2024 4:13pm

Copy link
Collaborator

@isaacplmann isaacplmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some links and made some suggestions

docs/blog/2024-10-03-nx-20-release.md Show resolved Hide resolved
docs/blog/2024-10-03-nx-20-release.md Show resolved Hide resolved

In addition to adopting Project References, we're also changing the way we link projects in a TypeScript monorepos. **Workspaces** is the standard way to link packages in monorepos. This is a feature that all modern package managers support, such as [npm](https://docs.npmjs.com/cli/using-npm/workspaces), [yarn](https://yarnpkg.com/features/workspaces), [pnpm](https://pnpm.io/workspaces), and [bun](https://bun.sh/docs/install/workspaces), so taking advantage of it is a no-brainer. Now we have a proper way to provide type information and have your packages available in a way developers are used to.

Note that we've enabled Project References and Workspaces for the TS preset (i.e. `--preset=ts`), and we're working on extending this support for all other presets soon (Angular, React, Vue, Node). If you are an existing Nx user and want to create an empty workspace in the previous "integrated" style, you can use `create-nx-workspace --preset=apps`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a paragraph here stating that:

  • This initial implementation creates new workspaces with the project references style, but there is no migration path yet.
  • The project generators will detect which style of project linking you're using and generate the corresponding configuration code.
  • Something to convey the idea that this is the direction we intend to go in the future, and you can try it out with a new repository, but it has no immediate impact on existing workspaces.

docs/blog/2024-10-03-nx-20-release.md Show resolved Hide resolved
docs/blog/2024-10-03-nx-20-release.md Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants