From e57889a88fb2a82e1b42a5df261e61e7be330931 Mon Sep 17 00:00:00 2001 From: Oleksandr Nykytenko Date: Mon, 17 Feb 2025 00:28:03 +0200 Subject: [PATCH] first release of example plugin --- build.mjs | 3 ++- src/example_plugin.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.mjs b/build.mjs index 6b4ed54..42d1555 100644 --- a/build.mjs +++ b/build.mjs @@ -60,12 +60,13 @@ async function compilePlugins() { console.log("Skipping " + argv.file); return {skip: true} } + const filesToProcess = checkFiles(argv.file); if (argv.dryrun) { outDir = "./dryrun" } return await esbuild.build({ - entryPoints: argv.file, + entryPoints: filesToProcess, outdir: outDir, bundle: true, format: "esm", diff --git a/src/example_plugin.ts b/src/example_plugin.ts index d2527ca..341e41c 100644 --- a/src/example_plugin.ts +++ b/src/example_plugin.ts @@ -3,7 +3,7 @@ import {FDO_SDK, FDOInterface, PluginMetadata} from '@anikitenko/fdo-sdk'; class MyPlugin extends FDO_SDK implements FDOInterface { private readonly _metadata: PluginMetadata = { name: "MyPlugin", - version: "1.0.0", + version: "1.0.1", author: "AleXvWaN", description: "A sample FDO plugin", icon: "COG",