@hot-updater/plugin-core 0.20.9 → 0.20.11

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
@@ -24,17 +24,28 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  }) : target, mod));
25
25
 
26
26
  //#endregion
27
- const fs = __toESM(require("fs"));
28
- const path = __toESM(require("path"));
29
- const fast_glob = __toESM(require("fast-glob"));
30
- const fs_promises = __toESM(require("fs/promises"));
31
- const cosmiconfig = __toESM(require("cosmiconfig"));
32
- const cosmiconfig_typescript_loader = __toESM(require("cosmiconfig-typescript-loader"));
33
- const node_process = __toESM(require("node:process"));
34
- const node_os = __toESM(require("node:os"));
35
- const node_tty = __toESM(require("node:tty"));
36
- const oxc_transform = __toESM(require("oxc-transform"));
37
- const semver = __toESM(require("semver"));
27
+ let fs = require("fs");
28
+ fs = __toESM(fs);
29
+ let path = require("path");
30
+ path = __toESM(path);
31
+ let fast_glob = require("fast-glob");
32
+ fast_glob = __toESM(fast_glob);
33
+ let fs_promises = require("fs/promises");
34
+ fs_promises = __toESM(fs_promises);
35
+ let cosmiconfig = require("cosmiconfig");
36
+ cosmiconfig = __toESM(cosmiconfig);
37
+ let cosmiconfig_typescript_loader = require("cosmiconfig-typescript-loader");
38
+ cosmiconfig_typescript_loader = __toESM(cosmiconfig_typescript_loader);
39
+ let node_process = require("node:process");
40
+ node_process = __toESM(node_process);
41
+ let node_os = require("node:os");
42
+ node_os = __toESM(node_os);
43
+ let node_tty = require("node:tty");
44
+ node_tty = __toESM(node_tty);
45
+ let oxc_transform = require("oxc-transform");
46
+ oxc_transform = __toESM(oxc_transform);
47
+ let semver = require("semver");
48
+ semver = __toESM(semver);
38
49
 
39
50
  //#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
40
51
  var require_picocolors = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js": ((exports, module) => {
package/dist/index.d.cts CHANGED
@@ -175,6 +175,10 @@ type ConfigInput = {
175
175
  * @example ["resources/**", ".gitignore"]
176
176
  */
177
177
  extraSources?: string[];
178
+ /**
179
+ * The paths to be ignored in the fingerprint.
180
+ */
181
+ ignorePaths?: string[];
178
182
  /**
179
183
  * When debug mode is enabled, more detailed information will be exposed in fingerprint.json.
180
184
  */
package/dist/index.d.ts CHANGED
@@ -175,6 +175,10 @@ type ConfigInput = {
175
175
  * @example ["resources/**", ".gitignore"]
176
176
  */
177
177
  extraSources?: string[];
178
+ /**
179
+ * The paths to be ignored in the fingerprint.
180
+ */
181
+ ignorePaths?: string[];
178
182
  /**
179
183
  * When debug mode is enabled, more detailed information will be exposed in fingerprint.json.
180
184
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hot-updater/plugin-core",
3
- "version": "0.20.9",
3
+ "version": "0.20.11",
4
4
  "type": "module",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "sideEffects": false,
@@ -47,7 +47,7 @@
47
47
  "fast-glob": "3.3.3",
48
48
  "oxc-transform": "0.82.1",
49
49
  "semver": "^7.7.2",
50
- "@hot-updater/core": "0.20.9"
50
+ "@hot-updater/core": "0.20.11"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/node": "^20",
@@ -58,7 +58,7 @@
58
58
  "picocolors": "1.1.1",
59
59
  "typescript": "5.8.2",
60
60
  "workspace-tools": "^0.36.4",
61
- "@hot-updater/plugin-core": "0.20.9"
61
+ "@hot-updater/plugin-core": "0.20.11"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "tsdown",