├── .all-contributorsrc ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .git-blame-ignore-revs ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── feature_request.md │ ├── pod-request-template.md │ ├── seed-request.md │ ├── testimonial.md │ └── work-item.md ├── auto_assign.yml ├── config │ └── issue-labler │ │ ├── labler-v1.yml │ │ ├── labler-v2.yml │ │ ├── labler-v3.yml │ │ └── labler-v4.yml ├── stale.yml └── workflows │ ├── ci-perf.yml │ ├── ci-windows-test.yml │ ├── ci.yml │ ├── create-early-seed-branch.yml │ ├── create-release-branch.yml │ ├── create-release-image-patch.yml │ ├── create-release-image.yml │ ├── hackathon-create-test-image.yml │ ├── issue-labler.yml │ ├── no-response.yml │ ├── performace-tests.yml │ ├── proto.yml │ ├── publish-extension-dendron-minor.yml │ ├── publish-extension-dendron-patch.yml │ ├── publish-extension-nightly.yml │ └── releasepages.yml ├── .gitignore ├── .prettierignore ├── .versionrc.json ├── .vscode ├── launch.json └── tasks.json ├── ACKNOWLEDGEMENTS.md ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE.md ├── Makefile ├── NOTICE.md ├── README.md ├── babel.config.js ├── bootstrap ├── .vscode │ ├── settings.json │ ├── spellright.dict │ ├── tasks.json │ └── typescript.code-snippets ├── backend │ └── updateDendronhqDeps.js ├── data │ └── verdaccio │ │ └── config.yaml └── scripts │ ├── .gitignore │ ├── buildAll.js │ ├── buildAllForTest.js │ ├── buildNightly.sh │ ├── buildPatch.sh │ ├── chmod-cli.js │ ├── cleanup.sh │ ├── fastRebuild.sh │ ├── genMeta.js │ ├── helpers.sh │ ├── install.sh │ ├── lerna-helpers.sh │ ├── package.json │ ├── src │ ├── genPkgJson.ts │ └── genTasks.ts │ ├── stats.sh │ ├── test-ci-plugin.sh │ ├── tsconfig.build.json │ ├── tsconfig.json │ ├── utils.js │ ├── watch.sh │ └── yarn.lock ├── dendron-cli.code-workspace ├── dendron-lsp.code-workspace ├── dendron-main.code-workspace ├── dendron-plugin.code-workspace ├── dev ├── dev.md └── dev.t.changelog.md ├── docs.code-search ├── docs ├── .gitignore ├── README.md └── dendron.yml ├── extensions.json ├── genScripts.js ├── hooks ├── common.js ├── exec.js ├── pre-commit.js └── pre-push.js ├── jest.config.js ├── lerna.json ├── logs └── .gitkeep ├── package.json ├── packages ├── _pkg-template │ ├── LICENSE.md │ ├── README.md │ ├── index.ts │ ├── package.json │ ├── tsconfig.build.json │ └── tsconfig.json ├── api-server │ ├── .gitignore │ ├── .vscode │ │ ├── launch.json │ │ └── settings.json │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── assets │ │ └── static │ │ │ └── themes │ │ │ └── prism │ │ │ ├── dark.css │ │ │ └── light.css │ ├── env │ │ └── integ.yml │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── Server.ts │ │ ├── constants.ts │ │ ├── core.ts │ │ ├── index.ts │ │ ├── modules │ │ │ ├── assets.ts │ │ │ ├── config.ts │ │ │ ├── notes │ │ │ │ └── index.ts │ │ │ ├── oauth.ts │ │ │ ├── schemas │ │ │ │ └── index.ts │ │ │ └── workspace │ │ │ │ └── index.ts │ │ ├── routes │ │ │ ├── assets.ts │ │ │ ├── config.ts │ │ │ ├── index.ts │ │ │ ├── note.ts │ │ │ ├── oauth.ts │ │ │ ├── schema.ts │ │ │ └── workspace.ts │ │ ├── start.ts │ │ ├── store │ │ │ └── memoryStore.ts │ │ └── utils.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── common-all │ ├── .editorconfig │ ├── .gitignore │ ├── .npmignore │ ├── .vscode │ │ └── settings.json │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── data │ │ └── dendron-yml.validator.json │ ├── package.json │ ├── src │ │ ├── BacklinkUtils.ts │ │ ├── DLinkUtils.ts │ │ ├── DLogger.ts │ │ ├── FuseEngine.ts │ │ ├── LabelUtils.ts │ │ ├── StatisticsUtils.ts │ │ ├── VaultUtilsV2.ts │ │ ├── abTesting.ts │ │ ├── abTests.ts │ │ ├── analytics.ts │ │ ├── api.ts │ │ ├── assert.ts │ │ ├── colors.ts │ │ ├── config.ts │ │ ├── constants │ │ │ ├── configs │ │ │ │ ├── base.ts │ │ │ │ ├── commands.ts │ │ │ │ ├── compat.ts │ │ │ │ ├── dendronConfig.ts │ │ │ │ ├── dev.ts │ │ │ │ ├── global.ts │ │ │ │ ├── preview.ts │ │ │ │ ├── publishing.ts │ │ │ │ └── workspace.ts │ │ │ ├── frontend.ts │ │ │ ├── index.ts │ │ │ ├── lookup.ts │ │ │ └── views.ts │ │ ├── dnode.ts │ │ ├── drivers │ │ │ ├── index.ts │ │ │ ├── string2Note.ts │ │ │ └── vault2Path.ts │ │ ├── engine │ │ │ ├── EngineEventEmitter.ts │ │ │ ├── EngineV3Base.ts │ │ │ └── index.ts │ │ ├── env.ts │ │ ├── error.ts │ │ ├── git.ts │ │ ├── helpers.ts │ │ ├── index.ts │ │ ├── logger.ts │ │ ├── md.ts │ │ ├── noteDictsUtils.ts │ │ ├── parse.ts │ │ ├── schema.ts │ │ ├── sidebar.ts │ │ ├── store │ │ │ ├── FuseMetadataStore.ts │ │ │ ├── IDataQuery.ts │ │ │ ├── IDataStore.ts │ │ │ ├── IFileStore.ts │ │ │ ├── IMetadataStore.ts │ │ │ ├── INoteStore.ts │ │ │ ├── ISchemaStore.ts │ │ │ ├── NoteMetadataStore.ts │ │ │ ├── NoteStore.ts │ │ │ ├── SchemaMetadataStore.ts │ │ │ ├── SchemaStore.ts │ │ │ └── index.ts │ │ ├── themes.ts │ │ ├── time.ts │ │ ├── timing.ts │ │ ├── types │ │ │ ├── DVault.ts │ │ │ ├── DWorkspace.ts │ │ │ ├── DWorkspaceV2.ts │ │ │ ├── DendronWorkspace.ts │ │ │ ├── DendronWorkspaceEntry.ts │ │ │ ├── FindNoteOpts.ts │ │ │ ├── ReducedDEngine.ts │ │ │ ├── RemoteEndpoint.ts │ │ │ ├── SeedEntry.ts │ │ │ ├── cacheData.ts │ │ │ ├── compat.ts │ │ │ ├── configs │ │ │ │ ├── base.ts │ │ │ │ ├── commands │ │ │ │ │ ├── commands.ts │ │ │ │ │ ├── copyNoteLink.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── insertNoteIndex.ts │ │ │ │ │ ├── insertNoteLink.ts │ │ │ │ │ ├── lookup.ts │ │ │ │ │ └── randomNote.ts │ │ │ │ ├── dendronConfig.ts │ │ │ │ ├── dev │ │ │ │ │ └── DendronDevConfig.ts │ │ │ │ ├── global │ │ │ │ │ └── global.ts │ │ │ │ ├── index.ts │ │ │ │ ├── preview │ │ │ │ │ ├── index.ts │ │ │ │ │ └── preview.ts │ │ │ │ ├── publishing │ │ │ │ │ ├── giscus.ts │ │ │ │ │ ├── github.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── publishing.ts │ │ │ │ │ └── seo.ts │ │ │ │ └── workspace │ │ │ │ │ ├── DendronWorkspaceConfig.ts │ │ │ │ │ ├── graph.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── journal.ts │ │ │ │ │ ├── scratch.ts │ │ │ │ │ ├── task.ts │ │ │ │ │ └── types.ts │ │ │ ├── editor.ts │ │ │ ├── errorTypes.ts │ │ │ ├── events.ts │ │ │ ├── foundation.ts │ │ │ ├── hooks.ts │ │ │ ├── index.ts │ │ │ ├── lookup.ts │ │ │ ├── noteTrait.ts │ │ │ ├── seed.ts │ │ │ ├── store.ts │ │ │ ├── typesv2.ts │ │ │ └── unified.ts │ │ ├── user.ts │ │ ├── util │ │ │ ├── cache │ │ │ │ ├── cache.ts │ │ │ │ ├── index.ts │ │ │ │ └── lruCache.ts │ │ │ ├── compat.ts │ │ │ ├── dateFormatUtil.ts │ │ │ ├── index.ts │ │ │ ├── orderedMatchter.ts │ │ │ ├── performanceTimer.ts │ │ │ ├── regex.ts │ │ │ ├── responseUtil.ts │ │ │ ├── stringUtil.ts │ │ │ └── treeUtil.ts │ │ ├── utils │ │ │ ├── index.ts │ │ │ ├── lookup.ts │ │ │ ├── publishUtils.ts │ │ │ └── vscode-utils.ts │ │ ├── uuid.ts │ │ ├── vault.ts │ │ └── yaml.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── common-assets │ ├── .gitignore │ ├── CHANGELOG.md │ ├── README.md │ ├── assets │ │ ├── css │ │ │ ├── antd │ │ │ │ ├── dark.css │ │ │ │ └── light.css │ │ │ ├── katex.min.css │ │ │ └── prism │ │ │ │ ├── dark.css │ │ │ │ └── light.css │ │ ├── fontello │ │ │ ├── css │ │ │ │ └── fontello.css │ │ │ └── font │ │ │ │ ├── fontello.eot │ │ │ │ ├── fontello.svg │ │ │ │ ├── fontello.ttf │ │ │ │ ├── fontello.woff │ │ │ │ └── fontello.woff2 │ │ ├── js │ │ │ ├── jquery.3-60.min.js │ │ │ └── mermaid.8-11.min.js │ │ ├── katex-fonts │ │ │ ├── KaTeX_AMS-Regular.ttf │ │ │ ├── KaTeX_AMS-Regular.woff │ │ │ ├── KaTeX_AMS-Regular.woff2 │ │ │ ├── KaTeX_Caligraphic-Bold.ttf │ │ │ ├── KaTeX_Caligraphic-Bold.woff │ │ │ ├── KaTeX_Caligraphic-Bold.woff2 │ │ │ ├── KaTeX_Caligraphic-Regular.ttf │ │ │ ├── KaTeX_Caligraphic-Regular.woff │ │ │ ├── KaTeX_Caligraphic-Regular.woff2 │ │ │ ├── KaTeX_Fraktur-Bold.ttf │ │ │ ├── KaTeX_Fraktur-Bold.woff │ │ │ ├── KaTeX_Fraktur-Bold.woff2 │ │ │ ├── KaTeX_Fraktur-Regular.ttf │ │ │ ├── KaTeX_Fraktur-Regular.woff │ │ │ ├── KaTeX_Fraktur-Regular.woff2 │ │ │ ├── KaTeX_Main-Bold.ttf │ │ │ ├── KaTeX_Main-Bold.woff │ │ │ ├── KaTeX_Main-Bold.woff2 │ │ │ ├── KaTeX_Main-BoldItalic.ttf │ │ │ ├── KaTeX_Main-BoldItalic.woff │ │ │ ├── KaTeX_Main-BoldItalic.woff2 │ │ │ ├── KaTeX_Main-Italic.ttf │ │ │ ├── KaTeX_Main-Italic.woff │ │ │ ├── KaTeX_Main-Italic.woff2 │ │ │ ├── KaTeX_Main-Regular.ttf │ │ │ ├── KaTeX_Main-Regular.woff │ │ │ ├── KaTeX_Main-Regular.woff2 │ │ │ ├── KaTeX_Math-BoldItalic.ttf │ │ │ ├── KaTeX_Math-BoldItalic.woff │ │ │ ├── KaTeX_Math-BoldItalic.woff2 │ │ │ ├── KaTeX_Math-Italic.ttf │ │ │ ├── KaTeX_Math-Italic.woff │ │ │ ├── KaTeX_Math-Italic.woff2 │ │ │ ├── KaTeX_SansSerif-Bold.ttf │ │ │ ├── KaTeX_SansSerif-Bold.woff │ │ │ ├── KaTeX_SansSerif-Bold.woff2 │ │ │ ├── KaTeX_SansSerif-Italic.ttf │ │ │ ├── KaTeX_SansSerif-Italic.woff │ │ │ ├── KaTeX_SansSerif-Italic.woff2 │ │ │ ├── KaTeX_SansSerif-Regular.ttf │ │ │ ├── KaTeX_SansSerif-Regular.woff │ │ │ ├── KaTeX_SansSerif-Regular.woff2 │ │ │ ├── KaTeX_Script-Regular.ttf │ │ │ ├── KaTeX_Script-Regular.woff │ │ │ ├── KaTeX_Script-Regular.woff2 │ │ │ ├── KaTeX_Size1-Regular.ttf │ │ │ ├── KaTeX_Size1-Regular.woff │ │ │ ├── KaTeX_Size1-Regular.woff2 │ │ │ ├── KaTeX_Size2-Regular.ttf │ │ │ ├── KaTeX_Size2-Regular.woff │ │ │ ├── KaTeX_Size2-Regular.woff2 │ │ │ ├── KaTeX_Size3-Regular.ttf │ │ │ ├── KaTeX_Size3-Regular.woff │ │ │ ├── KaTeX_Size3-Regular.woff2 │ │ │ ├── KaTeX_Size4-Regular.ttf │ │ │ ├── KaTeX_Size4-Regular.woff │ │ │ ├── KaTeX_Size4-Regular.woff2 │ │ │ ├── KaTeX_Typewriter-Regular.ttf │ │ │ ├── KaTeX_Typewriter-Regular.woff │ │ │ └── KaTeX_Typewriter-Regular.woff2 │ │ ├── themes │ │ │ ├── dark-theme.less │ │ │ └── light-theme.less │ │ └── top │ │ │ └── favicon.ico │ ├── gulpfile.js │ ├── package.json │ ├── scripts │ │ └── buildStyles.js │ └── styles │ │ └── scss │ │ ├── _portal.scss │ │ ├── _variables.scss │ │ ├── base.scss │ │ ├── content.scss │ │ ├── main-nextjs.scss │ │ ├── main-plugin.scss │ │ ├── main.scss │ │ ├── seeds.module.scss │ │ ├── support │ │ ├── _functions.scss │ │ ├── _variables.scss │ │ ├── mixins │ │ │ ├── _buttons.scss │ │ │ ├── _layout.scss │ │ │ ├── _typography.scss │ │ │ └── mixins.scss │ │ └── support.scss │ │ ├── typography.scss │ │ └── utilities │ │ ├── _typography.scss │ │ └── utilities.scss ├── common-frontend │ ├── .gitignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── package.json │ ├── src │ │ ├── components │ │ │ ├── DendronNote.tsx │ │ │ └── index.ts │ │ ├── constants.ts │ │ ├── features │ │ │ ├── engine │ │ │ │ ├── hooks.ts │ │ │ │ ├── index.ts │ │ │ │ ├── slice.ts │ │ │ │ ├── store.ts │ │ │ │ └── utils.ts │ │ │ ├── ide │ │ │ │ ├── hooks.ts │ │ │ │ ├── index.ts │ │ │ │ ├── slice.ts │ │ │ │ └── store.ts │ │ │ └── index.ts │ │ ├── index.ts │ │ ├── themes │ │ │ └── utils.ts │ │ ├── types.ts │ │ └── utils │ │ │ ├── hooks.ts │ │ │ ├── index.ts │ │ │ ├── logger.ts │ │ │ └── vscode.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── common-server │ ├── .editorconfig │ ├── .gitignore │ ├── .npmignore │ ├── .vscode │ │ ├── launch.json │ │ ├── settings.json │ │ └── tasks.json │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── DConfig.ts │ │ ├── StateValidator.ts │ │ ├── analytics.ts │ │ ├── backup │ │ │ ├── backupServiceInterface.ts │ │ │ ├── index.ts │ │ │ └── service.ts │ │ ├── errorReporting.ts │ │ ├── etc.ts │ │ ├── files.ts │ │ ├── filesv2.ts │ │ ├── git.ts │ │ ├── index.ts │ │ ├── logger.ts │ │ ├── oneoff │ │ │ └── ConfigCompat.ts │ │ ├── parser.ts │ │ ├── server.ts │ │ ├── system.ts │ │ ├── template.ts │ │ └── types │ │ │ └── index.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── common-test-utils │ ├── .gitignore │ ├── .vscode │ │ └── settings.json │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── fileUtils.ts │ │ ├── index.ts │ │ ├── noteUtils.ts │ │ ├── presets │ │ │ ├── index.ts │ │ │ ├── notes.ts │ │ │ ├── plugin-core │ │ │ │ ├── index.ts │ │ │ │ └── lookup-single.ts │ │ │ ├── schemas.ts │ │ │ └── utils.ts │ │ ├── types.ts │ │ ├── utils.ts │ │ └── utilsv2.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── dendron-cli │ ├── .gitignore │ ├── .npmignore │ ├── .vscode │ │ ├── settings.json │ │ └── tasks.json │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── bin │ │ └── dendron-cli.ts │ ├── package.json │ ├── src │ │ ├── commands │ │ │ ├── backfillV2.ts │ │ │ ├── base.ts │ │ │ ├── devCLICommand.ts │ │ │ ├── doctor.ts │ │ │ ├── exportPod.ts │ │ │ ├── exportPodV2.ts │ │ │ ├── importPod.ts │ │ │ ├── index.ts │ │ │ ├── launchEngineServer.ts │ │ │ ├── notes.ts │ │ │ ├── pod.ts │ │ │ ├── podsV2.ts │ │ │ ├── publishCLICommand.ts │ │ │ ├── publishPod.ts │ │ │ ├── seedCLICommand.ts │ │ │ ├── utils.ts │ │ │ ├── vaultCLICommand.ts │ │ │ ├── visualizeCLICommand.ts │ │ │ ├── workspace.ts │ │ │ └── workspaceCLICommand.ts │ │ ├── index.ts │ │ ├── seeds │ │ │ └── index.ts │ │ └── utils │ │ │ ├── analytics.ts │ │ │ ├── build.ts │ │ │ └── cli.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── dendron-design-system │ ├── .gitignore │ ├── .storybook │ │ ├── YourTheme.js │ │ ├── main.js │ │ ├── manager.js │ │ └── preview.js │ ├── LICENSE.md │ ├── README.md │ ├── assets │ │ ├── README │ │ │ └── 2021-04-03-16-44-56.png │ │ └── logo.png │ ├── example │ │ ├── .npmignore │ │ ├── index.html │ │ ├── index.tsx │ │ ├── package.json │ │ └── tsconfig.json │ ├── package.json │ ├── public │ │ └── dendron-vector.svg │ ├── src │ │ ├── components │ │ │ ├── Logo │ │ │ │ └── index.tsx │ │ │ └── index.tsx │ │ └── theme │ │ │ ├── colors.ts │ │ │ ├── fonts.ts │ │ │ └── index.ts │ ├── stories │ │ ├── Color.stories.mdx │ │ └── Logo.stories.tsx │ ├── test │ │ └── logo.test.tsx │ ├── tsconfig.json │ ├── tsdx.config.js │ └── yarn.lock ├── dendron-plugin-views │ ├── .env │ ├── .gitignore │ ├── CHANGELOG.md │ ├── README.md │ ├── assets │ │ └── css │ │ │ ├── katex.min.css │ │ │ ├── main │ │ │ ├── dark.css │ │ │ └── light.css │ │ │ └── prism │ │ │ ├── dark.css │ │ │ └── light.css │ ├── config │ │ ├── env.js │ │ ├── getHttpsConfig.js │ │ ├── jest │ │ │ ├── babelTransform.js │ │ │ ├── cssTransform.js │ │ │ └── fileTransform.js │ │ ├── modules.js │ │ ├── paths.js │ │ ├── pnpTs.js │ │ ├── webpack.config.js │ │ └── webpackDevServer.config.js │ ├── package.json │ ├── public │ │ ├── assets │ │ │ └── css │ │ │ │ └── prism │ │ │ │ ├── dark.css │ │ │ │ └── light.css │ │ ├── favicon.ico │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── scripts │ │ ├── build.js │ │ ├── buildIndex.js │ │ ├── buildStyles.js │ │ ├── start.js │ │ └── test.js │ ├── src │ │ ├── App.css │ │ ├── App.test.tsx │ │ ├── App.tsx │ │ ├── bootstrap.tsx │ │ ├── components │ │ │ ├── ConfigureElements.tsx │ │ │ ├── DendronApp.tsx │ │ │ ├── DendronCalendarPanel.tsx │ │ │ ├── DendronConfigure.tsx │ │ │ ├── DendronGraphPanel.tsx │ │ │ ├── DendronLookupPanel.tsx │ │ │ ├── DendronNotePreview.tsx │ │ │ ├── DendronSchemaGraphPanel.tsx │ │ │ ├── DendronSideGraphPanel.tsx │ │ │ ├── GraphFilterView.tsx │ │ │ ├── SampleComponent.tsx │ │ │ ├── SeedBrowser.tsx │ │ │ ├── Seeds.tsx │ │ │ └── graph.tsx │ │ ├── hooks │ │ │ ├── index.tsx │ │ │ ├── useApplyGraphConfig.tsx │ │ │ ├── useGraphElements.tsx │ │ │ └── useSyncGraphWithIDE.tsx │ │ ├── index.css │ │ ├── index.tsx │ │ ├── logo.svg │ │ ├── react-app-env.d.ts │ │ ├── reportWebVitals.ts │ │ ├── setupTests.ts │ │ ├── styles │ │ │ ├── custom.ts │ │ │ ├── theme-antd.ts │ │ │ ├── theme-block.ts │ │ │ ├── theme-classic.ts │ │ │ └── theme-monokai.ts │ │ ├── types │ │ │ ├── cytoscape-euler.d.ts │ │ │ ├── index.ts │ │ │ └── window.d.ts │ │ └── utils │ │ │ ├── dendronConfig.ts │ │ │ ├── graph.ts │ │ │ ├── luxonGenerateConfig.ts │ │ │ └── vscode.ts │ └── tsconfig.json ├── dendron-viz │ ├── .gitignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── copy.js │ ├── ensureDir.js │ ├── package.json │ ├── src │ │ ├── CircleText.tsx │ │ ├── Tree.tsx │ │ ├── dendron.tsx │ │ ├── index.ts │ │ ├── loadModule.js │ │ ├── processDendronNotes.ts │ │ ├── shouldExcludePath.ts │ │ ├── types.ts │ │ └── utils.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── engine-server │ ├── .editorconfig │ ├── .gitignore │ ├── .npmignore │ ├── .vscode │ │ ├── launch.json │ │ ├── settings.json │ │ └── tasks.json │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── copyPrismaClient.js │ ├── fixtures │ │ └── pods │ │ │ ├── filePod │ │ │ └── project │ │ │ │ ├── p.3 │ │ │ │ └── n1.md │ │ │ │ ├── p1 │ │ │ │ ├── .DS_STORE_TEST │ │ │ │ ├── n1.md │ │ │ │ ├── n1.pdf │ │ │ │ ├── n2.md │ │ │ │ └── n3.pdf │ │ │ │ └── p2 │ │ │ │ └── n1.md │ │ │ └── fooPodModule │ │ │ ├── package.json │ │ │ └── src │ │ │ ├── index.js │ │ │ └── main.js │ ├── package.json │ ├── prisma │ │ ├── migrations │ │ │ ├── 20220819014343_add_davult │ │ │ │ └── migration.sql │ │ │ ├── 20220819153634_add_workspace │ │ │ │ └── migration.sql │ │ │ ├── 20220819161942_update_db │ │ │ │ └── migration.sql │ │ │ └── migration_lock.toml │ │ └── schema.prisma │ ├── src │ │ ├── DendronEngineV3.ts │ │ ├── backfillV2 │ │ │ ├── index.ts │ │ │ └── service.ts │ │ ├── cache │ │ │ ├── dendronFileSystemCache.ts │ │ │ ├── index.ts │ │ │ └── notesFileSystemCache.ts │ │ ├── changelog │ │ │ └── changelog.ts │ │ ├── doctor │ │ │ ├── index.ts │ │ │ ├── service.ts │ │ │ └── utils.ts │ │ ├── drivers │ │ │ ├── SQLiteMetadataStore.ts │ │ │ ├── adm-zip.js │ │ │ ├── file │ │ │ │ ├── NoteParserV2.ts │ │ │ │ ├── index.ts │ │ │ │ ├── noteParser.ts │ │ │ │ ├── parseBase.ts │ │ │ │ ├── schemaParser.ts │ │ │ │ └── storev2.ts │ │ │ ├── index.ts │ │ │ └── prisma-shim.js │ │ ├── engineClient.ts │ │ ├── enginev2.ts │ │ ├── external │ │ │ └── memo │ │ │ │ ├── declarations.d.ts │ │ │ │ ├── types.ts │ │ │ │ └── utils │ │ │ │ └── utils.ts │ │ ├── history.ts │ │ ├── index.ts │ │ ├── metadata │ │ │ ├── index.ts │ │ │ └── service.ts │ │ ├── migrations │ │ │ ├── index.ts │ │ │ ├── migrations.ts │ │ │ ├── service.ts │ │ │ ├── types.ts │ │ │ └── utils.ts │ │ ├── profile │ │ │ └── fuse.ts │ │ ├── seed │ │ │ ├── constants.ts │ │ │ ├── index.ts │ │ │ ├── registry.ts │ │ │ ├── service.ts │ │ │ └── utils.ts │ │ ├── store │ │ │ ├── NodeJSFileStore.ts │ │ │ └── index.ts │ │ ├── topics │ │ │ ├── connector.ts │ │ │ ├── git.ts │ │ │ ├── hooks.ts │ │ │ ├── site.ts │ │ │ └── webpack-require-hack.ts │ │ ├── types.ts │ │ ├── util │ │ │ ├── inMemoryNoteCache.ts │ │ │ └── noteMetadataUtils.ts │ │ ├── utils │ │ │ ├── engineUtils.ts │ │ │ └── index.ts │ │ └── workspace │ │ │ ├── fileAddWatcher.ts │ │ │ ├── fileWatcher.ts │ │ │ ├── index.ts │ │ │ ├── service.ts │ │ │ ├── utils.ts │ │ │ ├── vscode.ts │ │ │ └── workspaceServiceInterface.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── engine-test-utils │ ├── .gitignore │ ├── .vscode │ │ └── tasks.json │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── __mocks__ │ │ │ └── vscode.ts │ │ ├── __tests__ │ │ │ ├── api-server │ │ │ │ ├── __snapshots__ │ │ │ │ │ ├── engine.perf.spec.ts.snap │ │ │ │ │ └── engine.spec.ts.snap │ │ │ │ ├── assets.spec.ts │ │ │ │ ├── engine.perf.spec.ts │ │ │ │ ├── engine.spec.ts │ │ │ │ └── notes.spec.ts │ │ │ ├── common-all │ │ │ │ ├── __snapshots__ │ │ │ │ │ ├── nodev2.spec.ts.snap │ │ │ │ │ └── sidebar.spec.ts.snap │ │ │ │ ├── config.spec.ts │ │ │ │ ├── dnode.spec.ts │ │ │ │ ├── error.spec.ts │ │ │ │ ├── events.spec.ts │ │ │ │ ├── fuse.spec.ts │ │ │ │ ├── git.spec.ts │ │ │ │ ├── journalTitle.spec.ts │ │ │ │ ├── nodev2.spec.ts │ │ │ │ ├── sidebar.spec.ts │ │ │ │ ├── store │ │ │ │ │ ├── noteStore.spec.ts │ │ │ │ │ └── schemaStore.spec.ts │ │ │ │ ├── template.spec.ts │ │ │ │ ├── util │ │ │ │ │ ├── __snapshots__ │ │ │ │ │ │ └── treeUtil.spec.ts.snap │ │ │ │ │ ├── noteUtils.spec.ts │ │ │ │ │ ├── orderedMatcher.spec.ts │ │ │ │ │ └── treeUtil.spec.ts │ │ │ │ ├── utils │ │ │ │ │ └── lookup.spec.ts │ │ │ │ └── vault.spec.ts │ │ │ ├── common-frontend │ │ │ │ └── features │ │ │ │ │ └── engine │ │ │ │ │ └── slice.spec.tsx │ │ │ ├── common-server │ │ │ │ ├── __snapshots__ │ │ │ │ │ └── filev2.spec.ts.snap │ │ │ │ ├── abTesting.spec.ts │ │ │ │ ├── filev2.spec.ts │ │ │ │ ├── git.spec.ts │ │ │ │ └── parser.spec.ts │ │ │ ├── connector.spec.ts │ │ │ ├── dendron-cli │ │ │ │ ├── commands │ │ │ │ │ ├── __snapshots__ │ │ │ │ │ │ ├── doctor.spec.ts.snap │ │ │ │ │ │ ├── noteCli.spec.ts.snap │ │ │ │ │ │ └── seedCLICommand.spec.ts.snap │ │ │ │ │ ├── devCLICommand.spec.ts │ │ │ │ │ ├── doctor.spec.ts │ │ │ │ │ ├── exportPodCLI.spec.ts │ │ │ │ │ ├── exportPodV2CLI.spec.ts │ │ │ │ │ ├── launchEngineServer.spec.ts │ │ │ │ │ ├── noteCli.spec.ts │ │ │ │ │ ├── publishCLICommand.spec.ts │ │ │ │ │ ├── vaultCli.spec.ts │ │ │ │ │ ├── visualizeCLICommand.spec.ts │ │ │ │ │ └── workspaceCli.spec.ts │ │ │ │ └── utils │ │ │ │ │ ├── build.spec.ts │ │ │ │ │ └── setupEngine.spec.ts │ │ │ ├── engine-server │ │ │ │ ├── DendronEngineV3.spec.ts │ │ │ │ ├── EngineEvents.spec.ts │ │ │ │ ├── __snapshots__ │ │ │ │ │ ├── DendronEngineV3.spec.ts.snap │ │ │ │ │ ├── enginev2.spec.ts.snap │ │ │ │ │ ├── seedSvc.spec.ts.snap │ │ │ │ │ ├── segmentClient.spec.ts.snap │ │ │ │ │ └── workspace.spec.ts.snap │ │ │ │ ├── backup.spec.ts │ │ │ │ ├── configUtils.spec.ts │ │ │ │ ├── dconfig.spec.ts │ │ │ │ ├── drivers │ │ │ │ │ ├── __snapshots__ │ │ │ │ │ │ └── sqlite.spec.ts.snap │ │ │ │ │ ├── file │ │ │ │ │ │ └── schemaParser.spec.ts │ │ │ │ │ ├── sqlite.spec.ts │ │ │ │ │ └── storev2.spec.ts │ │ │ │ ├── enginev2.spec.ts │ │ │ │ ├── fileAddWatcher.spec.ts │ │ │ │ ├── history.spec.ts │ │ │ │ ├── markdown │ │ │ │ │ ├── __snapshots__ │ │ │ │ │ │ ├── backlinks.spec.ts.snap │ │ │ │ │ │ ├── blockAnchors.spec.ts.snap │ │ │ │ │ │ ├── dendronPub.spec.ts.snap │ │ │ │ │ │ ├── extendedImage.spec.ts.snap │ │ │ │ │ │ ├── footnotes.spec.ts.snap │ │ │ │ │ │ ├── hashtag.spec.ts.snap │ │ │ │ │ │ ├── hierarchies.spec.ts.snap │ │ │ │ │ │ ├── noteRefv2.spec.ts.snap │ │ │ │ │ │ ├── remarkUtils.spec.ts.snap │ │ │ │ │ │ ├── userTags.spec.ts.snap │ │ │ │ │ │ ├── utils.spec.ts.snap │ │ │ │ │ │ └── wikiLink.spec.ts.snap │ │ │ │ │ ├── backlinks.spec.ts │ │ │ │ │ ├── blockAnchors.spec.ts │ │ │ │ │ ├── dendronPub.spec.ts │ │ │ │ │ ├── extendedImage.spec.ts │ │ │ │ │ ├── footnotes.spec.ts │ │ │ │ │ ├── hashtag.spec.ts │ │ │ │ │ ├── hierarchies.spec.ts │ │ │ │ │ ├── noteRefv2.spec.ts │ │ │ │ │ ├── remarkUtils.spec.ts │ │ │ │ │ ├── userTags.spec.ts │ │ │ │ │ ├── utils.spec.ts │ │ │ │ │ ├── utils.ts │ │ │ │ │ ├── utilsv5.spec.ts │ │ │ │ │ ├── v5 │ │ │ │ │ │ ├── __snapshots__ │ │ │ │ │ │ │ ├── backlinks.spec.ts.snap │ │ │ │ │ │ │ ├── hierarchies.spec.ts.snap │ │ │ │ │ │ │ ├── image.spec.ts.snap │ │ │ │ │ │ │ ├── mermaid.spec.ts.snap │ │ │ │ │ │ │ └── noteRef.spec.ts.snap │ │ │ │ │ │ ├── backlinks.spec.ts │ │ │ │ │ │ ├── backlinksPanelHover.spec.ts │ │ │ │ │ │ ├── hierarchies.spec.ts │ │ │ │ │ │ ├── image.spec.ts │ │ │ │ │ │ ├── mermaid.spec.ts │ │ │ │ │ │ ├── noteRef.spec.ts │ │ │ │ │ │ └── utils.ts │ │ │ │ │ └── wikiLink.spec.ts │ │ │ │ ├── metadataService.spec.ts │ │ │ │ ├── noteMetaDataUtils.spec.ts │ │ │ │ ├── seedSvc.spec.ts │ │ │ │ ├── segmentClient.spec.ts │ │ │ │ ├── topics │ │ │ │ │ ├── __snapshots__ │ │ │ │ │ │ └── git.spec.ts.snap │ │ │ │ │ ├── git.spec.ts │ │ │ │ │ └── hooks.spec.ts │ │ │ │ ├── util │ │ │ │ │ ├── cache.spec.ts │ │ │ │ │ ├── inMemoryNoteCache.spec.ts │ │ │ │ │ └── lruCache.spec.ts │ │ │ │ ├── utils.spec.ts │ │ │ │ └── workspace.spec.ts │ │ │ ├── pods-core │ │ │ │ ├── ExportPod.spec.ts │ │ │ │ ├── GDocPod.spec.ts │ │ │ │ ├── GithubIssuePod.spec.ts │ │ │ │ ├── GraphvizPod.spec.ts │ │ │ │ ├── HTMLPod.spec.ts │ │ │ │ ├── JSONPod.spec.ts │ │ │ │ ├── MarkdownPod.spec.ts │ │ │ │ ├── NextjsExportPod.spec.ts │ │ │ │ ├── NotionPod.spec.ts │ │ │ │ ├── OrbitPod.spec.ts │ │ │ │ ├── __snapshots__ │ │ │ │ │ ├── GDocPod.spec.ts.snap │ │ │ │ │ ├── HTMLPod.spec.ts.snap │ │ │ │ │ ├── MarkdownPod.spec.ts.snap │ │ │ │ │ ├── NextjsExportPod.spec.ts.snap │ │ │ │ │ └── podsv2.spec.ts.snap │ │ │ │ ├── podsv2.spec.ts │ │ │ │ └── v2 │ │ │ │ │ ├── AirtableExportPodV2.spec.ts │ │ │ │ │ ├── MarkdownExportPodV2.spec.ts │ │ │ │ │ └── __snapshots__ │ │ │ │ │ └── AirtableExportPodV2.spec.ts.snap │ │ │ └── site.spec.ts │ │ ├── config.ts │ │ ├── engine.ts │ │ ├── index.ts │ │ ├── presets │ │ │ ├── engine-server │ │ │ │ ├── bulkWriteNotes.ts │ │ │ │ ├── config.ts │ │ │ │ ├── delete.ts │ │ │ │ ├── getNoteBlocks.ts │ │ │ │ ├── index.ts │ │ │ │ ├── info.ts │ │ │ │ ├── init.ts │ │ │ │ ├── note-refs.ts │ │ │ │ ├── query.ts │ │ │ │ ├── rename.ts │ │ │ │ ├── render.ts │ │ │ │ ├── utils.ts │ │ │ │ └── write.ts │ │ │ ├── index.ts │ │ │ ├── pods-core │ │ │ │ ├── index.ts │ │ │ │ ├── json.ts │ │ │ │ └── markdown.ts │ │ │ └── vaults.ts │ │ ├── topics │ │ │ ├── hooks.ts │ │ │ └── index.ts │ │ └── utils │ │ │ ├── GDocMockResult.ts │ │ │ ├── git.ts │ │ │ ├── index.ts │ │ │ ├── prisma-mock.ts │ │ │ ├── schema.ts │ │ │ ├── seed.ts │ │ │ ├── unified.ts │ │ │ └── workspace.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── generator-dendron │ ├── .gitignore │ ├── package.json │ ├── src │ │ └── app │ │ │ └── index.ts │ ├── templates │ │ ├── package.json │ │ ├── tsconfig.build.json │ │ └── tsconfig.json │ ├── tsconfig.build.json │ ├── tsconfig.json │ └── yarn.lock ├── nextjs-template │ ├── .dockerignore │ ├── .env.test │ ├── .gitignore │ ├── CHANGELOG.md │ ├── Makefile │ ├── README.md │ ├── assets │ │ └── robots.txt │ ├── components │ │ ├── AntdMenuItemWrapper.tsx │ │ ├── AntdMenuWrapper.tsx │ │ ├── AntdSubMenuWrapper.tsx │ │ ├── DendronBreadCrumb.tsx │ │ ├── DendronCollection.tsx │ │ ├── DendronCustomHead.tsx │ │ ├── DendronGATracking.tsx │ │ ├── DendronLayout.tsx │ │ ├── DendronLogoOrTitle.tsx │ │ ├── DendronNoteFooter.tsx │ │ ├── DendronNoteGiscusWidget.tsx │ │ ├── DendronNotePage.tsx │ │ ├── DendronNotice.tsx │ │ ├── DendronRef.tsx │ │ ├── DendronSEO.tsx │ │ ├── DendronSearch.tsx │ │ ├── DendronSpinner.tsx │ │ ├── DendronTOC.tsx │ │ ├── DendronTreeMenu.tsx │ │ ├── MermaidScript.tsx │ │ └── layout │ │ │ ├── DendronContent.tsx │ │ │ ├── DendronHeader.tsx │ │ │ └── DendronSidebar.tsx │ ├── context │ │ ├── DendronProvider.tsx │ │ └── useDendronContext.tsx │ ├── custom │ │ └── NoOp.tsx │ ├── e2e │ │ ├── example.spec.ts │ │ ├── general.spec.ts │ │ ├── general.spec.ts-snapshots │ │ │ ├── breadcrumb-chromium-linux.png │ │ │ ├── breadcrumb-firefox-linux.png │ │ │ ├── breadcrumb-webkit-linux.png │ │ │ ├── breadcrumb │ │ │ │ ├── normal-chromium-linux.png │ │ │ │ ├── normal-firefox-linux.png │ │ │ │ ├── normal-webkit-linux.png │ │ │ │ ├── parent-has_collection-chromium-linux.png │ │ │ │ ├── parent-has_collection-firefox-linux.png │ │ │ │ ├── parent-has_collection-webkit-linux.png │ │ │ │ ├── parent-nav_exclude-chromium-linux.png │ │ │ │ ├── parent-nav_exclude-firefox-linux.png │ │ │ │ ├── parent-nav_exclude-webkit-linux.png │ │ │ │ ├── parent-nav_exclude_children-chromium-linux.png │ │ │ │ ├── parent-nav_exclude_children-firefox-linux.png │ │ │ │ └── parent-nav_exclude_children-webkit-linux.png │ │ │ ├── heading-anchor │ │ │ │ ├── start---end-chromium-linux.png │ │ │ │ ├── start---end-firefox-linux.png │ │ │ │ ├── start---end-webkit-linux.png │ │ │ │ ├── start-_-end-chromium-linux.png │ │ │ │ ├── start-_-end-firefox-linux.png │ │ │ │ ├── start-_-end-webkit-linux.png │ │ │ │ ├── start-code-end-chromium-linux.png │ │ │ │ ├── start-code-end-firefox-linux.png │ │ │ │ ├── start-code-end-webkit-linux.png │ │ │ │ ├── start-exampleusername-private-end-chromium-linux.png │ │ │ │ ├── start-exampleusername-private-end-firefox-linux.png │ │ │ │ ├── start-exampleusername-private-end-webkit-linux.png │ │ │ │ ├── start-test-end-chromium-linux.png │ │ │ │ ├── start-test-end-firefox-linux.png │ │ │ │ └── start-test-end-webkit-linux.png │ │ │ └── layout │ │ │ │ ├── safe-layout-chromium-linux.png │ │ │ │ ├── safe-layout-firefox-linux.png │ │ │ │ └── safe-layout-webkit-linux.png │ │ ├── global-setup.ts │ │ └── next-fixture.ts │ ├── env │ │ ├── client.js │ │ ├── schema.js │ │ └── server.js │ ├── features │ │ ├── engine │ │ │ ├── hooks.ts │ │ │ ├── index.ts │ │ │ ├── slice.ts │ │ │ └── store.ts │ │ └── index.ts │ ├── fixtures │ │ └── test-nextjs-workspace │ │ │ ├── .gitignore │ │ │ ├── dendron.yml │ │ │ └── vault │ │ │ ├── features.collection.md │ │ │ ├── features.collection.one.md │ │ │ ├── features.collection.two.md │ │ │ ├── features.md │ │ │ ├── ref.backlinks.md │ │ │ ├── root.md │ │ │ └── root.schema.yml │ ├── hooks │ │ ├── useDendronConfig.ts │ │ ├── useIFrameHeightAdjuster.tsx │ │ └── useToggle.tsx │ ├── next.config.js │ ├── package-lock.json │ ├── package.json │ ├── pages │ │ ├── 404.tsx │ │ ├── 500.tsx │ │ ├── _app.tsx │ │ ├── index.tsx │ │ ├── notes │ │ │ └── [id].tsx │ │ └── refs │ │ │ └── [id].tsx │ ├── playwright.config.ts │ ├── scripts │ │ ├── buildStatic.js │ │ └── sitemap.ts │ ├── sitemap.js │ ├── styles │ │ ├── constants.ts │ │ └── theme-antd.ts │ ├── tsconfig.build.json │ ├── tsconfig.json │ ├── tsconfig.sitemap.json │ ├── types │ │ └── window.d.ts │ ├── utils │ │ ├── analytics.ts │ │ ├── build.ts │ │ ├── etc.ts │ │ ├── fetchers.ts │ │ ├── getStaticPropsUtil.tsx │ │ ├── hooks.ts │ │ ├── links.ts │ │ ├── types.ts │ │ ├── useFuse.ts │ │ └── validation.js │ └── yarn.lock ├── plugin-core │ ├── .eslintrc.json │ ├── .gitignore │ ├── .vscode │ │ ├── extensions.json │ │ ├── launch.json │ │ ├── settings.json │ │ └── tasks.json │ ├── .vscodeignore │ ├── .yarnrc │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── assets │ │ └── dendron-ws │ │ │ ├── templates │ │ │ ├── templates.daily.md │ │ │ └── templates.meet.md │ │ │ ├── tutorial │ │ │ ├── common │ │ │ │ ├── assets │ │ │ │ │ └── images │ │ │ │ │ │ └── logo_small.png │ │ │ │ ├── root.md │ │ │ │ └── root.schema.yml │ │ │ └── treatments │ │ │ │ ├── main │ │ │ │ ├── assets │ │ │ │ │ └── images │ │ │ │ │ │ └── logo_small.png │ │ │ │ ├── root.md │ │ │ │ ├── root.schema.yml │ │ │ │ ├── tutorial.conclusion.md │ │ │ │ ├── tutorial.linking-notes.md │ │ │ │ ├── tutorial.md │ │ │ │ ├── tutorial.rich-formatting.md │ │ │ │ ├── tutorial.taking-notes.md │ │ │ │ └── tutorial.user-interface.md │ │ │ │ ├── no-refactor │ │ │ │ ├── assets │ │ │ │ │ └── images │ │ │ │ │ │ └── logo_small.png │ │ │ │ ├── root.md │ │ │ │ ├── root.schema.yml │ │ │ │ ├── tutorial.conclusion.md │ │ │ │ ├── tutorial.linking-notes.md │ │ │ │ ├── tutorial.md │ │ │ │ ├── tutorial.rich-formatting.md │ │ │ │ ├── tutorial.taking-notes.md │ │ │ │ └── tutorial.user-interface.md │ │ │ │ ├── original │ │ │ │ ├── assets │ │ │ │ │ └── images │ │ │ │ │ │ └── logo_small.png │ │ │ │ ├── root.md │ │ │ │ ├── root.schema.yml │ │ │ │ ├── tutorial.conclusion.md │ │ │ │ ├── tutorial.linking-notes.md │ │ │ │ ├── tutorial.md │ │ │ │ ├── tutorial.rich-formatting.md │ │ │ │ ├── tutorial.taking-notes.md │ │ │ │ └── tutorial.user-interface.md │ │ │ │ ├── quickstart-skip-welcome │ │ │ │ ├── assets │ │ │ │ │ └── images │ │ │ │ │ │ └── logo_small.png │ │ │ │ ├── root.md │ │ │ │ ├── root.schema.yml │ │ │ │ └── tutorial.md │ │ │ │ ├── quickstart-v1 │ │ │ │ ├── assets │ │ │ │ │ └── images │ │ │ │ │ │ └── logo_small.png │ │ │ │ ├── root.md │ │ │ │ ├── root.schema.yml │ │ │ │ └── tutorial.md │ │ │ │ └── quickstart-with-lock │ │ │ │ ├── assets │ │ │ │ └── images │ │ │ │ │ └── logo_small.png │ │ │ │ ├── root.md │ │ │ │ ├── root.schema.yml │ │ │ │ └── tutorial.md │ │ │ └── vault │ │ │ ├── .vscode │ │ │ └── dendron.code-snippets │ │ │ ├── assets │ │ │ └── images │ │ │ │ ├── logo-banner.png │ │ │ │ └── logo.png │ │ │ ├── dendron.md │ │ │ ├── dendron.welcome.md │ │ │ ├── root.md │ │ │ ├── root.schema.yml │ │ │ ├── v100.html │ │ │ ├── welcome.html │ │ │ └── welcome_video.html │ ├── fixtures │ │ └── fake-workspace │ │ │ └── .vscode │ │ │ └── settings.json │ ├── language-configuration.json │ ├── media │ │ ├── fontello │ │ │ ├── css │ │ │ │ └── fontello.css │ │ │ └── font │ │ │ │ ├── fontello.eot │ │ │ │ ├── fontello.svg │ │ │ │ ├── fontello.ttf │ │ │ │ ├── fontello.woff │ │ │ │ └── fontello.woff2 │ │ ├── icons │ │ │ ├── dendron-activity-bar-icon.svg │ │ │ └── dendron-vscode.svg │ │ ├── logo-bw.png │ │ ├── logo.png │ │ └── markdown.css │ ├── package.json │ ├── scripts │ │ ├── check_links.sh │ │ ├── genConfig.ts │ │ ├── install.sh │ │ ├── pack_and_install.sh │ │ ├── package.sh │ │ ├── prep.sh │ │ ├── publish-insider.sh │ │ ├── publish.sh │ │ ├── pullBuild.sh │ │ ├── pullBuildAndSync.sh │ │ ├── pullRelease.sh │ │ ├── syncAssets.sh │ │ ├── sync_static.sh │ │ ├── varSub.sh │ │ └── variableSubstitution.ts │ ├── sqlite3-binding.js │ ├── src │ │ ├── ExtensionProvider.ts │ │ ├── KeybindingUtils.ts │ │ ├── WSUtils.ts │ │ ├── WSUtilsV2.ts │ │ ├── WSUtilsV2Interface.ts │ │ ├── WelcomeUtils.ts │ │ ├── WorkspaceWatcher.ts │ │ ├── _extension.ts │ │ ├── clientUtils.ts │ │ ├── commands │ │ │ ├── AddAndCommit.ts │ │ │ ├── AddExistingVaultCommand.ts │ │ │ ├── ApplyTemplateCommand.ts │ │ │ ├── ArchiveHierarchy.ts │ │ │ ├── BrowseNoteCommand.ts │ │ │ ├── ChangeWorkspace.ts │ │ │ ├── ConfigureCommand.ts │ │ │ ├── ConfigureGraphStyles.ts │ │ │ ├── ConfigureLocalOverride.ts │ │ │ ├── ConfigureNoteTraitsCommand.ts │ │ │ ├── ConfigurePodCommand.ts │ │ │ ├── ConfigureWithUICommand.ts │ │ │ ├── Contribute.ts │ │ │ ├── ConvertCandidateLink.ts │ │ │ ├── ConvertLink.ts │ │ │ ├── ConvertVaultCommand.ts │ │ │ ├── CopyAsCommand.ts │ │ │ ├── CopyCodespaceURL.ts │ │ │ ├── CopyNoteLink.ts │ │ │ ├── CopyNoteRef.ts │ │ │ ├── CopyNoteURL.ts │ │ │ ├── CopyToClipboardCommand.ts │ │ │ ├── CreateDailyJournal.ts │ │ │ ├── CreateHookCommand.ts │ │ │ ├── CreateJournalNoteCommand.ts │ │ │ ├── CreateMeetingNoteCommand.ts │ │ │ ├── CreateNewVaultCommand.ts │ │ │ ├── CreateNoteCommand.ts │ │ │ ├── CreateNoteWithTraitCommand.ts │ │ │ ├── CreateNoteWithUserDefinedTrait.ts │ │ │ ├── CreateSchemaFromHierarchyCommand.ts │ │ │ ├── CreateScratchNoteCommand.ts │ │ │ ├── CreateTask.ts │ │ │ ├── DeleteCommand.ts │ │ │ ├── DeleteHookCommand.ts │ │ │ ├── DevTriggerCommand.ts │ │ │ ├── DiagnosticsReport.ts │ │ │ ├── DisableTelemetry.ts │ │ │ ├── Doctor.ts │ │ │ ├── EnableTelemetry.ts │ │ │ ├── ExportPod.ts │ │ │ ├── GoDownCommand.ts │ │ │ ├── GoToNoteInterface.ts │ │ │ ├── GoToSiblingCommand.ts │ │ │ ├── GoUpCommand.ts │ │ │ ├── Goto.ts │ │ │ ├── GotoNote.ts │ │ │ ├── ImportPod.ts │ │ │ ├── InsertNoteIndexCommand.ts │ │ │ ├── InsertNoteLink.ts │ │ │ ├── InstrumentedWrapperCommand.ts │ │ │ ├── LaunchTutorialWorkspaceCommand.ts │ │ │ ├── MergeNoteCommand.ts │ │ │ ├── MigrateSelfContainedVault.ts │ │ │ ├── MoveHeader.ts │ │ │ ├── MoveNoteCommand.ts │ │ │ ├── MoveSelectionToCommand.ts │ │ │ ├── NoteLookupCommand.ts │ │ │ ├── OpenBackupCommand.ts │ │ │ ├── OpenLink.ts │ │ │ ├── OpenLogs.ts │ │ │ ├── PasteFile.ts │ │ │ ├── PasteLink.ts │ │ │ ├── PublishDevCommand.ts │ │ │ ├── PublishExportCommand.ts │ │ │ ├── PublishPod.ts │ │ │ ├── RandomNote.ts │ │ │ ├── Refactor.ts │ │ │ ├── RefactorHierarchyV2.ts │ │ │ ├── RegisterNoteTraitCommand.ts │ │ │ ├── ReloadIndex.ts │ │ │ ├── RemoveVaultCommand.ts │ │ │ ├── RenameHeader.ts │ │ │ ├── RenameNoteCommand.ts │ │ │ ├── RenameNoteV2a.ts │ │ │ ├── ResetConfig.ts │ │ │ ├── RestoreVault.ts │ │ │ ├── RunMigrationCommand.ts │ │ │ ├── SchemaLookupCommand.ts │ │ │ ├── SeedAddCommand.ts │ │ │ ├── SeedBrowseCommand.ts │ │ │ ├── SeedCommandBase.ts │ │ │ ├── SeedRemoveCommand.ts │ │ │ ├── SetupWorkspace.ts │ │ │ ├── ShowHelp.ts │ │ │ ├── ShowLegacyPreview.ts │ │ │ ├── ShowNoteGraph.ts │ │ │ ├── ShowPreviewInterface.ts │ │ │ ├── ShowSchemaGraph.ts │ │ │ ├── ShowWelcomePageCommand.ts │ │ │ ├── SignIn.ts │ │ │ ├── SignUp.ts │ │ │ ├── SnapshotVault.ts │ │ │ ├── Sync.ts │ │ │ ├── TaskComplete.ts │ │ │ ├── TaskStatus.ts │ │ │ ├── TogglePreview.ts │ │ │ ├── TogglePreviewLock.ts │ │ │ ├── UpgradeSettings.ts │ │ │ ├── ValidateEngineCommand.ts │ │ │ ├── VaultAddCommand.ts │ │ │ ├── base.ts │ │ │ ├── common │ │ │ │ └── NoteLookupAutoCompleteCommand.ts │ │ │ ├── index.ts │ │ │ ├── node │ │ │ │ └── NoteLookupAutoCompleteCommand.ts │ │ │ └── pods │ │ │ │ ├── AirtableExportPodCommand.ts │ │ │ │ ├── BaseExportPodCommand.ts │ │ │ │ ├── ConfigureExportPodV2.ts │ │ │ │ ├── ConfigureServiceConnection.ts │ │ │ │ ├── ExportPodV2Command.ts │ │ │ │ ├── GoogleDocsExportPodCommand.ts │ │ │ │ ├── ImportObsidianCommand.ts │ │ │ │ ├── JSONExportPodCommand.ts │ │ │ │ ├── MarkdownExportPodCommand.ts │ │ │ │ └── NotionExportPodCommand.ts │ │ ├── components │ │ │ ├── doctor │ │ │ │ ├── buttons.ts │ │ │ │ ├── types.ts │ │ │ │ └── utils.ts │ │ │ ├── lookup │ │ │ │ ├── ButtonTypes.ts │ │ │ │ ├── HierarchySelector.ts │ │ │ │ ├── LookupControllerV3.ts │ │ │ │ ├── LookupControllerV3Factory.ts │ │ │ │ ├── LookupControllerV3Interface.ts │ │ │ │ ├── LookupProviderV3Factory.ts │ │ │ │ ├── LookupProviderV3Interface.ts │ │ │ │ ├── LookupViewModel.ts │ │ │ │ ├── NoteLookupProvider.ts │ │ │ │ ├── NoteLookupProviderUtils.ts │ │ │ │ ├── NotePickerUtils.ts │ │ │ │ ├── QuickPickTemplateSelector.ts │ │ │ │ ├── SchemaLookupProvider.ts │ │ │ │ ├── SchemaPickerUtils.ts │ │ │ │ ├── TabUtils.ts │ │ │ │ ├── buttons.ts │ │ │ │ ├── constants.ts │ │ │ │ ├── types.ts │ │ │ │ ├── utils.ts │ │ │ │ └── vaultSelectionModeConfigUtils.ts │ │ │ ├── pods │ │ │ │ ├── PodCommandFactory.ts │ │ │ │ └── PodControls.ts │ │ │ └── views │ │ │ │ ├── ConfigureUIPanelFactory.ts │ │ │ │ ├── IPreviewLinkHandler.ts │ │ │ │ ├── LookupV3QuickPickView.ts │ │ │ │ ├── NoteGraphViewFactory.ts │ │ │ │ ├── PreviewLinkHandler.ts │ │ │ │ ├── PreviewPanel.ts │ │ │ │ ├── PreviewProxy.ts │ │ │ │ ├── PreviewViewFactory.ts │ │ │ │ └── SchemaGraphViewFactory.ts │ │ ├── constants.ts │ │ ├── dendronExtensionInterface.ts │ │ ├── extension.ts │ │ ├── external │ │ │ ├── fileutils │ │ │ │ └── FileItem.ts │ │ │ └── memo │ │ │ │ ├── declarations.d.ts │ │ │ │ ├── types.ts │ │ │ │ └── utils │ │ │ │ └── utils.ts │ │ ├── features │ │ │ ├── Backlink.ts │ │ │ ├── BacklinksTreeDataProvider.ts │ │ │ ├── DefinitionProvider.ts │ │ │ ├── FrontmatterFoldingRangeProvider.ts │ │ │ ├── HelpFeedbackTreeview.ts │ │ │ ├── NoteRefComment.ts │ │ │ ├── RecentWorkspacesTreeview.ts │ │ │ ├── ReferenceHoverProvider.ts │ │ │ ├── ReferenceProvider.ts │ │ │ ├── RenameProvider.ts │ │ │ ├── TipOfTheDayWebview.ts │ │ │ ├── codeActionProvider.ts │ │ │ ├── completionProvider.ts │ │ │ └── windowDecorations.ts │ │ ├── fileWatcher.ts │ │ ├── injection-providers │ │ │ └── setupLocalExtContainer.ts │ │ ├── logger.ts │ │ ├── pluginSchemaUtils.ts │ │ ├── pluginVaultUtils.ts │ │ ├── scripts │ │ │ └── uninstallHook.ts │ │ ├── server.ts │ │ ├── services │ │ │ ├── CommandRegistrar.ts │ │ │ ├── EngineAPIService.ts │ │ │ ├── EngineAPIServiceInterface.ts │ │ │ ├── ITextDocumentService.ts │ │ │ ├── NoteTraitManager.ts │ │ │ ├── NoteTraitService.ts │ │ │ ├── SchemaSyncService.ts │ │ │ ├── SchemaSyncServiceInterface.ts │ │ │ ├── TextDocumentServiceFactory.ts │ │ │ ├── node │ │ │ │ └── TextDocumentService.ts │ │ │ ├── stateService.ts │ │ │ └── web │ │ │ │ └── TextDocumentService.ts │ │ ├── settings.ts │ │ ├── showcase │ │ │ ├── AllFeatureShowcases.ts │ │ │ ├── BacklinksPanelHoverTip.ts │ │ │ ├── CreateScratchNoteKeybindingTip.ts │ │ │ ├── FeatureShowcaseToaster.ts │ │ │ ├── GraphPanelTip.ts │ │ │ ├── GraphThemeTip.ts │ │ │ ├── IFeatureShowcaseMessage.ts │ │ │ ├── MeetingNotesTip.ts │ │ │ ├── ObsidianImportTip.ts │ │ │ ├── SettingsUITip.ts │ │ │ └── TipFactory.ts │ │ ├── styles.ts │ │ ├── survey.ts │ │ ├── telemetry.ts │ │ ├── telemetry │ │ │ ├── common │ │ │ │ ├── DummyTelemetryClient.ts │ │ │ │ └── ITelemetryClient.ts │ │ │ ├── node │ │ │ │ └── NodeTelemetryClient.ts │ │ │ └── web │ │ │ │ ├── WebTelemetryClient.ts │ │ │ │ └── getAnonymousId.ts │ │ ├── test │ │ │ ├── MockDendronExtension.ts │ │ │ ├── MockPreviewProxy.ts │ │ │ ├── expect.ts │ │ │ ├── perf-test │ │ │ │ ├── PerfTesting.test.ts │ │ │ │ └── index.ts │ │ │ ├── presets │ │ │ │ └── GotoNotePreset.ts │ │ │ ├── runPerfTest.ts │ │ │ ├── runTest.ts │ │ │ ├── runTestInteg.ts │ │ │ ├── suite-integ │ │ │ │ ├── AddAndCommitCommand.test.ts │ │ │ │ ├── AddExistingVaultCommand.test.ts │ │ │ │ ├── ApplyTemplateCommand.test.ts │ │ │ │ ├── BacklinksTreeDataProvider.test.ts │ │ │ │ ├── ChangeWorkspace.test.ts │ │ │ │ ├── CodeActionProvider.test.ts │ │ │ │ ├── CompletionProvider.test.ts │ │ │ │ ├── ConfigureCommand.test.ts │ │ │ │ ├── ConfigureExportPodV2.spec.ts │ │ │ │ ├── ConfigureLocalOverride.test.ts │ │ │ │ ├── ConfigurePod.spec.ts │ │ │ │ ├── ConfigureServiceConnection.spec.ts │ │ │ │ ├── ConvertLink.test.ts │ │ │ │ ├── ConvertVaultCommand.test.ts │ │ │ │ ├── CopyAsCommand.test.ts │ │ │ │ ├── CopyCodespaceURL.test.ts │ │ │ │ ├── CopyNoteLink.test.ts │ │ │ │ ├── CopyNoteRef.test.ts │ │ │ │ ├── CopyNoteUrl.test.ts │ │ │ │ ├── CreateDailyJournalNote.test.ts │ │ │ │ ├── CreateHookCommand.test.ts │ │ │ │ ├── CreateJournalNoteCommand.test.ts │ │ │ │ ├── CreateMeetingNoteCommand.test.ts │ │ │ │ ├── CreateNewVaultCommand.test.ts │ │ │ │ ├── CreateSchemaFromHierarchyCommand.test.ts │ │ │ │ ├── CreateScratchNoteCommand.test.ts │ │ │ │ ├── DefinitionProvider.test.ts │ │ │ │ ├── DeleteCommand.test.ts │ │ │ │ ├── DeleteHookCommand.test.ts │ │ │ │ ├── DiagnosticsReport.test.ts │ │ │ │ ├── DoctorCommand.test.ts │ │ │ │ ├── DuplicateNote.test.ts │ │ │ │ ├── EngineNoteProvider.test.ts │ │ │ │ ├── Extension-PostInstall.test.ts │ │ │ │ ├── Extension-PostUpgrade.test.ts │ │ │ │ ├── Extension.test.ts │ │ │ │ ├── FileWatcher.test.ts │ │ │ │ ├── FrontmatterFoldingRangeProvider.test.ts │ │ │ │ ├── GoDownCommand.test.ts │ │ │ │ ├── GoToSibling.test.ts │ │ │ │ ├── GoUpCommand.test.ts │ │ │ │ ├── Goto.test.ts │ │ │ │ ├── GotoNote.test.ts │ │ │ │ ├── ImportPod.test.ts │ │ │ │ ├── InsertNoteIndexCommand.test.ts │ │ │ │ ├── InsertNoteLink.test.ts │ │ │ │ ├── InstrumentedWrapperCommand.test.ts │ │ │ │ ├── Keybinding.test.ts │ │ │ │ ├── LookupJournal.test.ts │ │ │ │ ├── LookupProviderV3.test.ts │ │ │ │ ├── LookupScratch.test.ts │ │ │ │ ├── LookupUtils.test.ts │ │ │ │ ├── MergeNoteCommand.test.ts │ │ │ │ ├── MigrateSelfContainedVault.test.ts │ │ │ │ ├── MockEngineEvents.ts │ │ │ │ ├── MoveHeader.test.ts │ │ │ │ ├── MoveNoteCommand.test.ts │ │ │ │ ├── MoveSelectionToCommand.test.ts │ │ │ │ ├── NativeTreeView.test.ts │ │ │ │ ├── NoteLookupCommand.test.ts │ │ │ │ ├── OpenBackupCommand.test.ts │ │ │ │ ├── OpenLink.test.ts │ │ │ │ ├── OutOfDateSeedCheck.test.ts │ │ │ │ ├── PasteFile.test.ts │ │ │ │ ├── PasteLink.test.ts │ │ │ │ ├── PreviewLinkHandler.test.ts │ │ │ │ ├── PreviewPanel.test.ts │ │ │ │ ├── PublishPod.test.ts │ │ │ │ ├── RandomNoteCommand.test.ts │ │ │ │ ├── RefactorHierarchy.test.ts │ │ │ │ ├── ReferenceHoverProvider.test.ts │ │ │ │ ├── ReferenceProvider.test.ts │ │ │ │ ├── ReloadIndex.test.ts │ │ │ │ ├── RemoveVaultCommand.test.ts │ │ │ │ ├── RenameHeader.test.ts │ │ │ │ ├── RenameNoteCommand.test.ts │ │ │ │ ├── RenameProvider.test.ts │ │ │ │ ├── RunMigrationCommand.test.ts │ │ │ │ ├── SchemaLookupCommand.test.ts │ │ │ │ ├── SchemaSyncService.test.ts │ │ │ │ ├── SeedCommand.test.ts │ │ │ │ ├── SetupWorkspace.test.ts │ │ │ │ ├── ShowLegacyPreview.test.ts │ │ │ │ ├── StartServer.test.ts │ │ │ │ ├── StatisticsUtils.test.ts │ │ │ │ ├── Survey.test.ts │ │ │ │ ├── SyncCommand.test.ts │ │ │ │ ├── TaskStatus.test.ts │ │ │ │ ├── TextDocumentService.test.ts │ │ │ │ ├── TogglePreview.test.ts │ │ │ │ ├── TogglePreviewLock.test.ts │ │ │ │ ├── ValidateEngineCommand.test.ts │ │ │ │ ├── VaultAddCommand.test.ts │ │ │ │ ├── WindowDecorations.test.ts │ │ │ │ ├── WindowWatcher.test.ts │ │ │ │ ├── WorkspaceInit.test.ts │ │ │ │ ├── WorkspaceWatcher.test.ts │ │ │ │ ├── analytics.test.ts │ │ │ │ ├── autoCompleter.test.ts │ │ │ │ ├── buttons.test.ts │ │ │ │ ├── components │ │ │ │ │ ├── lookup │ │ │ │ │ │ ├── LookupControllerV3.test.ts │ │ │ │ │ │ ├── LookupViewModel.test.ts │ │ │ │ │ │ └── utils.test.ts │ │ │ │ │ ├── pods │ │ │ │ │ │ ├── AirtableExportPodCommand.test.ts │ │ │ │ │ │ ├── BaseExportPodCommand.test.ts │ │ │ │ │ │ ├── GoogleDocsExportCommand.test.ts │ │ │ │ │ │ ├── JSONExportCommand.test.ts │ │ │ │ │ │ └── TestExportCommand.ts │ │ │ │ │ └── traits │ │ │ │ │ │ ├── CommandRegistrar.test.ts │ │ │ │ │ │ ├── CreateNoteWithTraitCommand.test.ts │ │ │ │ │ │ ├── NoteTraitService.test.ts │ │ │ │ │ │ ├── RegisterNoteTraitCommand.test.ts │ │ │ │ │ │ ├── TestTrait.ts │ │ │ │ │ │ └── testJSTraits │ │ │ │ │ │ ├── InvalidTestTrait.js │ │ │ │ │ │ ├── TestTraitUsingModules.js │ │ │ │ │ │ └── UserTestTrait.js │ │ │ │ ├── errorReporting.test.ts │ │ │ │ ├── index.ts │ │ │ │ ├── logger.test.ts │ │ │ │ ├── md.test.ts │ │ │ │ ├── migration.test.ts │ │ │ │ ├── setupLocalExtContainer.test.ts │ │ │ │ ├── utils.test.ts │ │ │ │ └── workspaceActivator.test.ts │ │ │ ├── suite │ │ │ │ └── index.ts │ │ │ ├── testUtils.ts │ │ │ ├── testUtilsV3.ts │ │ │ ├── testUtilsv2.ts │ │ │ └── utils │ │ │ │ ├── TestSeedUtils.ts │ │ │ │ ├── index.ts │ │ │ │ ├── vscode-test-utils.ts │ │ │ │ └── workspace.ts │ │ ├── traits │ │ │ ├── MeetingNote.ts │ │ │ ├── TraitUtils.ts │ │ │ ├── UserDefinedTraitV1.ts │ │ │ ├── journal.ts │ │ │ └── webpack-require-hack.ts │ │ ├── types.ts │ │ ├── types │ │ │ └── global.ts │ │ ├── utils.ts │ │ ├── utils │ │ │ ├── EditorUtils.ts │ │ │ ├── ExtensionUtils.ts │ │ │ ├── MeetingTelemHelper.ts │ │ │ ├── ProxyMetricUtils.ts │ │ │ ├── StartupPrompts.ts │ │ │ ├── StartupUtils.ts │ │ │ ├── TwoWayBinding.ts │ │ │ ├── analytics.ts │ │ │ ├── autoCompleter.ts │ │ │ ├── files.ts │ │ │ ├── frontmatter.ts │ │ │ ├── index.ts │ │ │ ├── md.ts │ │ │ ├── pods.ts │ │ │ ├── quickPick.ts │ │ │ ├── registers │ │ │ │ └── AutoCompletableRegistrar.ts │ │ │ ├── site.ts │ │ │ └── strings.ts │ │ ├── versionProvider.ts │ │ ├── views │ │ │ ├── CalendarView.ts │ │ │ ├── GraphPanel.ts │ │ │ ├── LookupPanelView.ts │ │ │ ├── SampleView.ts │ │ │ ├── ShowMeHowView.ts │ │ │ ├── UpgradeView.ts │ │ │ ├── common │ │ │ │ └── treeview │ │ │ │ │ ├── EngineNoteProvider.ts │ │ │ │ │ ├── ITreeViewConfig.ts │ │ │ │ │ ├── NativeTreeView.ts │ │ │ │ │ ├── TreeNote.ts │ │ │ │ │ └── TreeViewDummyConfig.ts │ │ │ ├── node │ │ │ │ └── treeview │ │ │ │ │ └── MetadataSvcTreeViewConfig.ts │ │ │ └── utils.ts │ │ ├── vsCodeUtils.ts │ │ ├── web │ │ │ ├── commands │ │ │ │ ├── CopyNoteURLCmd.ts │ │ │ │ ├── NoteLookupCmd.ts │ │ │ │ ├── TogglePreviewCmd.ts │ │ │ │ └── lookup │ │ │ │ │ ├── ILookupProvider.ts │ │ │ │ │ ├── LookupQuickpickFactory.ts │ │ │ │ │ ├── NoteLookupProvider.ts │ │ │ │ │ └── VaultQuickPick.ts │ │ │ ├── engine │ │ │ │ ├── DendronEngineV3Web.ts │ │ │ │ ├── INoteRenderer.ts │ │ │ │ ├── NoteParserV2.ts │ │ │ │ ├── PluginNoteRenderer.ts │ │ │ │ └── store │ │ │ │ │ └── VSCodeFileStore.ts │ │ │ ├── extension.ts │ │ │ ├── injection-providers │ │ │ │ ├── getAssetsPrefix.ts │ │ │ │ ├── getEnablePrettlyLinks.ts │ │ │ │ ├── getSiteIndex.ts │ │ │ │ ├── getSiteUrl.ts │ │ │ │ ├── getVaults.ts │ │ │ │ ├── getWSRoot.ts │ │ │ │ ├── getWorkspaceConfig.ts │ │ │ │ └── setupWebExtContainer.ts │ │ │ ├── test │ │ │ │ ├── helpers │ │ │ │ │ ├── MockEngineAPIService.ts │ │ │ │ │ ├── WorkspaceHelpers.ts │ │ │ │ │ └── setupTestEngineContainer.ts │ │ │ │ ├── runWebIntegTest.ts │ │ │ │ └── suite │ │ │ │ │ ├── commands │ │ │ │ │ ├── CopyNoteURLCmd.test.ts │ │ │ │ │ ├── NoteLookupAutoCompleteCmd.test.ts │ │ │ │ │ └── NoteLookupCmd.test.ts │ │ │ │ │ ├── engine │ │ │ │ │ └── PluginNoteRenderer.test.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── injection-providers │ │ │ │ │ ├── getAssetsPrefix.test.ts │ │ │ │ │ ├── getSiteIndex.test.ts │ │ │ │ │ ├── getSiteUrl.test.ts │ │ │ │ │ ├── getVaults.test.ts │ │ │ │ │ ├── getWSRoot.test.ts │ │ │ │ │ └── setupWebExtContainer.test.ts │ │ │ │ │ └── views │ │ │ │ │ └── treeView │ │ │ │ │ └── EngineNoteProvider.test.ts │ │ │ ├── utils │ │ │ │ ├── ConsoleLogger.ts │ │ │ │ ├── SiteUtilsWeb.ts │ │ │ │ ├── WSUtils.ts │ │ │ │ ├── isPathInWorkspace.ts │ │ │ │ ├── note2File.ts │ │ │ │ └── openNote.ts │ │ │ └── views │ │ │ │ └── preview │ │ │ │ ├── IPreviewPanelConfig.ts │ │ │ │ ├── PreviewLinkHandler.ts │ │ │ │ ├── PreviewPanel.ts │ │ │ │ └── WebViewUtils.ts │ │ ├── windowWatcher.ts │ │ ├── workspace.ts │ │ ├── workspace │ │ │ ├── WorkspaceInitFactory.ts │ │ │ ├── baseWorkspace.ts │ │ │ ├── blankInitializer.ts │ │ │ ├── codeWorkspace.ts │ │ │ ├── nativeWorkspace.ts │ │ │ ├── seedBrowserInitializer.ts │ │ │ ├── templateInitializer.ts │ │ │ ├── tutorialInitializer.ts │ │ │ ├── workspaceActivator.ts │ │ │ └── workspaceInitializer.ts │ │ └── workspacev2.ts │ ├── templates │ │ ├── command.test.j2 │ │ └── command.ts.j2 │ ├── tsconfig.build.json │ ├── tsconfig.json │ ├── vsc-extension-quickstart.md │ ├── webpack-require-hack.js │ ├── webpack.common.js │ ├── webpack.dev.js │ ├── webpack.prod.js │ ├── webpack.webext.js │ └── yarn.lock ├── pods-core │ ├── .gitignore │ ├── .vscode │ │ └── launch.json │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── basev3.ts │ │ ├── builtin │ │ │ ├── AirtablePod.ts │ │ │ ├── EmailPod.ts │ │ │ ├── GDocPod.ts │ │ │ ├── GitPod.ts │ │ │ ├── GithubIssuePod.ts │ │ │ ├── GraphvizPod.ts │ │ │ ├── HTMLPod.ts │ │ │ ├── JSONPod.ts │ │ │ ├── MarkdownPod.ts │ │ │ ├── NextjsExportPod.ts │ │ │ ├── NotionPod.ts │ │ │ ├── OrbitPod.ts │ │ │ ├── SnapshotPod.ts │ │ │ └── index.ts │ │ ├── image-downloader.d.ts │ │ ├── index.ts │ │ ├── types.ts │ │ ├── utils.ts │ │ └── v2 │ │ │ ├── ConfigFileUtils.ts │ │ │ ├── ExportPodBase.ts │ │ │ ├── PodConfigManager.ts │ │ │ ├── external-services │ │ │ ├── AirtableConnection.ts │ │ │ ├── ExternalConnectionManager.ts │ │ │ ├── GoogleDocsConnection.ts │ │ │ └── NotionConnection.ts │ │ │ ├── index.ts │ │ │ ├── podConfig │ │ │ ├── AirtablePodConfig.ts │ │ │ ├── GoogleDocsConfig.ts │ │ │ ├── JSONPodConfig.ts │ │ │ ├── MarkdownPodConfig.ts │ │ │ ├── NotionPodConfig.ts │ │ │ ├── PodV2Types.ts │ │ │ └── index.ts │ │ │ └── pods │ │ │ └── export │ │ │ ├── AirtableExportPodV2.ts │ │ │ ├── GoogleDocsExportPodV2.ts │ │ │ ├── JSONExportPodV2.ts │ │ │ ├── MarkdownExportPodV2.ts │ │ │ └── NotionExportPodV2.ts │ ├── tsconfig.build.json │ └── tsconfig.json └── unified │ ├── .gitignore │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── package.json │ ├── src │ ├── HierarchyUtils.ts │ ├── SiteUtils.ts │ ├── decorations │ │ ├── blockAnchors.ts │ │ ├── decorations.ts │ │ ├── diagnostics.ts │ │ ├── frontmatter.ts │ │ ├── hashTags.ts │ │ ├── index.ts │ │ ├── references.ts │ │ ├── taskNotes.ts │ │ ├── userTags.ts │ │ ├── utils.ts │ │ └── wikilinks.ts │ ├── index.ts │ ├── rehype │ │ └── wrap.ts │ ├── remark │ │ ├── backlinks.ts │ │ ├── backlinksHover.ts │ │ ├── blockAnchors.ts │ │ ├── dendronPreview.ts │ │ ├── dendronPub.ts │ │ ├── extendedImage.ts │ │ ├── hashtag.ts │ │ ├── hierarchies.ts │ │ ├── index.ts │ │ ├── noteRefsV2.ts │ │ ├── publishSite.ts │ │ ├── transformLinks.ts │ │ ├── userTags.ts │ │ ├── utils.ts │ │ └── wikiLinks.ts │ ├── types.ts │ ├── utilities │ │ ├── getParsingDependencyDicts.ts │ │ └── index.ts │ ├── utils.ts │ ├── utilsWeb.ts │ ├── utilsv5.ts │ └── yaml.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── pkgjson.code-search ├── playbooks └── addTypes.yml ├── prettier.config.js ├── pull_request_template.md ├── reports ├── 245edf25f2aae9d425477dceaaed1896ab7e4ac9 ├── 27a3a1363213e472514f46bb8addf08034fcd341 ├── 3511130720393ac8a1ca1300cf03fccf07cce2f0 ├── 613574dea8bee7d641500f0e0def93e480638fdb ├── ade3216a08d7e39dcc09a7dff3fd841f1a4d5b68 └── dbc29de687b3a74fb156be82370ad8574d909209 ├── settings.json ├── setup.sh ├── shell ├── _setup_nvm_source_me.sh ├── _util.sh ├── _verify_env_variables.sh ├── _verify_node_version.sh ├── _verify_npm.sh ├── _verify_nvm_source_me.sh ├── _verify_yarn.sh └── setup.sh ├── templates ├── dendron.md.j2 └── type.d.ts.jinja ├── test-workspace ├── .gitignore ├── .vscode │ └── settings.json ├── assets │ ├── .gitignore │ ├── .vscode │ │ └── dendron.code-snippets │ ├── note-in-asset-vault.md │ ├── root.md │ └── root.schema.yml ├── custom.css ├── dendron.code-workspace ├── dendron.yml ├── dendronrc.yml ├── dependencies │ └── localhost │ │ ├── local-vault │ │ ├── dendron.yml │ │ └── notes │ │ │ ├── root.md │ │ │ └── root.schema.yml │ │ └── vault3 │ │ ├── .gitignore │ │ ├── dendron.code-workspace │ │ ├── dendron.yml │ │ └── notes │ │ ├── dendron.ref.links.target-different-vault.md │ │ ├── egg.md │ │ ├── egg.three.md │ │ ├── move.dest.md │ │ ├── move.md │ │ ├── move.should-not-update.md │ │ ├── not-secret.md │ │ ├── root.md │ │ ├── root.schema.yml │ │ └── test.md ├── header.html ├── noteTraits │ └── foo.js ├── other-files │ ├── config.ts │ ├── not-a-note.md │ └── the-book-thief.md ├── package.json ├── scripts │ ├── dev.sh │ ├── genNote.js │ ├── genVault.js │ ├── randomNote.js │ └── random_text_generator_node.js ├── vault │ ├── .vscode │ │ └── dendron.code-snippets │ ├── assets │ │ ├── dummy-pdf.pdf │ │ ├── file with space.pdf │ │ ├── images │ │ │ ├── 2020-12-16-11-37-05.png │ │ │ ├── Screen_Shot_2021-10-14_at_9.05.21_PM.png │ │ │ ├── favicon.ico │ │ │ └── logo.png │ │ ├── test.js │ │ └── think.pdf │ ├── bar.child-1.md │ ├── bar.child-2.md │ ├── bar.md │ ├── book.md │ ├── book.schema.yml │ ├── book.the-dispossessed.md │ ├── daily.journal.2021.10.26.md │ ├── daily.journal.2022.05.30.md │ ├── daily.journal.2022.05.31.md │ ├── data.driven.md │ ├── data.schema.yml │ ├── dendron.alternatives.md │ ├── dendron.apples.md │ ├── dendron.backlinks.md │ ├── dendron.backlinks.target-A.md │ ├── dendron.backlinks.target-B.md │ ├── dendron.backlinks.target-C.md │ ├── dendron.blog.md │ ├── dendron.blog.one.md │ ├── dendron.blog.sub.one.md │ ├── dendron.blog.three.md │ ├── dendron.blog.two.md │ ├── dendron.boy.md │ ├── dendron.cat.md │ ├── dendron.cmd.convert-link.md │ ├── dendron.cmd.create-schema-from-hierarchy.md │ ├── dendron.cmd.md │ ├── dendron.cmd.past-file.md │ ├── dendron.faq.md │ ├── dendron.journal.2020.07.12.bar.md │ ├── dendron.journal.2020.07.12.foo.md │ ├── dendron.journal.2020.07.12.md │ ├── dendron.journal.2020.07.md │ ├── dendron.journal.md │ ├── dendron.links.heading-anchors-diff-page.md │ ├── dendron.links.heading-anchors.md │ ├── dendron.md │ ├── dendron.note-create.md │ ├── dendron.note-lookup.md │ ├── dendron.preview.md │ ├── dendron.preview.safe-layout.md │ ├── dendron.ref.assets.md │ ├── dendron.ref.bad-syntax.md │ ├── dendron.ref.canonicalUrl.md │ ├── dendron.ref.extended-images.md │ ├── dendron.ref.figure.md │ ├── dendron.ref.footnotes.child.md │ ├── dendron.ref.footnotes.md │ ├── dendron.ref.frontmatter-tags.md │ ├── dendron.ref.frontmatter-tags.multi-array.md │ ├── dendron.ref.frontmatter-tags.multi.md │ ├── dendron.ref.hashtags.md │ ├── dendron.ref.image.md │ ├── dendron.ref.links.begin-end.md │ ├── dendron.ref.links.block-anchors.md │ ├── dendron.ref.links.md │ ├── dendron.ref.links.recursive-lvl-1.md │ ├── dendron.ref.links.recursive-lvl-2.md │ ├── dendron.ref.links.recursive-lvl-3.md │ ├── dendron.ref.links.rename-provider.md │ ├── dendron.ref.links.target-1.md │ ├── dendron.ref.links.target-2.md │ ├── dendron.ref.links.target-3.md │ ├── dendron.ref.links.target.md │ ├── dendron.ref.links.website.md │ ├── dendron.ref.markdown.md │ ├── dendron.ref.math.md │ ├── dendron.ref.md │ ├── dendron.ref.merge-note.destination.md │ ├── dendron.ref.merge-note.should-update-1.md │ ├── dendron.ref.merge-note.source.md │ ├── dendron.ref.noindex.md │ ├── dendron.ref.note-ref-override-usePrettyRefs.md │ ├── dendron.ref.note-ref.md │ ├── dendron.ref.note-ref2.md │ ├── dendron.ref.publishSite.md │ ├── dendron.ref.template-all-vars.md │ ├── dendron.ref.users.md │ ├── dendron.ref.variables.md │ ├── dendron.schema.md │ ├── dendron.schema.yml │ ├── dendron.selection-to-items.md │ ├── dendron.t.md │ ├── dendron.t.publishing.md │ ├── dendron.welcome.md │ ├── egg.md │ ├── egg.one.md │ ├── foo bar.md │ ├── foo.md │ ├── foo.one.md │ ├── foo.two.md │ ├── github.issues.31-lorem-ipsum-101-test.md │ ├── hijacked.dendron.blog.entry1.md │ ├── journal.schema.yml │ ├── languages.md │ ├── languages.python.data.bool.md │ ├── languages.python.data.integer.md │ ├── languages.python.data.md │ ├── languages.python.data.string.md │ ├── languages.python.data.string.memory.md │ ├── languages.python.machine-learning.md │ ├── languages.python.machine-learning.pandas.md │ ├── languages.python.machine-learning.scipy.md │ ├── languages.with-data.make-sense.md │ ├── lorem.ipsum.mdone.first.md │ ├── meet.journal.2021.08.17.md │ ├── meet.journal.2021.08.18.md │ ├── meet.journal.2021.08.md │ ├── meet.md │ ├── person.schema.yml │ ├── recipe.md │ ├── recipe.schema.yml │ ├── root.md │ ├── root.schema.yml │ ├── scratch.2021.08.31.004036.md │ ├── stub.child.md │ ├── stub.md │ ├── tags.Eveniet.md │ ├── tags.md │ ├── tags.test.md │ ├── tags.test1.md │ ├── tags.test2.md │ ├── tags.test3.md │ ├── tags.to-read.md │ ├── task.2021.10.26.020813.prepare-report.mail-report.md │ ├── task.2021.10.26.020813.prepare-report.md │ ├── task.2021.10.26.021747.get-documents-ready.md │ ├── task.2021.10.26.031752.task-without-status.md │ ├── template.all-vars.md │ ├── template.book.characters.md │ ├── template.book.md │ ├── template.daily.md │ ├── template.person.md │ ├── template.untyped.md │ ├── untyped_template.schema.yml │ ├── user.customer.Foo.md │ └── user.username.md ├── vault2 │ ├── .vscode │ │ └── dendron.code-snippets │ ├── assets │ │ └── test.md │ ├── bar.md │ ├── cmd.paste-file-from-2nd-vault.md │ ├── daily.journal.2021.07.02.md │ ├── daily.journal.2021.07.09.md │ ├── daily.md │ ├── dendron.ref.links.target-different-vault.md │ ├── dendron.schema.yml │ ├── egg.md │ ├── egg.two.md │ ├── languages.md │ ├── root.md │ ├── root.schema.yml │ ├── secret.md │ ├── test.md │ └── the-book-thief.md └── yarn.lock ├── tsconfig.build.json ├── tsconfig.json ├── vendor └── dendron-remark-math │ ├── block.js │ ├── index.js │ ├── inline.js │ ├── package.json │ ├── readme.md │ ├── test.js │ ├── types │ ├── index.d.ts │ ├── test.ts │ ├── tsconfig.json │ └── tslint.json │ ├── util.js │ └── yarn.lock ├── watch.sh └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | indent_size = 2 3 | indent_style = space 4 | 5 | [Makefile] 6 | indent_style = tab 7 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | vendor/**/* 2 | node_modules 3 | 4 | **/lib/** 5 | **/out/** 6 | packages/engine-server/src/drivers/generated-prisma-client/ 7 | packages/engine-server/src/generated-prisma-client/ 8 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/work-item.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Work Item 3 | about: Used by Dendron team to track current work items 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | 19 | ## Context 20 | 21 | ## Proposal 22 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | 2 | # compiled 3 | .next 4 | vendor/**/* 5 | lib 6 | node_modules 7 | out 8 | dist 9 | assets 10 | raw-assets 11 | # generated 12 | launch.json 13 | package.json 14 | settings.json 15 | public 16 | # config 17 | *.lock 18 | # tests 19 | __snapshots__ 20 | # text 21 | LICENSE 22 | *.md 23 | # scripts 24 | *.sh 25 | *.j2 26 | -------------------------------------------------------------------------------- /NOTICE.md: -------------------------------------------------------------------------------- 1 | Dendron 2 | Copyright 2020 Thence LLC. All Rights Reserved. 3 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | [ 4 | "@babel/preset-env", 5 | { targets: { node: "current" }, modules: "commonjs" }, 6 | ], 7 | "@babel/preset-typescript", 8 | ], 9 | }; 10 | -------------------------------------------------------------------------------- /bootstrap/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "eslint.enable": true 3 | } 4 | -------------------------------------------------------------------------------- /bootstrap/.vscode/spellright.dict: -------------------------------------------------------------------------------- 1 | 2 | dep 3 | -------------------------------------------------------------------------------- /bootstrap/scripts/.gitignore: -------------------------------------------------------------------------------- 1 | lib 2 | -------------------------------------------------------------------------------- /bootstrap/scripts/cleanup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Remove all compiled assets 4 | 5 | npx lerna run clean --parallel --scope "@dendronhq/{dendron-plugin-views,plugin-core,nextjs-template}" 6 | find packages -name "node_modules" -type d -prune -exec rm -rf '{}' + 7 | # rm -rf node_modules 8 | -------------------------------------------------------------------------------- /bootstrap/scripts/stats.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Generates line count statistics for the repo 4 | commit=$(git rev-list HEAD --max-count=1) 5 | cloc --vcs=git . | tee reports/$commit 6 | -------------------------------------------------------------------------------- /bootstrap/scripts/test-ci-plugin.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | npx lerna run test --scope @dendronhq/plugin-core 2>&1 4 | -------------------------------------------------------------------------------- /bootstrap/scripts/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.build.json", 3 | "compilerOptions": { 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": ["lib", "node_modules"] 8 | } -------------------------------------------------------------------------------- /bootstrap/scripts/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /bootstrap/scripts/utils.js: -------------------------------------------------------------------------------- 1 | const path = require("path"); 2 | 3 | function getProjRoot() { 4 | return path.join(__dirname, "..", ".."); 5 | } 6 | 7 | function getMetaPath() { 8 | return path.join(getProjRoot(), "meta.json"); 9 | } 10 | 11 | module.exports = { 12 | getMetaPath, 13 | getProjRoot 14 | } -------------------------------------------------------------------------------- /dev/dev.t.changelog.md: -------------------------------------------------------------------------------- 1 | # Cook 2 | 3 | ### Updating the changelog 4 | 5 | - make edits in {root}/CHANGELOG.md 6 | 7 | ```sh 8 | cp CHANGELOG.md packages/plugin-core/CHANGELOG.md 9 | git add . 10 | git commit -m "chore: update changelog" 11 | git push 12 | ``` 13 | 14 | ### Updating git tags 15 | 16 | GIT_TAG="v0.4.3" 17 | git tag $GIT_TAG --delete 18 | git push --delete origin $GIT_TAG 19 | git tag \$GIT_TAG 20 | git push --tags 21 | -------------------------------------------------------------------------------- /docs.code-search: -------------------------------------------------------------------------------- 1 | # Query: . 2 | # Flags: CaseSensitive WordMatch 3 | # Including: *.md 4 | # ContextLines: 1 5 | 6 | -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | dendron-docs 2 | seeds 3 | 4 | generated-api-* 5 | .backup 6 | -------------------------------------------------------------------------------- /extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "dbaeumer.vscode-eslint", 4 | "esbenp.prettier-vscode", 5 | "amatiasq.sort-imports" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /hooks/exec.js: -------------------------------------------------------------------------------- 1 | const execa = require('execa'); 2 | const exec = execa.commandSync; 3 | 4 | exports.exec = exec; 5 | 6 | -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- 1 | { 2 | "packages": [ 3 | "packages/*", 4 | "bootstrap/scripts" 5 | ], 6 | "npmClient": "yarn", 7 | "useWorkspaces": true, 8 | "command": { 9 | "version": { 10 | "conventionalCommits": true, 11 | "message": "chore(release): publish", 12 | "changelogPreset": "@dendronhq/conventional-changelog-dendron", 13 | "yes": true 14 | } 15 | }, 16 | "version": "0.124.0" 17 | } 18 | -------------------------------------------------------------------------------- /logs/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/logs/.gitkeep -------------------------------------------------------------------------------- /packages/_pkg-template/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/_pkg-template/README.md -------------------------------------------------------------------------------- /packages/_pkg-template/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/_pkg-template/index.ts -------------------------------------------------------------------------------- /packages/_pkg-template/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.build.json", 3 | "compilerOptions": { 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": ["node_modules", "**/*-spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /packages/api-server/.gitignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | node_modules/ 3 | npm-debug.log* 4 | .nyc_output 5 | lib 6 | lib_test 7 | stdout 8 | -------------------------------------------------------------------------------- /packages/api-server/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/api-server/README.md: -------------------------------------------------------------------------------- 1 | # README 2 | -------------------------------------------------------------------------------- /packages/api-server/env/integ.yml: -------------------------------------------------------------------------------- 1 | LOG_NAME: api-server 2 | LOG_DST: ../../logs/api-server.log 3 | LOG_LVL: DEBUG 4 | -------------------------------------------------------------------------------- /packages/api-server/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Cat Coding 7 | 8 | 9 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /packages/api-server/src/constants.ts: -------------------------------------------------------------------------------- 1 | import { DendronError } from "@dendronhq/common-all"; 2 | 3 | export const LOG_FILE_NAME = "dendron.server.log"; 4 | export const LOGGER_NAME = "api-server"; 5 | 6 | export function getLogPath(): string { 7 | if (!process.env["LOG_DST"]) { 8 | throw new DendronError({ message: "log not set" }); 9 | } 10 | return process.env["LOG_DST"]; 11 | } 12 | -------------------------------------------------------------------------------- /packages/api-server/src/start.ts: -------------------------------------------------------------------------------- 1 | import process from "process"; 2 | import { launchv2 } from "./index"; 3 | const port = process.env.PORT || 3000; 4 | const logPath = process.env.LOG_DST; 5 | launchv2({ port: port as number, logPath }); 6 | -------------------------------------------------------------------------------- /packages/api-server/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.build.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": ["node_modules", "**/*-spec.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /packages/api-server/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/common-all/.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | -------------------------------------------------------------------------------- /packages/common-all/.gitignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | node_modules/ 3 | npm-debug.log* 4 | .nyc_output 5 | lib 6 | lib_test 7 | -------------------------------------------------------------------------------- /packages/common-all/.npmignore: -------------------------------------------------------------------------------- 1 | # gitignore 2 | 3 | coverage/ 4 | node_modules/ 5 | npm-debug.log* 6 | .nyc_output 7 | lib 8 | lib_test 9 | 10 | # npmignore 11 | 12 | src/ 13 | __tests__/ 14 | .vscode/ 15 | -------------------------------------------------------------------------------- /packages/common-all/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "typescript.tsdk": "node_modules/typescript/lib/", 3 | "eslint.enable": true 4 | } 5 | -------------------------------------------------------------------------------- /packages/common-all/src/assert.ts: -------------------------------------------------------------------------------- 1 | import _ from "lodash"; 2 | 3 | export class AssertionError extends Error {} 4 | 5 | export function assertExists(val: T, msg: string): NonNullable { 6 | if (_.isNull(val) || _.isUndefined(val)) { 7 | throw new AssertionError(msg); 8 | } 9 | // @ts-ignore 10 | return val; 11 | } 12 | 13 | export function assert(statement: boolean, msg: string) { 14 | if (!statement) { 15 | throw new AssertionError(msg); 16 | } else { 17 | return true; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /packages/common-all/src/constants/frontend.ts: -------------------------------------------------------------------------------- 1 | /** The HTML element class used for footnote definitions. */ 2 | export const FOOTNOTE_DEF_CLASS = "fn"; 3 | /** The HTML element class used for footnote references. */ 4 | export const FOOTNOTE_REF_CLASS = "fnref"; 5 | -------------------------------------------------------------------------------- /packages/common-all/src/drivers/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./string2Note"; 2 | export * from "./vault2Path"; 3 | -------------------------------------------------------------------------------- /packages/common-all/src/engine/EngineEventEmitter.ts: -------------------------------------------------------------------------------- 1 | import { Disposable, Event, NoteChangeEntry } from "../types"; 2 | 3 | /** 4 | * Interface providing events signaling changes that have been made to engine 5 | * state 6 | */ 7 | export interface EngineEventEmitter extends Disposable { 8 | /** 9 | * Event that fires upon the changing of note state in the engine. 10 | */ 11 | get onEngineNoteStateChanged(): Event; 12 | } 13 | -------------------------------------------------------------------------------- /packages/common-all/src/engine/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./EngineEventEmitter"; 2 | export * from "./EngineV3Base"; 3 | -------------------------------------------------------------------------------- /packages/common-all/src/logger.ts: -------------------------------------------------------------------------------- 1 | export type DLogger = { 2 | name?: string; 3 | level: any; 4 | debug: (msg: any) => void; 5 | info: (msg: any) => void; 6 | error: (msg: any) => void; 7 | }; 8 | -------------------------------------------------------------------------------- /packages/common-all/src/store/IMetadataStore.ts: -------------------------------------------------------------------------------- 1 | import { NotePropsMeta } from "../types"; 2 | import { IDataStore } from "./IDataStore"; 3 | 4 | export type INoteMetadataStore = IDataStore; 5 | -------------------------------------------------------------------------------- /packages/common-all/src/store/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./IFileStore"; 2 | export * from "./IDataStore"; 3 | export * from "./INoteStore"; 4 | export * from "./NoteMetadataStore"; 5 | export * from "./NoteStore"; 6 | export * from "./ISchemaStore"; 7 | export * from "./SchemaMetadataStore"; 8 | export * from "./SchemaStore"; 9 | export * from "./FuseMetadataStore"; 10 | export * from "./IMetadataStore"; 11 | export * from "./IDataQuery"; 12 | -------------------------------------------------------------------------------- /packages/common-all/src/themes.ts: -------------------------------------------------------------------------------- 1 | type Theme = { 2 | bodyBackground: string; 3 | }; 4 | 5 | const LIGHT: Theme = { 6 | bodyBackground: "#ffffff", 7 | }; 8 | 9 | const DARK: Theme = { 10 | bodyBackground: "#303030", 11 | }; 12 | 13 | export const THEMES = { 14 | DARK, 15 | LIGHT, 16 | }; 17 | -------------------------------------------------------------------------------- /packages/common-all/src/time.ts: -------------------------------------------------------------------------------- 1 | import { DateTime } from "luxon"; 2 | 3 | export class Time { 4 | static now() { 5 | return DateTime.local(); 6 | } 7 | static DateTime = DateTime; 8 | } 9 | -------------------------------------------------------------------------------- /packages/common-all/src/types/DWorkspace.ts: -------------------------------------------------------------------------------- 1 | import { DVault } from "./DVault"; 2 | import { RemoteEndpoint } from "./RemoteEndpoint"; 3 | 4 | export type DWorkspace = { 5 | name: string; 6 | vaults: DVault[]; 7 | remote: RemoteEndpoint; 8 | }; 9 | 10 | export type DWorkspaceEntry = Omit; 11 | -------------------------------------------------------------------------------- /packages/common-all/src/types/DendronWorkspace.ts: -------------------------------------------------------------------------------- 1 | import { DVault } from "./DVault"; 2 | import { RemoteEndpoint } from "./RemoteEndpoint"; 3 | 4 | export type DendronWorkspace = { 5 | name: string; 6 | vaults: DVault[]; 7 | remote: RemoteEndpoint; 8 | }; 9 | -------------------------------------------------------------------------------- /packages/common-all/src/types/DendronWorkspaceEntry.ts: -------------------------------------------------------------------------------- 1 | import { DendronWorkspace } from "./DendronWorkspace"; 2 | 3 | export type DendronWorkspaceEntry = Omit; 4 | -------------------------------------------------------------------------------- /packages/common-all/src/types/ReducedDEngine.ts: -------------------------------------------------------------------------------- 1 | import { DEngine } from "./typesv2"; 2 | 3 | /** 4 | * Subset of DEngine capabilities designed to support Dendron as a Web Extension 5 | */ 6 | export type ReducedDEngine = Pick< 7 | DEngine, 8 | | "wsRoot" 9 | | "getNote" 10 | | "getNoteMeta" 11 | | "bulkGetNotes" 12 | | "bulkGetNotesMeta" 13 | | "findNotes" 14 | | "findNotesMeta" 15 | | "deleteNote" 16 | | "bulkWriteNotes" 17 | | "writeNote" 18 | | "renameNote" 19 | | "queryNotes" 20 | >; 21 | -------------------------------------------------------------------------------- /packages/common-all/src/types/RemoteEndpoint.ts: -------------------------------------------------------------------------------- 1 | export type RemoteEndpoint = { 2 | type: "git"; 3 | url: string; 4 | }; 5 | -------------------------------------------------------------------------------- /packages/common-all/src/types/SeedEntry.ts: -------------------------------------------------------------------------------- 1 | import { SeedSite } from "./seed"; 2 | 3 | export type SeedEntry = { 4 | /** 5 | * Specific branch to pull from 6 | */ 7 | branch?: string; 8 | /** 9 | * When in this seed, what url to use 10 | */ 11 | site?: SeedSite; 12 | }; 13 | -------------------------------------------------------------------------------- /packages/common-all/src/types/cacheData.ts: -------------------------------------------------------------------------------- 1 | import { NotePropsMeta } from "./foundation"; 2 | 3 | export type FileSystemCache = { 4 | version: number; 5 | }; 6 | 7 | export type NotesCache = { 8 | version: number; 9 | notes: NotesCacheEntryMap; 10 | }; 11 | export type NotesCacheEntryMap = { [key: string]: NotesCacheEntry }; 12 | export type NotesCacheEntry = { 13 | hash: string; 14 | data: NotePropsMeta; 15 | }; 16 | -------------------------------------------------------------------------------- /packages/common-all/src/types/configs/commands/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./commands"; 2 | export * from "./insertNoteIndex"; 3 | export * from "./insertNoteLink"; 4 | export * from "./lookup"; 5 | export * from "./randomNote"; 6 | export * from "./copyNoteLink"; 7 | -------------------------------------------------------------------------------- /packages/common-all/src/types/configs/commands/insertNoteIndex.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Namespace for configuring {@link InsertNoteIndexCommand} 3 | */ 4 | export type InsertNoteIndexConfig = { 5 | enableMarker: boolean; 6 | }; 7 | 8 | /** 9 | * Generates default {@link InsertNoteIndexConfig} 10 | * @returns InsertNoteIndexConfig 11 | */ 12 | export function genDefaultInsertNoteIndexConfig(): InsertNoteIndexConfig { 13 | return { 14 | enableMarker: false, 15 | }; 16 | } 17 | -------------------------------------------------------------------------------- /packages/common-all/src/types/configs/commands/randomNote.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Namespace for configuring {@link RandomNoteCommand} 3 | */ 4 | export type RandomNoteConfig = { 5 | include?: string[]; 6 | exclude?: string[]; 7 | }; 8 | 9 | /** 10 | * Generates default {@link RandomNoteConfig} 11 | * @returns RandomNoteConfig 12 | */ 13 | export function genDefaultRandomNoteConfig(): RandomNoteConfig { 14 | return {}; 15 | } 16 | -------------------------------------------------------------------------------- /packages/common-all/src/types/configs/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./commands"; 2 | export * from "./workspace"; 3 | export * from "./preview"; 4 | export * from "./global/global"; 5 | export * from "./publishing"; 6 | export * from "./dev/DendronDevConfig"; 7 | export * from "./dendronConfig"; 8 | -------------------------------------------------------------------------------- /packages/common-all/src/types/configs/preview/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./preview"; 2 | -------------------------------------------------------------------------------- /packages/common-all/src/types/configs/publishing/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./github"; 2 | export * from "./publishing"; 3 | export * from "./seo"; 4 | export * from "./giscus"; 5 | -------------------------------------------------------------------------------- /packages/common-all/src/types/configs/workspace/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./graph"; 2 | export * from "./journal"; 3 | export * from "./scratch"; 4 | export * from "./types"; 5 | export * from "./DendronWorkspaceConfig"; 6 | export * from "./task"; 7 | -------------------------------------------------------------------------------- /packages/common-all/src/types/configs/workspace/types.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Enum definition of possible note add behavior values. 3 | */ 4 | export enum NoteAddBehaviorEnum { 5 | childOfDomain = "childOfDomain", 6 | childOfDomainNamespace = "childOfDomainNamespace", 7 | childOfCurrent = "childOfCurrent", 8 | asOwnDomain = "asOwnDomain", 9 | } 10 | 11 | /** 12 | * String literal type generated from {@link NoteAddBehaviorEnum} 13 | */ 14 | export type NoteAddBehavior = keyof typeof NoteAddBehaviorEnum; 15 | -------------------------------------------------------------------------------- /packages/common-all/src/types/hooks.ts: -------------------------------------------------------------------------------- 1 | export type DHookEntry = { 2 | id: string; 3 | pattern: string; 4 | type: "js"; 5 | }; 6 | 7 | export type DHookDict = { 8 | onCreate: DHookEntry[]; 9 | }; 10 | 11 | export enum DHookType { 12 | onCreate = "onCreate", 13 | } 14 | -------------------------------------------------------------------------------- /packages/common-all/src/types/store.ts: -------------------------------------------------------------------------------- 1 | import { NoteProps, NotePropsMeta } from "./foundation"; 2 | import { SchemaModuleProps } from "./typesv2"; 3 | 4 | // Types used on the store layer 5 | 6 | export type WriteNoteOpts = { 7 | key: K; 8 | note: NoteProps; 9 | }; 10 | 11 | export type WriteNoteMetaOpts = { 12 | key: K; 13 | noteMeta: NotePropsMeta; 14 | }; 15 | 16 | export type WriteSchemaOpts = { 17 | key: K; 18 | schema: SchemaModuleProps; 19 | }; 20 | -------------------------------------------------------------------------------- /packages/common-all/src/util/cache/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./cache"; 2 | export * from "./lruCache"; 3 | -------------------------------------------------------------------------------- /packages/common-all/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.build.json", 3 | "compilerOptions": { 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": ["node_modules", "**/*-spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /packages/common-assets/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | 3 | # vercel 4 | .vercel 5 | 6 | public/*.ico 7 | public/*.svg 8 | public/*.css 9 | public/js -------------------------------------------------------------------------------- /packages/common-assets/README.md: -------------------------------------------------------------------------------- 1 | This package contains javascript and css used in other Dendron projects 2 | -------------------------------------------------------------------------------- /packages/common-assets/assets/fontello/font/fontello.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/fontello/font/fontello.eot -------------------------------------------------------------------------------- /packages/common-assets/assets/fontello/font/fontello.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/fontello/font/fontello.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/fontello/font/fontello.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/fontello/font/fontello.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/fontello/font/fontello.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/fontello/font/fontello.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_AMS-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_AMS-Regular.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_AMS-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_AMS-Regular.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_AMS-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_AMS-Regular.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Caligraphic-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Caligraphic-Bold.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Caligraphic-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Caligraphic-Bold.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Caligraphic-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Caligraphic-Bold.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Caligraphic-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Caligraphic-Regular.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Caligraphic-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Caligraphic-Regular.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Caligraphic-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Caligraphic-Regular.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Fraktur-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Fraktur-Bold.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Fraktur-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Fraktur-Bold.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Fraktur-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Fraktur-Bold.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Fraktur-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Fraktur-Regular.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Fraktur-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Fraktur-Regular.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Fraktur-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Fraktur-Regular.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Main-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Main-Bold.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Main-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Main-Bold.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Main-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Main-Bold.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Main-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Main-BoldItalic.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Main-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Main-BoldItalic.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Main-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Main-BoldItalic.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Main-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Main-Italic.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Main-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Main-Italic.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Main-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Main-Italic.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Main-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Main-Regular.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Main-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Main-Regular.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Main-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Main-Regular.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Math-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Math-BoldItalic.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Math-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Math-BoldItalic.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Math-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Math-BoldItalic.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Math-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Math-Italic.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Math-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Math-Italic.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Math-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Math-Italic.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Bold.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Bold.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Bold.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Italic.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Italic.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Italic.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Regular.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Regular.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_SansSerif-Regular.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Script-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Script-Regular.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Script-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Script-Regular.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Script-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Script-Regular.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Size1-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Size1-Regular.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Size1-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Size1-Regular.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Size1-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Size1-Regular.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Size2-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Size2-Regular.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Size2-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Size2-Regular.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Size2-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Size2-Regular.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Size3-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Size3-Regular.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Size3-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Size3-Regular.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Size3-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Size3-Regular.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Size4-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Size4-Regular.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Size4-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Size4-Regular.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Size4-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Size4-Regular.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Typewriter-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Typewriter-Regular.ttf -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Typewriter-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Typewriter-Regular.woff -------------------------------------------------------------------------------- /packages/common-assets/assets/katex-fonts/KaTeX_Typewriter-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/katex-fonts/KaTeX_Typewriter-Regular.woff2 -------------------------------------------------------------------------------- /packages/common-assets/assets/top/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/common-assets/assets/top/favicon.ico -------------------------------------------------------------------------------- /packages/common-assets/styles/scss/_variables.scss: -------------------------------------------------------------------------------- 1 | /* 2 | Other 3 | ========================================================================== */ 4 | 5 | $border-radius: 4px !default; 6 | $global-transition: all 0.2s ease-in-out !default; 7 | 8 | /* === Minimal Mistakes */ 9 | $primary-color: #6f777d !default; 10 | -------------------------------------------------------------------------------- /packages/common-assets/styles/scss/seeds.module.scss: -------------------------------------------------------------------------------- 1 | .listDiv { 2 | padding: 50px 50px; 3 | } 4 | 5 | .cardMeta { 6 | height: 200px; 7 | } 8 | 9 | .cardMeta > div { 10 | max-height: 200px; 11 | text-overflow: ellipsis; 12 | } -------------------------------------------------------------------------------- /packages/common-assets/styles/scss/support/_functions.scss: -------------------------------------------------------------------------------- 1 | @use "sass:math"; 2 | 3 | @function rem($size, $unit: "") { 4 | $remSize: math.div($size, $root-font-size); 5 | 6 | @if ($unit == false) { 7 | @return #{$remSize}; 8 | } @else { 9 | @return #{$remSize}rem; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /packages/common-assets/styles/scss/support/mixins/mixins.scss: -------------------------------------------------------------------------------- 1 | @import "./layout"; 2 | @import "./buttons"; 3 | @import "./typography"; 4 | -------------------------------------------------------------------------------- /packages/common-assets/styles/scss/support/support.scss: -------------------------------------------------------------------------------- 1 | @import "./variables"; 2 | @import "./functions"; 3 | @import "./mixins/mixins"; 4 | -------------------------------------------------------------------------------- /packages/common-assets/styles/scss/utilities/utilities.scss: -------------------------------------------------------------------------------- 1 | @import "./typography"; 2 | -------------------------------------------------------------------------------- /packages/common-frontend/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | lib -------------------------------------------------------------------------------- /packages/common-frontend/src/components/index.ts: -------------------------------------------------------------------------------- 1 | export { DendronNote } from "./DendronNote"; 2 | -------------------------------------------------------------------------------- /packages/common-frontend/src/constants.ts: -------------------------------------------------------------------------------- 1 | export const FRONTEND_CONSTANTS = { 2 | DEFAULT_DATA_DIR: "data" 3 | } -------------------------------------------------------------------------------- /packages/common-frontend/src/features/engine/index.ts: -------------------------------------------------------------------------------- 1 | import * as engineSlice from "./slice"; 2 | 3 | export { engineSlice }; 4 | export { store as engineStore, AppDispatch as EngineDispatch } from "./store"; 5 | export * as engineHooks from "./hooks"; 6 | export * as engineSliceUtils from "./utils"; 7 | -------------------------------------------------------------------------------- /packages/common-frontend/src/features/engine/store.ts: -------------------------------------------------------------------------------- 1 | import { configureStore } from "@reduxjs/toolkit"; 2 | import { reducer } from "./slice"; 3 | const store = configureStore({ 4 | reducer: { 5 | engine: reducer, 6 | }, 7 | }); 8 | 9 | export { store }; 10 | export type RootState = ReturnType; 11 | export type AppDispatch = typeof store.dispatch; 12 | -------------------------------------------------------------------------------- /packages/common-frontend/src/features/engine/utils.ts: -------------------------------------------------------------------------------- 1 | import _ from "lodash"; 2 | import { EngineState } from "./slice"; 3 | 4 | export const hasInitialized = (engine: EngineState) => { 5 | return ( 6 | engine.loading === "idle" && 7 | !_.isEmpty(engine.notes) && 8 | !_.isEmpty(engine.vaults) 9 | ); 10 | }; 11 | -------------------------------------------------------------------------------- /packages/common-frontend/src/features/ide/hooks.ts: -------------------------------------------------------------------------------- 1 | import { TypedUseSelectorHook, useDispatch, useSelector } from "react-redux"; 2 | import { AppDispatch, RootState } from "./store"; 3 | 4 | export const useIDEAppDispatch = () => useDispatch(); 5 | export const useIDEAppSelector: TypedUseSelectorHook = useSelector; 6 | -------------------------------------------------------------------------------- /packages/common-frontend/src/features/ide/index.ts: -------------------------------------------------------------------------------- 1 | import * as ideSlice from "./slice"; 2 | export { ideSlice }; 3 | export { store as ideStore, AppDispatch as ideDispatch } from "./store"; 4 | export * as ideHooks from "./hooks"; 5 | -------------------------------------------------------------------------------- /packages/common-frontend/src/features/ide/store.ts: -------------------------------------------------------------------------------- 1 | import { configureStore } from "@reduxjs/toolkit"; 2 | import { reducer } from "./slice"; 3 | 4 | const store = configureStore({ 5 | reducer: { 6 | ide: reducer, 7 | }, 8 | }); 9 | 10 | export { store }; 11 | export type RootState = ReturnType; 12 | export type AppDispatch = typeof store.dispatch; 13 | -------------------------------------------------------------------------------- /packages/common-frontend/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./features"; 2 | export * from "./utils"; 3 | export * from "./components"; 4 | export * from "./constants"; 5 | export * from "react-redux"; 6 | export * from "./themes/utils"; 7 | export * from "./types"; 8 | // @ts-ignore 9 | export * from "@reduxjs/toolkit"; 10 | -------------------------------------------------------------------------------- /packages/common-frontend/src/utils/hooks.ts: -------------------------------------------------------------------------------- 1 | import { useEffect, useRef } from "react"; 2 | 3 | export function usePreviousValue(value: T) { 4 | const ref = useRef(); 5 | useEffect(() => { 6 | ref.current = value; 7 | }); 8 | return ref.current; 9 | } 10 | -------------------------------------------------------------------------------- /packages/common-frontend/src/utils/index.ts: -------------------------------------------------------------------------------- 1 | import querystring from "querystring"; 2 | 3 | export * from "./logger"; 4 | export * from "./vscode"; 5 | export * from "./hooks"; 6 | export { querystring }; 7 | -------------------------------------------------------------------------------- /packages/common-frontend/src/utils/logger.ts: -------------------------------------------------------------------------------- 1 | import Amplify, { Logger } from "@aws-amplify/core"; 2 | 3 | export enum LOG_LEVEL { 4 | DEBUG = "DEBUG", 5 | INFO = "INFO", 6 | ERROR = "ERROR", 7 | } 8 | 9 | export function createLogger(name: string) { 10 | return new Logger(name); 11 | } 12 | 13 | export function setLogLevel(lvl: LOG_LEVEL) { 14 | Amplify.Logger.LOG_LEVEL = lvl; 15 | } 16 | -------------------------------------------------------------------------------- /packages/common-frontend/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.build.json", 3 | "compilerOptions": { 4 | "outDir": "lib", 5 | "jsx": "react", 6 | "esModuleInterop": true, 7 | "sourceMap": true, 8 | "rootDir": "src", 9 | "lib": ["dom", "dom.iterable", "esnext"], 10 | }, 11 | "include": ["src/**/*"], 12 | "exclude": ["node_modules", "**/*-spec.ts", "**/*.d.ts"] 13 | } 14 | -------------------------------------------------------------------------------- /packages/common-server/.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | -------------------------------------------------------------------------------- /packages/common-server/.gitignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | node_modules/ 3 | npm-debug.log* 4 | .nyc_output 5 | lib 6 | lib_test 7 | -------------------------------------------------------------------------------- /packages/common-server/.npmignore: -------------------------------------------------------------------------------- 1 | # gitignore 2 | 3 | coverage/ 4 | node_modules/ 5 | npm-debug.log* 6 | .nyc_output 7 | lib 8 | lib_test 9 | 10 | # npmignore 11 | 12 | src/ 13 | __tests__/ 14 | .vscode/ 15 | -------------------------------------------------------------------------------- /packages/common-server/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2.0", 3 | "configurations": [] 4 | } 5 | -------------------------------------------------------------------------------- /packages/common-server/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "typescript.tsdk": "node_modules/typescript/lib/" 3 | } 4 | -------------------------------------------------------------------------------- /packages/common-server/.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0.0", 3 | "tasks": [] 4 | } 5 | -------------------------------------------------------------------------------- /packages/common-server/src/backup/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./service"; 2 | export * from "./backupServiceInterface"; 3 | -------------------------------------------------------------------------------- /packages/common-server/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./files"; 2 | export * from "./filesv2"; 3 | export * from "./logger"; 4 | export * from "./parser"; 5 | export * from "./git"; 6 | export * from "./etc"; 7 | export * from "./system"; 8 | export * from "./analytics"; 9 | export * from "./errorReporting"; 10 | export * from "./types"; 11 | export * from "./server"; 12 | export * from "./template"; 13 | export * from "./StateValidator"; 14 | export * from "./DConfig"; 15 | export * from "./backup"; 16 | -------------------------------------------------------------------------------- /packages/common-server/src/system.ts: -------------------------------------------------------------------------------- 1 | import process from "process"; 2 | import os from "os"; 3 | 4 | export function getOS() { 5 | return os.platform(); 6 | } 7 | 8 | export function getDurationMilliseconds(start: [number, number]) { 9 | const [secs, nanosecs] = process.hrtime(start); 10 | return secs * 1000 + Math.floor(nanosecs / 1000000); 11 | } 12 | -------------------------------------------------------------------------------- /packages/common-server/src/types/index.ts: -------------------------------------------------------------------------------- 1 | import { NoteProps } from "@dendronhq/common-all"; 2 | import execa from "execa"; 3 | import axios from "axios"; 4 | import _ from "lodash"; 5 | 6 | export { CommentJSONObject, CommentJSONValue } from "comment-json"; 7 | 8 | export type DHookFunction = (opts: { 9 | note: NoteProps; 10 | execa: typeof execa; 11 | axios: typeof axios; 12 | _: typeof _; 13 | }) => Promise; 14 | -------------------------------------------------------------------------------- /packages/common-server/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.build.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "src" 6 | }, 7 | "include": [ 8 | "src/**/*" 9 | ], 10 | "exclude": [ 11 | "node_modules", 12 | "**/*-spec.ts" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /packages/common-server/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/common-test-utils/.gitignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | node_modules/ 3 | npm-debug.log* 4 | .nyc_output 5 | lib 6 | lib_test 7 | -------------------------------------------------------------------------------- /packages/common-test-utils/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/common-test-utils/README.md: -------------------------------------------------------------------------------- 1 | # README 2 | -------------------------------------------------------------------------------- /packages/common-test-utils/src/presets/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./plugin-core"; 2 | export * from "./utils"; 3 | export * from "./notes"; 4 | export * from "./schemas"; 5 | -------------------------------------------------------------------------------- /packages/common-test-utils/src/presets/plugin-core/index.ts: -------------------------------------------------------------------------------- 1 | import LOOKUP_SINGLE_TEST_PRESET from "./lookup-single"; 2 | 3 | export const PLUGIN_CORE = { 4 | LOOKUP_SINGLE_TEST_PRESET, 5 | }; 6 | -------------------------------------------------------------------------------- /packages/common-test-utils/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.build.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "src", 6 | "skipLibCheck": true 7 | }, 8 | "exclude": ["node_modules", "**/*-spec.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /packages/dendron-cli/.gitignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | node_modules/ 3 | npm-debug.log* 4 | .nyc_output 5 | lib 6 | lib_test 7 | src/proto-* 8 | stdout 9 | -------------------------------------------------------------------------------- /packages/dendron-cli/.npmignore: -------------------------------------------------------------------------------- 1 | # gitignore 2 | 3 | coverage/ 4 | node_modules/ 5 | npm-debug.log* 6 | .nyc_output 7 | lib 8 | lib_test 9 | 10 | # npmignore 11 | 12 | src/ 13 | __tests__/ 14 | .vscode/ 15 | -------------------------------------------------------------------------------- /packages/dendron-cli/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "typescript.tsdk": "node_modules/typescript/lib/" 3 | } 4 | -------------------------------------------------------------------------------- /packages/dendron-cli/src/index.ts: -------------------------------------------------------------------------------- 1 | import yargs from "yargs"; 2 | import { execa } from "@dendronhq/engine-server"; 3 | 4 | export * from "./commands"; 5 | export * from "./utils/build"; 6 | export * from "./utils/cli"; 7 | export * from "./utils/analytics"; 8 | export * from "./commands/utils"; 9 | export { yargs, execa }; 10 | -------------------------------------------------------------------------------- /packages/dendron-cli/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.build.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDirs": ["src", "bin"], 6 | "skipLibCheck": true, 7 | }, 8 | "include": ["src/**/*", "bin/*"], 9 | "exclude": ["node_modules", "**/*-spec.ts"] 10 | } 11 | -------------------------------------------------------------------------------- /packages/dendron-cli/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/dendron-design-system/.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | .DS_Store 3 | node_modules 4 | .cache 5 | dist 6 | storybook-static -------------------------------------------------------------------------------- /packages/dendron-design-system/.storybook/manager.js: -------------------------------------------------------------------------------- 1 | import { addons } from "@storybook/addons"; 2 | import yourTheme from "./YourTheme"; 3 | 4 | addons.setConfig({ 5 | theme: yourTheme, 6 | }); 7 | -------------------------------------------------------------------------------- /packages/dendron-design-system/assets/README/2021-04-03-16-44-56.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/dendron-design-system/assets/README/2021-04-03-16-44-56.png -------------------------------------------------------------------------------- /packages/dendron-design-system/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/dendron-design-system/assets/logo.png -------------------------------------------------------------------------------- /packages/dendron-design-system/example/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .cache 3 | dist -------------------------------------------------------------------------------- /packages/dendron-design-system/example/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Playground 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /packages/dendron-design-system/example/index.tsx: -------------------------------------------------------------------------------- 1 | import "react-app-polyfill/ie11"; 2 | import * as React from "react"; 3 | import * as ReactDOM from "react-dom"; 4 | import { Logo } from "../src/components/Logo"; 5 | const App = () => { 6 | return ( 7 |
8 | 9 |
10 | ); 11 | }; 12 | 13 | ReactDOM.render(, document.getElementById("root")); 14 | -------------------------------------------------------------------------------- /packages/dendron-design-system/src/components/Logo/index.tsx: -------------------------------------------------------------------------------- 1 | import { ImgProps } from "@chakra-ui/image"; 2 | import { chakra } from "@chakra-ui/system"; 3 | import * as React from "react"; 4 | 5 | export const Logo: React.FC = ({ boxSize, ...rest }) => ( 6 | 7 | ); 8 | -------------------------------------------------------------------------------- /packages/dendron-design-system/src/components/index.tsx: -------------------------------------------------------------------------------- 1 | export { Logo } from "./Logo"; 2 | -------------------------------------------------------------------------------- /packages/dendron-design-system/src/theme/colors.ts: -------------------------------------------------------------------------------- 1 | export const colors = { 2 | brand: { 3 | lightGreen: "#43B02A", 4 | darkGreen: "#154734", 5 | neutralBlack: "#232222", 6 | }, 7 | }; 8 | -------------------------------------------------------------------------------- /packages/dendron-design-system/src/theme/fonts.ts: -------------------------------------------------------------------------------- 1 | export const fonts = { 2 | heading: "montserrat", 3 | body: "roboto", 4 | }; 5 | -------------------------------------------------------------------------------- /packages/dendron-design-system/src/theme/index.ts: -------------------------------------------------------------------------------- 1 | import { extendTheme } from "@chakra-ui/react"; 2 | import { colors } from "./colors"; 3 | import { fonts } from "./fonts"; 4 | 5 | export const theme = extendTheme({ 6 | colors, 7 | fonts, 8 | }); 9 | -------------------------------------------------------------------------------- /packages/dendron-design-system/test/logo.test.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import * as ReactDOM from "react-dom"; 3 | import { Default as Logo } from "../stories/Logo.stories"; 4 | 5 | describe("Logo", () => { 6 | it("renders without crashing", () => { 7 | const div = document.createElement("div"); 8 | ReactDOM.render(, div); 9 | ReactDOM.unmountComponentAtNode(div); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /packages/dendron-design-system/tsdx.config.js: -------------------------------------------------------------------------------- 1 | import image from "@rollup/plugin-image"; 2 | 3 | module.exports = { 4 | rollup(config) { 5 | config.plugins.push(image()); 6 | return config; 7 | }, 8 | }; 9 | -------------------------------------------------------------------------------- /packages/dendron-plugin-views/.env: -------------------------------------------------------------------------------- 1 | SKIP_PREFLIGHT_CHECK=true 2 | FAST_REFRESH=false 3 | -------------------------------------------------------------------------------- /packages/dendron-plugin-views/config/jest/cssTransform.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // This is a custom Jest transformer turning style imports into empty objects. 4 | // http://facebook.github.io/jest/docs/en/webpack.html 5 | 6 | module.exports = { 7 | process() { 8 | return 'module.exports = {};'; 9 | }, 10 | getCacheKey() { 11 | // The output is always the same. 12 | return 'cssTransform'; 13 | }, 14 | }; 15 | -------------------------------------------------------------------------------- /packages/dendron-plugin-views/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/dendron-plugin-views/public/favicon.ico -------------------------------------------------------------------------------- /packages/dendron-plugin-views/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/dendron-plugin-views/public/logo192.png -------------------------------------------------------------------------------- /packages/dendron-plugin-views/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/dendron-plugin-views/public/logo512.png -------------------------------------------------------------------------------- /packages/dendron-plugin-views/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /packages/dendron-plugin-views/src/App.test.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { render, screen } from "@testing-library/react"; 3 | import App from "./App"; 4 | 5 | test("renders learn react link", () => { 6 | render(); 7 | const linkElement = screen.getByText(/learn react/i); 8 | expect(linkElement).toBeInTheDocument(); 9 | }); 10 | -------------------------------------------------------------------------------- /packages/dendron-plugin-views/src/components/SampleComponent.tsx: -------------------------------------------------------------------------------- 1 | const SampleComponent = () => { 2 | return <>Sample Component ; 3 | }; 4 | 5 | export default SampleComponent; 6 | -------------------------------------------------------------------------------- /packages/dendron-plugin-views/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | code { 11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', 12 | monospace; 13 | } 14 | -------------------------------------------------------------------------------- /packages/dendron-plugin-views/src/setupTests.ts: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import "@testing-library/jest-dom"; 6 | -------------------------------------------------------------------------------- /packages/dendron-plugin-views/src/types/cytoscape-euler.d.ts: -------------------------------------------------------------------------------- 1 | declare module "cytoscape-euler" { 2 | export = {}; 3 | } 4 | -------------------------------------------------------------------------------- /packages/dendron-plugin-views/src/types/index.ts: -------------------------------------------------------------------------------- 1 | import { 2 | engineSlice, 3 | ideSlice, 4 | WorkspaceProps, 5 | } from "@dendronhq/common-frontend"; 6 | 7 | export type { WorkspaceProps }; 8 | 9 | export type DendronComponent = React.FunctionComponent; 10 | 11 | export type DendronProps = { 12 | engine: engineSlice.EngineState; 13 | ide: ideSlice.IDEState; 14 | workspace: WorkspaceProps; 15 | isSidePanel?: boolean; 16 | }; 17 | -------------------------------------------------------------------------------- /packages/dendron-plugin-views/src/types/window.d.ts: -------------------------------------------------------------------------------- 1 | // make it a module 2 | export {}; 3 | 4 | declare global { 5 | interface Window { 6 | currentTheme: "light" | "dark"; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/dendron-viz/.gitignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | node_modules/ 3 | npm-debug.log* 4 | .nyc_output 5 | lib 6 | lib_test 7 | src/proto-* 8 | stdout 9 | -------------------------------------------------------------------------------- /packages/dendron-viz/README.md: -------------------------------------------------------------------------------- 1 | Dendron visualization related libraries 2 | -------------------------------------------------------------------------------- /packages/dendron-viz/copy.js: -------------------------------------------------------------------------------- 1 | const fs = require("fs"); 2 | const path = require("path"); 3 | 4 | const modulePath = path.join("src", "loadModule.js"); 5 | fs.copyFile(modulePath, path.join("lib", "loadModule.js"), (error) => { 6 | if (error) { 7 | throw error 8 | } 9 | }) 10 | -------------------------------------------------------------------------------- /packages/dendron-viz/ensureDir.js: -------------------------------------------------------------------------------- 1 | const fs = require("fs"); 2 | 3 | // directory to check if exists 4 | const dir = "lib"; 5 | 6 | // check if directory exists 7 | if (!fs.existsSync(dir)) { 8 | fs.mkdir(dir, { recursive: true }, (error) => { 9 | if (error) { 10 | throw error; 11 | } 12 | }); 13 | } 14 | -------------------------------------------------------------------------------- /packages/dendron-viz/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./dendron"; 2 | export { InputArgs } from "./types"; 3 | -------------------------------------------------------------------------------- /packages/dendron-viz/src/loadModule.js: -------------------------------------------------------------------------------- 1 | const loadModule = (id) => import(/*webpackIgnore: true*/ id); 2 | module.exports = loadModule; 3 | module.exports.loadModule = loadModule; 4 | -------------------------------------------------------------------------------- /packages/dendron-viz/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.build.json", 3 | "compilerOptions": { 4 | "jsx": "react", 5 | "outDir": "lib", 6 | "rootDir": "src", 7 | "resolveJsonModule": true 8 | }, 9 | "include": ["src/**/*"], 10 | "exclude": ["node_modules", "**/*-spec.ts", "**/*.d.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /packages/engine-server/.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | -------------------------------------------------------------------------------- /packages/engine-server/.gitignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | node_modules/ 3 | npm-debug.log* 4 | .nyc_output 5 | lib 6 | lib_test 7 | proto*.ts 8 | profile 9 | -------------------------------------------------------------------------------- /packages/engine-server/.npmignore: -------------------------------------------------------------------------------- 1 | # gitignore 2 | 3 | coverage/ 4 | node_modules/ 5 | npm-debug.log* 6 | .nyc_output 7 | lib 8 | lib_test 9 | 10 | # npmignore 11 | 12 | src/ 13 | __tests__/ 14 | .vscode/ 15 | -------------------------------------------------------------------------------- /packages/engine-server/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2.0", 3 | "configurations": [] 4 | } 5 | -------------------------------------------------------------------------------- /packages/engine-server/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "typescript.tsdk": "node_modules/typescript/lib/", 3 | "spellright.language": ["en"], 4 | "spellright.documentTypes": ["markdown", "latex", "plaintext"] 5 | } 6 | -------------------------------------------------------------------------------- /packages/engine-server/.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0.0", 3 | "tasks": [] 4 | } 5 | -------------------------------------------------------------------------------- /packages/engine-server/fixtures/pods/filePod/project/p.3/n1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/engine-server/fixtures/pods/filePod/project/p.3/n1.md -------------------------------------------------------------------------------- /packages/engine-server/fixtures/pods/filePod/project/p1/.DS_STORE_TEST: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/engine-server/fixtures/pods/filePod/project/p1/.DS_STORE_TEST -------------------------------------------------------------------------------- /packages/engine-server/fixtures/pods/filePod/project/p1/n1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/engine-server/fixtures/pods/filePod/project/p1/n1.md -------------------------------------------------------------------------------- /packages/engine-server/fixtures/pods/filePod/project/p1/n1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/engine-server/fixtures/pods/filePod/project/p1/n1.pdf -------------------------------------------------------------------------------- /packages/engine-server/fixtures/pods/filePod/project/p1/n2.md: -------------------------------------------------------------------------------- 1 | # N2 Content 2 | -------------------------------------------------------------------------------- /packages/engine-server/fixtures/pods/filePod/project/p1/n3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/engine-server/fixtures/pods/filePod/project/p1/n3.pdf -------------------------------------------------------------------------------- /packages/engine-server/fixtures/pods/filePod/project/p2/n1.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: n1 title 3 | --- 4 | 5 | n1 content 6 | -------------------------------------------------------------------------------- /packages/engine-server/fixtures/pods/fooPodModule/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fooPodModule", 3 | "version": "1.0.0", 4 | "main": "src/index.js", 5 | "license": "MIT", 6 | "dependencies": { 7 | "cowsay": "^1.4.0" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /packages/engine-server/fixtures/pods/fooPodModule/src/index.js: -------------------------------------------------------------------------------- 1 | const { say } = require("cowsay"); 2 | 3 | class TestPod { 4 | execute() { 5 | console.log(say({ text: "grazing in the browser" })); 6 | } 7 | } 8 | 9 | module.exports = TestPod; 10 | -------------------------------------------------------------------------------- /packages/engine-server/fixtures/pods/fooPodModule/src/main.js: -------------------------------------------------------------------------------- 1 | const Pod = require("./index"); 2 | 3 | new Pod().execute(); 4 | -------------------------------------------------------------------------------- /packages/engine-server/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- 1 | # Please do not edit this file manually 2 | # It should be added in your version-control system (i.e. Git) 3 | provider = "sqlite" -------------------------------------------------------------------------------- /packages/engine-server/src/backfillV2/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./service"; 2 | -------------------------------------------------------------------------------- /packages/engine-server/src/cache/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./notesFileSystemCache"; 2 | export * from "./dendronFileSystemCache"; 3 | -------------------------------------------------------------------------------- /packages/engine-server/src/doctor/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./service"; 2 | -------------------------------------------------------------------------------- /packages/engine-server/src/doctor/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/engine-server/src/doctor/utils.ts -------------------------------------------------------------------------------- /packages/engine-server/src/drivers/file/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./schemaParser"; 2 | -------------------------------------------------------------------------------- /packages/engine-server/src/drivers/file/parseBase.ts: -------------------------------------------------------------------------------- 1 | import { DStore } from "@dendronhq/common-all"; 2 | import { DLogger } from "@dendronhq/common-server"; 3 | 4 | export class ParserBase { 5 | constructor(public opts: { store: DStore; logger: DLogger }) {} 6 | 7 | get logger() { 8 | return this.opts.logger; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /packages/engine-server/src/drivers/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./file"; 2 | export * from "./SQLiteMetadataStore"; 3 | -------------------------------------------------------------------------------- /packages/engine-server/src/external/memo/types.ts: -------------------------------------------------------------------------------- 1 | import { URI } from "vscode-uri"; 2 | 3 | export type WorkspaceCache = { 4 | imageUris: URI[]; 5 | markdownUris: URI[]; 6 | otherUris: URI[]; 7 | allUris: URI[]; 8 | danglingRefs: string[]; 9 | danglingRefsByFsPath: { [key: string]: string[] }; 10 | }; 11 | 12 | export type RefT = { 13 | label: string; 14 | ref: string; 15 | }; 16 | -------------------------------------------------------------------------------- /packages/engine-server/src/metadata/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./service"; 2 | -------------------------------------------------------------------------------- /packages/engine-server/src/migrations/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./migrations"; 2 | export * from "./service"; 3 | export * from "./types"; 4 | export * from "./utils"; -------------------------------------------------------------------------------- /packages/engine-server/src/seed/constants.ts: -------------------------------------------------------------------------------- 1 | export const DEFAULT_SEED_PUBLISHER = "local"; 2 | -------------------------------------------------------------------------------- /packages/engine-server/src/seed/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./registry"; 2 | export * from "./utils"; 3 | export * from "./service"; 4 | -------------------------------------------------------------------------------- /packages/engine-server/src/store/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./NodeJSFileStore"; 2 | -------------------------------------------------------------------------------- /packages/engine-server/src/workspace/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./service"; 2 | export * from "./workspaceServiceInterface"; 3 | export * from "./vscode"; 4 | export * from "./utils"; 5 | export * from "./fileWatcher"; 6 | export * from "./fileAddWatcher"; 7 | -------------------------------------------------------------------------------- /packages/engine-server/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.build.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "src", 6 | "skipLibCheck": true 7 | }, 8 | "include": ["src/**/*"], 9 | "exclude": ["node_modules", "**/*-spec.ts", "lib"] 10 | } 11 | -------------------------------------------------------------------------------- /packages/engine-server/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | // "paths": { 5 | // "@dendronhq/common-server": ["node_modules/@dendronhq/common-server"] 6 | // } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/engine-test-utils/.gitignore: -------------------------------------------------------------------------------- 1 | lib 2 | -------------------------------------------------------------------------------- /packages/engine-test-utils/.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0.0", 3 | "tasks": [ 4 | { 5 | "type": "npm", 6 | "label": "test:all", 7 | "script": "test", 8 | "group": { 9 | "kind": "test", 10 | "isDefault": true 11 | }, 12 | "options": { 13 | "env": { 14 | "LOG_LEVEL": "error", 15 | "LOG_DST": "/tmp/engine-test-utils.log" 16 | } 17 | }, 18 | "problemMatcher": [] 19 | } 20 | ] 21 | } -------------------------------------------------------------------------------- /packages/engine-test-utils/README.md: -------------------------------------------------------------------------------- 1 | # README 2 | -------------------------------------------------------------------------------- /packages/engine-test-utils/src/__mocks__/vscode.ts: -------------------------------------------------------------------------------- 1 | export const window = { 2 | showInformationMessage: jest.fn(), 3 | }; 4 | export const vscode = { 5 | // mock the vscode API which you use in your project. Jest will tell you which keys are missing. 6 | window, 7 | }; 8 | -------------------------------------------------------------------------------- /packages/engine-test-utils/src/__tests__/api-server/__snapshots__/engine.perf.spec.ts.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`engine perf basic 1`] = `1546`; 4 | -------------------------------------------------------------------------------- /packages/engine-test-utils/src/__tests__/api-server/__snapshots__/engine.spec.ts.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`engine, notes/ render "CUSTOM_FM" 1`] = ` 4 | "

Fm

5 |

egg

6 |

title: Fm

" 7 | `; 8 | 9 | exports[`engine, notes/ render "EMPTY_NOTE" 1`] = `"

Empty

"`; 10 | -------------------------------------------------------------------------------- /packages/engine-test-utils/src/__tests__/engine-server/__snapshots__/DendronEngineV3.spec.ts.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`engine, notes/ render "CUSTOM_FM" 1`] = ` 4 | "

Fm

5 |

egg

6 |

title: Fm

" 7 | `; 8 | 9 | exports[`engine, notes/ render "EMPTY_NOTE" 1`] = `"

Empty

"`; 10 | -------------------------------------------------------------------------------- /packages/engine-test-utils/src/__tests__/engine-server/__snapshots__/enginev2.spec.ts.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`engine, notes/ render "CUSTOM_FM" 1`] = ` 4 | "

Fm

5 |

egg

6 |

title: Fm

" 7 | `; 8 | 9 | exports[`engine, notes/ render "EMPTY_NOTE" 1`] = `"

Empty

"`; 10 | -------------------------------------------------------------------------------- /packages/engine-test-utils/src/__tests__/engine-server/topics/__snapshots__/git.spec.ts.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`isRepo no repo 1`] = `false`; 4 | 5 | exports[`isRepo yes repo 1`] = `true`; 6 | -------------------------------------------------------------------------------- /packages/engine-test-utils/src/__tests__/engine-server/util/cache.spec.ts: -------------------------------------------------------------------------------- 1 | import { NullCache } from "@dendronhq/common-all"; 2 | 3 | describe("NullCache tests", () => { 4 | describe("GIVEN null cache", () => { 5 | const nullCache = new NullCache(); 6 | 7 | it("WHEN get item that was just set THEN return undefined", () => { 8 | nullCache.set(1, 1); 9 | 10 | expect(nullCache.get(1)).toBeUndefined(); 11 | }); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /packages/engine-test-utils/src/__tests__/pods-core/__snapshots__/HTMLPod.spec.ts.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`WHEN using html publish pod to publish note THEN generate correct HTML 1`] = ` 4 | "

Foo

5 |

foo body

6 |
7 | Children 8 |
    9 |
  1. Ch1
  2. 10 |
" 11 | `; 12 | -------------------------------------------------------------------------------- /packages/engine-test-utils/src/presets/pods-core/index.ts: -------------------------------------------------------------------------------- 1 | import JSON from "./json"; 2 | import MARKDOWN from "./markdown"; 3 | 4 | export const PODS_CORE = { 5 | JSON, 6 | MARKDOWN, 7 | }; 8 | 9 | export const PODS_PRESETS = [{ name: "json", presets: JSON }]; 10 | -------------------------------------------------------------------------------- /packages/engine-test-utils/src/presets/vaults.ts: -------------------------------------------------------------------------------- 1 | import { DVault } from "@dendronhq/common-all"; 2 | 3 | export const VAULTS = { 4 | MULTI_VAULT_WITH_THREE_VAULTS: () => { 5 | return [ 6 | { fsPath: "vault1" }, 7 | { fsPath: "vault2" }, 8 | { fsPath: "vault3", name: "vaultThree" }, 9 | ] as DVault[]; 10 | }, 11 | }; 12 | -------------------------------------------------------------------------------- /packages/engine-test-utils/src/topics/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./hooks"; 2 | -------------------------------------------------------------------------------- /packages/engine-test-utils/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.build.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "src", 6 | "lib": ["DOM", "ES2019"], 7 | "jsx": "react", 8 | "skipLibCheck": true 9 | }, 10 | "include": ["src/**/*"], 11 | "exclude": ["node_modules", "**/*-spec.ts"] 12 | } 13 | -------------------------------------------------------------------------------- /packages/generator-dendron/.gitignore: -------------------------------------------------------------------------------- 1 | generators -------------------------------------------------------------------------------- /packages/generator-dendron/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "generator-dendron", 3 | "version": "0.1.0", 4 | "description": "", 5 | "files": [ 6 | "generators", 7 | "templates" 8 | ], 9 | "keywords": [ 10 | "yeoman-generator" 11 | ], 12 | "dependencies": { 13 | "fs-extra": "^9.1.0", 14 | "yeoman-generator": "^3.1.1" 15 | }, 16 | "scripts": {}, 17 | "devDependencies": { 18 | "@types/fs-extra": "^9.0.1", 19 | "@types/yeoman-generator": "^4.11.3" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /packages/generator-dendron/templates/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.build.json", 3 | "compilerOptions": { 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/generator-dendron/templates/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/generator-dendron/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.build.json", 3 | "compilerOptions": { 4 | "outDir": "generators", 5 | "rootDir": "src" 6 | }, 7 | "exclude": ["node_modules", "**/*-spec.ts", "**/*.d.ts", "generators"] 8 | } 9 | -------------------------------------------------------------------------------- /packages/generator-dendron/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/nextjs-template/.env.test: -------------------------------------------------------------------------------- 1 | NEXT_PUBLIC_ASSET_PREFIX=/testing-asset-prefix 2 | -------------------------------------------------------------------------------- /packages/nextjs-template/Makefile: -------------------------------------------------------------------------------- 1 | build: 2 | yarn export 3 | 4 | proto: 5 | cd out && python -m http.server 6 | -------------------------------------------------------------------------------- /packages/nextjs-template/assets/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: Googlebot 2 | Disallow: /refs/ 3 | 4 | User-agent: * 5 | Allow: / 6 | -------------------------------------------------------------------------------- /packages/nextjs-template/components/AntdMenuItemWrapper.tsx: -------------------------------------------------------------------------------- 1 | import { Menu, MenuItemProps } from "antd"; 2 | 3 | function AntdMenuItemWrapper(props: MenuItemProps) { 4 | return ; 5 | } 6 | 7 | export default AntdMenuItemWrapper; 8 | -------------------------------------------------------------------------------- /packages/nextjs-template/components/AntdMenuWrapper.tsx: -------------------------------------------------------------------------------- 1 | import { Menu } from "antd"; 2 | import { MenuProps } from "rc-menu"; 3 | 4 | function AntdMenuWrapper(props: MenuProps) { 5 | // @ts-ignore 6 | return ; 7 | } 8 | 9 | export default AntdMenuWrapper; 10 | -------------------------------------------------------------------------------- /packages/nextjs-template/components/AntdSubMenuWrapper.tsx: -------------------------------------------------------------------------------- 1 | import { Menu, SubMenuProps } from "antd"; 2 | 3 | const { SubMenu } = Menu; 4 | 5 | function AntdSubmenuWrapper(props: SubMenuProps) { 6 | return ; 7 | } 8 | 9 | export default AntdSubmenuWrapper; 10 | -------------------------------------------------------------------------------- /packages/nextjs-template/components/DendronCustomHead.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import Head from "next/head"; 3 | import _ from "lodash"; 4 | import parse from "html-react-parser"; 5 | 6 | type Props = { 7 | content: string 8 | } 9 | 10 | export default function DendronCustomHead({ content }: Props) { 11 | const parsedContent = parse(content); 12 | return ( 13 | 14 | {parsedContent} 15 | 16 | ) 17 | } -------------------------------------------------------------------------------- /packages/nextjs-template/context/useDendronContext.tsx: -------------------------------------------------------------------------------- 1 | import { useContext } from "react"; 2 | import { dendronContext } from "./DendronProvider"; 3 | 4 | export function useDendronContext() { 5 | const context = useContext(dendronContext); 6 | 7 | return context; 8 | } 9 | -------------------------------------------------------------------------------- /packages/nextjs-template/custom/NoOp.tsx: -------------------------------------------------------------------------------- 1 | export default function NoOp() { 2 | return null; 3 | } 4 | -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb-chromium-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb-chromium-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb-firefox-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb-firefox-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb-webkit-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb-webkit-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/normal-chromium-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/normal-chromium-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/normal-firefox-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/normal-firefox-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/normal-webkit-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/normal-webkit-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-has_collection-chromium-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-has_collection-chromium-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-has_collection-firefox-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-has_collection-firefox-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-has_collection-webkit-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-has_collection-webkit-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-nav_exclude-chromium-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-nav_exclude-chromium-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-nav_exclude-firefox-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-nav_exclude-firefox-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-nav_exclude-webkit-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-nav_exclude-webkit-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-nav_exclude_children-chromium-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-nav_exclude_children-chromium-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-nav_exclude_children-firefox-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-nav_exclude_children-firefox-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-nav_exclude_children-webkit-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/breadcrumb/parent-nav_exclude_children-webkit-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start---end-chromium-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start---end-chromium-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start---end-firefox-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start---end-firefox-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start---end-webkit-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start---end-webkit-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-_-end-chromium-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-_-end-chromium-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-_-end-firefox-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-_-end-firefox-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-_-end-webkit-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-_-end-webkit-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-code-end-chromium-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-code-end-chromium-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-code-end-firefox-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-code-end-firefox-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-code-end-webkit-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-code-end-webkit-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-exampleusername-private-end-chromium-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-exampleusername-private-end-chromium-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-exampleusername-private-end-firefox-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-exampleusername-private-end-firefox-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-exampleusername-private-end-webkit-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-exampleusername-private-end-webkit-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-test-end-chromium-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-test-end-chromium-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-test-end-firefox-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-test-end-firefox-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-test-end-webkit-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/heading-anchor/start-test-end-webkit-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/layout/safe-layout-chromium-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/layout/safe-layout-chromium-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/layout/safe-layout-firefox-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/layout/safe-layout-firefox-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/e2e/general.spec.ts-snapshots/layout/safe-layout-webkit-linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/nextjs-template/e2e/general.spec.ts-snapshots/layout/safe-layout-webkit-linux.png -------------------------------------------------------------------------------- /packages/nextjs-template/env/client.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | const { parse } = require("@dendronhq/common-all"); 3 | const { clientEnv, clientSchema } = require("./schema"); 4 | 5 | const _clientEnv = parse(clientSchema, clientEnv); 6 | 7 | if (_clientEnv.isErr()) { 8 | throw _clientEnv.error; 9 | } 10 | 11 | module.exports = { 12 | env: _clientEnv.value 13 | }; 14 | -------------------------------------------------------------------------------- /packages/nextjs-template/features/engine/hooks.ts: -------------------------------------------------------------------------------- 1 | import { AppDispatch, RootState } from "./store"; 2 | import { TypedUseSelectorHook, useDispatch, useSelector } from "@dendronhq/common-frontend"; 3 | 4 | export const useEngineAppDispatch = () => useDispatch(); 5 | export const useEngineAppSelector: TypedUseSelectorHook = 6 | useSelector; 7 | -------------------------------------------------------------------------------- /packages/nextjs-template/features/engine/index.ts: -------------------------------------------------------------------------------- 1 | import * as browserEngineSlice from "./slice"; 2 | 3 | export { browserEngineSlice }; 4 | -------------------------------------------------------------------------------- /packages/nextjs-template/features/engine/store.ts: -------------------------------------------------------------------------------- 1 | import { configureStore } from "@reduxjs/toolkit"; 2 | import { reducer } from "./slice"; 3 | 4 | const store = configureStore({ 5 | reducer: { 6 | engine: reducer, 7 | }, 8 | }); 9 | 10 | export { store }; 11 | export type RootState = ReturnType; 12 | export type AppDispatch = typeof store.dispatch; 13 | -------------------------------------------------------------------------------- /packages/nextjs-template/fixtures/test-nextjs-workspace/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .dendron.* 3 | build 4 | seeds 5 | .next 6 | pods/service-connections -------------------------------------------------------------------------------- /packages/nextjs-template/fixtures/test-nextjs-workspace/vault/features.collection.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 7o0c2j54l2cm6hglk572e5z 3 | title: Collection 4 | desc: '' 5 | updated: 1646420716602 6 | created: 1646417315164 7 | has_collection: true 8 | sort_by: date 9 | sort_order: reverse 10 | config: 11 | global: 12 | enableBackLinks: false 13 | --- 14 | 15 | -------------------------------------------------------------------------------- /packages/nextjs-template/fixtures/test-nextjs-workspace/vault/features.collection.one.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 01sqwbb94iwyfktm81pqpt6 3 | title: One 4 | desc: '' 5 | updated: 1646417354923 6 | created: 1646417351876 7 | --- 8 | 9 | First entry 10 | -------------------------------------------------------------------------------- /packages/nextjs-template/fixtures/test-nextjs-workspace/vault/features.collection.two.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: oqokxdm9ogfo4jninfvgf8j 3 | title: Two 4 | desc: '' 5 | updated: 1646417360503 6 | created: 1646417356643 7 | --- 8 | 9 | Second entry 10 | -------------------------------------------------------------------------------- /packages/nextjs-template/fixtures/test-nextjs-workspace/vault/features.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 4f56nkegh07z00x5c11khak 3 | title: Features 4 | desc: '' 5 | updated: 1646417308328 6 | created: 1646417308328 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /packages/nextjs-template/fixtures/test-nextjs-workspace/vault/ref.backlinks.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: e2w7d8h13akehprnzqgttcq 3 | title: Backlinks 4 | desc: '' 5 | updated: 1646420296631 6 | created: 1646417467693 7 | --- 8 | 9 | This note is used to generate backlinks to other notes 10 | 11 | [[Collection|features.collection]] 12 | -------------------------------------------------------------------------------- /packages/nextjs-template/fixtures/test-nextjs-workspace/vault/root.schema.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | imports: [] 3 | schemas: 4 | - id: root 5 | children: [] 6 | title: root 7 | parent: root 8 | -------------------------------------------------------------------------------- /packages/nextjs-template/hooks/useDendronConfig.ts: -------------------------------------------------------------------------------- 1 | import { useEngineAppSelector } from "../features/engine/hooks"; 2 | 3 | export const useDendronConfig = () => { 4 | const { config } = useEngineAppSelector((state) => state.engine); 5 | return config; 6 | }; 7 | -------------------------------------------------------------------------------- /packages/nextjs-template/hooks/useToggle.tsx: -------------------------------------------------------------------------------- 1 | import { useState } from "react"; 2 | import isUndefined from "lodash/isUndefined"; 3 | import { __String } from "typescript"; 4 | 5 | const DevNoticeKey = "next-template-notice-slow-toggle"; 6 | export const useToggle = ( 7 | defaultVal: boolean = true, 8 | _key: string = DevNoticeKey 9 | ) => { 10 | const [val, setVal] = useState(defaultVal); 11 | const toggle = (override?: boolean) => setVal(!isUndefined(override) || !val); 12 | return [val, toggle] as const; 13 | }; 14 | -------------------------------------------------------------------------------- /packages/nextjs-template/pages/404.tsx: -------------------------------------------------------------------------------- 1 | import Error from "next/error"; 2 | 3 | export { getStaticProps } from "../utils/getStaticPropsUtil"; 4 | 5 | export default function Custom404() { 6 | return ; 7 | } 8 | -------------------------------------------------------------------------------- /packages/nextjs-template/pages/500.tsx: -------------------------------------------------------------------------------- 1 | import Error from "next/error"; 2 | 3 | export { getStaticProps } from "../utils/getStaticPropsUtil"; 4 | 5 | export default function Custom500() { 6 | return ; 7 | } 8 | -------------------------------------------------------------------------------- /packages/nextjs-template/pages/index.tsx: -------------------------------------------------------------------------------- 1 | import DendronNotePage from "../components/DendronNotePage"; 2 | 3 | export default DendronNotePage; 4 | export { getStaticProps } from "../utils/getStaticPropsUtil"; 5 | -------------------------------------------------------------------------------- /packages/nextjs-template/scripts/buildStatic.js: -------------------------------------------------------------------------------- 1 | const nextjsConfig = require("../next.config.js"); 2 | const fs = require("fs-extra"); 3 | const path = require("path"); 4 | 5 | function main() { 6 | const dataDir = nextjsConfig.env.DATA_DIR; 7 | const publicDir = path.join(__dirname, "..", "public", "data") 8 | console.log(dataDir, publicDir); 9 | fs.copySync(dataDir, publicDir ) 10 | console.log("done") 11 | } 12 | 13 | main(); -------------------------------------------------------------------------------- /packages/nextjs-template/types/window.d.ts: -------------------------------------------------------------------------------- 1 | import { Mermaid } from "mermaid"; 2 | 3 | // make it a module 4 | export {}; 5 | 6 | declare global { 7 | interface Window { 8 | currentTheme: "light" | "dark"; 9 | mermaid?: Mermaid; 10 | updateIFrameHeights: () => void; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /packages/plugin-core/.gitignore: -------------------------------------------------------------------------------- 1 | out 2 | node_modules 3 | .vscode-test/ 4 | .vscode-test-web/ 5 | *.vsix 6 | build 7 | notes 8 | reports 9 | assets/LAST_COMMIT 10 | assets/dendronWS 11 | assets/static 12 | OVSX_PAT 13 | dist 14 | fixtures/fake-workspace 15 | stats.json 16 | stats.*.json 17 | 18 | assets/css 19 | assets/js 20 | tmp 21 | -------------------------------------------------------------------------------- /packages/plugin-core/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | // See http://go.microsoft.com/fwlink/?LinkId=827846 3 | // for the documentation about the extensions.json format 4 | "recommendations": ["dbaeumer.vscode-eslint"] 5 | } 6 | -------------------------------------------------------------------------------- /packages/plugin-core/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | // Place your settings in this file to overwrite default and user settings. 2 | { 3 | "files.exclude": { 4 | "out": false // set this to true to hide the "out" folder with the compiled JS files 5 | }, 6 | "search.exclude": { 7 | "out": true // set this to false to include "out" folder in search results 8 | }, 9 | // Turn off tsc task auto detection since we have the necessary tasks as npm scripts 10 | "typescript.tsc.autoDetect": "off" 11 | } 12 | -------------------------------------------------------------------------------- /packages/plugin-core/.vscodeignore: -------------------------------------------------------------------------------- 1 | .vscode/** 2 | .vscode-test/** 3 | out/** 4 | src/** 5 | .gitignore 6 | vsc-extension-quickstart.md 7 | **/tsconfig.json 8 | **/.eslintrc.json 9 | **/*.map 10 | **/*.ts 11 | node_modules 12 | build 13 | scripts/** 14 | fixtures/** 15 | dist/extension.jsbak 16 | tmp 17 | CHANGELOG.md 18 | *.log 19 | *.old 20 | assets 21 | -------------------------------------------------------------------------------- /packages/plugin-core/.yarnrc: -------------------------------------------------------------------------------- 1 | unsafe-disable-integrity-migration true 2 | -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/common/assets/images/logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/plugin-core/assets/dendron-ws/tutorial/common/assets/images/logo_small.png -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/common/root.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: root 3 | title: root 4 | desc: "" 5 | updated: 1605266684036 6 | created: 1595961348801 7 | --- 8 | 9 | This is the root for your Dendron vault. 10 | 11 | If you decide to publish your entire vault, it will be your landing page. You are free to customize any part of this page except the frontmatter at the top, between the `---`. 12 | -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/common/root.schema.yml: -------------------------------------------------------------------------------- 1 | - 2 | id: root 3 | title: root 4 | desc: "" 5 | type: schema 6 | updated: 1594075339610 7 | created: 1594075339610 8 | body: "" 9 | fname: root.schema 10 | data: {} 11 | stub: false 12 | custom: {} 13 | parent: root 14 | children: [] -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/main/assets/images/logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/plugin-core/assets/dendron-ws/tutorial/treatments/main/assets/images/logo_small.png -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/main/root.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: root 3 | title: root 4 | desc: "" 5 | updated: 1605266684036 6 | created: 1595961348801 7 | --- 8 | 9 | This is the root for your Dendron vault. 10 | 11 | If you decide to publish your entire vault, it will be your landing page. You are free to customize any part of this page except the frontmatter at the top, between the `---`. 12 | -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/main/root.schema.yml: -------------------------------------------------------------------------------- 1 | - 2 | id: root 3 | title: root 4 | desc: "" 5 | type: schema 6 | updated: 1594075339610 7 | created: 1594075339610 8 | body: "" 9 | fname: root.schema 10 | data: {} 11 | stub: false 12 | custom: {} 13 | parent: root 14 | children: [] -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/main/tutorial.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 4u6pv56mnt25d8l2wzfygu7 3 | title: Getting Started 4 | desc: "" 5 | updated: 1653980552303 6 | created: 1608051264282 7 | currentStep: 0 8 | totalSteps: 5 9 | nav_order: 1.1 10 | --- 11 | 12 | Dendron is an IDE for general knowledge. 13 | Combine the simplicity of markdown with the power of a modern development environment. 14 | 15 | To begin, lets do a quick [[overview of the Dendron UI|tutorial.user-interface]]! 16 | -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/no-refactor/assets/images/logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/plugin-core/assets/dendron-ws/tutorial/treatments/no-refactor/assets/images/logo_small.png -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/no-refactor/root.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: root 3 | title: root 4 | desc: "" 5 | updated: 1605266684036 6 | created: 1595961348801 7 | --- 8 | 9 | This is the root for your Dendron vault. 10 | 11 | If you decide to publish your entire vault, it will be your landing page. You are free to customize any part of this page except the frontmatter at the top, between the `---`. 12 | -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/no-refactor/root.schema.yml: -------------------------------------------------------------------------------- 1 | - 2 | id: root 3 | title: root 4 | desc: "" 5 | type: schema 6 | updated: 1594075339610 7 | created: 1594075339610 8 | body: "" 9 | fname: root.schema 10 | data: {} 11 | stub: false 12 | custom: {} 13 | parent: root 14 | children: [] -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/no-refactor/tutorial.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: tbilk9to67d0dwgnjanj5ph 3 | title: Getting Started 4 | desc: "" 5 | updated: 1653980839862 6 | created: 1608051264282 7 | currentStep: 0 8 | totalSteps: 5 9 | nav_order: 1.1 10 | --- 11 | 12 | Dendron is an IDE for general knowledge. 13 | Combine the simplicity of markdown with the power of a modern development environment. 14 | 15 | To begin, lets do a quick [[overview of the Dendron UI|tutorial.user-interface]]! 16 | -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/original/assets/images/logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/plugin-core/assets/dendron-ws/tutorial/treatments/original/assets/images/logo_small.png -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/original/root.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: root 3 | title: root 4 | desc: "" 5 | updated: 1605266684036 6 | created: 1595961348801 7 | --- 8 | 9 | This is the root for your Dendron vault. 10 | 11 | If you decide to publish your entire vault, it will be your landing page. You are free to customize any part of this page except the frontmatter at the top, between the `---`. 12 | -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/original/root.schema.yml: -------------------------------------------------------------------------------- 1 | - 2 | id: root 3 | title: root 4 | desc: "" 5 | type: schema 6 | updated: 1594075339610 7 | created: 1594075339610 8 | body: "" 9 | fname: root.schema 10 | data: {} 11 | stub: false 12 | custom: {} 13 | parent: root 14 | children: [] -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/quickstart-skip-welcome/assets/images/logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/plugin-core/assets/dendron-ws/tutorial/treatments/quickstart-skip-welcome/assets/images/logo_small.png -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/quickstart-skip-welcome/root.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: root 3 | title: root 4 | desc: "" 5 | updated: 1605266684036 6 | created: 1595961348801 7 | --- 8 | 9 | This is the root for your Dendron vault. 10 | 11 | If you decide to publish your entire vault, it will be your landing page. You are free to customize any part of this page except the frontmatter at the top, between the `---`. 12 | -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/quickstart-skip-welcome/root.schema.yml: -------------------------------------------------------------------------------- 1 | - 2 | id: root 3 | title: root 4 | desc: "" 5 | type: schema 6 | updated: 1594075339610 7 | created: 1594075339610 8 | body: "" 9 | fname: root.schema 10 | data: {} 11 | stub: false 12 | custom: {} 13 | parent: root 14 | children: [] -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/quickstart-v1/assets/images/logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/plugin-core/assets/dendron-ws/tutorial/treatments/quickstart-v1/assets/images/logo_small.png -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/quickstart-v1/root.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: root 3 | title: root 4 | desc: "" 5 | updated: 1605266684036 6 | created: 1595961348801 7 | --- 8 | 9 | This is the root for your Dendron vault. 10 | 11 | If you decide to publish your entire vault, it will be your landing page. You are free to customize any part of this page except the frontmatter at the top, between the `---`. 12 | -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/quickstart-v1/root.schema.yml: -------------------------------------------------------------------------------- 1 | - 2 | id: root 3 | title: root 4 | desc: "" 5 | type: schema 6 | updated: 1594075339610 7 | created: 1594075339610 8 | body: "" 9 | fname: root.schema 10 | data: {} 11 | stub: false 12 | custom: {} 13 | parent: root 14 | children: [] -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/quickstart-with-lock/assets/images/logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/plugin-core/assets/dendron-ws/tutorial/treatments/quickstart-with-lock/assets/images/logo_small.png -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/quickstart-with-lock/root.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: root 3 | title: root 4 | desc: "" 5 | updated: 1605266684036 6 | created: 1595961348801 7 | --- 8 | 9 | This is the root for your Dendron vault. 10 | 11 | If you decide to publish your entire vault, it will be your landing page. You are free to customize any part of this page except the frontmatter at the top, between the `---`. 12 | -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/tutorial/treatments/quickstart-with-lock/root.schema.yml: -------------------------------------------------------------------------------- 1 | - 2 | id: root 3 | title: root 4 | desc: "" 5 | type: schema 6 | updated: 1594075339610 7 | created: 1594075339610 8 | body: "" 9 | fname: root.schema 10 | data: {} 11 | stub: false 12 | custom: {} 13 | parent: root 14 | children: [] -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/vault/assets/images/logo-banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/plugin-core/assets/dendron-ws/vault/assets/images/logo-banner.png -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/vault/assets/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/plugin-core/assets/dendron-ws/vault/assets/images/logo.png -------------------------------------------------------------------------------- /packages/plugin-core/assets/dendron-ws/vault/root.schema.yml: -------------------------------------------------------------------------------- 1 | - 2 | id: root 3 | title: root 4 | desc: "" 5 | type: schema 6 | updated: 1594075339610 7 | created: 1594075339610 8 | body: "" 9 | fname: root.schema 10 | data: {} 11 | stub: false 12 | custom: {} 13 | parent: root 14 | children: [] -------------------------------------------------------------------------------- /packages/plugin-core/fixtures/fake-workspace/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/plugin-core/fixtures/fake-workspace/.vscode/settings.json -------------------------------------------------------------------------------- /packages/plugin-core/language-configuration.json: -------------------------------------------------------------------------------- 1 | { 2 | "wordPattern": "([\\w\\.\\#]+)" 3 | } 4 | -------------------------------------------------------------------------------- /packages/plugin-core/media/fontello/font/fontello.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/plugin-core/media/fontello/font/fontello.eot -------------------------------------------------------------------------------- /packages/plugin-core/media/fontello/font/fontello.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/plugin-core/media/fontello/font/fontello.ttf -------------------------------------------------------------------------------- /packages/plugin-core/media/fontello/font/fontello.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/plugin-core/media/fontello/font/fontello.woff -------------------------------------------------------------------------------- /packages/plugin-core/media/fontello/font/fontello.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/plugin-core/media/fontello/font/fontello.woff2 -------------------------------------------------------------------------------- /packages/plugin-core/media/logo-bw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/plugin-core/media/logo-bw.png -------------------------------------------------------------------------------- /packages/plugin-core/media/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/plugin-core/media/logo.png -------------------------------------------------------------------------------- /packages/plugin-core/scripts/check_links.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | [[ ! -d "reports" ]] && mkdir reports 3 | cd reports && awesome_bot ../CHANGELOG.md --allow-redirect --allow-dupe --allow 429 -w "https://github.com/dendronhq/dendron/compare/*,https://github.com/dendronhq/dendron/commit/*" 4 | -------------------------------------------------------------------------------- /packages/plugin-core/scripts/install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | version=`cat package.json | jq ".version" -r` 4 | name="dendron" 5 | code-insiders --install-extension "$name-$version.vsix" --force 6 | codium --install-extension "$name-$version.vsix" --force 7 | -------------------------------------------------------------------------------- /packages/plugin-core/scripts/pack_and_install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ./scripts/package.sh 4 | ./scripts/install.sh 5 | -------------------------------------------------------------------------------- /packages/plugin-core/scripts/package.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | yarn install --no-lockfile 3 | vsce package --yarn -------------------------------------------------------------------------------- /packages/plugin-core/scripts/prep.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "updating pkg" 4 | rm ../../package.json 5 | sed -ibak 's/@dendronhq.plugin-core/dendron/' package.json 6 | sed -ibak 's/out\/src\/extension/dist\/extension/' package.json 7 | 8 | cat package.json | jq '.repository = { "url": "https://github.com/dendronhq/dendron.git", "type": "git" }' > tmp.json 9 | mv tmp.json package.json -------------------------------------------------------------------------------- /packages/plugin-core/scripts/publish-insider.sh: -------------------------------------------------------------------------------- 1 | version=`cat package.json | jq ".version" -r` 2 | name=`cat package.json | jq ".name" -r` 3 | package="$name-$version.vsix" 4 | 5 | BUCKET=org-dendron-public-assets 6 | aws s3 cp $package s3://$BUCKET/publish/$package --acl public-read 7 | echo https://$BUCKET.s3.amazonaws.com/publish/$package -------------------------------------------------------------------------------- /packages/plugin-core/scripts/publish.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | export OVSX_PAT=`cat $HOME/.ovsx` 4 | 5 | # echo "upgrade version..." 6 | # yarn version --patch 7 | 8 | # echo "publish..." 9 | # vsce package 10 | 11 | echo "publish to vscode..." 12 | vsce publish 13 | 14 | echo "publish to ovsx..." 15 | ovsx publish 16 | 17 | # echo "push..." 18 | # git push -------------------------------------------------------------------------------- /packages/plugin-core/scripts/pullBuild.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ./scripts/prep.sh 4 | ./scripts/pack_and_install.sh 2>&1 | tee /tmp/out.txt -------------------------------------------------------------------------------- /packages/plugin-core/scripts/pullBuildAndSync.sh: -------------------------------------------------------------------------------- 1 | 2 | #!/bin/bash 3 | ./scripts/prep.sh 4 | yarn install --no-lockfile 5 | ./scripts/pack_and_install.sh 2>&1 | tee /tmp/out.txt 6 | ./sync_static.sh 7 | ./scripts/pack_and_install.sh 2>&1 | tee /tmp/out.txt -------------------------------------------------------------------------------- /packages/plugin-core/scripts/pullRelease.sh: -------------------------------------------------------------------------------- 1 | 2 | git reset --hard 3 | git clean -f 4 | git checkout master 5 | git fetch 6 | ./scripts/pack_and_install.sh -------------------------------------------------------------------------------- /packages/plugin-core/scripts/syncAssets.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "syncing note assets..." 3 | aws s3 sync assets/notes/vault.main/assets/ s3://foundation-prod-assetspublic53c57cce-8cpvgjldwysl/assets/ -------------------------------------------------------------------------------- /packages/plugin-core/scripts/sync_static.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "sync client assets..." 4 | pushd ../common-assets 5 | yarn --ignore-lockfile 6 | yarn build 7 | rsync -avq out/ ../plugin-core/assets/static/ --delete 8 | rsync -avq assets/js ../plugin-core/assets/static/ 9 | popd 10 | echo "sync server assets..." 11 | pushd ../api-server 12 | rsync -avq assets/static/ ../plugin-core/assets/static/ 13 | popd 14 | -------------------------------------------------------------------------------- /packages/plugin-core/scripts/varSub.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "injecting variables" 3 | 4 | client="${GOOGLE_OAUTH_CLIENT_ID:-google_oauth_placeholder_id}" 5 | secret="${GOOGLE_OAUTH_CLIENT_SECRET:-google_oauth_placeholder_secret}" 6 | 7 | sed -ibak "s/google_oauth_placeholder_id/$client/g" ./dist/extension.js 8 | sed -ibak "s/google_oauth_placeholder_secret/$secret/g" ./dist/extension.js -------------------------------------------------------------------------------- /packages/plugin-core/src/commands/ShowPreviewInterface.ts: -------------------------------------------------------------------------------- 1 | import { NoteProps } from "@dendronhq/common-all"; 2 | import { Uri } from "vscode"; 3 | 4 | export type TogglePreviewCommandOpts = Uri; 5 | /** `note` if a note that's in the engine was opened. `fsPath' if a non-note file was opened. `undefined` if nothing was found to preview. 6 | * 7 | */ 8 | export type TogglePreviewCommandOutput = 9 | | { note: NoteProps; fsPath?: string } 10 | | { note?: NoteProps; fsPath: string } 11 | | undefined; 12 | -------------------------------------------------------------------------------- /packages/plugin-core/src/external/memo/types.ts: -------------------------------------------------------------------------------- 1 | import { Uri } from "vscode"; 2 | 3 | export type WorkspaceCache = { 4 | imageUris: Uri[]; 5 | markdownUris: Uri[]; 6 | otherUris: Uri[]; 7 | allUris: Uri[]; 8 | danglingRefs: string[]; 9 | danglingRefsByFsPath: { [key: string]: string[] }; 10 | }; 11 | 12 | export type RefT = { 13 | label: string; 14 | ref: string; 15 | }; 16 | -------------------------------------------------------------------------------- /packages/plugin-core/src/telemetry/common/DummyTelemetryClient.ts: -------------------------------------------------------------------------------- 1 | import { ITelemetryClient } from "./ITelemetryClient"; 2 | 3 | /** 4 | * No-Op Dummy telemetry client. This doesn't upload anything and is safe to use 5 | * during development and testing. 6 | */ 7 | export class DummyTelemetryClient implements ITelemetryClient { 8 | track(): Promise { 9 | return Promise.resolve(); 10 | } 11 | identify(): Promise { 12 | return Promise.resolve(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/plugin-core/src/telemetry/common/ITelemetryClient.ts: -------------------------------------------------------------------------------- 1 | export interface ITelemetryClient { 2 | track( 3 | event: string, 4 | customProps?: any, 5 | segmentProps?: { timestamp?: Date } 6 | ): Promise; 7 | 8 | identify(): Promise; 9 | } 10 | -------------------------------------------------------------------------------- /packages/plugin-core/src/test/suite-integ/components/traits/testJSTraits/InvalidTestTrait.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | OnWillCreate: { 3 | setNameModifier() { 4 | // eslint-disable-next-line no-undef 5 | notAValidFunction(); 6 | }, 7 | }, 8 | }; 9 | -------------------------------------------------------------------------------- /packages/plugin-core/src/test/suite-integ/components/traits/testJSTraits/UserTestTrait.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | OnWillCreate: { 3 | setNameModifier(props) { 4 | return { 5 | name: props.clipboard, 6 | promptUserForModification: true, 7 | }; 8 | }, 9 | }, 10 | OnCreate: { 11 | setTitle(props) { 12 | return props.currentNoteName; 13 | }, 14 | setTemplate: () => { 15 | return "foo"; 16 | }, 17 | }, 18 | }; 19 | -------------------------------------------------------------------------------- /packages/plugin-core/src/test/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./vscode-test-utils"; 2 | export * from "./workspace"; 3 | -------------------------------------------------------------------------------- /packages/plugin-core/src/types/global.ts: -------------------------------------------------------------------------------- 1 | const GOOGLE_OAUTH_ID = "google_oauth_placeholder_id"; 2 | export { GOOGLE_OAUTH_ID }; 3 | 4 | const GOOGLE_OAUTH_SECRET = "google_oauth_placeholder_secret"; 5 | export { GOOGLE_OAUTH_SECRET }; 6 | -------------------------------------------------------------------------------- /packages/plugin-core/src/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./EditorUtils"; 2 | export * from "./StartupPrompts"; 3 | -------------------------------------------------------------------------------- /packages/plugin-core/src/utils/strings.ts: -------------------------------------------------------------------------------- 1 | export const matchAll = ( 2 | pattern: RegExp, 3 | text: string 4 | ): Array => { 5 | let match: RegExpMatchArray | null; 6 | const out: RegExpMatchArray[] = []; 7 | 8 | pattern.lastIndex = 0; 9 | 10 | // eslint-disable-next-line no-cond-assign 11 | while ((match = pattern.exec(text))) { 12 | out.push(match); 13 | } 14 | 15 | return out; 16 | }; 17 | -------------------------------------------------------------------------------- /packages/plugin-core/src/views/common/treeview/ITreeViewConfig.ts: -------------------------------------------------------------------------------- 1 | import { TreeViewItemLabelTypeEnum } from "@dendronhq/common-all"; 2 | 3 | /** 4 | * Configuration for the note tree view 5 | */ 6 | export interface ITreeViewConfig { 7 | /** 8 | * Configures whether to display note names or titles in the tree view 9 | */ 10 | LabelTypeSetting: TreeViewItemLabelTypeEnum; 11 | } 12 | -------------------------------------------------------------------------------- /packages/plugin-core/src/web/engine/INoteRenderer.ts: -------------------------------------------------------------------------------- 1 | import { RenderNoteOpts, RenderNoteResp } from "@dendronhq/common-all"; 2 | 3 | /** 4 | * Extracted from DEngine 5 | */ 6 | export interface INoteRenderer { 7 | renderNote(opts: RenderNoteOpts): Promise; 8 | } 9 | -------------------------------------------------------------------------------- /packages/plugin-core/src/web/injection-providers/getVaults.ts: -------------------------------------------------------------------------------- 1 | import { DVault } from "@dendronhq/common-all"; 2 | import "reflect-metadata"; 3 | import { Uri } from "vscode"; 4 | import { getWorkspaceConfig } from "./getWorkspaceConfig"; 5 | 6 | /** 7 | * Get all the vaults from the specified workspace root 8 | * @param wsRoot 9 | * @returns 10 | */ 11 | export async function getVaults(wsRoot: Uri): Promise { 12 | const config = await getWorkspaceConfig(wsRoot); 13 | return config.workspace.vaults; 14 | } 15 | -------------------------------------------------------------------------------- /packages/plugin-core/src/web/utils/isPathInWorkspace.ts: -------------------------------------------------------------------------------- 1 | import { DVault, URI, VaultUtilsV2 } from "@dendronhq/common-all"; 2 | //TODO: Move file to common 3 | /** 4 | * Check if path is in workspace 5 | * @returns 6 | */ 7 | export function isPathInWorkspace({ 8 | wsRoot, 9 | vaults, 10 | fsPath, 11 | }: { 12 | wsRoot: URI; 13 | fsPath: URI; 14 | vaults: DVault[]; 15 | }): boolean { 16 | return ( 17 | VaultUtilsV2.getVaultByFilePath({ wsRoot, vaults, fsPath }) !== undefined 18 | ); 19 | } 20 | -------------------------------------------------------------------------------- /packages/plugin-core/src/web/views/preview/IPreviewPanelConfig.ts: -------------------------------------------------------------------------------- 1 | import { Theme } from "@dendronhq/common-all"; 2 | 3 | /** 4 | * Configuration for the preview panel 5 | */ 6 | export interface IPreviewPanelConfig { 7 | /** 8 | * Configures the theme used for preview 9 | */ 10 | theme: Theme; 11 | } 12 | 13 | export class DummyPreviewPanelConfig implements IPreviewPanelConfig { 14 | get theme() { 15 | return Theme.LIGHT; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /packages/plugin-core/src/workspace/codeWorkspace.ts: -------------------------------------------------------------------------------- 1 | import { DWorkspaceV2, WorkspaceType } from "@dendronhq/common-all"; 2 | import { DendronBaseWorkspace } from "./baseWorkspace"; 3 | 4 | export class DendronCodeWorkspace 5 | extends DendronBaseWorkspace 6 | implements DWorkspaceV2 7 | { 8 | public type = WorkspaceType.CODE; 9 | } 10 | -------------------------------------------------------------------------------- /packages/plugin-core/src/workspace/nativeWorkspace.ts: -------------------------------------------------------------------------------- 1 | import { DWorkspaceV2 } from "@dendronhq/common-all"; 2 | import { DendronBaseWorkspace } from "./baseWorkspace"; 3 | 4 | export class DendronNativeWorkspace 5 | extends DendronBaseWorkspace 6 | implements DWorkspaceV2 {} 7 | -------------------------------------------------------------------------------- /packages/plugin-core/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.build.json", 3 | "compilerOptions": { 4 | "outDir": "out", 5 | "rootDirs": ["src", "scripts"], 6 | "declaration": false, 7 | "skipLibCheck": true, 8 | "strictNullChecks": true 9 | }, 10 | "exclude": ["node_modules", "lib", "local", ".vscode-test", "out", "dist"] 11 | } 12 | -------------------------------------------------------------------------------- /packages/plugin-core/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/plugin-core/webpack.dev.js: -------------------------------------------------------------------------------- 1 | const { merge } = require("webpack-merge"); 2 | 3 | const common = require("./webpack.common.js"); 4 | module.exports = merge(common, { 5 | mode: "development" 6 | }); 7 | -------------------------------------------------------------------------------- /packages/pods-core/.gitignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | node_modules/ 3 | npm-debug.log* 4 | .nyc_output 5 | lib 6 | lib_test 7 | -------------------------------------------------------------------------------- /packages/pods-core/src/builtin/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./EmailPod"; 2 | export * from "./JSONPod"; 3 | export * from "./MarkdownPod"; 4 | export * from "./SnapshotPod"; 5 | export * from "./GitPod"; 6 | export * from "./GraphvizPod"; 7 | export * from "./HTMLPod"; 8 | export * from "./AirtablePod"; 9 | export * from "./GithubIssuePod"; 10 | export * from "./GDocPod"; 11 | export * from "./NextjsExportPod"; 12 | export * from "./NotionPod"; 13 | export * from "./OrbitPod"; 14 | -------------------------------------------------------------------------------- /packages/pods-core/src/image-downloader.d.ts: -------------------------------------------------------------------------------- 1 | declare module "image-downloader" { 2 | type DImageDownloaderOptions = { 3 | url: string; 4 | dest: string; 5 | }; 6 | export function image(options: DImageDownloaderOptions): any; 7 | } 8 | -------------------------------------------------------------------------------- /packages/pods-core/src/v2/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./podConfig"; 2 | 3 | // TODO: refactor into own index file 4 | export * from "./pods/export/AirtableExportPodV2"; 5 | export * from "./pods/export/MarkdownExportPodV2"; 6 | export * from "./pods/export/GoogleDocsExportPodV2"; 7 | export * from "./pods/export/NotionExportPodV2"; 8 | export * from "./pods/export/JSONExportPodV2"; 9 | -------------------------------------------------------------------------------- /packages/pods-core/src/v2/podConfig/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./AirtablePodConfig"; 2 | export * from "./GoogleDocsConfig"; 3 | export * from "./MarkdownPodConfig"; 4 | export * from "./PodV2Types"; 5 | export * from "./NotionPodConfig"; 6 | export * from "./JSONPodConfig"; 7 | -------------------------------------------------------------------------------- /packages/pods-core/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.build.json", 3 | "compilerOptions": { 4 | "outDir": "lib", 5 | "rootDir": "src", 6 | }, 7 | "include": ["src/**/*"], 8 | "exclude": ["node_modules", "**/*-spec.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /packages/unified/.gitignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | node_modules/ 3 | npm-debug.log* 4 | .nyc_output 5 | lib 6 | lib_test 7 | proto*.ts 8 | profile 9 | -------------------------------------------------------------------------------- /packages/unified/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/packages/unified/README.md -------------------------------------------------------------------------------- /packages/unified/src/decorations/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./utils"; 2 | export * from "./decorations"; 3 | export * from "./blockAnchors"; 4 | export * from "./diagnostics"; 5 | export * from "./frontmatter"; 6 | export * from "./hashTags"; 7 | export * from "./references"; 8 | export * from "./taskNotes"; 9 | export * from "./userTags"; 10 | export * from "./wikilinks"; 11 | -------------------------------------------------------------------------------- /packages/unified/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./remark"; 2 | export * from "./types"; 3 | export * from "./utils"; 4 | export * from "./utilsv5"; 5 | export * from "./utilsWeb"; 6 | export * from "./decorations"; 7 | export * from "./utilities"; 8 | -------------------------------------------------------------------------------- /packages/unified/src/utilities/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./getParsingDependencyDicts"; 2 | -------------------------------------------------------------------------------- /packages/unified/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.build.json", 3 | "compilerOptions": { 4 | "outDir": "lib", 5 | "rootDir": "src", 6 | "skipLibCheck": true 7 | }, 8 | "include": [ 9 | "src/**/*" 10 | ], 11 | "exclude": [ 12 | "node_modules", 13 | "**/*-spec.ts", 14 | "**/*.d.ts" 15 | ] 16 | } -------------------------------------------------------------------------------- /packages/unified/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | } -------------------------------------------------------------------------------- /playbooks/addTypes.yml: -------------------------------------------------------------------------------- 1 | - hosts: localhost # use all for remote 2 | vars: 3 | ts_module: "qs" 4 | tasks: 5 | - name: Ansible Basic Variable Example 6 | debug: 7 | msg: "{{ root }}" 8 | - name: Create dir 9 | file: 10 | path: "{{root}}/app/@types/{{ts_module}}" 11 | state: directory 12 | mode: "0755" 13 | - name: Create type file 14 | template: 15 | src: ../templates/type.d.ts.jinja 16 | dest: "{{root}}/app/@types/{{ts_module}}/index.d.ts" 17 | -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | tabWidth: 2, 3 | singleQuote: false, 4 | }; -------------------------------------------------------------------------------- /settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/settings.json -------------------------------------------------------------------------------- /setup.sh: -------------------------------------------------------------------------------- 1 | # Description: Setup the environment for Dendron development. 2 | # 3 | # For further documentation refer to [Dendron Plugin Quickstart]: 4 | # https://docs.dendron.so/notes/64f0e2d5-2c83-43df-9144-40f2c68935aa/ 5 | main() { 6 | export DENDRON_MONOREPO="${PWD:?}" 7 | 8 | "${DENDRON_MONOREPO:?}"/shell/setup.sh 9 | } 10 | 11 | main "${@}" || exit 1 12 | -------------------------------------------------------------------------------- /shell/_verify_env_variables.sh: -------------------------------------------------------------------------------- 1 | main() { 2 | # -z: returns true when value is empty. 3 | if [[ -z "${DENDRON_MONOREPO}" ]]; then 4 | echo "DENDRON_MONOREPO environment variable is not set." 5 | exit 1 6 | fi 7 | } 8 | 9 | main "${@}" || exit 1 10 | -------------------------------------------------------------------------------- /shell/_verify_npm.sh: -------------------------------------------------------------------------------- 1 | main() { 2 | if command -v npm > /dev/null 2>&1; then 3 | echo "Verified npm is installed." 4 | else 5 | echo "npm is not installed. Please install Node.js and npm." 6 | exit 1 7 | fi 8 | } 9 | 10 | main "${@}" || exit 1 11 | -------------------------------------------------------------------------------- /shell/_verify_nvm_source_me.sh: -------------------------------------------------------------------------------- 1 | main() { 2 | if type nvm > /dev/null 2>&1; then 3 | echo "nvm is installed." 4 | else 5 | echo "nvm is not installed. Please install nvm. (https://github.com/nvm-sh/nvm)" 6 | exit 1 7 | fi 8 | } 9 | 10 | main "${@}" || exit 1 11 | -------------------------------------------------------------------------------- /shell/_verify_yarn.sh: -------------------------------------------------------------------------------- 1 | main() { 2 | if command -v yarn > /dev/null 2>&1; then 3 | echo "Verified Yarn is installed." 4 | else 5 | echo "Yarn is not installed. Please install Yarn." 6 | exit 1 7 | fi 8 | } 9 | 10 | main "${@}" || exit 1 11 | -------------------------------------------------------------------------------- /templates/type.d.ts.jinja: -------------------------------------------------------------------------------- 1 | declare module "{{ts_module}}" { 2 | export function {{ts_module}}(...args: any): any; 3 | } 4 | -------------------------------------------------------------------------------- /test-workspace/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | docs/* 3 | !docs/index.* 4 | .dendron.* 5 | docs 6 | vault-generated/ 7 | pods/* 8 | .history 9 | .backup 10 | *.svg -------------------------------------------------------------------------------- /test-workspace/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "dendron.rootDir": ".", 3 | "editor.snippetSuggestions": "inline", 4 | "editor.suggest.snippetsPreventQuickSuggestions": false, 5 | "editor.suggest.showSnippets": true, 6 | "editor.tabCompletion": "on" 7 | } -------------------------------------------------------------------------------- /test-workspace/assets/.gitignore: -------------------------------------------------------------------------------- 1 | .dendron.cache.* 2 | -------------------------------------------------------------------------------- /test-workspace/assets/note-in-asset-vault.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: r68Zw7OChUZWvbD10qqmY 3 | title: Note in Asset Vault 4 | desc: '' 5 | updated: 1637665424503 6 | created: 1637664763756 7 | --- 8 | 9 | Note in asset vault. 10 | -------------------------------------------------------------------------------- /test-workspace/assets/root.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 7oEBLZHJVKqHeA5JtXEL4 3 | title: Root 4 | desc: '' 5 | updated: 1637664757477 6 | created: 1637664069927 7 | --- 8 | # Welcome to Dendron 9 | 10 | This is the root of your dendron vault. If you decide to publish your entire vault, this will be your landing page. You are free to customize any part of this page except the frontmatter on top. 11 | 12 | 13 | -------------------------------------------------------------------------------- /test-workspace/assets/root.schema.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | imports: [] 3 | schemas: 4 | - id: root 5 | children: [] 6 | title: root 7 | parent: root 8 | -------------------------------------------------------------------------------- /test-workspace/dendronrc.yml: -------------------------------------------------------------------------------- 1 | workspace: 2 | vaults: 3 | - 4 | fsPath: dependencies/localhost/local-vault 5 | selfContained: true 6 | name: local-vault 7 | -------------------------------------------------------------------------------- /test-workspace/dependencies/localhost/local-vault/notes/root.schema.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | imports: [] 3 | schemas: 4 | - id: root 5 | children: [] 6 | title: root 7 | parent: root 8 | -------------------------------------------------------------------------------- /test-workspace/dependencies/localhost/vault3/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .dendron.* 3 | build 4 | seeds 5 | .next 6 | pods/service-connections 7 | 8 | 9 | .dendron.cache.* -------------------------------------------------------------------------------- /test-workspace/dependencies/localhost/vault3/notes/dendron.ref.links.target-different-vault.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: RwukeBqun5SaVK8cDEpqT 3 | title: Target Different Vault 4 | desc: '' 5 | updated: 1638356066961 6 | created: 1638183116472 7 | --- 8 | 9 | Vault 3 target different vault. 10 | -------------------------------------------------------------------------------- /test-workspace/dependencies/localhost/vault3/notes/egg.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: IWGwRWVevKx_bB5hNnD_p 3 | title: Egg 4 | desc: '' 5 | updated: 1628595895140 6 | created: 1628595886632 7 | stub: false 8 | --- 9 | 10 | -------------------------------------------------------------------------------- /test-workspace/dependencies/localhost/vault3/notes/egg.three.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: s3c40WZUpudglqHW 3 | title: Three 4 | desc: '' 5 | updated: 1628595885256 6 | created: 1628595885257 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/dependencies/localhost/vault3/notes/move.dest.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: y0dF2Y2xn7rtRGBIl9DLi 3 | title: Dest 4 | desc: '' 5 | updated: 1631808655171 6 | created: 1631808655171 7 | --- 8 | 9 | ## original -------------------------------------------------------------------------------- /test-workspace/dependencies/localhost/vault3/notes/move.should-not-update.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: Nu31avOQHSJ1vSyGANm6Y 3 | title: Should Not Update 4 | desc: '' 5 | updated: 1633568965258 6 | created: 1633568543967 7 | --- 8 | 9 | # stuff 10 | [[A wikilink to move that should not be counted|move]] 11 | -------------------------------------------------------------------------------- /test-workspace/dependencies/localhost/vault3/notes/not-secret.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: Zq8Kz00hOPxCo4HdS5rdt 3 | title: Not Secret 4 | desc: '' 5 | updated: 1635136697169 6 | created: 1631003866830 7 | --- 8 | [[dendron.ref.links]] 9 | 10 | [[five|move#five]] 11 | 12 | foo [[Header to move|move.dest#header-to-move]] 13 | 14 | bar [[wow|move#header-to-move]] 15 | 16 | wow [[wow|move#header-to-move]] 17 | -------------------------------------------------------------------------------- /test-workspace/dependencies/localhost/vault3/notes/root.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: D44zOd8D6oqao8ps 3 | title: Root 4 | desc: '' 5 | updated: 1628595844563 6 | created: 1628595844563 7 | --- 8 | # Welcome to Dendron 9 | 10 | This is the root of your dendron vault. If you decide to publish your entire vault, this will be your landing page. You are free to customize any part of this page except the frontmatter on top. 11 | -------------------------------------------------------------------------------- /test-workspace/dependencies/localhost/vault3/notes/root.schema.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | imports: [] 3 | schemas: 4 | - id: root 5 | children: [] 6 | title: root 7 | parent: root 8 | -------------------------------------------------------------------------------- /test-workspace/dependencies/localhost/vault3/notes/test.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: gd414g3q33nxh28jbp3wbef 3 | title: Test 4 | desc: '' 5 | updated: 1645212398555 6 | created: 1645212398555 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/header.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-workspace/other-files/not-a-note.md: -------------------------------------------------------------------------------- 1 | This is a file that isn't in any vault, so it's not a Dendron note even though it's a markdown file. Preview should still be able to preview this file. 2 | -------------------------------------------------------------------------------- /test-workspace/other-files/the-book-thief.md: -------------------------------------------------------------------------------- 1 | --- 2 | author: Markus Zusak 3 | status: In progress 4 | id: testing 5 | tags: 6 | - scope.reading 7 | - size.medium 8 | --- 9 | 10 | The story in the book was recounted by a male voice called Death, who proved to be caring yet morose throughout the book. 11 | -------------------------------------------------------------------------------- /test-workspace/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dendron-site", 3 | "version": "1.0.0", 4 | "main": "index.js", 5 | "license": "MIT", 6 | "dependencies": { 7 | "@dendronhq/dendron-cli": "*" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /test-workspace/scripts/dev.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | PORT=3005 4 | env LOG_LEVEL=info dendron launchEngineServer --init --port $PORT 5 | 6 | #| tee /tmp/out.txt 7 | -------------------------------------------------------------------------------- /test-workspace/scripts/genNote.js: -------------------------------------------------------------------------------- 1 | const {generateNote} = require("./randomNote"); 2 | 3 | console.log(generateNote()); -------------------------------------------------------------------------------- /test-workspace/vault/assets/dummy-pdf.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/test-workspace/vault/assets/dummy-pdf.pdf -------------------------------------------------------------------------------- /test-workspace/vault/assets/file with space.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/test-workspace/vault/assets/file with space.pdf -------------------------------------------------------------------------------- /test-workspace/vault/assets/images/2020-12-16-11-37-05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/test-workspace/vault/assets/images/2020-12-16-11-37-05.png -------------------------------------------------------------------------------- /test-workspace/vault/assets/images/Screen_Shot_2021-10-14_at_9.05.21_PM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/test-workspace/vault/assets/images/Screen_Shot_2021-10-14_at_9.05.21_PM.png -------------------------------------------------------------------------------- /test-workspace/vault/assets/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/test-workspace/vault/assets/images/favicon.ico -------------------------------------------------------------------------------- /test-workspace/vault/assets/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/test-workspace/vault/assets/images/logo.png -------------------------------------------------------------------------------- /test-workspace/vault/assets/test.js: -------------------------------------------------------------------------------- 1 | 2 | const x = 1; 3 | const y = [ 4 | 1, 2, 3, 4, 5 5 | ]; 6 | 7 | // See more about this in [[dendron.journal.2020.07.12.foo]] 8 | 9 | y.forEach((i) => console.log(i)); -------------------------------------------------------------------------------- /test-workspace/vault/assets/think.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendronhq/dendron/4420715a421756518863c47005c8c49a38e37621/test-workspace/vault/assets/think.pdf -------------------------------------------------------------------------------- /test-workspace/vault/bar.child-1.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 6ku8rrazosekbz0uv4me13z 3 | title: Child 1 4 | desc: '' 5 | updated: 1667395289551 6 | created: 1667395289551 7 | --- 8 | -------------------------------------------------------------------------------- /test-workspace/vault/bar.child-2.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: ieh8w6ec3dmlrfu1f14kypb 3 | title: Child 2 4 | desc: '' 5 | updated: 1667395383724 6 | created: 1667395292817 7 | --- 8 | -------------------------------------------------------------------------------- /test-workspace/vault/bar.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 56497553-c195-4ec8-bc74-6a76462d9333 3 | title: bar 4 | desc: "" 5 | updated: 1623792527635 6 | created: 1595170096361 7 | nav_exclude_children: true 8 | --- 9 | 10 | Bar one 11 | -------------------------------------------------------------------------------- /test-workspace/vault/book.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: LMEBoLCFfFu1hWbCT6lvB 3 | title: Book 4 | desc: '' 5 | updated: 1634192531301 6 | created: 1628572997008 7 | --- 8 | 9 | Hierarchy with book instance template. 10 | -------------------------------------------------------------------------------- /test-workspace/vault/book.schema.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | imports: [person] 3 | schemas: 4 | - id: book 5 | children: 6 | - characters 7 | namespace: true 8 | title: book 9 | parent: root 10 | template: 11 | id: templates.book 12 | type: note 13 | - id: characters 14 | children: 15 | - person.public_persona 16 | template: 17 | id: templates.book.characters 18 | type: note 19 | -------------------------------------------------------------------------------- /test-workspace/vault/daily.journal.2022.05.30.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: l94hrqvh5cbleeb1djqm6kj 3 | title: '30' 4 | desc: '' 5 | updated: 1654130414784 6 | created: 1654130403870 7 | --- 8 | 9 | - [ ] my tasks for monday 10 | -------------------------------------------------------------------------------- /test-workspace/vault/daily.journal.2022.05.31.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: aad9fqh1w53z75g1rerdzr3 3 | title: '31' 4 | desc: '' 5 | updated: 1654130431283 6 | created: 1654130427988 7 | --- 8 | 9 | - [ ] my tasks for tuesday 10 | -------------------------------------------------------------------------------- /test-workspace/vault/data.driven.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: JoqfuUgzr5RHoXNQGXzOc 3 | title: Driven 4 | desc: '' 5 | updated: 1636543383559 6 | created: 1636543383559 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/data.schema.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | imports: [] 3 | schemas: 4 | - id: data 5 | title: data 6 | parent: root 7 | children: 8 | - pattern: stub 9 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.apples.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: apples 3 | title: Apples 4 | desc: "" 5 | updated: 1598457956604 6 | created: 1598457956604 7 | --- 8 | 9 | apples 10 | 11 | ((ref:[[dendron.boy]])) 12 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.backlinks.target-A.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 8Ig0xWc7dTI1LgvPkbUDJ 3 | title: target-A 4 | desc: '' 5 | updated: 1639839205514 6 | created: 1639839197765 7 | --- 8 | 9 | [[dendron.backlinks]] 10 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.backlinks.target-B.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: ov6EWXwwYloaW0uwjZRy0 3 | title: target-B 4 | desc: '' 5 | updated: 1640167659599 6 | created: 1639839211791 7 | --- 8 | 9 | [[dendron.backlinks]] 10 | 11 | 12 | [[dendron.backlinks]] 13 | 14 | 15 | [[dendron.backlinks]] 16 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.backlinks.target-C.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: K9A3l5bIVNpyI9FLBuhzn 3 | title: target-C 4 | desc: '' 5 | updated: 1639839305763 6 | created: 1639839206587 7 | --- 8 | 9 | last modified 10 | 11 | [[dendron.backlinks]] 12 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.blog.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: dendron-blog 3 | title: Blog 4 | desc: "" 5 | updated: 1608147429954 6 | created: 1595170096361 7 | has_collection: true 8 | sort_order: reverse 9 | --- 10 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.blog.one.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: dendron-blog-one 3 | title: One 4 | desc: "" 5 | updated: 1608147429954 6 | created: 1595160096360 7 | categories: aws 8 | category: aws 9 | date: 2020-02-03 10 | header: 11 | teaser: /assets/images/20200106-splash.jpg 12 | tags: 13 | - consulting 14 | - business 15 | excerpt: Thoughts and learnings from 1 year as an AWS consultant 16 | --- 17 | 18 | ## Summary 19 | 20 | Blog One Summary 21 | 22 | ## Chap1 23 | 24 | Blog One Chap1 25 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.blog.sub.one.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: pxUkAI2WhYEyDoqSIQHwp 3 | title: One 4 | desc: '' 5 | updated: 1634226200006 6 | created: 1634226200007 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.blog.three.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: dendron-blog-three 3 | title: Three 4 | desc: "" 5 | updated: 1608147429954 6 | created: 1595170096361 7 | categories: aws 8 | category: aws 9 | header: 10 | teaser: /assets/images/20200106-splash.jpg 11 | tags: 12 | - consulting 13 | - business 14 | excerpt: Second thing 15 | layout: single 16 | --- 17 | 18 | ## Summary 19 | 20 | Blog 3 Summary 21 | 22 | ## Chap1 23 | 24 | Blog 3 Chap1 25 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.blog.two.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: dendron-blog-two 3 | title: Two 4 | desc: "" 5 | updated: 1608147429954 6 | created: 1595170096361 7 | date: "2020-01-10" 8 | categories: aws 9 | category: aws 10 | header: 11 | teaser: /assets/images/20200106-splash.jpg 12 | tags: 13 | - consulting 14 | - business 15 | excerpt: Second thing 16 | layout: single 17 | --- 18 | 19 | ## Summary 20 | 21 | Blog 2 Summary 22 | 23 | ## Chap1 24 | 25 | Blog 2 Chap1 26 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.boy.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: boy 3 | title: Recursive Note Ref 4 | desc: "" 5 | updated: 1609547682704 6 | created: 1598457956604 7 | source: "[Foo](https://dendron.so)" 8 | --- 9 | 10 | ((ref:[[dendron.cat]])) 11 | 12 | This is the boy in the tree 13 | 14 | This is an update {{fm.title}} 15 | 16 | lfsda foo bar 17 | 18 | ## Sources 19 | 20 | {{fm.source}} 21 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.cat.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: cat 3 | title: Cat 4 | desc: "" 5 | updated: 1614301386748 6 | created: 1598457956604 7 | nav_order: 1 8 | secret: 42 9 | --- 10 | 11 | [[bar]] 12 | 13 | apples 14 | 15 | # Bananas 16 | 17 | some bananas 18 | 19 | # Cactus 20 | 21 | a cactus 22 | 23 | # Lions 24 | 25 | There are lions 26 | 27 | - secret value: {{fm.secret}} 28 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.cmd.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: b31adaa7-f288-44d3-afb3-75fe538c66cb 3 | title: Cmd 4 | desc: '' 5 | updated: 1622736289753 6 | created: 1622736289753 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.cmd.past-file.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: e091ece7-c17e-4ea4-89e9-45772dcc227e 3 | title: Past File 4 | desc: "" 5 | updated: 1621810656887 6 | created: 1621800737757 7 | --- 8 | 9 | [dropbox.py](/assets/dropbox.py) 10 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.faq.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: Tb8aD8KYsD13l0W20dIEy 3 | title: Faq 4 | desc: '' 5 | updated: 1644502845130 6 | created: 1644502827652 7 | --- 8 | 9 | ## Hello 10 | hello world 11 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.journal.2020.07.12.bar.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: dendron.journal.2020.07.12.bar 3 | title: dendron.journal.2020.07.12.bar 4 | desc: "" 5 | updated: 1598457956604 6 | created: 1598457956604 7 | --- 8 | 9 | bar content 10 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.journal.2020.07.12.foo.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: dendron.journal.2020.07.12.foo 3 | title: dendron.journal.2020.07.12.foo 4 | desc: "" 5 | updated: 1639780191127 6 | created: 1598457956604 7 | --- 8 | 9 | Foo content 10 | 11 | link to code: [[assets/test.js]] 12 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.journal.2020.07.12.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 17e29e0e-336f-4c7b-a13e-7a9adf5df402 3 | title: "12" 4 | desc: "" 5 | updated: 1609390076444 6 | created: 1609390076444 7 | stub: true 8 | --- 9 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.journal.2020.07.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 2c838aaa-5493-4934-b751-7100d222b738 3 | title: "07" 4 | desc: "" 5 | updated: 1609390076444 6 | created: 1609390076444 7 | stub: true 8 | --- 9 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.journal.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: dendron.journal 3 | title: "Journal" 4 | desc: "" 5 | updated: 1598457956604 6 | created: 1598457956604 7 | has_collection: true 8 | sort_by: date 9 | sort_order: reverse 10 | skipLevels: 3 11 | --- 12 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.links.heading-anchors-diff-page.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: bou78C3Ldc5w98Y2OX6gG 3 | title: Heading Anchors Diff Page 4 | desc: '' 5 | updated: 1633004671354 6 | created: 1633003961347 7 | --- 8 | 9 | * [[Different page without heading anchor|dendron.links.heading-anchors]] 10 | * [[heading-2 in different page|dendron.links.heading-anchors#heading-2]] 11 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: e86ac3ab-dbe1-47a1-bcd7-9df0d0490b40 3 | title: Dendron 4 | desc: "" 5 | updated: 1653537174536 6 | created: 1595170096361 7 | nav_order: 1 8 | --- 9 | 10 | Welcome to Dendron! This guide will help get you started with your knowledge base. 11 | 12 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.bad-syntax.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: ref.bad-syntax 3 | title: Bad Syntax 4 | desc: "" 5 | updated: 1608518909864 6 | created: 1608518909864 7 | --- 8 | 9 | This is bad syntax 10 | 11 | ```text 12 | foo bar 13 | ``` 14 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.canonicalUrl.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: sHRD6D7exOAcYWlTfRtMm 3 | title: canonicalUrl 4 | desc: '' 5 | updated: 1624489480215 6 | created: 1624489480215 7 | canonicalUrl: "https://foo.com" 8 | --- 9 | 10 | This should have a canonical url 11 | 12 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.footnotes.child.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: ZgmQ930TqOJtTS2kIgAkr 3 | title: Child 4 | desc: '' 5 | updated: 1634200088031 6 | created: 1634200033802 7 | --- 8 | 9 | 10 | 11 | This note also has footnotes. One is used here. [^one] 12 | 13 | The other is here. [^other] 14 | 15 | 16 | 17 | [^one]: This is one. 18 | 19 | [^other]: This is other. 20 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.footnotes.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: QKI1kvcuYd4C9j3awmh9q 3 | title: Footnotes 4 | desc: '' 5 | updated: 1634200119081 6 | created: 1634199970368 7 | --- 8 | 9 | This note has several footnotes. The first one is used here. [^1] 10 | 11 | The second one is used here. [^second] 12 | 13 | ![[dendron.ref.footnotes.child]] 14 | 15 | [^1]: This is the first footnote. 16 | 17 | [^second]: This is the second footnote. -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.frontmatter-tags.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: HyqmR36gQFN45GCI 3 | title: Frontmatter Tags 4 | desc: '' 5 | updated: 1627071084405 6 | created: 1627070098539 7 | tags: test 8 | --- 9 | 10 | This note has a frontmatter tag. Check the frontmatter above! -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.frontmatter-tags.multi-array.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: pxde4MoefS0J7lHK 3 | title: Multi Array 4 | desc: '' 5 | updated: 1628012072103 6 | created: 1628012072103 7 | tags: [test1, test2, 'test3 '] 8 | --- 9 | 10 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.frontmatter-tags.multi.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: NmIheXJWFEjOFUE3 3 | title: Multi 4 | desc: '' 5 | updated: 1628012066184 6 | created: 1628012040285 7 | tags: 8 | - test1 9 | - test2 10 | --- 11 | 12 | This note has multiple frontmatter tags. -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.hashtags.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: qTfe5D3y1Yjgmtf3 3 | title: 'Hashtags' 4 | desc: '' 5 | updated: 1626377349870 6 | created: 1626377349870 7 | --- 8 | 9 | Totam quia et #blanditiis corporis vel aut assumenda. 10 | 11 | Doloremque ratione omnis omnis. Repellendus omnis fugiat est. #Eveniet 12 | 13 | Et corporis #blanditiis atque et numquam. 14 | 15 | Officiis rerum officia esse sit in aspernatur vero. 16 | 17 | #laborum.natus.provident 18 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.links.recursive-lvl-1.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: NEdz7kxjURrLiK3ug1XRp 3 | title: Recursive Lvl 1 4 | desc: '' 5 | updated: 1633435096229 6 | created: 1633435024421 7 | --- 8 | 9 | recursive-lvl-1-content. 10 | 11 | ![[dendron.ref.links.recursive-lvl-2]] 12 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.links.recursive-lvl-2.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: FxFtJPmIp9LY8vUGDVR7i 3 | title: Recursive Lvl 2 4 | desc: '' 5 | updated: 1633435099574 6 | created: 1633435032633 7 | --- 8 | 9 | recursive-lvl-2-content. 10 | 11 | ![[dendron.ref.links.recursive-lvl-3]] 12 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.links.recursive-lvl-3.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: RcehoiA0lyBa9QKBnbSzM 3 | title: Recursive Lvl 3 4 | desc: '' 5 | updated: 1633435123825 6 | created: 1633435100879 7 | --- 8 | 9 | 10 | recursive-lvl-3-content. 11 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.links.target-1.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: IBuWLJknKzHJfP1AUnbIy 3 | title: Target 1 4 | desc: '' 5 | updated: 1633425818620 6 | created: 1633425807673 7 | --- 8 | 9 | target-1-content 10 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.links.target-2.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: DtqoikHp1uG80SpzRdaTD 3 | title: Target 2 4 | desc: '' 5 | updated: 1633426143392 6 | created: 1633425809671 7 | --- 8 | 9 | target-2-content 10 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.links.target-3.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: Q3yQ5A0OANo9wA18egVkc 3 | title: Target 3 4 | desc: '' 5 | updated: 1633432959707 6 | created: 1633426141391 7 | --- 8 | 9 | target-3-content 10 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.links.target.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: links.target 3 | title: Links Target 4 | desc: "" 5 | updated: 1608147857388 6 | created: 1608147795766 7 | --- 8 | 9 | ## Summary 10 | 11 | This is some text 12 | ^123 13 | 14 | ## Blah 15 | 16 | THis is some blah -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.links.website.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: TrdXMfwmVBPcQXCmh4unB 3 | title: Website 4 | desc: '' 5 | updated: 1639039882499 6 | created: 1639039870769 7 | --- 8 | 9 | [google](http://google.com) 10 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.math.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: rxOL3iDLtytHxCAraYSlg 3 | title: Math 4 | desc: '' 5 | updated: 1636334379642 6 | created: 1636334370177 7 | --- 8 | 9 | 10 | ### Inline 11 | ``` 12 | $f(x) = sin(x)$ 13 | ``` 14 | 15 | will render as 16 | 17 | $f(x) = sin(x)$ 18 | 19 | ### Block 20 | 21 | ``` 22 | $$ 23 | f(x) = sin(x) 24 | $$ 25 | ``` 26 | 27 | will render as 28 | 29 | $$ 30 | f(x) = sin(x) 31 | $$ -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 381a8c9d-a086-46dd-bff4-91fdd190d96e 3 | title: Ref 4 | desc: "" 5 | updated: 1608518909864 6 | created: 1608518909864 7 | has_collection: true 8 | --- 9 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.merge-note.destination.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: xrnpdp8etxe63w6ov0dps83 3 | title: Destination 4 | desc: '' 5 | updated: 1659680883489 6 | created: 1659680875718 7 | --- 8 | 9 | This is a merge note destination -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.merge-note.source.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: ptyzihyt6ktyek8l0g23tqd 3 | title: Source 4 | desc: '' 5 | updated: 1659681415647 6 | created: 1659680898744 7 | --- 8 | 9 | This is a merge note source 10 | This is going to be appended to the destination 11 | 12 | some content that has an anchor ^55nqtav1wh81 13 | 14 | ## Some header 15 | This is a header in source 16 | 17 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.noindex.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: id-ref-noindex 3 | title: Simple Note Ref 4 | desc: "" 5 | updated: 1608147857388 6 | created: 1608147795766 7 | noindex: true 8 | --- 9 | 10 | This page shouldn't be indexed 11 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.note-ref2.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: id-note-ref-2 3 | title: Note Refs Recursive 4 | desc: "" 5 | updated: 1608147857388 6 | created: 1608147795766 7 | --- 8 | 9 | ## Header1 10 | 11 | Text1 12 | 13 | ## Reference 14 | 15 | ![[dendron.ref.note-ref2#header1:#*]] 16 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.publishSite.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: fe865974-9741-41bf-afb8-f25ca5a604d5 3 | title: publishSite 4 | desc: "" 5 | updated: 1614629174763 6 | created: 1614629107657 7 | --- 8 | 9 | ### abs link to home page 10 | 11 | [[Dendron|dendron://vault/dendron]] 12 | [[Dendron|dendron]] 13 | 14 | ### note ref to home page 15 | 16 | - absolute 17 | ![[dendron://vault/dendron]] 18 | - relative 19 | ![[dendron]] 20 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.template-all-vars.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: w0igsiuo7m6upo53qnusyc4 3 | title: Template All Vars 4 | desc: Custom Description 5 | updated: 1653259490100 6 | created: 1653259490100 7 | --- 8 | 9 | - CURRENT_YEAR: 2022 10 | - CURRENT_MONTH: 05 11 | - CURRENT_WEEK: 20 12 | - CURRENT_DAY: 22 13 | - CURRENT_HOUR: 15 14 | - CURRENT_MINUTE: 44 15 | - CURRENT_SECOND: 50 16 | - CURRENT_DAY_OF_WEEK: 0 17 | - FNAME: dendron.ref.template-all-vars 18 | - DESC: Custom Description 19 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.ref.users.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: kCsOf22GDKfYogkogB4pa 3 | title: Users 4 | desc: "" 5 | updated: 1654666546179 6 | created: 1630130282280 7 | --- 8 | 9 | User notes can be linked using @username. 10 | 11 | These can also have hierarchies, like @customer.Foo, which helps with organization. 12 | 13 | Some user notes may be missing, like @this.one. 14 | 15 | This email@example.com should not be a user tag 16 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.schema.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | imports: [] 3 | schemas: 4 | - id: dendron 5 | children: [welcome] 6 | title: dendron 7 | parent: root 8 | - id: welcome 9 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.selection-to-items.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: GzqTTx3jaIwjzU9alNGrT 3 | title: Selection to Items 4 | desc: "" 5 | updated: 1637657491190 6 | created: 1637588464144 7 | --- 8 | 9 | [[foo|dendron.apples]] 10 | [[blog|dendron.blog]] 11 | [[bar]] 12 | [[dendron.cat]] 13 | [[wow|dendron://vault/dendron.journal]] 14 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.t.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: RR4JvB7jlwiOdweojhhS0 3 | title: T 4 | desc: '' 5 | updated: 1631468852348 6 | created: 1631468852348 7 | stub: true 8 | --- 9 | 10 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.t.publishing.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 0MnmzMXf9t6AIgxMPqYts 3 | title: Publishing 4 | desc: '' 5 | updated: 1631468893516 6 | created: 1631468852329 7 | --- 8 | 9 | 10 | 11 | ## Private Link 12 | 13 | Link to private vault -> [[dendron://vault2/egg]] 14 | -------------------------------------------------------------------------------- /test-workspace/vault/dendron.welcome.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 05774b2e-ebf7-4bbc-8171-ad191ba0ae0a 3 | title: "Welcome to Dendron \U0001F332" 4 | desc: "" 5 | updated: 1598457956604 6 | created: 1598457956604 7 | stub: false 8 | nav_exclude: true 9 | --- 10 | 11 | Some text 12 | 13 | ## Header1 14 | 15 | ## Header (special chars) 16 | -------------------------------------------------------------------------------- /test-workspace/vault/egg.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: eoNz75Pw7KzJAL4ahfcLW 3 | title: Egg 4 | desc: '' 5 | updated: 1687039104750 6 | created: 1628601604229 7 | --- 8 | 9 | fdlkfdssdfd -------------------------------------------------------------------------------- /test-workspace/vault/egg.one.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: R01O3Jl25ryhOfP1UXVIp 3 | title: One 4 | desc: '' 5 | updated: 1628601607090 6 | created: 1628601607091 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/foo bar.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: foo-bar 3 | title: Foo Bar 4 | desc: "" 5 | updated: 1608518909864 6 | created: 1608518909864 7 | --- 8 | 9 | This is foo bar 10 | -------------------------------------------------------------------------------- /test-workspace/vault/foo.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: foo 3 | title: Foo 4 | desc: "" 5 | updated: 1638882358581 6 | created: 1595170096361 7 | published: true 8 | nav_exclude: true 9 | --- 10 | 11 | ## Foo Header 12 | This is the foo note 13 | 14 | [goog](https://www.google.com/) [bing](https://www.bing.com/) 15 | 16 | ## Header Value 17 | * [goog](https://www.google.com/) 18 | * [bing](https://www.bing.com/) 19 | * [yahoo](https://www.yahoo.com/) 20 | 21 | non-link-value 22 | -------------------------------------------------------------------------------- /test-workspace/vault/foo.one.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: foo-one 3 | title: Foo One 4 | desc: "" 5 | updated: 1608147429954 6 | created: 1595170096361 7 | published: true 8 | --- 9 | 10 | This is the foo one note 11 | -------------------------------------------------------------------------------- /test-workspace/vault/foo.two.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: foo-two 3 | title: Foo Two 4 | desc: "" 5 | updated: 1608147429954 6 | created: 1595170096361 7 | --- 8 | 9 | This is the foo two note 10 | -------------------------------------------------------------------------------- /test-workspace/vault/github.issues.31-lorem-ipsum-101-test.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: RKHQLGSbFJiyDRm5jbjF9 3 | title: 31 Lorem Ipsum 101 Test 4 | desc: '' 5 | updated: 1639736164072 6 | created: 1639735640344 7 | tags: 8 | - scope.pod 9 | url: 'https://github.com/Harshita-mindfire/graphQL/issues/31' 10 | status: 'CLOSED' 11 | issueID: I_kwDOGFRkSc5Ajp_J 12 | author: 'https://github.com/Harshita-mindfire' 13 | --- 14 | Testing API 15 | -------------------------------------------------------------------------------- /test-workspace/vault/hijacked.dendron.blog.entry1.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 1rKZc0Ga1stHHSJbp2j4b 3 | title: Entry1 4 | desc: '' 5 | updated: 1634223523979 6 | created: 1634223523979 7 | --- 8 | 9 | Hijacked blog entry. This file is used for look up tests when we targeting only children of `dendron.blog.` 10 | -------------------------------------------------------------------------------- /test-workspace/vault/journal.schema.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | schemas: 3 | - id: daily 4 | parent: root 5 | children: 6 | - pattern: journal 7 | children: 8 | - pattern: "[0-2][0-9][0-9][0-9]" 9 | children: 10 | - pattern: "[0-1][0-9]" 11 | children: 12 | - pattern: "[0-3][0-9]" 13 | template: 14 | id: templates.daily 15 | type: note -------------------------------------------------------------------------------- /test-workspace/vault/languages.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: gYD0m6QtGLvxWOmB9MMDr 3 | title: Languages 4 | desc: '' 5 | updated: 1638778851478 6 | created: 1638778851478 7 | stub: true 8 | --- 9 | 10 | -------------------------------------------------------------------------------- /test-workspace/vault/languages.python.data.bool.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: ml2iUxT9ljJMXSC4b1yzo 3 | title: Bool 4 | desc: '' 5 | updated: 1635935099746 6 | created: 1635935099746 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/languages.python.data.integer.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 6tG2OW2u9mYlzf9F09u4j 3 | title: Integer 4 | desc: '' 5 | updated: 1635935103481 6 | created: 1635935103481 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/languages.python.data.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: bDBYPZYlhiZUzqvnW3FGJ 3 | title: Data 4 | desc: '' 5 | updated: 1635935094665 6 | created: 1635935094665 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/languages.python.data.string.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: LmfREuriowlRnQ4BTCrUa 3 | title: String 4 | desc: '' 5 | updated: 1636377310042 6 | created: 1635935109644 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/languages.python.data.string.memory.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: p9peEtJdzui5qJ8z4rfrt 3 | title: Memory 4 | desc: '' 5 | updated: 1636555151090 6 | created: 1636555151090 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/languages.python.machine-learning.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: FIHLF81wxYDFKq0d2PPoI 3 | title: Machine Learning 4 | desc: '' 5 | updated: 1635935113552 6 | created: 1635935113552 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/languages.python.machine-learning.pandas.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: qp9GpwdH7mWiYKDhR1aPN 3 | title: Pandas 4 | desc: '' 5 | updated: 1636371216544 6 | created: 1636371216544 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/languages.python.machine-learning.scipy.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: f4qdTnePkV8rA1uu9gSyJ 3 | title: Scipy 4 | desc: '' 5 | updated: 1635935123364 6 | created: 1635935123364 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/languages.with-data.make-sense.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 9n6E59Cu8Mb0ppbQpmIVm 3 | title: Make Sense 4 | desc: '' 5 | updated: 1636543408818 6 | created: 1636543408818 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/lorem.ipsum.mdone.first.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: btoos0nejw7x2qykqm8aylv 3 | title: First 4 | desc: '' 5 | updated: 1650444195131 6 | created: 1650444195131 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/meet.journal.2021.08.17.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: YnB1svB9LO3zKw0qp4f8G 3 | title: '2021-08-17' 4 | desc: '' 5 | updated: 1629219347222 6 | created: 1629219347222 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/meet.journal.2021.08.18.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: NAVlqGJutIZCHqUHyufXG 3 | title: '2021-08-18' 4 | desc: '' 5 | updated: 1629219352525 6 | created: 1629219352525 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/meet.journal.2021.08.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: gOoMt9O9btsanZ36jCXKc 3 | title: 08 4 | desc: '' 5 | updated: 1629219348300 6 | created: 1629219348300 7 | stub: false 8 | --- 9 | -------------------------------------------------------------------------------- /test-workspace/vault/meet.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: PgHdLRIi5E31bK6TBeBB4 3 | title: Meet 4 | desc: '' 5 | updated: 1629219344651 6 | created: 1629219344651 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/person.schema.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | imports: [] 3 | 4 | _anchors: 5 | person_expansion: &person_expansion 6 | title: Person-Title 7 | template: templates.person 8 | 9 | schemas: 10 | - <<: *person_expansion 11 | id: public_persona 12 | parent: root 13 | children: [] 14 | -------------------------------------------------------------------------------- /test-workspace/vault/recipe.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: PcnVj4GZBt7O3HTrwqcFq 3 | title: Recipe 4 | desc: '' 5 | updated: 1628551623580 6 | created: 1628551618072 7 | --- 8 | 9 | This is a recipe. 10 | 11 | try lookup with value `recipe.` in picker. will give you some suggestions. -------------------------------------------------------------------------------- /test-workspace/vault/root.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: b8064760-d3e6-4aac-ad62-eb44a52b01be 3 | title: Welcome to Dendron 4 | desc: "" 5 | updated: 1608143370884 6 | created: 1608143370884 7 | --- 8 | 9 | This is the root of your dendron vault. If you decide to publish your entire vault, this will be your landing page. You are free to customize any part of this page except the frontmatter on top. 10 | -------------------------------------------------------------------------------- /test-workspace/vault/root.schema.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | imports: [] 3 | schemas: 4 | - id: root 5 | children: [] 6 | title: root 7 | parent: root 8 | -------------------------------------------------------------------------------- /test-workspace/vault/stub.child.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: ac11ddb8-5254-4847-b2c5-d25593bf1bc5 3 | title: Child 4 | desc: "" 5 | updated: 1621535927286 6 | created: 1621535927286 7 | --- 8 | -------------------------------------------------------------------------------- /test-workspace/vault/stub.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 65894f34-734d-4c3e-902b-c117562f69df 3 | title: Stub 4 | desc: "" 5 | updated: 1621535927335 6 | created: 1621535927336 7 | --- 8 | -------------------------------------------------------------------------------- /test-workspace/vault/tags.Eveniet.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: eavG66n0ADXrIFOa 3 | title: 'Eveniet' 4 | desc: '' 5 | updated: 1626498852151 6 | created: 1626377535242 7 | color: '#00FF24' 8 | --- 9 | 10 | A tag that's not a stub and has content. Should appear when hovering over the tag. 11 | 12 | This tag overrides the auto-generated color for it, it will show up as a bright green. Check the frontmatter in the source code, and then look at a tag that leads to this note. 13 | -------------------------------------------------------------------------------- /test-workspace/vault/tags.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: L1AtQ7LhPAsJMq5R4AnGx 3 | title: Tags 4 | desc: '' 5 | updated: 1628786061158 6 | created: 1628786061158 7 | stub: true 8 | nav_order: 2 9 | --- 10 | 11 | -------------------------------------------------------------------------------- /test-workspace/vault/tags.test.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: ULtqbcnTNYoOpxXR 3 | title: Test 4 | desc: '' 5 | updated: 1627070525522 6 | created: 1627069681086 7 | --- 8 | 9 | This is a tag. 10 | -------------------------------------------------------------------------------- /test-workspace/vault/tags.test1.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: QDIKn4vKnfIdA950 3 | title: Test1 4 | desc: '' 5 | updated: 1628012099110 6 | created: 1628012090558 7 | --- 8 | 9 | This is a test tag 1. -------------------------------------------------------------------------------- /test-workspace/vault/tags.test2.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 4eX9miF6gvav5lJx 3 | title: Test2 4 | desc: '' 5 | updated: 1628012107987 6 | created: 1628012102838 7 | --- 8 | 9 | This is a test tag 2. -------------------------------------------------------------------------------- /test-workspace/vault/tags.test3.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: DoM3LrJ4K1EeaDR7ITbzm 3 | title: Test3 4 | desc: '' 5 | updated: 1628062352858 6 | created: 1628062347805 7 | --- 8 | 9 | this is the tag 3 -------------------------------------------------------------------------------- /test-workspace/vault/tags.to-read.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 29atjsH1jzXDm0921N1Fj 3 | title: To Read 4 | desc: '' 5 | updated: 1633726189916 6 | created: 1633726189916 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault/task.2021.10.26.020813.prepare-report.mail-report.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: njcq8853ym5deoxwekdvzwx 3 | title: Mail Report 4 | desc: '' 5 | updated: 1652737697796 6 | created: 1652737673213 7 | status: 'in-progress' 8 | due: '' 9 | priority: '' 10 | owner: '' 11 | --- 12 | 13 | -------------------------------------------------------------------------------- /test-workspace/vault/task.2021.10.26.021747.get-documents-ready.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: wrKwawycw9Vyc73qP1LUq 3 | title: Get Documents Ready 4 | desc: '' 5 | updated: 1635450664296 6 | created: 1635229072353 7 | status: 'x' 8 | due: '' 9 | priority: '' 10 | owner: 'kevin' 11 | --- 12 | 13 | -------------------------------------------------------------------------------- /test-workspace/vault/task.2021.10.26.031752.task-without-status.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: Ms2QwJ4dDh7GuED0xJI1X 3 | title: Task without Status 4 | desc: '' 5 | updated: 1635232751799 6 | created: 1635232674435 7 | due: '' 8 | priority: 'H' 9 | owner: '' 10 | tags: [size.small] 11 | --- 12 | 13 | -------------------------------------------------------------------------------- /test-workspace/vault/template.book.characters.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 7HNjtDynBZxJiO9fOlAoZ 3 | title: Characters 4 | desc: '' 5 | updated: 1634097351594 6 | created: 1634097336682 7 | --- 8 | 9 | ## Main characters: 10 | 11 | ## Side characters: 12 | -------------------------------------------------------------------------------- /test-workspace/vault/template.book.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: AI5AVma55sonaoodiV9cA 3 | title: Book 4 | desc: '' 5 | updated: 1628572976529 6 | created: 1628572852436 7 | tags: to-read 8 | --- 9 | 10 | ## Info 11 | - Full title: 12 | - Author: 13 | - ISBN: 14 | - Publisher: 15 | - Status: 16 | 17 | ## Notes 18 | -------------------------------------------------------------------------------- /test-workspace/vault/template.daily.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: z8Jr41tR1PJxWc7qXrgwD 3 | title: Daily 4 | desc: '' 5 | updated: 1654130425505 6 | created: 1634725228527 7 | --- 8 | 9 | {{#if (eq (getDayOfWeek (fname2Date)) 1) }} 10 | - [ ] my tasks for monday 11 | {{/if}} 12 | {{#if (eq (getDayOfWeek (fname2Date)) 2) }} 13 | - [ ] my tasks for tuesday 14 | {{/if}} -------------------------------------------------------------------------------- /test-workspace/vault/template.person.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: goY0b3Pecr5SVBDzznbUQ 3 | title: Person 4 | desc: '' 5 | updated: 1637139054830 6 | created: 1637139036989 7 | --- 8 | 9 | This is a template for person which should be coming from a YAML schema expansion. 10 | -------------------------------------------------------------------------------- /test-workspace/vault/template.untyped.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: VphLAicqoz3lcGsBesdmD 3 | title: Untyped 4 | desc: '' 5 | updated: 1635138378476 6 | created: 1635138374572 7 | --- 8 | 9 | Untyped template value. 10 | -------------------------------------------------------------------------------- /test-workspace/vault/untyped_template.schema.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | imports: [] 3 | schemas: 4 | - id: untyped_template 5 | parent: root 6 | children: 7 | - pattern: one 8 | template: templates.untyped 9 | -------------------------------------------------------------------------------- /test-workspace/vault/user.customer.Foo.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: nMDZfnVYsSTZfRL09zz2s 3 | title: Foo 4 | desc: '' 5 | updated: 1630130355525 6 | created: 1630130346207 7 | --- 8 | 9 | This is a another user. -------------------------------------------------------------------------------- /test-workspace/vault/user.username.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: b8hXsaznBuNcYlIW8i0BQ 3 | title: Username 4 | desc: '' 5 | updated: 1630130365284 6 | created: 1630130298935 7 | --- 8 | 9 | This is a user. -------------------------------------------------------------------------------- /test-workspace/vault2/assets/test.md: -------------------------------------------------------------------------------- 1 | This is a test file 2 | -------------------------------------------------------------------------------- /test-workspace/vault2/bar.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: bar2 3 | title: Bar 4 | desc: "" 5 | updated: 1623792590469 6 | created: 1622139298689 7 | --- 8 | 9 | This is the bar file 10 | 11 | [[dendron://vault/foo]] 12 | -------------------------------------------------------------------------------- /test-workspace/vault2/cmd.paste-file-from-2nd-vault.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: f17af4c1-2f1d-4dfd-bfdd-8b273a98ef3a 3 | title: Paste File from 2nd Vault 4 | desc: "" 5 | updated: 1622139411970 6 | created: 1622139398217 7 | --- 8 | 9 | [test.md](assets/test.md) 10 | -------------------------------------------------------------------------------- /test-workspace/vault2/daily.journal.2021.07.02.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: qNAOQaSk0MtrwW1bDbrAb 3 | title: '2021-07-02' 4 | desc: '' 5 | updated: 1625245868658 6 | created: 1625245868658 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault2/daily.journal.2021.07.09.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: tt21VDlkIypggGVv2E3Zr 3 | title: '2021-07-09' 4 | desc: '' 5 | updated: 1625245870792 6 | created: 1625245870792 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault2/daily.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: ar3WPlF6H7rpVR9AFaUFO 3 | title: Daily 4 | desc: '' 5 | updated: 1634725302848 6 | created: 1634725302848 7 | stub: true 8 | --- 9 | 10 | -------------------------------------------------------------------------------- /test-workspace/vault2/dendron.ref.links.target-different-vault.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: vUHPvIxH0mOCxCEOkINkl 3 | title: Target Different Vault 4 | desc: '' 5 | updated: 1638356054182 6 | created: 1638183067573 7 | --- 8 | 9 | Vault2 target (different vault). -------------------------------------------------------------------------------- /test-workspace/vault2/dendron.schema.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | imports: [] 3 | schemas: 4 | - id: dendron 5 | children: 6 | - pattern: ref 7 | children: 8 | - pattern: template-all-vars 9 | template: template.all-vars 10 | title: dendron 11 | parent: root 12 | -------------------------------------------------------------------------------- /test-workspace/vault2/egg.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 6G34jAxKXPXw5FwsglpN4 3 | title: Egg 4 | desc: '' 5 | updated: 1628601575475 6 | created: 1628601575475 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault2/egg.two.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: EZPsfvR1ULOz4s9nAAPAA 3 | title: Two 4 | desc: '' 5 | updated: 1628601580719 6 | created: 1628601580719 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault2/languages.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: jA1WtNZ86KnxD44kWL4VU 3 | title: Languages 4 | desc: '' 5 | updated: 1638778892875 6 | created: 1638778892875 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault2/root.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: 4ab2b6d9-4a18-4c6c-b3ba-c4b32a1d15b0 3 | title: Root 4 | desc: "" 5 | updated: 1622139298688 6 | created: 1622139298689 7 | --- 8 | 9 | # Welcome to Dendron 10 | 11 | This is the root of your dendron vault. If you decide to publish your entire vault, this will be your landing page. You are free to customize any part of this page except the frontmatter on top. 12 | -------------------------------------------------------------------------------- /test-workspace/vault2/root.schema.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | imports: [] 3 | schemas: 4 | - id: root 5 | children: [] 6 | title: root 7 | parent: root 8 | -------------------------------------------------------------------------------- /test-workspace/vault2/secret.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: tG7Bj5kiO6UiJBVGipMkG 3 | title: Secret 4 | desc: '' 5 | updated: 1631003961643 6 | created: 1631003961643 7 | --- 8 | 9 | [[dendron.ref.links]] -------------------------------------------------------------------------------- /test-workspace/vault2/test.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: in7gfkmc3hvxfay3kbiay8b 3 | title: Test 4 | desc: '' 5 | updated: 1645212390522 6 | created: 1645212390522 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /test-workspace/vault2/the-book-thief.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: ERSdVKMDkkwFnJGHUBGFR 3 | title: The Book Thief 4 | desc: '' 5 | updated: 1642498483045 6 | created: 1642498483045 7 | stub: false 8 | isDir: false 9 | author: Markus Zusak 10 | status: In progress 11 | tags: 12 | - scope.reading 13 | - size.medium 14 | obsidianId: testing 15 | --- 16 | 17 | The story in the book was recounted by a male voice called Death, who proved to be caring yet morose throughout the book. 18 | -------------------------------------------------------------------------------- /vendor/dendron-remark-math/index.js: -------------------------------------------------------------------------------- 1 | const inlinePlugin = require('./inline') 2 | const blockPlugin = require('./block') 3 | 4 | module.exports = math 5 | 6 | function math(options) { 7 | var settings = options || {} 8 | blockPlugin.call(this, settings) 9 | inlinePlugin.call(this, settings) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/dendron-remark-math/types/index.d.ts: -------------------------------------------------------------------------------- 1 | import {Plugin} from 'unified' // eslint-disable-line import/no-extraneous-dependencies 2 | 3 | declare namespace remarkMath { 4 | interface RemarkMathOptions { 5 | inlineMathDouble?: boolean 6 | } 7 | 8 | type Math = Plugin<[RemarkMathOptions?]> 9 | } 10 | 11 | declare const remarkMath: remarkMath.Math 12 | 13 | export = remarkMath 14 | -------------------------------------------------------------------------------- /vendor/dendron-remark-math/types/test.ts: -------------------------------------------------------------------------------- 1 | import unified from 'unified' // eslint-disable-line import/no-extraneous-dependencies 2 | import math from 'remark-math' 3 | 4 | // $ExpectType Processor 5 | unified().use(math) 6 | // $ExpectType Processor 7 | unified().use(math, {inlineMathDouble: true}) 8 | // $ExpectError 9 | unified().use(math, {inlineMathDouble: 3}) 10 | // $ExpectError 11 | unified().use(math, {invalidProp: true}) 12 | -------------------------------------------------------------------------------- /vendor/dendron-remark-math/types/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "lib": ["es2015", "dom"], 4 | "strict": true, 5 | "baseUrl": ".", 6 | "paths": {"remark-math": ["."]}, 7 | "esModuleInterop": true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /vendor/dendron-remark-math/types/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "dtslint/dtslint.json", 3 | "rules": { 4 | "semicolon": false, 5 | "whitespace": false 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /vendor/dendron-remark-math/util.js: -------------------------------------------------------------------------------- 1 | exports.isRemarkParser = isRemarkParser 2 | exports.isRemarkCompiler = isRemarkCompiler 3 | 4 | function isRemarkParser(parser) { 5 | return Boolean(parser && parser.prototype && parser.prototype.blockTokenizers) 6 | } 7 | 8 | function isRemarkCompiler(compiler) { 9 | return Boolean(compiler && compiler.prototype && compiler.prototype.visitors) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/dendron-remark-math/yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | -------------------------------------------------------------------------------- /watch.sh: -------------------------------------------------------------------------------- 1 | # Related documentation here https://docs.dendron.so/notes/64f0e2d5-2c83-43df-9144-40f2c68935aa/ 2 | main() { 3 | ./bootstrap/scripts/watch.sh 4 | } 5 | 6 | main "${@}" || exit 1 7 | --------------------------------------------------------------------------------