@xuda.io/drive_module 1.1.1063 → 1.1.1065

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +9 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2290,7 +2290,11 @@ export default {
2290
2290
 
2291
2291
  await fs_module.save_file(vite_config, code);
2292
2292
  //////////////////////
2293
-
2293
+ const _utils = require(path.join(
2294
+ process.env.XUDA_HOME,
2295
+ "common",
2296
+ "xuda-cpi-utils.js"
2297
+ ));
2294
2298
  await _utils.run_ssh_script(
2295
2299
  `npm i --prefix ${studio_drive_script_program_folder};`
2296
2300
  );
@@ -2304,8 +2308,10 @@ export default {
2304
2308
  /////////////////////
2305
2309
  doc.vite_build_res = {
2306
2310
  code: 1,
2307
- data: build_ret,
2308
- dependencies: devDependencies,
2311
+ data: {
2312
+ build_ret,
2313
+ dependencies: devDependencies,
2314
+ },
2309
2315
  };
2310
2316
  if (job_id) {
2311
2317
  return doc.vite_build_res;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1063",
3
+ "version": "1.1.1065",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {