@hot-updater/rock 1.0.0-rc.2 → 1.0.0-rc.22

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/index.d.ts
3
- interface RockPluginConfig extends BuildPluginConfig {
3
+ interface RockAdapterConfig extends BuildAdapterConfig {
4
4
  /**
5
5
  * @default "index.js"
6
6
  * The entry file to bundle.
@@ -18,6 +18,6 @@ interface RockPluginConfig extends BuildPluginConfig {
18
18
  */
19
19
  hermes?: boolean;
20
20
  }
21
- declare const rock: (config?: RockPluginConfig) => ({ cwd }: BasePluginArgs) => BuildPlugin;
21
+ declare const rock: (config?: RockAdapterConfig) => ({ cwd }: BuildAdapterArgs) => BuildAdapter;
22
22
  //#endregion
23
- export { RockPluginConfig, rock };
23
+ export { RockAdapterConfig, rock };
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/index.d.ts
3
- interface RockPluginConfig extends BuildPluginConfig {
3
+ interface RockAdapterConfig extends BuildAdapterConfig {
4
4
  /**
5
5
  * @default "index.js"
6
6
  * The entry file to bundle.
@@ -18,6 +18,6 @@ interface RockPluginConfig extends BuildPluginConfig {
18
18
  */
19
19
  hermes?: boolean;
20
20
  }
21
- declare const rock: (config?: RockPluginConfig) => ({ cwd }: BasePluginArgs) => BuildPlugin;
21
+ declare const rock: (config?: RockAdapterConfig) => ({ cwd }: BuildAdapterArgs) => BuildAdapter;
22
22
  //#endregion
23
- export { RockPluginConfig, rock };
23
+ export { RockAdapterConfig, rock };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/rock",
3
3
  "type": "module",
4
- "version": "1.0.0-rc.2",
4
+ "version": "1.0.0-rc.22",
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/cli-tools": "1.0.0-rc.22",
29
+ "@hot-updater/plugin-core": "1.0.0-rc.22"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^20",