mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 10:55:06 +03:00
`pnpm e2e:docs:all` selected the pages project only, so the audit skipped everything outside the article. It now selects both projects and writes one combined report. The per-project commands are unchanged. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
23 lines
728 B
JavaScript
23 lines
728 B
JavaScript
#!/usr/bin/env node
|
|
import { dirname, join } from 'node:path'
|
|
import { fileURLToPath } from 'node:url'
|
|
|
|
import { runSuite } from '../../shared/run-suite.ts'
|
|
import { resolveAllDocsPages, resolveDocsScope } from '../utils/resolve-docs-scope.ts'
|
|
|
|
runSuite({
|
|
root: join(dirname(fileURLToPath(import.meta.url)), '..'),
|
|
label: 'docs',
|
|
devCommand: 'pnpm dev:docs',
|
|
pagePathsEnv: 'DOCS_E2E_PAGE_PATHS',
|
|
baseRefEnv: 'DOCS_E2E_BASE_REF',
|
|
defaultBaseUrl: 'http://localhost:3001',
|
|
project: 'pages',
|
|
allProjects: ['pages', 'global-elements'],
|
|
resolveScope: resolveDocsScope,
|
|
resolveAllPages: resolveAllDocsPages,
|
|
}).catch((error) => {
|
|
console.error(error instanceof Error ? error.message : error)
|
|
process.exit(1)
|
|
})
|