renamed main.js (back to lowercase)

This commit is contained in:
Zsolt Viczian
2022-02-28 19:05:55 +01:00
parent b944b348fc
commit 857f41ad07
20 changed files with 20 additions and 20 deletions

View File

@@ -10,7 +10,7 @@ const isProd = (process.env.NODE_ENV === "production");
console.log("Is production", isProd);
export default {
input: 'src/Main.ts',
input: 'src/main.ts',
output: {
dir: '.',
sourcemap: 'inline',

View File

@@ -16,7 +16,7 @@ import { ExcalidrawData, getTransclusion } from "./ExcalidrawData";
import { ExportSettings } from "./ExcalidrawView";
import { t } from "./lang/helpers";
import { tex2dataURL } from "./LaTeX";
import ExcalidrawPlugin from "./Main";
import ExcalidrawPlugin from "./main";
import {
errorlog,
getDataURL,

View File

@@ -1,4 +1,4 @@
import ExcalidrawPlugin from "./Main";
import ExcalidrawPlugin from "./main";
import {
FillStyle,
StrokeStyle,

View File

@@ -16,7 +16,7 @@ import {
REG_BLOCK_REF_CLEAN,
} from "./Constants";
import { measureText } from "./ExcalidrawAutomate";
import ExcalidrawPlugin from "./Main";
import ExcalidrawPlugin from "./main";
import { JSON_parse } from "./Constants";
import { TextMode } from "./ExcalidrawView";
import {

View File

@@ -40,7 +40,7 @@ import {
KEYCODE,
LOCAL_PROTOCOL,
} from "./Constants";
import ExcalidrawPlugin from "./Main";
import ExcalidrawPlugin from "./main";
import { repositionElementsToCursor } from "./ExcalidrawAutomate";
import { t } from "./lang/helpers";
import {

View File

@@ -11,7 +11,7 @@ import {
EXCALIDRAW_AUTOMATE_INFO,
EXCALIDRAW_SCRIPTENGINE_INFO,
} from "./SuggestorInfo";
import type ExcalidrawPlugin from "./Main";
import type ExcalidrawPlugin from "./main";
export class FieldSuggestor extends EditorSuggest<string> {
plugin: ExcalidrawPlugin;

View File

@@ -3,7 +3,7 @@ import { fileURLToPath } from "url";
import { IMAGE_TYPES, REG_LINKINDEX_INVALIDCHARS } from "./Constants";
import ExcalidrawView from "./ExcalidrawView";
import { t } from "./lang/helpers";
import ExcalidrawPlugin from "./Main";
import ExcalidrawPlugin from "./main";
export class InsertImageDialog extends FuzzySuggestModal<TFile> {
public app: App;

View File

@@ -1,7 +1,7 @@
import { App, FuzzySuggestModal, TFile } from "obsidian";
import ExcalidrawView from "./ExcalidrawView";
import { t } from "./lang/helpers";
import ExcalidrawPlugin from "./Main";
import ExcalidrawPlugin from "./main";
export class InsertMDDialog extends FuzzySuggestModal<TFile> {
public app: App;

View File

@@ -1,6 +1,6 @@
import { DataURL } from "@zsviczian/excalidraw/types/types";
import ExcalidrawView from "./ExcalidrawView";
import ExcalidrawPlugin from "./Main";
import ExcalidrawPlugin from "./main";
import { FileData, MimeType } from "./EmbeddedFileLoader";
import { FileId } from "@zsviczian/excalidraw/types/element/types";
import { getImageSize, sleep, svgToBase64 } from "./Utils";

View File

@@ -8,7 +8,7 @@ import { CTRL_OR_CMD, RERENDER_EVENT } from "./Constants";
import { EmbeddedFilesLoader } from "./EmbeddedFileLoader";
import { createPNG, createSVG } from "./ExcalidrawAutomate";
import { ExportSettings } from "./ExcalidrawView";
import ExcalidrawPlugin from "./Main";
import ExcalidrawPlugin from "./main";
import {
embedFontsInSVG,
getIMGFilename,

View File

@@ -19,7 +19,7 @@ Since March 2021, I've spent most of my free time building this plugin. By now,
I am grateful to all of you who have already bought me a coffee. THANK YOU! This means a lot to me!
I still have many-many ideas for making Obsidian Excalidraw better.
I will continue to keep all the features of the plugin free. If, however, you'd like to contribute to the on-going development of the plugin, I am introducing a simple membership scheme, with Insider, Supporter and VIP tiers.
I will continue to keep all the features of the plugin free. If, however, you'd like to contribute to the on-going development of the plugin, I am introducing a simple membership scheme, with Bronze, Silver and Gold tiers.
If you find this plugin valuable, please consider clicking the button below.
<div class="ex-coffee-div"><a href="https://ko-fi.com/zsolt"><img src="https://cdn.ko-fi.com/cdn/kofi3.png?v=3" height=45></a></div>

View File

@@ -7,7 +7,7 @@ import { SCRIPT_INSTALL_FOLDER } from "./Constants";
import { insertLaTeXToView, search } from "./ExcalidrawAutomate";
import ExcalidrawView, { TextMode } from "./ExcalidrawView";
import { t } from "./lang/helpers";
import ExcalidrawPlugin from "./Main";
import ExcalidrawPlugin from "./main";
import { ScriptIconMap } from "./Scripts";
import { getIMGFilename } from "./Utils";

View File

@@ -2,7 +2,7 @@ import { App, Modal, TFile } from "obsidian";
import { FRONTMATTER_KEY } from "./Constants";
import { ExcalidrawData, getJSON } from "./ExcalidrawData";
import { getTextMode, TextMode } from "./ExcalidrawView";
import ExcalidrawPlugin from "./Main";
import ExcalidrawPlugin from "./main";
import { errorlog, log } from "./Utils";
export class OneOffs {

View File

@@ -10,7 +10,7 @@ import {
Notice,
} from "obsidian";
import ExcalidrawView from "./ExcalidrawView";
import ExcalidrawPlugin from "./Main";
import ExcalidrawPlugin from "./main";
import { getNewOrAdjacentLeaf, sleep } from "./Utils";
export class Prompt extends Modal {

View File

@@ -1,5 +1,5 @@
import { App, MarkdownRenderer, Modal } from "obsidian";
import ExcalidrawPlugin from "./Main";
import ExcalidrawPlugin from "./main";
import { FIRST_RUN, RELEASE_NOTES } from "./Messages";
export class ReleaseNotes extends Modal {

View File

@@ -1,5 +1,5 @@
import { MarkdownRenderer, Modal, Notice, request } from "obsidian";
import ExcalidrawPlugin from "./Main";
import ExcalidrawPlugin from "./main";
import { errorlog, log } from "./Utils";
const URL =

View File

@@ -9,7 +9,7 @@ import {
import { fileURLToPath } from "url";
import { PLUGIN_ID, VIEW_TYPE_EXCALIDRAW } from "./Constants";
import ExcalidrawView from "./ExcalidrawView";
import ExcalidrawPlugin from "./Main";
import ExcalidrawPlugin from "./main";
import { GenericInputPrompt, GenericSuggester } from "./Prompt";
import { getIMGFilename, splitFolderAndFilename } from "./Utils";

View File

@@ -17,7 +17,7 @@ import {
VIRGIL_FONT,
PLUGIN_ID,
} from "./Constants";
import ExcalidrawPlugin from "./Main";
import ExcalidrawPlugin from "./main";
import { ExcalidrawElement } from "@zsviczian/excalidraw/types/element/types";
import { ExportSettings } from "./ExcalidrawView";
import { compressToBase64, decompressFromBase64 } from "lz-string";

View File

@@ -1,5 +1,5 @@
import { App, FuzzySuggestModal, TFile } from "obsidian";
import ExcalidrawPlugin from "./Main";
import ExcalidrawPlugin from "./main";
import { EMPTY_MESSAGE } from "./Constants";
import { t } from "./lang/helpers";

View File

@@ -9,7 +9,7 @@ import {
import { VIEW_TYPE_EXCALIDRAW } from "./Constants";
import ExcalidrawView from "./ExcalidrawView";
import { t } from "./lang/helpers";
import type ExcalidrawPlugin from "./Main";
import type ExcalidrawPlugin from "./main";
export interface ExcalidrawSettings {
folder: string;