diff --git a/packages/app-cli/tests/support/plugins/codemirror_content_script/api/types.ts b/packages/app-cli/tests/support/plugins/codemirror_content_script/api/types.ts index 582fa3b69..d14c63b49 100644 --- a/packages/app-cli/tests/support/plugins/codemirror_content_script/api/types.ts +++ b/packages/app-cli/tests/support/plugins/codemirror_content_script/api/types.ts @@ -208,7 +208,7 @@ export enum MenuItemLocation { Note = 'note', Tools = 'tools', Help = 'help', - + /** * @deprecated Do not use - same as NoteListContextMenu */ @@ -223,7 +223,7 @@ export enum MenuItemLocation { * - `noteIds:string[]`: IDs of the notes that were right-clicked on. */ NoteListContextMenu = 'noteListContextMenu', - + EditorContextMenu = 'editorContextMenu', /** @@ -243,7 +243,7 @@ export enum MenuItemLocation { TagContextMenu = 'tagContextMenu', } -export function isContextMenuItemLocation(location:MenuItemLocation):boolean { +export function isContextMenuItemLocation(location: MenuItemLocation): boolean { return [ MenuItemLocation.Context, MenuItemLocation.NoteListContextMenu, diff --git a/packages/app-cli/tests/support/plugins/content_script/api/types.ts b/packages/app-cli/tests/support/plugins/content_script/api/types.ts index 582fa3b69..d14c63b49 100644 --- a/packages/app-cli/tests/support/plugins/content_script/api/types.ts +++ b/packages/app-cli/tests/support/plugins/content_script/api/types.ts @@ -208,7 +208,7 @@ export enum MenuItemLocation { Note = 'note', Tools = 'tools', Help = 'help', - + /** * @deprecated Do not use - same as NoteListContextMenu */ @@ -223,7 +223,7 @@ export enum MenuItemLocation { * - `noteIds:string[]`: IDs of the notes that were right-clicked on. */ NoteListContextMenu = 'noteListContextMenu', - + EditorContextMenu = 'editorContextMenu', /** @@ -243,7 +243,7 @@ export enum MenuItemLocation { TagContextMenu = 'tagContextMenu', } -export function isContextMenuItemLocation(location:MenuItemLocation):boolean { +export function isContextMenuItemLocation(location: MenuItemLocation): boolean { return [ MenuItemLocation.Context, MenuItemLocation.NoteListContextMenu, diff --git a/packages/app-cli/tests/support/plugins/dialog/api/types.ts b/packages/app-cli/tests/support/plugins/dialog/api/types.ts index 582fa3b69..d14c63b49 100644 --- a/packages/app-cli/tests/support/plugins/dialog/api/types.ts +++ b/packages/app-cli/tests/support/plugins/dialog/api/types.ts @@ -208,7 +208,7 @@ export enum MenuItemLocation { Note = 'note', Tools = 'tools', Help = 'help', - + /** * @deprecated Do not use - same as NoteListContextMenu */ @@ -223,7 +223,7 @@ export enum MenuItemLocation { * - `noteIds:string[]`: IDs of the notes that were right-clicked on. */ NoteListContextMenu = 'noteListContextMenu', - + EditorContextMenu = 'editorContextMenu', /** @@ -243,7 +243,7 @@ export enum MenuItemLocation { TagContextMenu = 'tagContextMenu', } -export function isContextMenuItemLocation(location:MenuItemLocation):boolean { +export function isContextMenuItemLocation(location: MenuItemLocation): boolean { return [ MenuItemLocation.Context, MenuItemLocation.NoteListContextMenu, diff --git a/packages/app-cli/tests/support/plugins/editor_context_menu/api/types.ts b/packages/app-cli/tests/support/plugins/editor_context_menu/api/types.ts index 582fa3b69..d14c63b49 100644 --- a/packages/app-cli/tests/support/plugins/editor_context_menu/api/types.ts +++ b/packages/app-cli/tests/support/plugins/editor_context_menu/api/types.ts @@ -208,7 +208,7 @@ export enum MenuItemLocation { Note = 'note', Tools = 'tools', Help = 'help', - + /** * @deprecated Do not use - same as NoteListContextMenu */ @@ -223,7 +223,7 @@ export enum MenuItemLocation { * - `noteIds:string[]`: IDs of the notes that were right-clicked on. */ NoteListContextMenu = 'noteListContextMenu', - + EditorContextMenu = 'editorContextMenu', /** @@ -243,7 +243,7 @@ export enum MenuItemLocation { TagContextMenu = 'tagContextMenu', } -export function isContextMenuItemLocation(location:MenuItemLocation):boolean { +export function isContextMenuItemLocation(location: MenuItemLocation): boolean { return [ MenuItemLocation.Context, MenuItemLocation.NoteListContextMenu, diff --git a/packages/app-cli/tests/support/plugins/events/api/types.ts b/packages/app-cli/tests/support/plugins/events/api/types.ts index 582fa3b69..d14c63b49 100644 --- a/packages/app-cli/tests/support/plugins/events/api/types.ts +++ b/packages/app-cli/tests/support/plugins/events/api/types.ts @@ -208,7 +208,7 @@ export enum MenuItemLocation { Note = 'note', Tools = 'tools', Help = 'help', - + /** * @deprecated Do not use - same as NoteListContextMenu */ @@ -223,7 +223,7 @@ export enum MenuItemLocation { * - `noteIds:string[]`: IDs of the notes that were right-clicked on. */ NoteListContextMenu = 'noteListContextMenu', - + EditorContextMenu = 'editorContextMenu', /** @@ -243,7 +243,7 @@ export enum MenuItemLocation { TagContextMenu = 'tagContextMenu', } -export function isContextMenuItemLocation(location:MenuItemLocation):boolean { +export function isContextMenuItemLocation(location: MenuItemLocation): boolean { return [ MenuItemLocation.Context, MenuItemLocation.NoteListContextMenu, diff --git a/packages/app-cli/tests/support/plugins/jpl_test/.gitignore b/packages/app-cli/tests/support/plugins/jpl_test/.gitignore index 34112f8f2..4efef4740 100644 --- a/packages/app-cli/tests/support/plugins/jpl_test/.gitignore +++ b/packages/app-cli/tests/support/plugins/jpl_test/.gitignore @@ -1,2 +1,3 @@ dist/* node_modules/ +*.jpl diff --git a/packages/app-cli/tests/support/plugins/jpl_test/api/types.ts b/packages/app-cli/tests/support/plugins/jpl_test/api/types.ts index 582fa3b69..d14c63b49 100644 --- a/packages/app-cli/tests/support/plugins/jpl_test/api/types.ts +++ b/packages/app-cli/tests/support/plugins/jpl_test/api/types.ts @@ -208,7 +208,7 @@ export enum MenuItemLocation { Note = 'note', Tools = 'tools', Help = 'help', - + /** * @deprecated Do not use - same as NoteListContextMenu */ @@ -223,7 +223,7 @@ export enum MenuItemLocation { * - `noteIds:string[]`: IDs of the notes that were right-clicked on. */ NoteListContextMenu = 'noteListContextMenu', - + EditorContextMenu = 'editorContextMenu', /** @@ -243,7 +243,7 @@ export enum MenuItemLocation { TagContextMenu = 'tagContextMenu', } -export function isContextMenuItemLocation(location:MenuItemLocation):boolean { +export function isContextMenuItemLocation(location: MenuItemLocation): boolean { return [ MenuItemLocation.Context, MenuItemLocation.NoteListContextMenu, diff --git a/packages/app-cli/tests/support/plugins/json_export/api/types.ts b/packages/app-cli/tests/support/plugins/json_export/api/types.ts index 582fa3b69..d14c63b49 100644 --- a/packages/app-cli/tests/support/plugins/json_export/api/types.ts +++ b/packages/app-cli/tests/support/plugins/json_export/api/types.ts @@ -208,7 +208,7 @@ export enum MenuItemLocation { Note = 'note', Tools = 'tools', Help = 'help', - + /** * @deprecated Do not use - same as NoteListContextMenu */ @@ -223,7 +223,7 @@ export enum MenuItemLocation { * - `noteIds:string[]`: IDs of the notes that were right-clicked on. */ NoteListContextMenu = 'noteListContextMenu', - + EditorContextMenu = 'editorContextMenu', /** @@ -243,7 +243,7 @@ export enum MenuItemLocation { TagContextMenu = 'tagContextMenu', } -export function isContextMenuItemLocation(location:MenuItemLocation):boolean { +export function isContextMenuItemLocation(location: MenuItemLocation): boolean { return [ MenuItemLocation.Context, MenuItemLocation.NoteListContextMenu, diff --git a/packages/app-cli/tests/support/plugins/menu/api/types.ts b/packages/app-cli/tests/support/plugins/menu/api/types.ts index 582fa3b69..d14c63b49 100644 --- a/packages/app-cli/tests/support/plugins/menu/api/types.ts +++ b/packages/app-cli/tests/support/plugins/menu/api/types.ts @@ -208,7 +208,7 @@ export enum MenuItemLocation { Note = 'note', Tools = 'tools', Help = 'help', - + /** * @deprecated Do not use - same as NoteListContextMenu */ @@ -223,7 +223,7 @@ export enum MenuItemLocation { * - `noteIds:string[]`: IDs of the notes that were right-clicked on. */ NoteListContextMenu = 'noteListContextMenu', - + EditorContextMenu = 'editorContextMenu', /** @@ -243,7 +243,7 @@ export enum MenuItemLocation { TagContextMenu = 'tagContextMenu', } -export function isContextMenuItemLocation(location:MenuItemLocation):boolean { +export function isContextMenuItemLocation(location: MenuItemLocation): boolean { return [ MenuItemLocation.Context, MenuItemLocation.NoteListContextMenu, diff --git a/packages/app-cli/tests/support/plugins/multi_selection/api/types.ts b/packages/app-cli/tests/support/plugins/multi_selection/api/types.ts index 582fa3b69..d14c63b49 100644 --- a/packages/app-cli/tests/support/plugins/multi_selection/api/types.ts +++ b/packages/app-cli/tests/support/plugins/multi_selection/api/types.ts @@ -208,7 +208,7 @@ export enum MenuItemLocation { Note = 'note', Tools = 'tools', Help = 'help', - + /** * @deprecated Do not use - same as NoteListContextMenu */ @@ -223,7 +223,7 @@ export enum MenuItemLocation { * - `noteIds:string[]`: IDs of the notes that were right-clicked on. */ NoteListContextMenu = 'noteListContextMenu', - + EditorContextMenu = 'editorContextMenu', /** @@ -243,7 +243,7 @@ export enum MenuItemLocation { TagContextMenu = 'tagContextMenu', } -export function isContextMenuItemLocation(location:MenuItemLocation):boolean { +export function isContextMenuItemLocation(location: MenuItemLocation): boolean { return [ MenuItemLocation.Context, MenuItemLocation.NoteListContextMenu, diff --git a/packages/app-cli/tests/support/plugins/register_command/api/types.ts b/packages/app-cli/tests/support/plugins/register_command/api/types.ts index 582fa3b69..d14c63b49 100644 --- a/packages/app-cli/tests/support/plugins/register_command/api/types.ts +++ b/packages/app-cli/tests/support/plugins/register_command/api/types.ts @@ -208,7 +208,7 @@ export enum MenuItemLocation { Note = 'note', Tools = 'tools', Help = 'help', - + /** * @deprecated Do not use - same as NoteListContextMenu */ @@ -223,7 +223,7 @@ export enum MenuItemLocation { * - `noteIds:string[]`: IDs of the notes that were right-clicked on. */ NoteListContextMenu = 'noteListContextMenu', - + EditorContextMenu = 'editorContextMenu', /** @@ -243,7 +243,7 @@ export enum MenuItemLocation { TagContextMenu = 'tagContextMenu', } -export function isContextMenuItemLocation(location:MenuItemLocation):boolean { +export function isContextMenuItemLocation(location: MenuItemLocation): boolean { return [ MenuItemLocation.Context, MenuItemLocation.NoteListContextMenu, diff --git a/packages/app-cli/tests/support/plugins/register_command/package.json b/packages/app-cli/tests/support/plugins/register_command/package.json index 761cec9f9..a7ad2623f 100644 --- a/packages/app-cli/tests/support/plugins/register_command/package.json +++ b/packages/app-cli/tests/support/plugins/register_command/package.json @@ -20,4 +20,4 @@ "webpack": "^4.43.0", "webpack-cli": "^3.3.11" } -} +} \ No newline at end of file diff --git a/packages/app-cli/tests/support/plugins/selected_text/api/types.ts b/packages/app-cli/tests/support/plugins/selected_text/api/types.ts index 582fa3b69..d14c63b49 100644 --- a/packages/app-cli/tests/support/plugins/selected_text/api/types.ts +++ b/packages/app-cli/tests/support/plugins/selected_text/api/types.ts @@ -208,7 +208,7 @@ export enum MenuItemLocation { Note = 'note', Tools = 'tools', Help = 'help', - + /** * @deprecated Do not use - same as NoteListContextMenu */ @@ -223,7 +223,7 @@ export enum MenuItemLocation { * - `noteIds:string[]`: IDs of the notes that were right-clicked on. */ NoteListContextMenu = 'noteListContextMenu', - + EditorContextMenu = 'editorContextMenu', /** @@ -243,7 +243,7 @@ export enum MenuItemLocation { TagContextMenu = 'tagContextMenu', } -export function isContextMenuItemLocation(location:MenuItemLocation):boolean { +export function isContextMenuItemLocation(location: MenuItemLocation): boolean { return [ MenuItemLocation.Context, MenuItemLocation.NoteListContextMenu, diff --git a/packages/app-cli/tests/support/plugins/settings/api/types.ts b/packages/app-cli/tests/support/plugins/settings/api/types.ts index 582fa3b69..d14c63b49 100644 --- a/packages/app-cli/tests/support/plugins/settings/api/types.ts +++ b/packages/app-cli/tests/support/plugins/settings/api/types.ts @@ -208,7 +208,7 @@ export enum MenuItemLocation { Note = 'note', Tools = 'tools', Help = 'help', - + /** * @deprecated Do not use - same as NoteListContextMenu */ @@ -223,7 +223,7 @@ export enum MenuItemLocation { * - `noteIds:string[]`: IDs of the notes that were right-clicked on. */ NoteListContextMenu = 'noteListContextMenu', - + EditorContextMenu = 'editorContextMenu', /** @@ -243,7 +243,7 @@ export enum MenuItemLocation { TagContextMenu = 'tagContextMenu', } -export function isContextMenuItemLocation(location:MenuItemLocation):boolean { +export function isContextMenuItemLocation(location: MenuItemLocation): boolean { return [ MenuItemLocation.Context, MenuItemLocation.NoteListContextMenu, diff --git a/packages/app-cli/tests/support/plugins/toc/api/types.ts b/packages/app-cli/tests/support/plugins/toc/api/types.ts index 582fa3b69..d14c63b49 100644 --- a/packages/app-cli/tests/support/plugins/toc/api/types.ts +++ b/packages/app-cli/tests/support/plugins/toc/api/types.ts @@ -208,7 +208,7 @@ export enum MenuItemLocation { Note = 'note', Tools = 'tools', Help = 'help', - + /** * @deprecated Do not use - same as NoteListContextMenu */ @@ -223,7 +223,7 @@ export enum MenuItemLocation { * - `noteIds:string[]`: IDs of the notes that were right-clicked on. */ NoteListContextMenu = 'noteListContextMenu', - + EditorContextMenu = 'editorContextMenu', /** @@ -243,7 +243,7 @@ export enum MenuItemLocation { TagContextMenu = 'tagContextMenu', } -export function isContextMenuItemLocation(location:MenuItemLocation):boolean { +export function isContextMenuItemLocation(location: MenuItemLocation): boolean { return [ MenuItemLocation.Context, MenuItemLocation.NoteListContextMenu, diff --git a/packages/app-cli/tests/support/plugins/withExternalModules/api/types.ts b/packages/app-cli/tests/support/plugins/withExternalModules/api/types.ts index 582fa3b69..d14c63b49 100644 --- a/packages/app-cli/tests/support/plugins/withExternalModules/api/types.ts +++ b/packages/app-cli/tests/support/plugins/withExternalModules/api/types.ts @@ -208,7 +208,7 @@ export enum MenuItemLocation { Note = 'note', Tools = 'tools', Help = 'help', - + /** * @deprecated Do not use - same as NoteListContextMenu */ @@ -223,7 +223,7 @@ export enum MenuItemLocation { * - `noteIds:string[]`: IDs of the notes that were right-clicked on. */ NoteListContextMenu = 'noteListContextMenu', - + EditorContextMenu = 'editorContextMenu', /** @@ -243,7 +243,7 @@ export enum MenuItemLocation { TagContextMenu = 'tagContextMenu', } -export function isContextMenuItemLocation(location:MenuItemLocation):boolean { +export function isContextMenuItemLocation(location: MenuItemLocation): boolean { return [ MenuItemLocation.Context, MenuItemLocation.NoteListContextMenu, diff --git a/packages/generator-joplin/package.json b/packages/generator-joplin/package.json index b42e8e3eb..fda8110c1 100644 --- a/packages/generator-joplin/package.json +++ b/packages/generator-joplin/package.json @@ -26,4 +26,4 @@ "repository": "https://github.com/laurent22/generator-joplin", "license": "MIT", "private": true -} \ No newline at end of file +}