diff --git a/packages/adapter-azure-tables/package.json b/packages/adapter-azure-tables/package.json index 9f1d30a995..e0a90c1096 100644 --- a/packages/adapter-azure-tables/package.json +++ b/packages/adapter-azure-tables/package.json @@ -38,7 +38,8 @@ }, "scripts": { "test": "./test/test.sh", - "build": "tsc" + "build": "tsc", + "clean": "rm -rf *.js *.d.ts*" }, "dependencies": { "@auth/core": "workspace:*" diff --git a/packages/adapter-d1/package.json b/packages/adapter-d1/package.json index 289632b24f..b77b5b2cf4 100644 --- a/packages/adapter-d1/package.json +++ b/packages/adapter-d1/package.json @@ -39,7 +39,8 @@ }, "scripts": { "build": "tsc", - "test": "vitest -c ../utils/vitest.config.ts" + "test": "vitest -c ../utils/vitest.config.ts", + "clean": "rm -rf *.js *.d.ts*" }, "dependencies": { "@auth/core": "workspace:*" diff --git a/packages/adapter-dgraph/package.json b/packages/adapter-dgraph/package.json index f14496cd30..9720a96e3e 100644 --- a/packages/adapter-dgraph/package.json +++ b/packages/adapter-dgraph/package.json @@ -38,7 +38,8 @@ }, "scripts": { "build": "tsc", - "test": "./test/test.sh" + "test": "./test/test.sh", + "clean": "rm -rf *.js *.d.ts* lib" }, "devDependencies": { "@types/jsonwebtoken": "^8.5.5" diff --git a/packages/adapter-drizzle/package.json b/packages/adapter-drizzle/package.json index fc82c95195..2f00b6269f 100644 --- a/packages/adapter-drizzle/package.json +++ b/packages/adapter-drizzle/package.json @@ -37,7 +37,8 @@ "access": "public" }, "scripts": { - "clean": "find . -type d -name \".drizzle\" | xargs rm -rf", + "clean": "rm -rf *.js *.d.ts* lib", + "clean:drizzle": "find . -type d -name \".drizzle\" | xargs rm -rf", "test": "pnpm test:mysql && pnpm test:sqlite && pnpm test:pg", "test:mysql": "pnpm clean && ./test/mysql/test.sh", "test:sqlite": "pnpm clean && ./test/sqlite/test.sh", diff --git a/packages/adapter-edgedb/package.json b/packages/adapter-edgedb/package.json index 984239f145..9a9d1b330d 100644 --- a/packages/adapter-edgedb/package.json +++ b/packages/adapter-edgedb/package.json @@ -38,7 +38,8 @@ }, "scripts": { "build": "tsc", - "test": "vitest -c ../utils/vitest.config.ts" + "test": "vitest -c ../utils/vitest.config.ts", + "clean": "rm -rf *.js *.d.ts*" }, "dependencies": { "@auth/core": "workspace:*" diff --git a/packages/adapter-fauna/package.json b/packages/adapter-fauna/package.json index 7bdee7bb70..92a6fe9526 100644 --- a/packages/adapter-fauna/package.json +++ b/packages/adapter-fauna/package.json @@ -41,7 +41,8 @@ "fauna": "fauna", "build": "tsc", "dev": "tsc -w", - "test": "./test/test.sh" + "test": "./test/test.sh", + "clean": "rm -rf *.js *.d.ts*" }, "dependencies": { "@auth/core": "workspace:*" diff --git a/packages/adapter-firebase/package.json b/packages/adapter-firebase/package.json index 2ff829c793..24f5cf287b 100644 --- a/packages/adapter-firebase/package.json +++ b/packages/adapter-firebase/package.json @@ -38,7 +38,8 @@ }, "scripts": { "build": "tsc", - "test": "./test/test.sh" + "test": "./test/test.sh", + "clean": "rm -rf *.js *.d.ts*" }, "dependencies": { "@auth/core": "workspace:*" diff --git a/packages/adapter-hasura/package.json b/packages/adapter-hasura/package.json index ada131907e..c4ca28c6a8 100644 --- a/packages/adapter-hasura/package.json +++ b/packages/adapter-hasura/package.json @@ -42,7 +42,8 @@ }, "scripts": { "test": "./test/test.sh", - "build": "graphql-codegen-esm --config codegen.ts && tsc" + "build": "graphql-codegen-esm --config codegen.ts && tsc", + "clean": "rm -rf *.js *.d.ts* lib" }, "dependencies": { "@auth/core": "workspace:*" diff --git a/packages/adapter-kysely/package.json b/packages/adapter-kysely/package.json index 949f004c2c..f9586be3a0 100644 --- a/packages/adapter-kysely/package.json +++ b/packages/adapter-kysely/package.json @@ -31,7 +31,8 @@ }, "scripts": { "build": "tsc", - "test": "./test/test.sh" + "test": "./test/test.sh", + "clean": "rm -rf *.js *.d.ts*" }, "dependencies": { "@auth/core": "workspace:*" diff --git a/packages/adapter-mikro-orm/package.json b/packages/adapter-mikro-orm/package.json index 6f4a307a64..63a75f7e75 100644 --- a/packages/adapter-mikro-orm/package.json +++ b/packages/adapter-mikro-orm/package.json @@ -38,7 +38,8 @@ }, "scripts": { "test": "vitest -c ../utils/vitest.config.ts", - "build": "tsc" + "build": "tsc", + "clean": "rm -rf *.js *.d.ts* lib" }, "peerDependencies": { "@mikro-orm/core": "^5" diff --git a/packages/adapter-mongodb/package.json b/packages/adapter-mongodb/package.json index 7b446f63de..aa189a72bc 100644 --- a/packages/adapter-mongodb/package.json +++ b/packages/adapter-mongodb/package.json @@ -35,7 +35,8 @@ }, "scripts": { "test": "./test/test.sh", - "build": "tsc" + "build": "tsc", + "clean": "rm -rf *.js *.d.ts*" }, "dependencies": { "@auth/core": "workspace:*" diff --git a/packages/adapter-neo4j/package.json b/packages/adapter-neo4j/package.json index 5cf7d67344..8963a57420 100644 --- a/packages/adapter-neo4j/package.json +++ b/packages/adapter-neo4j/package.json @@ -37,7 +37,8 @@ }, "scripts": { "test": "./test/test.sh", - "build": "tsc" + "build": "tsc", + "clean": "rm -rf *.js *.d.ts*" }, "peerDependencies": { "neo4j-driver": "^4.0.0 || ^5.7.0" diff --git a/packages/adapter-pg/package.json b/packages/adapter-pg/package.json index 7bfe252123..47755548bb 100644 --- a/packages/adapter-pg/package.json +++ b/packages/adapter-pg/package.json @@ -38,7 +38,8 @@ }, "scripts": { "test": "./test/test.sh", - "build": "tsc" + "build": "tsc", + "clean": "rm -rf *.js *.d.ts*" }, "dependencies": { "@auth/core": "workspace:*" diff --git a/packages/adapter-prisma/package.json b/packages/adapter-prisma/package.json index 21d7e71828..dd73386dce 100644 --- a/packages/adapter-prisma/package.json +++ b/packages/adapter-prisma/package.json @@ -37,7 +37,7 @@ "access": "public" }, "scripts": { - "clean": "rm ./prisma/dev.db* || echo 'File deleted'", + "clean": "rm ./prisma/dev.db* || echo 'File deleted' && rm -rf *.js *.d.ts*", "init:default": "prisma migrate dev --name init --skip-seed", "init:custom": "prisma migrate dev --name init-custom --schema ./prisma/custom.prisma", "test:default": "pnpm init:default && vitest run -c ../utils/vitest.config.ts", diff --git a/packages/adapter-sequelize/package.json b/packages/adapter-sequelize/package.json index 5e00a2d794..05f33d48c2 100644 --- a/packages/adapter-sequelize/package.json +++ b/packages/adapter-sequelize/package.json @@ -34,7 +34,8 @@ }, "scripts": { "test": "vitest -c ../utils/vitest.config.ts", - "build": "tsc" + "build": "tsc", + "clean": "rm -rf *.js *.d.ts*" }, "dependencies": { "@auth/core": "workspace:*" diff --git a/packages/adapter-surrealdb/package.json b/packages/adapter-surrealdb/package.json index d5204dbf25..3be6cda8c9 100644 --- a/packages/adapter-surrealdb/package.json +++ b/packages/adapter-surrealdb/package.json @@ -38,7 +38,8 @@ }, "scripts": { "test": "./test/test.sh", - "build": "tsc" + "build": "tsc", + "clean": "rm -rf *.js *.d.ts*" }, "dependencies": { "@auth/core": "workspace:*" diff --git a/packages/adapter-typeorm/package.json b/packages/adapter-typeorm/package.json index 8acc9dcbb9..18fec79947 100644 --- a/packages/adapter-typeorm/package.json +++ b/packages/adapter-typeorm/package.json @@ -38,7 +38,7 @@ "scripts": { "build": "tsc", "dev": "tsc -w", - "clean": "rm -rf dist", + "clean": "rm -rf dist *.js *.d.ts*", "test": "pnpm test:mysql && pnpm test:sqlite && pnpm test:pg", "test:mysql": "pnpm clean && ./test/mysql/test.sh", "test:pg": "pnpm clean && ./test/postgresql/test.sh", diff --git a/packages/adapter-unstorage/package.json b/packages/adapter-unstorage/package.json index dd3a9a9259..8a6d0b7566 100644 --- a/packages/adapter-unstorage/package.json +++ b/packages/adapter-unstorage/package.json @@ -35,7 +35,8 @@ "scripts": { "test": "./test/test.sh", "dev": "tsc -w", - "build": "tsc" + "build": "tsc", + "clean": "rm -rf *.js *.d.ts*" }, "dependencies": { "@auth/core": "workspace:*" diff --git a/packages/adapter-upstash-redis/package.json b/packages/adapter-upstash-redis/package.json index 3b2e789f05..f4099a1c87 100644 --- a/packages/adapter-upstash-redis/package.json +++ b/packages/adapter-upstash-redis/package.json @@ -35,7 +35,8 @@ }, "scripts": { "test": "./test/test.sh", - "build": "tsc" + "build": "tsc", + "clean": "rm -rf *.js *.d.ts*" }, "dependencies": { "@auth/core": "workspace:*" diff --git a/packages/adapter-xata/package.json b/packages/adapter-xata/package.json index b04effe55e..63572ef04c 100644 --- a/packages/adapter-xata/package.json +++ b/packages/adapter-xata/package.json @@ -34,7 +34,8 @@ }, "scripts": { "build": "tsc", - "test": "vitest -c ../utils/vitest.config.ts" + "test": "vitest -c ../utils/vitest.config.ts", + "clean": "rm -rf *.js *.d.ts*" }, "dependencies": { "@auth/core": "workspace:*" diff --git a/packages/frameworks-express/package.json b/packages/frameworks-express/package.json index ca30fc6a3f..84951f923f 100644 --- a/packages/frameworks-express/package.json +++ b/packages/frameworks-express/package.json @@ -31,7 +31,7 @@ }, "scripts": { "build": "pnpm clean && pnpm providers && tsc", - "clean": "rm -rf lib index.* src/lib/providers", + "clean": "rm -rf lib *.js *.d.ts* src/lib/providers", "test": "vitest run -c ../utils/vitest.config.ts", "providers": "node ../utils/scripts/providers" },