mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 06:35:24 +00:00
feat: move snippets backend and tables into a plugin (B2)
This commit is contained in:
1 parent
fdedca39fd
commit
e07221eaf3
51 files changed
+28426
-3553
No files matched your search
@@ -74,7 +74,10 @@ export function scanLegacyCoreModules(repoRoot) {
|
||||
}
|
||||
for (const plugin of plugins) {
|
||||
if (!plugin.isDirectory()) continue;
|
||||
const files = walk(path.join(pluginsDir, plugin.name, "src", "frontend"), []);
|
||||
const files = walk(
|
||||
path.join(pluginsDir, plugin.name, "src", "frontend"),
|
||||
[],
|
||||
);
|
||||
for (const file of files) {
|
||||
for (const specifier of findLegacyCoreImports(
|
||||
fs.readFileSync(file, "utf8"),
|
||||
|
||||
Reference in new issue
Block a user