1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-03 23:50:33 +02:00

Mobile: Add support for plugin panels and dialogs (#10121)

This commit is contained in:
Henry Heino
2024-03-14 12:04:32 -07:00
committed by GitHub
parent b9eb4522f5
commit b3ec92a57e
34 changed files with 1013 additions and 44 deletions

View File

@ -10,7 +10,7 @@ async function processDirectory(dir, indexFilePath = null, typeScriptType = null
if (!importNameTemplate) importNameTemplate = '* as FILE_NAME';
if (!exportNameTemplate) exportNameTemplate = 'FILE_NAME';
const tsFiles = glob.sync('{**/*.ts,**/*.tsx}', {
const tsFiles = glob.sync('{*.ts,*.tsx}', {
cwd: dir,
}).filter(f => `${dir}/${f}` !== indexFilePath)
//
@ -67,6 +67,7 @@ module.exports = {
await processDirectory(`${rootDir}/packages/app-desktop/gui/NoteList/commands`);
await processDirectory(`${rootDir}/packages/app-desktop/gui/NoteListControls/commands`);
await processDirectory(`${rootDir}/packages/app-desktop/gui/Sidebar/commands`);
await processDirectory(`${rootDir}/packages/app-mobile/commands`);
await processDirectory(`${rootDir}/packages/lib/commands`);
await processDirectory(