@hot-updater/console 0.21.7 → 0.21.8

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.
package/dist/index.cjs CHANGED
@@ -30,8 +30,8 @@ let path = require("path");
30
30
  path = __toESM(path);
31
31
  let url = require("url");
32
32
  url = __toESM(url);
33
- let __hot_updater_plugin_core = require("@hot-updater/plugin-core");
34
- __hot_updater_plugin_core = __toESM(__hot_updater_plugin_core);
33
+ let __hot_updater_cli_tools = require("@hot-updater/cli-tools");
34
+ __hot_updater_cli_tools = __toESM(__hot_updater_cli_tools);
35
35
 
36
36
  //#region ../../node_modules/.pnpm/hono@4.6.3/node_modules/hono/dist/utils/filepath.js
37
37
  var getFilePath = (options) => {
@@ -1996,9 +1996,9 @@ let configPromise = null;
1996
1996
  const prepareConfig = async () => {
1997
1997
  if (!configPromise) configPromise = (async () => {
1998
1998
  try {
1999
- const config = await (0, __hot_updater_plugin_core.loadConfig)(null);
2000
- const databasePlugin = await config?.database({ cwd: (0, __hot_updater_plugin_core.getCwd)() }) ?? null;
2001
- const storagePlugin = await config?.storage({ cwd: (0, __hot_updater_plugin_core.getCwd)() }) ?? null;
1999
+ const config = await (0, __hot_updater_cli_tools.loadConfig)(null);
2000
+ const databasePlugin = await config?.database({ cwd: (0, __hot_updater_cli_tools.getCwd)() }) ?? null;
2001
+ const storagePlugin = await config?.storage({ cwd: (0, __hot_updater_cli_tools.getCwd)() }) ?? null;
2002
2002
  if (!databasePlugin) throw new Error("Database plugin initialization failed");
2003
2003
  return {
2004
2004
  config,
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { createReadStream, lstatSync } from "fs";
2
2
  import path from "path";
3
3
  import { fileURLToPath } from "url";
4
- import { getCwd, loadConfig } from "@hot-updater/plugin-core";
4
+ import { getCwd, loadConfig } from "@hot-updater/cli-tools";
5
5
 
6
6
  //#region rolldown:runtime
7
7
  var __create = Object.create;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/console",
3
3
  "type": "module",
4
- "version": "0.21.7",
4
+ "version": "0.21.8",
5
5
  "files": [
6
6
  "dist",
7
7
  "package.json"
@@ -48,12 +48,13 @@
48
48
  "vite": "^6.1.0",
49
49
  "vite-plugin-solid": "^2.11.1",
50
50
  "vite-tsconfig-paths": "^5.1.4",
51
- "@hot-updater/mock": "0.21.7"
51
+ "@hot-updater/mock": "0.21.8"
52
52
  },
53
53
  "dependencies": {
54
54
  "solid-icons": "^1.1.0",
55
- "@hot-updater/core": "0.21.7",
56
- "@hot-updater/plugin-core": "0.21.7"
55
+ "@hot-updater/cli-tools": "0.21.8",
56
+ "@hot-updater/plugin-core": "0.21.8",
57
+ "@hot-updater/core": "0.21.8"
57
58
  },
58
59
  "description": "React Native OTA solution for self-hosted",
59
60
  "license": "MIT",