1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-24 23:26:50 +02:00

Plugins: Added support app_min_version property and made it required

This commit is contained in:
Laurent Cozic
2020-11-15 14:18:46 +00:00
parent fb5f20b308
commit ce59d29bb3
176 changed files with 5335 additions and 233 deletions

View File

@ -1,5 +1,5 @@
import type Joplin from './Joplin';
declare const joplin:Joplin;
declare const joplin: Joplin;
export default joplin;
export default joplin;

View File

@ -204,8 +204,8 @@ export enum MenuItemLocation {
Note = 'note',
Tools = 'tools',
Help = 'help',
/*
* Deprecated - do not use - same as NoteListContext
/**
* @deprecated Do not use - same as NoteListContextMenu
*/
Context = 'context',
NoteListContextMenu = 'noteListContextMenu',

View File

@ -1,5 +1,6 @@
{
"manifest_version": 1,
"app_min_version": "1.4",
"name": "Menu Test",
"description": "",
"version": "1.0.0",

View File

@ -16,9 +16,9 @@ module.exports = {
},
resolve: {
alias: {
api: path.resolve(__dirname, 'api')
api: path.resolve(__dirname, 'api'),
},
extensions: [ '.tsx', '.ts', '.js' ],
extensions: ['.tsx', '.ts', '.js'],
},
output: {
filename: 'index.js',
@ -28,7 +28,7 @@ module.exports = {
new CopyPlugin({
patterns: [
{
from: "**/*",
from: '**/*',
context: path.resolve(__dirname, 'src'),
to: path.resolve(__dirname, 'dist'),
globOptions: {