mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 06:35:24 +00:00
feat: make each plugin an npm workspace built by a termix-plugin CLI
This commit is contained in:
1 parent
4758016f41
commit
5796186a1c
448 files changed
+3087
-2003
No files matched your search
@@ -14,7 +14,13 @@ const path = require("node:path");
|
||||
const { pathToFileURL } = require("node:url");
|
||||
|
||||
const root = path.resolve(__dirname, "..");
|
||||
const sdkEntry = path.join(root, "packages", "plugin-sdk", "dist", "manifest.js");
|
||||
const sdkEntry = path.join(
|
||||
root,
|
||||
"packages",
|
||||
"plugin-sdk",
|
||||
"dist",
|
||||
"manifest.js",
|
||||
);
|
||||
|
||||
async function loadValidator() {
|
||||
if (!fs.existsSync(sdkEntry)) {
|
||||
|
||||
Reference in new issue
Block a user