onlyworlds_obsidian-plugin/tsconfig.test.json
Titus 8e24a83a93 S9: export destination picker -- write straight into Atlas root
Add a destination choice to "Export as OnlyWorlds folder": keep the
vault-internal default (OW-folder-export/) and add "Choose a folder..."
that writes the conformant folder into any real OS directory -- point it
at the Atlas root for a one-step handoff.

- External sink uses node fs/promises + absolute paths (escapes the vault
  sandbox, verified); vault sink unchanged (vault API).
- Serialization shared via planFiles(); only the sink differs.
- Native picker reached by a guarded multi-path probe; falls back to a
  paste-absolute-path modal if no Electron dialog is reachable.
- Desktop-only: external option hidden on mobile.
- R3 safety: refuse if target exists or dest holds an open Atlas world
  (.atlas / lock). Pure refusal logic in export-plan.ts, unit-tested.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 17:39:27 +02:00

21 lines
424 B
JSON

{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": false,
"outDir": "test-dist",
"module": "CommonJS",
"moduleResolution": "node",
"target": "ES2022",
"inlineSourceMap": false,
"inlineSources": false,
"sourceMap": false,
"esModuleInterop": true,
"rootDir": "."
},
"include": [
"vault/element-transform.ts",
"vault/folder-format.ts",
"Commands/export-plan.ts",
"test/**/*.ts"
]
}