fmt(js): npm run fix on merge (#89795)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6cf6ad47e1
commit
f82f2dbabd
@@ -45,7 +45,7 @@ function demoSteps(): TourStep[] {
|
||||
{
|
||||
navigate: ARTIFACTS_ROUTE,
|
||||
selector: '[data-tour="page-tabs"]',
|
||||
text: 'Here we are. This row filters what the page lists, with a live count beside each one. We\'ll take them in turn.',
|
||||
text: "Here we are. This row filters what the page lists, with a live count beside each one. We'll take them in turn.",
|
||||
title: 'Artifacts, filtered'
|
||||
},
|
||||
{
|
||||
|
||||
@@ -78,13 +78,7 @@ export function ConfigField({
|
||||
// point at one setting (`[data-tour="field-model"]`) without hunting through
|
||||
// the section for an nth-child path. See lib/tour.
|
||||
const row = (action: ReactNode, wide = false) => (
|
||||
<ListRow
|
||||
action={action}
|
||||
data-tour={`field-${schemaKey}`}
|
||||
description={descriptionNode}
|
||||
title={label}
|
||||
wide={wide}
|
||||
/>
|
||||
<ListRow action={action} data-tour={`field-${schemaKey}`} description={descriptionNode} title={label} wide={wide} />
|
||||
)
|
||||
|
||||
// `fallback_providers` is a list of {provider, model} objects; the generic
|
||||
|
||||
@@ -348,7 +348,7 @@ export function runTourEngine(
|
||||
const driver = holder.driver
|
||||
|
||||
if (!driver || !driver.isActive()) {
|
||||
return { error: "No tour is running — start one first.", success: false }
|
||||
return { error: 'No tour is running — start one first.', success: false }
|
||||
}
|
||||
|
||||
if (kind === 'next' && driver.isLastStep()) {
|
||||
|
||||
@@ -164,7 +164,12 @@ export default defineConfig(({ command }) => ({
|
||||
// session. It's pure ESM with no CJS deps, so serving it unoptimized is
|
||||
// free. Query and bare forms all listed — exclusion matches exact ids.
|
||||
optimizeDeps: {
|
||||
exclude: ['driver.js', 'driver.js/dist/driver.js.iife.js', 'driver.js/dist/driver.js.iife.js?raw', 'driver.js/dist/driver.css?raw']
|
||||
exclude: [
|
||||
'driver.js',
|
||||
'driver.js/dist/driver.js.iife.js',
|
||||
'driver.js/dist/driver.js.iife.js?raw',
|
||||
'driver.js/dist/driver.css?raw'
|
||||
]
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
|
||||
Reference in New Issue
Block a user