Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function isBodyItem(value: unknown): value is IssueFormBodyItem {
}

function issueTemplateDir() {
return resolve(process.cwd(), "../../.github/ISSUE_TEMPLATE");
return resolve(import.meta.dirname, "../../../../../.github/ISSUE_TEMPLATE");
}

function readTemplate(template: string): ReadonlyArray<IssueFormBodyItem> {
Expand Down
4 changes: 0 additions & 4 deletions apps/cli/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ export default defineConfig({
{
resolve: workspacePackageResolve,
ssr: { resolve: workspacePackageSsrResolve },
plugins: [dockerfileTextPlugin()],
test: {
name: "unit",
include: ["**/*.unit.test.ts"],
Expand All @@ -69,7 +68,6 @@ export default defineConfig({
{
resolve: workspacePackageResolve,
ssr: { resolve: workspacePackageSsrResolve },
plugins: [dockerfileTextPlugin()],
test: {
name: "integration",
include: ["**/*.integration.test.ts"],
Expand All @@ -78,7 +76,6 @@ export default defineConfig({
{
resolve: workspacePackageResolve,
ssr: { resolve: workspacePackageSsrResolve },
plugins: [dockerfileTextPlugin()],
test: {
name: "e2e",
include: ["**/*.e2e.test.ts"],
Expand All @@ -93,7 +90,6 @@ export default defineConfig({
{
resolve: workspacePackageResolve,
ssr: { resolve: workspacePackageSsrResolve },
plugins: [dockerfileTextPlugin()],
test: {
// Live tests run against one provisioned project on the configured
// platform. They are never part of the default unit/integration/e2e
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"test:unit": "pnpm exec turbo run test:unit:run --filter=!@supabase/cli-go --",
"test:integration": "pnpm exec turbo run test:integration:run --",
"test:e2e": "pnpm exec turbo run supabase#build && pnpm exec turbo run test:e2e:run --only --concurrency=1 --",
"test:vitest": "bun --bun vitest run --project '!supabase (live)'",
"check:all": "pnpm exec turbo run types:check lint:check fmt:check knip:check lint:effect:check",
"fix:all": "pnpm exec turbo run lint:fix fmt:fix knip:fix && pnpm run lint:effect:fix",
"lint:check": "oxlint --config .oxlintrc.json",
Expand Down Expand Up @@ -39,7 +40,8 @@
"pkg-pr-new": "0.0.88",
"turbo": "catalog:",
"typescript": "catalog:",
"verdaccio": "^6.10.0"
"verdaccio": "^6.10.0",
"vitest": "catalog:"
},
"devEngines": {
"packageManager": {
Expand Down
Loading