recursive-board 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/wi/wi.js +2 -2
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ Before listing, you can install a release manually:
|
|
|
69
69
|
|
|
70
70
|
1. Download a release or build the project with `npm run build`.
|
|
71
71
|
2. Create a folder under the vault's plugin directory using the `id` in `manifest.json` as its name.
|
|
72
|
-
3. Copy `main.js`, `manifest.json`, and `styles.css` from that release or
|
|
72
|
+
3. Copy `main.js`, `manifest.json`, and `styles.css` from that release or directly from `dist/` into it.
|
|
73
73
|
4. In Obsidian, open **Settings → Community plugins** and enable **Recursive Board**.
|
|
74
74
|
|
|
75
75
|
Reload Obsidian after replacing plugin files. If your vault syncs its `.obsidian` folder, the sync client can copy the installed plugin to your other devices. Sync behavior depends on that client's settings.
|
package/dist/wi/wi.js
CHANGED
|
@@ -1071,7 +1071,7 @@ async function archiveItem(vault, ref, undo) {
|
|
|
1071
1071
|
const edits = archiveEdits(item.archived, archived);
|
|
1072
1072
|
if (edits === null) return { item, archived, changed: false };
|
|
1073
1073
|
if (archived) {
|
|
1074
|
-
const active = activeDescendant(item, vault.childrenOf, (child) => child.status);
|
|
1074
|
+
const active = activeDescendant(item, (parent) => vault.childrenOf(parent), (child) => child.status);
|
|
1075
1075
|
if (active) {
|
|
1076
1076
|
throw new Error(`cannot archive ${item.title ?? item.stem}: descendant ${active.title ?? active.stem} (${active.id ?? active.relPath}) is doing.`);
|
|
1077
1077
|
}
|
|
@@ -1183,7 +1183,7 @@ Notes
|
|
|
1183
1183
|
\`wi archive\` changes one flag. Descendants disappear with their parent at read time.
|
|
1184
1184
|
\`wi new\` warns when such a file exists because a new id or filename may clash with it.
|
|
1185
1185
|
`;
|
|
1186
|
-
var VERSION = "0.1.
|
|
1186
|
+
var VERSION = "0.1.2";
|
|
1187
1187
|
var UsageError = class extends Error {
|
|
1188
1188
|
};
|
|
1189
1189
|
async function main(argv) {
|
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "recursive-board",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "wi: the CLI that owns every write into a Recursive Board vault",
|
|
6
6
|
"author": "vic-cio",
|
|
7
7
|
"license": "MIT",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/vic-cio/recursive-board.git"
|
|
11
|
+
},
|
|
8
12
|
"engines": {
|
|
9
13
|
"node": ">=20.12"
|
|
10
14
|
},
|
|
@@ -33,6 +37,5 @@
|
|
|
33
37
|
"esbuild": "^0.28.2",
|
|
34
38
|
"obsidian": "^1.13.1",
|
|
35
39
|
"typescript": "^5.9.3"
|
|
36
|
-
}
|
|
37
|
-
"repository": "https://github.com/vic-cio/recursive-board.git"
|
|
40
|
+
}
|
|
38
41
|
}
|