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

feat(nextjs): Standalone projects now default to src #21010

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

ndcunningham
Copy link
Contributor

@ndcunningham ndcunningham commented Jan 4, 2024

Current Behavior

Currently, when you create a standalone next workspace it does not contain a src/ for the application files

Expected Behavior

Application files are now inside src/ folder for standalone next projects

@ndcunningham ndcunningham added the scope: nextjs Issues related to NextJS support for Nx label Jan 4, 2024
@ndcunningham ndcunningham self-assigned this Jan 4, 2024
@ndcunningham ndcunningham requested a review from a team as a code owner January 4, 2024 19:16
@ndcunningham ndcunningham requested a review from mandarini January 4, 2024 19:16
Copy link

vercel bot commented Jan 4, 2024

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

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Jan 17, 2024 4:51pm

@ndcunningham ndcunningham force-pushed the feat/next-standalone-src branch from c685a74 to 1f0ee64 Compare January 17, 2024 16:44
@@ -41,7 +42,9 @@ describe('@nx/workspace:convert-to-monorepo', () => {
expect(() => runCLI(`test ${reactApp}`)).not.toThrow();
expect(() => runCLI(`lint ${reactApp}`)).not.toThrow();
expect(() => runCLI(`lint e2e`)).not.toThrow();
expect(() => runCLI(`e2e e2e`)).not.toThrow();
if (runE2ETests()) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added to reduce the test being flaky

@ndcunningham ndcunningham merged commit c43b22d into nrwl:master Jan 17, 2024
6 checks passed
@ndcunningham ndcunningham deleted the feat/next-standalone-src branch January 17, 2024 18:23
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scope: nextjs Issues related to NextJS support for Nx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants