Skip to content

Commit

Permalink
rename main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
zsviczian committed Nov 28, 2022
1 parent 4402447 commit fb203e2
Show file tree
Hide file tree
Showing 18 changed files with 18,419 additions and 17,690 deletions.
2,937 changes: 1,598 additions & 1,339 deletions package-lock.json

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,33 @@
"author": "",
"license": "MIT",
"dependencies": {
"obsidian-dataview": "^0.5.38",
"@popperjs/core": "^2.11.2"
"obsidian-dataview": "^0.5.51",
"@popperjs/core": "^2.11.6"
},
"devDependencies": {
"obsidian-excalidraw-plugin": "1.7.11",
"@babel/core": "^7.16.12",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@rollup/plugin-babel": "^5.3.0",
"@babel/core": "^7.20.2",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^3.0.1",
"@rollup/plugin-typescript": "^8.3.0",
"@types/node": "^15.12.4",
"@types/node": "^18.11.9",
"cross-env": "^7.0.3",
"obsidian": "^0.15.3",
"rollup": "^2.70.1",
"obsidian": "^0.16.3",
"rollup": "^2.79.1",
"rollup-plugin-visualizer": "^5.6.0",
"rollup-plugin-terser": "^7.0.2",
"tslib": "^2.3.1",
"typescript": "^4.5.5",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.5.1",
"tslib": "^2.4.1",
"typescript": "^4.9.3",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.0",
"@excalidraw/eslint-config": "1.0.0",
"@excalidraw/prettier-config": "1.0.2",
"terser": "5.12.1"
"terser": "^5.16.0"
},
"resolutions": {
"@typescript-eslint/typescript-estree": "5.3.0"
Expand Down
3 changes: 2 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ const isProd = (process.env.NODE_ENV === "production");
console.log("Is production", isProd);

export default {
input: 'src/main.ts',
input: 'src/excalibrain-main.ts',
output: {
dir: '.',
entryFileNames: 'main.js',
sourcemap: 'inline',
format: 'cjs',
exports: 'default',
Expand Down
2 changes: 1 addition & 1 deletion src/Components/HistoryPanel.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TFile } from "obsidian";
import ExcaliBrain from "src/main";
import ExcaliBrain from "src/excalibrain-main";
import { getPrimaryTag, getTagStyle } from "src/utils/dataview";

export class HistoryPanel {
Expand Down
2 changes: 1 addition & 1 deletion src/Components/LinkTagFilter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ExcaliBrain from "src/main";
import ExcaliBrain from "src/excalibrain-main";
import { Multiselect } from "src/Components/ts-multiselect/modules/multiselect.class"

export class LinkTagFilter {
Expand Down
2 changes: 1 addition & 1 deletion src/Components/ToggleButton.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ExcaliBrain from "src/main";
import ExcaliBrain from "src/excalibrain-main";

export class ToggleButton {
private button: HTMLButtonElement;
Expand Down
2 changes: 1 addition & 1 deletion src/Components/ToolsPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { renderMatches } from "obsidian";
import { ExcalidrawElement } from "obsidian-excalidraw-plugin";
import { ToggleButton } from "src/Components/ToggleButton";
import { t } from "src/lang/helpers";
import ExcaliBrain from "src/main";
import ExcaliBrain from "src/excalibrain-main";
import { splitFolderAndFilename } from "src/utils/fileUtils";
import { PageSuggest } from "../Suggesters/PageSuggester";
import { LinkTagFilter } from "./LinkTagFilter";
Expand Down
2 changes: 1 addition & 1 deletion src/Scene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { EMPTYBRAIN } from "./constants/emptyBrainFile";
import { Layout } from "./graph/Layout";
import { Links } from "./graph/Links";
import { Node } from "./graph/Node";
import ExcaliBrain from "./main";
import ExcaliBrain from "./excalibrain-main";
import { ExcaliBrainSettings } from "./Settings";
import { ToolsPanel } from "./Components/ToolsPanel";
import { Neighbour, RelationType, Role } from "./Types";
Expand Down
2 changes: 1 addition & 1 deletion src/Settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { FillStyle, getEA, StrokeSharpness, StrokeStyle } from "obsidian-excalid
import { ExcalidrawAutomate } from "obsidian-excalidraw-plugin/lib/ExcalidrawAutomate";
import { Page } from "./graph/Page";
import { t } from "./lang/helpers";
import ExcaliBrain from "./main";
import ExcaliBrain from "./excalibrain-main";
import { Hierarchy, NodeStyle, LinkStyle, RelationType, NodeStyleData, LinkStyleData, LinkDirection, Role } from "./Types";
import { WarningPrompt } from "./utils/Prompts";
import { Node } from "./graph/Node";
Expand Down
2 changes: 1 addition & 1 deletion src/Suggesters/OntologySuggester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
EditorSuggestTriggerInfo,
TFile,
} from "obsidian";
import type ExcalidrawPlugin from "../main";
import type ExcalidrawPlugin from "../excalibrain-main";

export class FieldSuggester extends EditorSuggest<string> {
plugin: ExcalidrawPlugin;
Expand Down
2 changes: 1 addition & 1 deletion src/Suggesters/PageSuggester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { App, prepareFuzzySearch, TFile } from "obsidian";
import { Page } from "src/graph/Page";
import ExcaliBrain from "src/main";
import ExcaliBrain from "src/excalibrain-main";
import { TextInputSuggest } from "./Suggest";

export enum FileSuggestMode {
Expand Down
Loading

0 comments on commit fb203e2

Please sign in to comment.