fix(core): update

This commit is contained in:
2026-02-03 16:59:32 +00:00
parent 826f3a6c63
commit 0daae0bd07
18 changed files with 8463 additions and 94 deletions

View File

@@ -1,6 +1,6 @@
import plugins = require('./tools.plugins');
import paths = require('./tools.paths');
import { logger } from './tools.logging';
import * as plugins from './tools.plugins.js';
import * as paths from './tools.paths.js';
import { logger } from './tools.logging.js';
const installExec = async (packageNames: string[]) => {
const smartshellInstance = new plugins.smartshell.Smartshell({
@@ -22,8 +22,8 @@ const installExec = async (packageNames: string[]) => {
logger.log('ok', `installed tools successfully!`);
};
const packageLibrary = plugins.smartfile.fs.toObjectSync(
plugins.path.join(paths.assetsDir, 'package_library.json')
const packageLibrary = JSON.parse(
plugins.fs.readFileSync(plugins.path.join(paths.assetsDir, 'package_library.json'), 'utf8')
);
export const install = async (packageSetArg: string) => {