hot-updater 0.29.1 → 0.29.2

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
@@ -29,7 +29,6 @@ let node_v8 = require("node:v8");
29
29
  let node_stream_promises = require("node:stream/promises");
30
30
  let node_stream = require("node:stream");
31
31
  let node_buffer = require("node:buffer");
32
- let _hot_updater_core = require("@hot-updater/core");
33
32
  let util = require("util");
34
33
  let fs_promises = require("fs/promises");
35
34
  fs_promises = require_keyGeneration.__toESM(fs_promises);
@@ -29093,7 +29092,7 @@ async function prepareNativeBuild(options) {
29093
29092
  return null;
29094
29093
  }
29095
29094
  }
29096
- const artifactResultStorePath = options.outputPath ?? path.default.join(_hot_updater_core.HotUpdateDirUtil.getDefaultOutputPath({ cwd }), "build", platform, scheme);
29095
+ const artifactResultStorePath = options.outputPath ?? path.default.join(_hot_updater_cli_tools.HotUpdateDirUtil.getDefaultOutputPath({ cwd }), "build", platform, scheme);
29097
29096
  const resolvedOutputPath = path.default.isAbsolute(artifactResultStorePath) ? artifactResultStorePath : path.default.join(cwd, artifactResultStorePath);
29098
29097
  if (platform === "ios") {
29099
29098
  await setIosMinBundleIdSlotIntoInfoPlist({ infoPlistPaths: config.platform?.ios.infoPlistPaths });
@@ -35267,8 +35266,8 @@ const deploy = async (options) => {
35267
35266
  else _hot_updater_cli_tools.p.log.error("Target app version not found. -t <targetAppVersion> semver format (e.g. 1.0.0, 1.x.x)");
35268
35267
  process.exit(1);
35269
35268
  }
35270
- if (appendToProjectRootGitignore({ globLines: [_hot_updater_core.HotUpdateDirUtil.outputGitignorePath] })) _hot_updater_cli_tools.p.log.info(".gitignore has been modified");
35271
- const outputPath = options.bundleOutputPath ?? _hot_updater_core.HotUpdateDirUtil.getDefaultOutputPath({ cwd });
35269
+ if (appendToProjectRootGitignore({ globLines: [_hot_updater_cli_tools.HotUpdateDirUtil.outputGitignorePath] })) _hot_updater_cli_tools.p.log.info(".gitignore has been modified");
35270
+ const outputPath = options.bundleOutputPath ?? _hot_updater_cli_tools.HotUpdateDirUtil.getDefaultOutputPath({ cwd });
35272
35271
  let bundleId = null;
35273
35272
  let fileHash;
35274
35273
  const normalizeOutputPath = path.default.isAbsolute(outputPath) ? outputPath : path.default.join(cwd, outputPath);
@@ -35549,8 +35548,8 @@ const init = async () => {
35549
35548
  }
35550
35549
  if (appendToProjectRootGitignore({ globLines: [
35551
35550
  ".env.hotupdater",
35552
- _hot_updater_core.HotUpdateDirUtil.outputGitignorePath,
35553
- _hot_updater_core.HotUpdateDirUtil.logGitignorePath
35551
+ _hot_updater_cli_tools.HotUpdateDirUtil.outputGitignorePath,
35552
+ _hot_updater_cli_tools.HotUpdateDirUtil.logGitignorePath
35554
35553
  ] })) _hot_updater_cli_tools.p.log.info(".gitignore has been modified to include hot-updater entries");
35555
35554
  };
35556
35555
  //#endregion
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import childProcess, { ChildProcess, execFile, spawn, spawnSync } from "node:chi
6
6
  import path from "node:path";
7
7
  import fs, { appendFileSync, createReadStream, createWriteStream, readFileSync, statSync, writeFileSync } from "node:fs";
8
8
  import process$1, { execArgv, execPath, hrtime, platform } from "node:process";
9
- import { banner, colors, createTarBrTargetFiles, createTarGzTargetFiles, createZipTargetFiles, ensureInstallPackages, getCwd, getPackageManager, loadConfig, log, p, printBanner } from "@hot-updater/cli-tools";
9
+ import { HotUpdateDirUtil, banner, colors, createTarBrTargetFiles, createTarGzTargetFiles, createZipTargetFiles, ensureInstallPackages, getCwd, getPackageManager, loadConfig, log, p, printBanner } from "@hot-updater/cli-tools";
10
10
  import { buildAndroid, enrichNativeBuildAndroidScheme, runAndroid } from "@hot-updater/android-helper";
11
11
  import { buildIos, enrichNativeBuildIosScheme, runIos } from "@hot-updater/apple-helper";
12
12
  import { fileURLToPath } from "node:url";
@@ -22,7 +22,6 @@ import { serialize } from "node:v8";
22
22
  import { finished } from "node:stream/promises";
23
23
  import { Duplex, PassThrough, Readable, Transform, Writable, getDefaultHighWaterMark } from "node:stream";
24
24
  import { Buffer as Buffer$1 } from "node:buffer";
25
- import { HotUpdateDirUtil } from "@hot-updater/core";
26
25
  import { promisify as promisify$1 } from "util";
27
26
  import fs$2, { access, mkdir, readFile, readdir, writeFile } from "fs/promises";
28
27
  import crypto, { createHash } from "crypto";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hot-updater",
3
3
  "type": "module",
4
- "version": "0.29.1",
4
+ "version": "0.29.2",
5
5
  "bin": {
6
6
  "hot-updater": "./dist/index.cjs"
7
7
  },
@@ -47,13 +47,13 @@
47
47
  "jiti": "2.6.1",
48
48
  "kysely": "0.28.9",
49
49
  "sql-formatter": "15.6.10",
50
- "@hot-updater/android-helper": "0.29.1",
51
- "@hot-updater/cli-tools": "0.29.1",
52
- "@hot-updater/core": "0.29.1",
53
- "@hot-updater/apple-helper": "0.29.1",
54
- "@hot-updater/console": "0.29.1",
55
- "@hot-updater/server": "0.29.1",
56
- "@hot-updater/plugin-core": "0.29.1"
50
+ "@hot-updater/android-helper": "0.29.2",
51
+ "@hot-updater/apple-helper": "0.29.2",
52
+ "@hot-updater/cli-tools": "0.29.2",
53
+ "@hot-updater/console": "0.29.2",
54
+ "@hot-updater/core": "0.29.2",
55
+ "@hot-updater/plugin-core": "0.29.2",
56
+ "@hot-updater/server": "0.29.2"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@bacons/xcode": "1.0.0-alpha.24",
@@ -72,12 +72,12 @@
72
72
  "plist": "^3.1.0",
73
73
  "read-package-up": "^11.0.0",
74
74
  "semver": "^7.6.3",
75
- "@hot-updater/aws": "0.29.1",
76
- "@hot-updater/cloudflare": "0.29.1",
77
- "@hot-updater/firebase": "0.29.1",
78
- "@hot-updater/server": "0.29.1",
79
- "@hot-updater/supabase": "0.29.1",
80
- "@hot-updater/test-utils": "0.29.1"
75
+ "@hot-updater/aws": "0.29.2",
76
+ "@hot-updater/cloudflare": "0.29.2",
77
+ "@hot-updater/firebase": "0.29.2",
78
+ "@hot-updater/server": "0.29.2",
79
+ "@hot-updater/supabase": "0.29.2",
80
+ "@hot-updater/test-utils": "0.29.2"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "@hot-updater/aws": "*",