mirror of
https://github.com/onlyworlds/obsidian-plugin.git
synced 2026-07-22 11:00:31 +00:00
Two additive commands making the plugin the folder format's fourth implementation (after Atlas, Magelet, azgaar-converter): - Export as OnlyWorlds folder: walk a world's notes -> conformant folder under OW-folder-export/ (vault-internal). world.json id+name, spatial bucketing, body type/local_updated_at/created_at stamp, <slug>--<tail> filenames. [[wikilink]] -> ow://type/uuid where names resolve. - Import OnlyWorlds folder: read a world folder placed in the vault, mint frontmatter notes via Phase B's writeElement. ow:// -> [[wikilink]], skip-existing-id safety, abort on world-id mismatch, verbatim extension fields. Pure serializers in vault/folder-format.ts (no Obsidian imports), 13 new tests: conformance pins for all four Atlas-ingest facts + in-memory round-trip (object equality on ids/links/extension keys/story). Phase B's 21 tests stay green. Smoke section G appended. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
16 lines
386 B
JSON
16 lines
386 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", "test/**/*.ts"]
|
|
}
|