-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
762 lines (762 loc) · 22.4 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
{
"name": "vscode-tendr",
"displayName": "tendr",
"version": "0.0.8",
"description": "PKM tooling for semantically inclined digital gardeners (with [[wikirefs]], semantic trees, and graphs).",
"license": "GPL-3.0",
"icon": "icons/tendr.png",
"author": {
"name": "manunamz",
"email": "[email protected]"
},
"publisher": "manunamz",
"repository": {
"type": "git",
"url": "https://github.com/wikibonsai/vscode-tendr"
},
"engines": {
"vscode": "^1.72.2"
},
"activationEvents": [
"onLanguage:markdown"
],
"main": "./dist/extension.js",
"browser": "./dist/extension.js",
"scripts": {
"vscode:prepublish": "yarn run package",
"clean": "del-cli dist out",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"precompile-tests": "del-cli ./test-workspace && mkdirp ./test-workspace",
"pretest": "yarn run compile-tests && yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"dependencies": {
"@iarna/toml": "^2.2.5",
"caml-mkdn": "^0.0.2",
"caudex": "^0.0.5",
"gray-matter": "^4.0.3",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"luxon": "^3.1.0",
"markdown-it": "^12.3.2",
"markdown-it-caml": "^0.0.2",
"markdown-it-criticmarkup": "^0.0.1",
"markdown-it-footnote": "^3.0.3",
"markdown-it-highlightjs": "^4.0.1",
"markdown-it-textual-uml": "^0.12.0",
"markdown-it-wikirefs": "^0.0.2",
"semtree": "^0.0.12",
"vscode-uri": "^3.0.6",
"wikirefs": "^0.0.4"
},
"devDependencies": {
"@types/del": "^4.0.0",
"@types/glob": "^7.2.0",
"@types/js-yaml": "^4.0.5",
"@types/lodash": "^4.14.191",
"@types/luxon": "^3.0.1",
"@types/markdown-it": "^12.2.3",
"@types/mkdirp": "^1.0.2",
"@types/mocha": "^9.1.0",
"@types/node": "14.x",
"@types/rimraf": "^3.0.2",
"@types/sinon": "^10.0.11",
"@types/vscode": "^1.72.0",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"@vscode/test-electron": "^2.1.2",
"del": "6.0.0",
"del-cli": "^5.0.0",
"eslint": "^8.9.0",
"glob": "^7.2.0",
"mkdirp": "^1.0.4",
"mocha": "^9.2.1",
"rimraf": "^3.0.2",
"sinon": "^14.0.0",
"ts-loader": "^9.2.6",
"typescript": "^4.5.5",
"vsce": "^2.14.0",
"webpack": "^5.69.1",
"webpack-cli": "^4.9.2"
},
"contributes": {
"markdown.markdownItPlugins": true,
"configuration": {
"title": "tendr",
"properties": {
"tendr.debug.enabled": {
"type": "boolean",
"default": true,
"description": "toggle debug features (mostly logging and commands to trigger logging)"
},
"tendr.attrs.caml.opts.format": {
"enum": [
"pad",
"pretty",
"none"
],
"enumDescriptions": [
"pad with single spaces",
"pad with number of spaces necessary to align double colons",
"do not any whitespace to caml attributes -- do not pad or pretty print"
],
"default": "pretty",
"description": "select bonsai species to cultivate"
},
"tendr.attrs.caml.opts.render.enabled": {
"type": "boolean",
"default": false,
"description": "render caml attributes (including wikiattrs) in markdown preview (changing this setting will require a vscode restart)"
},
"tendr.attrs.caml.opts.prefix": {
"type": "boolean",
"default": true,
"description": "toggle colon prefix for caml attributes (ex with: :key::value; ex without: key::value)"
},
"tendr.attrs.engine": {
"enum": [
"caml",
"yaml"
],
"enumDescriptions": [
"Colon Attribute Markup Language (: key :: val)",
"yaml frontmatter (key: val)"
],
"default": "caml",
"description": "the engine that handles attributes"
},
"tendr.attrs.id.alpha": {
"type": "string",
"default": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
"description": "what characters to use when generating a document's attribute 'id'"
},
"tendr.attrs.id.size": {
"type": "number",
"default": 21,
"description": "what number of characters to use when generating a document's attribute 'id'"
},
"tendr.bonsai.root": {
"type": "string",
"default": "i.bonsai",
"description": "filename for the markdown file that is the root of the bonsai."
},
"tendr.bonsai.sync.enabled": {
"type": "boolean",
"default": true,
"description": "toggle bonsai build command on/off"
},
"tendr.emoji.tree": {
"type": "string",
"enum": [
"🎋",
"🌲",
"🌳",
"🌴"
],
"enumDescriptions": [
"bamboo",
"evergreen",
"maple",
"palm"
],
"default": "🎋",
"description": "select bonsai species to cultivate"
},
"tendr.file.config": {
"type": "string",
"default": "config.toml",
"description": "toml (or yaml) file for garden configurations"
},
"tendr.file.doc-types": {
"type": "string",
"default": "t.doc.toml",
"description": "toml (or yaml) file for document type declarations"
},
"tendr.file.name.opts.id.alpha": {
"type": "string",
"default": "abcdefghijklmnopqrstuvwxyz0123456789",
"description": "what characters to use when generating a filename 'id'"
},
"tendr.file.name.opts.id.size": {
"type": "number",
"default": 6,
"description": "what number of characters to use when generating a filename 'id'"
},
"tendr.file.open.loc": {
"type": "string",
"default": "one",
"description": "which window panel to open file in"
},
"tendr.file.sync.enabled": {
"type": "boolean",
"default": true,
"description": "toggle file sync (you probably don't want to turn this off unless you're debugging)"
},
"tendr.lint.indentKind": {
"type": "string",
"default": "space",
"description": "what kind of indentation to use for markdown lists when linting semantic tree / knowledge bonsai"
},
"tendr.lint.indentSize": {
"type": "number",
"default": 2,
"description": "what size of indentation to use for markdown lists when linting semantic tree / knowledge bonsai"
},
"tendr.lint.mkdnBullet": {
"type": "boolean",
"default": true,
"description": "toggle markdown bullet lists when linting semantic tree / knowledge bonsai"
},
"tendr.lint.wikiLink": {
"type": "boolean",
"default": true,
"description": "toggle wiki links when linting semantic tree / knowledge bonsai"
},
"tendr.graph.coords.tree": {
"type": "string",
"default": "coords-tree.json",
"description": "json file that stores node coordinate data for tree graph"
},
"tendr.graph.coords.web": {
"type": "string",
"default": "coords-web.json",
"description": "json file that stores node coordinate data for web graph"
},
"tendr.graph.ctrls.dim": {
"type": "string",
"enum": [
"2d",
"3d",
"vr"
],
"enumDescriptions": [
"2d graph",
"3d graph",
"vr"
],
"default": "2d",
"description": "select which dimension to render the graph in"
},
"tendr.graph.ctrls.fix.enabled": {
"type": "boolean",
"default": false,
"description": "toggle active ability to fix nodes to position in graph"
},
"tendr.graph.ctrls.follow.enabled": {
"type": "boolean",
"default": true,
"description": "toggle active node following of doc from the active editor in graph"
},
"tendr.graph.ctrls.autosync.enabled": {
"type": "boolean",
"default": false,
"description": "toggle graph data autosync"
},
"tendr.graph.enabled": {
"type": "boolean",
"default": true,
"description": "toggle graphs"
},
"tendr.graph.open-loc": {
"type": "string",
"default": "beside",
"description": "which multiplexer panel to open graph in"
},
"tendr.graph.sync.enabled": {
"type": "boolean",
"default": true,
"description": "toggle on/off auto-update graph data on file changes"
},
"tendr.graph.tree.enabled": {
"type": "boolean",
"default": true,
"description": "toggle tree graph"
},
"tendr.graph.web.enabled": {
"type": "boolean",
"default": true,
"description": "toggle web graph"
},
"tendr.log.level": {
"type": "string",
"enum": [
"none",
"error",
"warn",
"info",
"debug",
"verbose"
],
"enumDescriptions": [
"no logging",
"only log errors",
"log errors and warnings",
"log errors, warnings, and info",
"log all errors, warnings, info, and debug",
"all logging"
],
"default": "info",
"description": "select log level"
},
"tendr.panel.bonsai.enabled": {
"type": "boolean",
"default": true,
"description": "toggle bonsai treeview panel"
},
"tendr.panel.ancestors.enabled": {
"type": "boolean",
"default": true,
"description": "toggle document ancestors treeview panel"
},
"tendr.panel.children.enabled": {
"type": "boolean",
"default": true,
"description": "toggle document children treeview panel"
},
"tendr.panel.forerefs.enabled": {
"type": "boolean",
"default": true,
"description": "toggle document forward references treeview panel"
},
"tendr.panel.backrefs.enabled": {
"type": "boolean",
"default": true,
"description": "toggle document backward references treeview panel"
},
"tendr.panel.danglers.enabled": {
"type": "boolean",
"default": true,
"description": "toggle dangling documents treeview panel"
},
"tendr.panel.zombies.enabled": {
"type": "boolean",
"default": true,
"description": "toggle zombie links treeview panel"
},
"tendr.wizard.enabled": {
"type": "boolean",
"default": true,
"description": "toggle tendr's custom command wizard (for searching and creating)"
},
"tendr.syntax-highlight.enabled": {
"type": "boolean",
"default": true,
"description": "toggle syntax highlighting"
},
"tendr.tag.enabled": {
"type": "boolean",
"default": true,
"description": "toggle #tag functionality (useful to toggle off if #tag syntax is used in another extension)"
},
"tendr.tag.open-doc": {
"enum": [
"index",
"entry"
],
"enumDescriptions": [
"open the index/trunk document that contains the #tag title",
"open the entry/leaf document whose filename matches the #tag title"
],
"default": "index",
"description": "select which document to open when clicking on a #tag -- the index/trunk doc or entry/leaf doc"
},
"tendr.tag.open-loc": {
"type": "string",
"default": "one",
"description": "which multiplex panel to open #tag document in"
},
"tendr.wikiref.affix-rename.enabled": {
"type": "boolean",
"default": false,
"description": "todo"
},
"tendr.wikiref.completion.enabled": {
"type": "boolean",
"default": true,
"description": "toggle tab completion for [[wikirefs]]"
},
"tendr.wikiref.hover-preview.enabled": {
"type": "boolean",
"default": true,
"description": "toggle hover preview on [[wikirefs]]"
},
"tendr.wikiref.goto.enabled": {
"type": "boolean",
"default": true,
"description": "toggle cmd/ctrl+click on [[wikirefs]] to open document"
},
"tendr.wikiref.refactor.enabled": {
"type": "boolean",
"default": true,
"description": "toggle document rename refactor from [[wikiref]] text"
},
"tendr.wikiref.type.completion.enabled": {
"type": "boolean",
"default": true,
"description": "toggle tab completion for :types::"
}
}
},
"keybindings": [
{
"mac": "cmd+k",
"win": "ctrl+k",
"linux": "ctrl+k",
"key": "ctrl+k",
"command": "tendr.open.wizard"
}
],
"commands": [
{
"command": "tendr.debug.dump.bonsai",
"title": "tendr: dump bonsai to .json file"
},
{
"command": "tendr.debug.dump.index",
"title": "tendr: dump index to .json file"
},
{
"command": "tendr.debug.print.index",
"title": "tendr: print link index in console"
},
{
"command": "tendr.debug.lint.bonsai",
"title": "tendr: lint index docs / bonsai files"
},
{
"command": "tendr.debug.print.bonsai",
"title": "tendr: print bonsai in console"
},
{
"command": "tendr.debug.reset.index",
"title": "tendr: clear index and rebuild from files"
},
{
"command": "tendr.create.file",
"title": "tendr: create new document",
"icon": {
"light": "icons/light/add.svg",
"dark": "icons/dark/add.svg"
}
},
{
"command": "tendr.create.file.bulk",
"title": "tendr: create new documents from zombies"
},
{
"command": "tendr.file.name",
"title": "tendr: name new document"
},
{
"command": "tendr.open.graph.tree",
"title": "tendr: open tree graph",
"icon": {
"light": "icons/graph-tree.svg",
"dark": "icons/graph-tree.svg"
}
},
{
"command": "tendr.open.graph.web",
"title": "tendr: open web graph",
"icon": {
"light": "icons/graph-web.svg",
"dark": "icons/graph-web.svg"
}
},
{
"command": "tendr.open.wizard",
"title": "tendr: search and create files from the tendr wizard"
},
{
"command": "tendr.refresh.panel.bonsai",
"title": "tendr: refresh bonsai panel",
"icon": {
"light": "icons/light/refresh.svg",
"dark": "icons/dark/refresh.svg"
}
},
{
"command": "tendr.refresh.panel.ancestors",
"title": "tendr: refresh ancestors panel",
"icon": {
"light": "icons/light/refresh.svg",
"dark": "icons/dark/refresh.svg"
}
},
{
"command": "tendr.refresh.panel.children",
"title": "tendr: refresh children panel",
"icon": {
"light": "icons/light/refresh.svg",
"dark": "icons/dark/refresh.svg"
}
},
{
"command": "tendr.refresh.panel.forerefs",
"title": "tendr: refresh forerefs panel",
"icon": {
"light": "icons/light/refresh.svg",
"dark": "icons/dark/refresh.svg"
}
},
{
"command": "tendr.refresh.panel.backrefs",
"title": "tendr: refresh backrefs panel",
"icon": {
"light": "icons/light/refresh.svg",
"dark": "icons/dark/refresh.svg"
}
},
{
"command": "tendr.refresh.panel.danglers",
"title": "tendr: refresh danglers panel",
"icon": {
"light": "icons/light/refresh.svg",
"dark": "icons/dark/refresh.svg"
}
},
{
"command": "tendr.refresh.panel.zombies",
"title": "tendr: refresh zombies panel",
"icon": {
"light": "icons/light/refresh.svg",
"dark": "icons/dark/refresh.svg"
}
},
{
"command": "tendr.resurrect",
"title": "tendr: create doc",
"icon": {
"light": "icons/light/add.svg",
"dark": "icons/dark/add.svg"
}
},
{
"command": "tendr.resurrect.tmpl",
"title": "tendr: create doc from template",
"icon": {
"light": "icons/light/add-circle.svg",
"dark": "icons/dark/add-circle.svg"
}
},
{
"command": "tendr.sync.bonsai",
"title": "tendr: sync bonsai",
"icon": {
"light": "icons/light/sync.svg",
"dark": "icons/dark/sync.svg"
}
},
{
"command": "tendr.toggle.graph.ctrls.dim",
"title": "tendr: update graph dimensions"
},
{
"command": "tendr.toggle.graph.ctrls.fix",
"title": "tendr: toggle on/off fixed nodes in graph"
},
{
"command": "tendr.toggle.graph.ctrls.follow",
"title": "tendr: toggle on/off active doc following in graph"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "tendr-explorer",
"title": "tendr",
"icon": "icons/tendr.svg"
}
]
},
"menus": {
"editor/context": [
{
"command": "tendr.create.file.bulk",
"when": "editorHasSelection && resourceFilename in tendr.bonsaiTrunkFiles"
}
],
"view/title": [
{
"command": "tendr.open.graph.tree",
"when": "view == tendr.panel.bonsai",
"group": "navigation@1"
},
{
"command": "tendr.open.graph.web",
"when": "view == tendr.panel.bonsai",
"group": "navigation@2"
},
{
"command": "tendr.sync.bonsai",
"when": "view == tendr.panel.bonsai",
"group": "navigation@3"
},
{
"command": "tendr.refresh.panel.bonsai",
"when": "view == tendr.panel.bonsai",
"group": "navigation@4"
},
{
"command": "tendr.refresh.panel.ancestors",
"when": "view == tendr.panel.ancestors",
"group": "navigation"
},
{
"command": "tendr.refresh.panel.children",
"when": "view == tendr.panel.children",
"group": "navigation"
},
{
"command": "tendr.refresh.panel.forerefs",
"when": "view == tendr.panel.forerefs",
"group": "navigation"
},
{
"command": "tendr.refresh.panel.backrefs",
"when": "view == tendr.panel.backrefs",
"group": "navigation"
},
{
"command": "tendr.refresh.panel.danglers",
"when": "view == tendr.panel.danglers",
"group": "navigation"
},
{
"command": "tendr.refresh.panel.zombies",
"when": "view == tendr.panel.zombies",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "tendr.resurrect",
"when": "viewItem == zombie",
"group": "inline@2"
},
{
"command": "tendr.resurrect.tmpl",
"when": "viewItem == zombie",
"group": "inline@1"
}
]
},
"views": {
"tendr-explorer": [
{
"id": "tendr.panel.bonsai",
"name": "🎋 bonsai"
},
{
"id": "tendr.panel.ancestors",
"name": "⬆️ ancestors"
},
{
"id": "tendr.panel.children",
"name": "⬇️ children"
},
{
"id": "tendr.panel.forerefs",
"name": "➡️ fore refs"
},
{
"id": "tendr.panel.backrefs",
"name": "⬅️ back refs"
},
{
"id": "tendr.panel.danglers",
"name": "⏺ dangling docs"
},
{
"id": "tendr.panel.zombies",
"name": "🧟 zombie refs"
}
]
},
"viewsWelcome": [
{
"view": "tendr.panel.bonsai",
"contents": "no bonsai found."
},
{
"view": "tendr.panel.ancestors",
"contents": "Has no ancestors or not in bonsai."
},
{
"view": "tendr.panel.children",
"contents": "Has no children or not in bonsai."
},
{
"view": "tendr.panel.forerefs",
"contents": "No fore(ward) references found."
},
{
"view": "tendr.panel.backrefs",
"contents": "No back(ward) references found."
},
{
"view": "tendr.panel.danglers",
"contents": "No danglers found."
},
{
"view": "tendr.panel.zombies",
"contents": "No zombies found."
}
],
"markdown.previewStyles": [
"./static/markdown.css"
]
},
"categories": [
"Other"
],
"keywords": [
"bamboo",
"bidirectional link",
"bidirectional links",
"bonsai",
"digital garden",
"evergreen",
"exocortex",
"graph",
"hierarchy",
"internal link",
"internal links",
"knowledge base",
"knowledge bonsai",
"markdown",
"note taking",
"notes",
"ontology",
"personal knowledge management",
"personal wiki",
"pkm",
"reference",
"references",
"second brain",
"semantic tree",
"taxonomy",
"tendr",
"tender",
"tree",
"web",
"wiki",
"wiki-link",
"wiki-links",
"wikiattr",
"wikiattrs",
"wikiembed",
"wikiembeds",
"wikibonsai",
"wikilink",
"wikilinks",
"wikiref",
"wikirefs",
"zettelkasten"
]
}