- Add fully local PDF to Word, PowerPoint, and Excel conversion - Add bring-your-own-key AI providers - Claude, OpenAI, Gemini, DeepSeek, Kimi, GLM, Qwen, Doubao, MiniMax, Grok, Mistral, OpenRouter, and custom OpenAI-compatible endpoints - with a refreshed AI settings UI - Rework the Slides AI editing surface: canonical edit-op registry, atomic transactions with rollback, durable element ids, and batched apply_ops - Improve Slides fidelity: chart, font, gradient, table-style, and text-shaping fixes, plus PPT-parity line editing and adjust handles - Polish Docs: password-protection dialogs, anchored-image wrapping fixes, and selection and clipboard fixes - Add themed dropdowns suite-wide with accent-derived selection states Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
25 lines
870 B
TypeScript
25 lines
870 B
TypeScript
import { dirname, resolve } from 'node:path'
|
|
import { fileURLToPath } from 'node:url'
|
|
import { defineConfig } from 'vitest/config'
|
|
|
|
const here = dirname(fileURLToPath(import.meta.url))
|
|
|
|
export default defineConfig({
|
|
// Always resolve to this repo's workspace sources (consistent with tsconfig paths)
|
|
resolve: {
|
|
alias: {
|
|
// Subpath before the bare name: string aliases are prefix replacements
|
|
'@genoffice/pptx-engine/table-grid': resolve(here, '../pptx-engine/src/table-grid.ts'),
|
|
'@genoffice/pptx-engine/identity': resolve(here, '../pptx-engine/src/identity.ts'),
|
|
'@genoffice/pptx-engine/background-promote': resolve(
|
|
here,
|
|
'../pptx-engine/src/background-promote.ts',
|
|
),
|
|
'@genoffice/pptx-engine': resolve(here, '../pptx-engine/src/index.ts'),
|
|
},
|
|
},
|
|
test: {
|
|
include: ['tests/**/*.test.ts'],
|
|
},
|
|
})
|