Skip to content

Commit 1f1adb5

Browse files
committed
rm fast-glob as tinyglobby is already added
1 parent 170262d commit 1f1adb5

File tree

3 files changed

+208
-612
lines changed

3 files changed

+208
-612
lines changed

packages/build/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
},
7575
"dependencies": {
7676
"@trigger.dev/core": "workspace:4.0.0-v4-beta.18",
77-
"fast-glob": "^3.3.3",
7877
"pkg-types": "^1.1.3",
7978
"tinyglobby": "^0.2.2",
8079
"tsconfck": "3.1.3"

packages/build/src/extensions/prisma.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { BuildManifest, BuildTarget } from "@trigger.dev/core/v3";
22
import { binaryForRuntime, BuildContext, BuildExtension } from "@trigger.dev/core/v3/build";
33
import assert from "node:assert";
4-
import { glob } from 'fast-glob';
4+
import { glob } from 'tinyglobby';
55
import { existsSync } from "node:fs";
66
import { cp, readdir } from "node:fs/promises";
77
import { dirname, join, resolve } from "node:path";
@@ -162,7 +162,7 @@ export class PrismaExtension implements BuildExtension {
162162
context.logger.debug(`Using the schema folder: ${this._resolvedSchemaPath}`);
163163

164164
// Find all the files in schemaDir that end with .prisma (excluding the schema.prisma file)
165-
const prismaFiles = await glob("**/*.prisma", {
165+
const prismaFiles = await glob(["**/*.prisma"], {
166166
cwd: this._resolvedSchemaPath
167167
})
168168

0 commit comments

Comments
 (0)