Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reasoning 馃挕
As discussed via #3650, this is the first step toward the final goal: Move all next-auth projects to a monorepo.
Checklist 馃Б
Setup monorepo toolings
yarn workspaces
turborepo
:turbo
, addedturbo.json
.changesets
:@changeset/cli
.semantic-release
. Change version ofnext-auth
to4.1.2
.Existing commands & packages
package.json
:eslint
,typescript
,prettier
are kept in rootversion-pr
packages/next-auth
.packages/dev-app
.Some highlights:
react
andreact-dom
are set tonohoist
npm run dev
is nowyarn turbo run dev
. There's no need fornpm run dev:setup
copy:css
andwatch:css
is moved tonext-auth
dev-app/tsconfig.json
no longer needs path aliasAffected issues 馃師
Partially solves #3650