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

chore: turbo cleanup #4951

Merged
merged 14 commits into from Sep 8, 2022
16 changes: 8 additions & 8 deletions package.json
Expand Up @@ -6,16 +6,16 @@
"scripts": {
"build:app": "turbo run build --filter=next-auth-app --include-dependencies",
"build": "turbo run build --filter=next-auth --filter=@next-auth/* --no-deps",
"lint": "turbo run lint --filter=!next-auth-docs",
"lint:fix": "turbo run lint -- --fix",
"test": "turbo run test --concurrency=1 --filter=!@next-auth/pouchdb-adapter --filter=!next-auth-* --filter=[HEAD^1]",
"setup": "turbo run setup",
"clean": "turbo run clean --no-cache",
"dev:app": "turbo run dev --parallel --filter=next-auth-app",
ThangHuuVu marked this conversation as resolved.
Show resolved Hide resolved
"dev:docs": "turbo run dev --parallel --no-deps --no-cache --filter=next-auth-docs",
"dev": "pnpm dev:app",
"email": "cd apps/dev && pnpm email",
"dev:app": "turbo run dev --parallel --no-deps --no-cache --filter=next-auth-app",
"dev:docs": "turbo run dev --parallel --no-deps --no-cache --filter=next-auth-docs",
"version:pr": "node ./config/version-pr",
"release": "ts-node scripts/release"
"lint:fix": "turbo run lint -- --fix",
"lint": "turbo run lint --filter=!next-auth-docs",
"release": "ts-node scripts/release",
"test": "turbo run test --concurrency=1 --filter=!@next-auth/pouchdb-adapter --filter=!next-auth-* --filter=[HEAD^1]",
"version:pr": "node ./config/version-pr"
},
"devDependencies": {
"@actions/core": "^1.6.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-dgraph/package.json
Expand Up @@ -34,8 +34,8 @@
"next-auth": "workspace:*"
},
"devDependencies": {
"@next-auth/adapter-test": "workspace:^0.0.0",
"@next-auth/tsconfig": "workspace:^0.0.0",
"@next-auth/adapter-test": "workspace:*",
"@next-auth/tsconfig": "workspace:*",
"@types/jest": "^26.0.24",
"@types/jsonwebtoken": "^8.5.5",
"@types/node-fetch": "^2.5.11",
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-dynamodb/package.json
Expand Up @@ -37,8 +37,8 @@
"devDependencies": {
"@aws-sdk/client-dynamodb": "^3.36.1",
"@aws-sdk/lib-dynamodb": "^3.36.1",
"@next-auth/adapter-test": "workspace:^0.0.0",
"@next-auth/tsconfig": "workspace:^0.0.0",
"@next-auth/adapter-test": "workspace:*",
"@next-auth/tsconfig": "workspace:*",
"@shelf/jest-dynamodb": "^2.1.0",
"jest": "^27.4.3",
"next-auth": "workspace:*"
Expand Down
7 changes: 4 additions & 3 deletions packages/adapter-fauna/package.json
Expand Up @@ -35,8 +35,9 @@
"access": "public"
},
"scripts": {
"migrate": "fauna-schema-migrate generate",
"build": "tsc",
"clean": "rm -rf dist",
"migrate": "fauna-schema-migrate generate",
"test": "./tests/test.sh"
},
"peerDependencies": {
Expand All @@ -45,8 +46,8 @@
},
"devDependencies": {
"@fauna-labs/fauna-schema-migrate": "^2.1.3",
"@next-auth/adapter-test": "workspace:^0.0.0",
"@next-auth/tsconfig": "workspace:^0.0.0",
"@next-auth/adapter-test": "workspace:*",
"@next-auth/tsconfig": "workspace:*",
"faunadb": "^4.3.0",
"jest": "^27.4.3",
"next-auth": "workspace:*"
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-firebase/package.json
Expand Up @@ -36,8 +36,8 @@
"next-auth": "workspace:*"
},
"devDependencies": {
"@next-auth/adapter-test": "workspace:^0.0.0",
"@next-auth/tsconfig": "workspace:^0.0.0",
"@next-auth/adapter-test": "workspace:*",
"@next-auth/tsconfig": "workspace:*",
"firebase": "^9.7.0",
"firebase-tools": "^10.7.2",
"jest": "^27.4.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-mikro-orm/package.json
Expand Up @@ -38,8 +38,8 @@
"devDependencies": {
"@mikro-orm/core": "^5.0.2",
"@mikro-orm/sqlite": "^5.0.2",
"@next-auth/adapter-test": "workspace:^0.0.0",
"@next-auth/tsconfig": "workspace:^0.0.0",
"@next-auth/adapter-test": "workspace:*",
"@next-auth/tsconfig": "workspace:*",
"@types/uuid": "^8.3.3",
"jest": "^27.4.3",
"next-auth": "workspace:*"
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-mongodb/package.json
Expand Up @@ -35,8 +35,8 @@
"next-auth": "workspace:*"
},
"devDependencies": {
"@next-auth/adapter-test": "workspace:^0.0.0",
"@next-auth/tsconfig": "workspace:^0.0.0",
"@next-auth/adapter-test": "workspace:*",
"@next-auth/tsconfig": "workspace:*",
"jest": "^27.4.3",
"mongodb": "^4.4.0",
"next-auth": "workspace:*"
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-neo4j/package.json
Expand Up @@ -37,8 +37,8 @@
"next-auth": "workspace:*"
},
"devDependencies": {
"@next-auth/adapter-test": "workspace:^0.0.0",
"@next-auth/tsconfig": "workspace:^0.0.0",
"@next-auth/adapter-test": "workspace:*",
"@next-auth/tsconfig": "workspace:*",
"@types/uuid": "^8.3.3",
"jest": "^27.4.3",
"neo4j-driver": "^4.4.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-pouchdb/package.json
Expand Up @@ -39,8 +39,8 @@
"ulid": "^2.3.0"
},
"devDependencies": {
"@next-auth/adapter-test": "workspace:^0.0.0",
"@next-auth/tsconfig": "workspace:^0.0.0",
"@next-auth/adapter-test": "workspace:*",
"@next-auth/tsconfig": "workspace:*",
"@types/pouchdb": "^6.4.0",
"jest": "^27.4.3",
"next-auth": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-prisma/package.json
Expand Up @@ -40,8 +40,8 @@
"next-auth": "workspace:*"
},
"devDependencies": {
"@next-auth/adapter-test": "workspace:^0.0.0",
"@next-auth/tsconfig": "workspace:^0.0.0",
"@next-auth/adapter-test": "workspace:*",
"@next-auth/tsconfig": "workspace:*",
"@prisma/client": "^3.10.0",
"jest": "^27.4.3",
"mongodb": "^4.4.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-sequelize/package.json
Expand Up @@ -33,8 +33,8 @@
"sequelize": "^6.6.5"
},
"devDependencies": {
"@next-auth/adapter-test": "workspace:^0.0.0",
"@next-auth/tsconfig": "workspace:^0.0.0",
"@next-auth/adapter-test": "workspace:*",
"@next-auth/tsconfig": "workspace:*",
"jest": "^27.4.3",
"next-auth": "workspace:*",
"sequelize": "^6.6.5"
Expand Down
7 changes: 4 additions & 3 deletions packages/adapter-typeorm-legacy/package.json
Expand Up @@ -29,12 +29,13 @@
},
"scripts": {
"build": "tsc",
"clean": "rm -rf dist",
"init:db": "tests/init.sh",
"test:containers": "tests/test.sh",
"test": "tests/test.sh",
"mysql": "pnpm init:db && tests/mysql/test.sh",
"postgres": "pnpm init:db && tests/postgresql/test.sh",
"sqlite": "tests/sqlite/test.sh"
"sqlite": "tests/sqlite/test.sh",
"test:containers": "tests/test.sh",
"test": "tests/test.sh"
},
"devDependencies": {
"@next-auth/adapter-test": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-upstash-redis/package.json
Expand Up @@ -34,8 +34,8 @@
"next-auth": "workspace:*"
},
"devDependencies": {
"@next-auth/adapter-test": "workspace:^0.0.0",
"@next-auth/tsconfig": "workspace:^0.0.0",
"@next-auth/adapter-test": "workspace:*",
"@next-auth/tsconfig": "workspace:*",
"@types/uuid": "^8.3.3",
"@upstash/redis": "^1.0.1",
"dotenv": "^10.0.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/next-auth/package.json
Expand Up @@ -47,7 +47,6 @@
"test": "pnpm test:core && pnpm test:client",
"prepublishOnly": "pnpm build",
"generate-providers": "node ./config/generate-providers.js",
"setup": "pnpm generate-providers",
"lint": "eslint src config"
},
"files": [
Expand Down Expand Up @@ -96,7 +95,7 @@
"@babel/preset-env": "^7.18.2",
"@babel/preset-react": "^7.17.12",
"@babel/preset-typescript": "^7.17.12",
"@next-auth/tsconfig": "workspace:^0.0.0",
"@next-auth/tsconfig": "workspace:*",
"@swc/core": "^1.2.198",
"@swc/jest": "^0.2.21",
"@testing-library/dom": "^8.13.0",
Expand Down
5 changes: 4 additions & 1 deletion packages/next-auth/tsconfig.json
Expand Up @@ -15,7 +15,10 @@
"skipDefaultLibCheck": true,
"baseUrl": ".",
"outDir": ".",

"paths": {
// We also generate a `next.js` and `next.d.ts` file in the root which would otherwise conflict constantly.
"next": ["node_modules/next"]
}
},
"exclude": ["./*.js", "./*.d.ts", "config", "**/__tests__", "tests"]
}
46 changes: 23 additions & 23 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.