Skip to content

Commit

Permalink
chore: separate build commands for core and app (#3845)
Browse files Browse the repository at this point in the history
* chore: separate build commands for core and app

* Move emitDeclarationOnly to next-auth

* Update release.yml

Co-authored-by: Balázs Orbán <info@balazsorban.com>
  • Loading branch information
ThangHuuVu and balazsorban44 committed Feb 18, 2022
1 parent b6bf236 commit 692fafe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
},
"repository": "https://github.com/nextauthjs/next-auth.git",
"scripts": {
"build": "turbo run build",
"build:app": "turbo run build --scope=next-auth-app --include-dependencies",
"build": "turbo run build --scope=next-auth --scope=@next-auth/* --no-deps",
"lint": "turbo run lint",
"lint:fix": "turbo run lint -- --fix",
"test": "turbo run test --concurrency=1 --ignore=packages/adapter-pouch/*",
Expand Down
5 changes: 3 additions & 2 deletions packages/next-auth/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"extends": "tsconfig/base.json",
"compilerOptions": {
"emitDeclarationOnly": true,
"baseUrl": ".",
"outDir": ".",
"outDir": "."
},
"exclude": ["config"]
}
}
1 change: 0 additions & 1 deletion packages/tsconfig/base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"emitDeclarationOnly": true,
"strictNullChecks": true,
"target": "es2019",
"lib": ["dom", "dom.iterable", "esnext"],
Expand Down

0 comments on commit 692fafe

Please sign in to comment.