@hot-updater/bare 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 +4 -4
- package/dist/index.d.mts +4 -4
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BuildAdapter, BuildAdapterArgs, BuildAdapterConfig } from "@hot-updater/plugin-core";
|
|
2
2
|
//#region src/bare.d.ts
|
|
3
|
-
interface
|
|
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:
|
|
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 {
|
|
55
|
+
export { BareAdapterConfig, bare, compileHermes, getHermesCommand };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BuildAdapter, BuildAdapterArgs, BuildAdapterConfig } from "@hot-updater/plugin-core";
|
|
2
2
|
//#region src/bare.d.ts
|
|
3
|
-
interface
|
|
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:
|
|
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 {
|
|
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.
|
|
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/
|
|
29
|
-
"@hot-updater/
|
|
28
|
+
"@hot-updater/plugin-core": "1.0.0-rc.22",
|
|
29
|
+
"@hot-updater/cli-tools": "1.0.0-rc.22"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^20",
|