@hot-updater/bare 1.0.0-rc.2 → 1.0.0-rc.21

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.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { BasePluginArgs, BuildPlugin, BuildPluginConfig } from "@hot-updater/plugin-core";
1
+ import { BuildAdapter, BuildAdapterArgs, BuildAdapterConfig } from "@hot-updater/plugin-core";
2
2
  //#region src/bare.d.ts
3
- interface BarePluginConfig extends BuildPluginConfig {
3
+ interface BareAdapterConfig extends BuildAdapterConfig {
4
4
  /**
5
5
  * @default "index.js"
6
6
  * The entry file to bundle.
@@ -24,7 +24,7 @@ interface BarePluginConfig extends BuildPluginConfig {
24
24
  */
25
25
  resetCache?: boolean;
26
26
  }
27
- declare const bare: (config: BarePluginConfig) => ({ cwd }: BasePluginArgs) => BuildPlugin;
27
+ declare const bare: (config: BareAdapterConfig) => ({ cwd }: BuildAdapterArgs) => BuildAdapter;
28
28
  //#endregion
29
29
  //#region src/hermes.d.ts
30
30
  /**
@@ -52,4 +52,4 @@ declare function compileHermes({ cwd, sourcemap, inputJsFile }: {
52
52
  hermesVersion: string;
53
53
  }>;
54
54
  //#endregion
55
- export { BarePluginConfig, bare, compileHermes, getHermesCommand };
55
+ export { BareAdapterConfig, bare, compileHermes, getHermesCommand };
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { BasePluginArgs, BuildPlugin, BuildPluginConfig } from "@hot-updater/plugin-core";
1
+ import { BuildAdapter, BuildAdapterArgs, BuildAdapterConfig } from "@hot-updater/plugin-core";
2
2
  //#region src/bare.d.ts
3
- interface BarePluginConfig extends BuildPluginConfig {
3
+ interface BareAdapterConfig extends BuildAdapterConfig {
4
4
  /**
5
5
  * @default "index.js"
6
6
  * The entry file to bundle.
@@ -24,7 +24,7 @@ interface BarePluginConfig extends BuildPluginConfig {
24
24
  */
25
25
  resetCache?: boolean;
26
26
  }
27
- declare const bare: (config: BarePluginConfig) => ({ cwd }: BasePluginArgs) => BuildPlugin;
27
+ declare const bare: (config: BareAdapterConfig) => ({ cwd }: BuildAdapterArgs) => BuildAdapter;
28
28
  //#endregion
29
29
  //#region src/hermes.d.ts
30
30
  /**
@@ -52,4 +52,4 @@ declare function compileHermes({ cwd, sourcemap, inputJsFile }: {
52
52
  hermesVersion: string;
53
53
  }>;
54
54
  //#endregion
55
- export { BarePluginConfig, bare, compileHermes, getHermesCommand };
55
+ export { BareAdapterConfig, bare, compileHermes, getHermesCommand };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/bare",
3
3
  "type": "module",
4
- "version": "1.0.0-rc.2",
4
+ "version": "1.0.0-rc.21",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.mjs",
@@ -25,8 +25,8 @@
25
25
  ],
26
26
  "dependencies": {
27
27
  "uuidv7": "^1.0.2",
28
- "@hot-updater/cli-tools": "1.0.0-rc.2",
29
- "@hot-updater/plugin-core": "1.0.0-rc.2"
28
+ "@hot-updater/plugin-core": "1.0.0-rc.21",
29
+ "@hot-updater/cli-tools": "1.0.0-rc.21"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^20",