@wvb/tauri 0.0.0-next.4b4aa30
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/CHANGELOG.md +12 -0
- package/README.md +1 -0
- package/dist/api/index.cjs +7 -0
- package/dist/api/index.d.cts +4 -0
- package/dist/api/index.d.ts +4 -0
- package/dist/api/index.js +5 -0
- package/dist/api/remote/index.cjs +33 -0
- package/dist/api/remote/index.d.cts +26 -0
- package/dist/api/remote/index.d.ts +26 -0
- package/dist/api/remote/index.js +33 -0
- package/dist/api/source/index.cjs +27 -0
- package/dist/api/source/index.d.cts +35 -0
- package/dist/api/source/index.d.ts +35 -0
- package/dist/api/source/index.js +27 -0
- package/dist/api/updater/index.cjs +23 -0
- package/dist/api/updater/index.d.cts +24 -0
- package/dist/api/updater/index.d.ts +24 -0
- package/dist/api/updater/index.js +23 -0
- package/package.json +61 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## tauri v0.1.0-next.4b4aa30
|
|
4
|
+
|
|
5
|
+
This release includes packages: [`wvb-tauri`](https://crates.io/crates/wvb-tauri/0.1.0-next.4b4aa30), [`@wvb/tauri`](https://www.npmjs.com/package/@wvb/tauri/v/0.0.0-next.4b4aa30)
|
|
6
|
+
|
|
7
|
+
- feat(ffi): add ffi package for Android/iOS bindings (#139) (c41b723)
|
|
8
|
+
- feat: redesgin cli commands, add local remote provider, oxc -> biome (#132) (af26b39)
|
|
9
|
+
- feat: add core testing, tauri commands (#129) (c49207f)
|
|
10
|
+
- feat(core): add mock system for testing (#118) (7a79c1a)
|
|
11
|
+
- chore: fix xtask artifacts missing platforms (#112) (5d60ad6)
|
|
12
|
+
- update dependencies: wvb@0.2.0-next.4b4aa30
|
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# webview-bundle-tauri
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const require_api_remote_index = require('./remote/index.cjs');
|
|
2
|
+
const require_api_source_index = require('./source/index.cjs');
|
|
3
|
+
const require_api_updater_index = require('./updater/index.cjs');
|
|
4
|
+
|
|
5
|
+
exports.remote = require_api_remote_index.remote;
|
|
6
|
+
exports.source = require_api_source_index.source;
|
|
7
|
+
exports.updater = require_api_updater_index.updater;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ListRemoteBundleInfo, RemoteApi, RemoteBundleInfo, remote } from "./remote/index.cjs";
|
|
2
|
+
import { BundleManifestMetadata, BundleSourceType, BundleSourceVersion, ListBundleItem, ListBundleManifestItem, source } from "./source/index.cjs";
|
|
3
|
+
import { BundleUpdateInfo, UpdaterApi, updater } from "./updater/index.cjs";
|
|
4
|
+
export { type BundleManifestMetadata, type BundleSourceType, type BundleSourceVersion, type BundleUpdateInfo, type ListBundleItem, type ListBundleManifestItem, type ListRemoteBundleInfo, type RemoteApi, type RemoteBundleInfo, type UpdaterApi, remote, source, updater };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ListRemoteBundleInfo, RemoteApi, RemoteBundleInfo, remote } from "./remote/index.js";
|
|
2
|
+
import { BundleManifestMetadata, BundleSourceType, BundleSourceVersion, ListBundleItem, ListBundleManifestItem, source } from "./source/index.js";
|
|
3
|
+
import { BundleUpdateInfo, UpdaterApi, updater } from "./updater/index.js";
|
|
4
|
+
export { type BundleManifestMetadata, type BundleSourceType, type BundleSourceVersion, type BundleUpdateInfo, type ListBundleItem, type ListBundleManifestItem, type ListRemoteBundleInfo, type RemoteApi, type RemoteBundleInfo, type UpdaterApi, remote, source, updater };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
let _tauri_apps_api_core = require("@tauri-apps/api/core");
|
|
2
|
+
|
|
3
|
+
//#region api/remote.ts
|
|
4
|
+
async function listBundles(channel) {
|
|
5
|
+
return await (0, _tauri_apps_api_core.invoke)("plugin:wvb|remote_list_bundles", { channel });
|
|
6
|
+
}
|
|
7
|
+
async function getInfo(bundleName, channel) {
|
|
8
|
+
return await (0, _tauri_apps_api_core.invoke)("plugin:wvb|remote_get_info", {
|
|
9
|
+
bundleName,
|
|
10
|
+
channel
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
async function download(bundleName, channel) {
|
|
14
|
+
return await (0, _tauri_apps_api_core.invoke)("plugin:wvb|remote_download", {
|
|
15
|
+
bundleName,
|
|
16
|
+
channel
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
async function downloadVersion(bundleName, version) {
|
|
20
|
+
return await (0, _tauri_apps_api_core.invoke)("plugin:wvb|remote_download_version", {
|
|
21
|
+
bundleName,
|
|
22
|
+
version
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
const remote = {
|
|
26
|
+
listBundles,
|
|
27
|
+
getInfo,
|
|
28
|
+
download,
|
|
29
|
+
downloadVersion
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
exports.remote = remote;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
//#region api/remote.d.ts
|
|
2
|
+
interface ListRemoteBundleInfo {
|
|
3
|
+
name: string;
|
|
4
|
+
version: string;
|
|
5
|
+
}
|
|
6
|
+
declare function listBundles(channel?: string): Promise<ListRemoteBundleInfo[]>;
|
|
7
|
+
interface RemoteBundleInfo {
|
|
8
|
+
name: string;
|
|
9
|
+
version: string;
|
|
10
|
+
etag?: string;
|
|
11
|
+
integrity?: string;
|
|
12
|
+
signature?: string;
|
|
13
|
+
lastModified?: string;
|
|
14
|
+
}
|
|
15
|
+
declare function getInfo(bundleName: string, channel?: string): Promise<RemoteBundleInfo>;
|
|
16
|
+
declare function download(bundleName: string, channel?: string): Promise<RemoteBundleInfo>;
|
|
17
|
+
declare function downloadVersion(bundleName: string, version: string): Promise<RemoteBundleInfo>;
|
|
18
|
+
interface RemoteApi {
|
|
19
|
+
listBundles: typeof listBundles;
|
|
20
|
+
getInfo: typeof getInfo;
|
|
21
|
+
download: typeof download;
|
|
22
|
+
downloadVersion: typeof downloadVersion;
|
|
23
|
+
}
|
|
24
|
+
declare const remote: RemoteApi;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { ListRemoteBundleInfo, RemoteApi, RemoteBundleInfo, remote };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
//#region api/remote.d.ts
|
|
2
|
+
interface ListRemoteBundleInfo {
|
|
3
|
+
name: string;
|
|
4
|
+
version: string;
|
|
5
|
+
}
|
|
6
|
+
declare function listBundles(channel?: string): Promise<ListRemoteBundleInfo[]>;
|
|
7
|
+
interface RemoteBundleInfo {
|
|
8
|
+
name: string;
|
|
9
|
+
version: string;
|
|
10
|
+
etag?: string;
|
|
11
|
+
integrity?: string;
|
|
12
|
+
signature?: string;
|
|
13
|
+
lastModified?: string;
|
|
14
|
+
}
|
|
15
|
+
declare function getInfo(bundleName: string, channel?: string): Promise<RemoteBundleInfo>;
|
|
16
|
+
declare function download(bundleName: string, channel?: string): Promise<RemoteBundleInfo>;
|
|
17
|
+
declare function downloadVersion(bundleName: string, version: string): Promise<RemoteBundleInfo>;
|
|
18
|
+
interface RemoteApi {
|
|
19
|
+
listBundles: typeof listBundles;
|
|
20
|
+
getInfo: typeof getInfo;
|
|
21
|
+
download: typeof download;
|
|
22
|
+
downloadVersion: typeof downloadVersion;
|
|
23
|
+
}
|
|
24
|
+
declare const remote: RemoteApi;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { ListRemoteBundleInfo, RemoteApi, RemoteBundleInfo, remote };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { invoke } from "@tauri-apps/api/core";
|
|
2
|
+
|
|
3
|
+
//#region api/remote.ts
|
|
4
|
+
async function listBundles(channel) {
|
|
5
|
+
return await invoke("plugin:wvb|remote_list_bundles", { channel });
|
|
6
|
+
}
|
|
7
|
+
async function getInfo(bundleName, channel) {
|
|
8
|
+
return await invoke("plugin:wvb|remote_get_info", {
|
|
9
|
+
bundleName,
|
|
10
|
+
channel
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
async function download(bundleName, channel) {
|
|
14
|
+
return await invoke("plugin:wvb|remote_download", {
|
|
15
|
+
bundleName,
|
|
16
|
+
channel
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
async function downloadVersion(bundleName, version) {
|
|
20
|
+
return await invoke("plugin:wvb|remote_download_version", {
|
|
21
|
+
bundleName,
|
|
22
|
+
version
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
const remote = {
|
|
26
|
+
listBundles,
|
|
27
|
+
getInfo,
|
|
28
|
+
download,
|
|
29
|
+
downloadVersion
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
export { remote };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
let _tauri_apps_api_core = require("@tauri-apps/api/core");
|
|
2
|
+
|
|
3
|
+
//#region api/source.ts
|
|
4
|
+
async function listBundles() {
|
|
5
|
+
return await (0, _tauri_apps_api_core.invoke)("plugin:wvb|source_list_bundles");
|
|
6
|
+
}
|
|
7
|
+
async function loadVersion(bundleName) {
|
|
8
|
+
return await (0, _tauri_apps_api_core.invoke)("plugin:wvb|source_load_version", { bundleName });
|
|
9
|
+
}
|
|
10
|
+
async function updateVersion(bundleName, version) {
|
|
11
|
+
await (0, _tauri_apps_api_core.invoke)("plugin:wvb|source_update_version", {
|
|
12
|
+
bundleName,
|
|
13
|
+
version
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async function filepath(bundleName) {
|
|
17
|
+
return await (0, _tauri_apps_api_core.invoke)("plugin:wvb|source_filepath", { bundleName });
|
|
18
|
+
}
|
|
19
|
+
const source = {
|
|
20
|
+
listBundles,
|
|
21
|
+
loadVersion,
|
|
22
|
+
updateVersion,
|
|
23
|
+
filepath
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.source = source;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
//#region api/source.d.ts
|
|
2
|
+
type BundleSourceType = "builtin" | "remote";
|
|
3
|
+
interface BundleManifestMetadata {
|
|
4
|
+
etag?: string;
|
|
5
|
+
integrity?: string;
|
|
6
|
+
signature?: string;
|
|
7
|
+
lastModified?: string;
|
|
8
|
+
}
|
|
9
|
+
interface ListBundleManifestItem {
|
|
10
|
+
name: string;
|
|
11
|
+
version: string;
|
|
12
|
+
current: boolean;
|
|
13
|
+
metadata: BundleManifestMetadata;
|
|
14
|
+
}
|
|
15
|
+
interface ListBundleItem {
|
|
16
|
+
type: BundleSourceType;
|
|
17
|
+
item: ListBundleManifestItem;
|
|
18
|
+
}
|
|
19
|
+
declare function listBundles(): Promise<ListBundleItem[]>;
|
|
20
|
+
interface BundleSourceVersion {
|
|
21
|
+
type: BundleSourceType;
|
|
22
|
+
version: string;
|
|
23
|
+
}
|
|
24
|
+
declare function loadVersion(bundleName: string): Promise<BundleSourceVersion | null>;
|
|
25
|
+
declare function updateVersion(bundleName: string, version: string): Promise<void>;
|
|
26
|
+
declare function filepath(bundleName: string): Promise<string>;
|
|
27
|
+
interface SourceApi {
|
|
28
|
+
listBundles: typeof listBundles;
|
|
29
|
+
loadVersion: typeof loadVersion;
|
|
30
|
+
updateVersion: typeof updateVersion;
|
|
31
|
+
filepath: typeof filepath;
|
|
32
|
+
}
|
|
33
|
+
declare const source: SourceApi;
|
|
34
|
+
//#endregion
|
|
35
|
+
export { BundleManifestMetadata, BundleSourceType, BundleSourceVersion, ListBundleItem, ListBundleManifestItem, SourceApi, source };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
//#region api/source.d.ts
|
|
2
|
+
type BundleSourceType = "builtin" | "remote";
|
|
3
|
+
interface BundleManifestMetadata {
|
|
4
|
+
etag?: string;
|
|
5
|
+
integrity?: string;
|
|
6
|
+
signature?: string;
|
|
7
|
+
lastModified?: string;
|
|
8
|
+
}
|
|
9
|
+
interface ListBundleManifestItem {
|
|
10
|
+
name: string;
|
|
11
|
+
version: string;
|
|
12
|
+
current: boolean;
|
|
13
|
+
metadata: BundleManifestMetadata;
|
|
14
|
+
}
|
|
15
|
+
interface ListBundleItem {
|
|
16
|
+
type: BundleSourceType;
|
|
17
|
+
item: ListBundleManifestItem;
|
|
18
|
+
}
|
|
19
|
+
declare function listBundles(): Promise<ListBundleItem[]>;
|
|
20
|
+
interface BundleSourceVersion {
|
|
21
|
+
type: BundleSourceType;
|
|
22
|
+
version: string;
|
|
23
|
+
}
|
|
24
|
+
declare function loadVersion(bundleName: string): Promise<BundleSourceVersion | null>;
|
|
25
|
+
declare function updateVersion(bundleName: string, version: string): Promise<void>;
|
|
26
|
+
declare function filepath(bundleName: string): Promise<string>;
|
|
27
|
+
interface SourceApi {
|
|
28
|
+
listBundles: typeof listBundles;
|
|
29
|
+
loadVersion: typeof loadVersion;
|
|
30
|
+
updateVersion: typeof updateVersion;
|
|
31
|
+
filepath: typeof filepath;
|
|
32
|
+
}
|
|
33
|
+
declare const source: SourceApi;
|
|
34
|
+
//#endregion
|
|
35
|
+
export { BundleManifestMetadata, BundleSourceType, BundleSourceVersion, ListBundleItem, ListBundleManifestItem, SourceApi, source };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { invoke } from "@tauri-apps/api/core";
|
|
2
|
+
|
|
3
|
+
//#region api/source.ts
|
|
4
|
+
async function listBundles() {
|
|
5
|
+
return await invoke("plugin:wvb|source_list_bundles");
|
|
6
|
+
}
|
|
7
|
+
async function loadVersion(bundleName) {
|
|
8
|
+
return await invoke("plugin:wvb|source_load_version", { bundleName });
|
|
9
|
+
}
|
|
10
|
+
async function updateVersion(bundleName, version) {
|
|
11
|
+
await invoke("plugin:wvb|source_update_version", {
|
|
12
|
+
bundleName,
|
|
13
|
+
version
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async function filepath(bundleName) {
|
|
17
|
+
return await invoke("plugin:wvb|source_filepath", { bundleName });
|
|
18
|
+
}
|
|
19
|
+
const source = {
|
|
20
|
+
listBundles,
|
|
21
|
+
loadVersion,
|
|
22
|
+
updateVersion,
|
|
23
|
+
filepath
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
export { source };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
let _tauri_apps_api_core = require("@tauri-apps/api/core");
|
|
2
|
+
|
|
3
|
+
//#region api/updater.ts
|
|
4
|
+
async function listRemotes() {
|
|
5
|
+
return await (0, _tauri_apps_api_core.invoke)("plugin:wvb|updater_list_remotes");
|
|
6
|
+
}
|
|
7
|
+
async function getUpdate(bundleName) {
|
|
8
|
+
return await (0, _tauri_apps_api_core.invoke)("plugin:wvb|updater_get_update", { bundleName });
|
|
9
|
+
}
|
|
10
|
+
async function downloadUpdate(bundleName, version) {
|
|
11
|
+
return await (0, _tauri_apps_api_core.invoke)("plugin:wvb|updater_download_update", {
|
|
12
|
+
bundleName,
|
|
13
|
+
version
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
const updater = {
|
|
17
|
+
listRemotes,
|
|
18
|
+
getUpdate,
|
|
19
|
+
downloadUpdate
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.updater = updater;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ListRemoteBundleInfo, RemoteBundleInfo } from "../remote/index.cjs";
|
|
2
|
+
|
|
3
|
+
//#region api/updater.d.ts
|
|
4
|
+
declare function listRemotes(): Promise<ListRemoteBundleInfo[]>;
|
|
5
|
+
interface BundleUpdateInfo {
|
|
6
|
+
name: string;
|
|
7
|
+
version: string;
|
|
8
|
+
localVersion?: string;
|
|
9
|
+
isAvailable: boolean;
|
|
10
|
+
etag?: string;
|
|
11
|
+
integrity?: string;
|
|
12
|
+
signature?: string;
|
|
13
|
+
lastModified?: string;
|
|
14
|
+
}
|
|
15
|
+
declare function getUpdate(bundleName: string): Promise<BundleUpdateInfo>;
|
|
16
|
+
declare function downloadUpdate(bundleName: string, version?: string): Promise<RemoteBundleInfo>;
|
|
17
|
+
interface UpdaterApi {
|
|
18
|
+
listRemotes: typeof listRemotes;
|
|
19
|
+
getUpdate: typeof getUpdate;
|
|
20
|
+
downloadUpdate: typeof downloadUpdate;
|
|
21
|
+
}
|
|
22
|
+
declare const updater: UpdaterApi;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { BundleUpdateInfo, type ListRemoteBundleInfo, type RemoteBundleInfo, UpdaterApi, updater };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ListRemoteBundleInfo, RemoteBundleInfo } from "../remote/index.js";
|
|
2
|
+
|
|
3
|
+
//#region api/updater.d.ts
|
|
4
|
+
declare function listRemotes(): Promise<ListRemoteBundleInfo[]>;
|
|
5
|
+
interface BundleUpdateInfo {
|
|
6
|
+
name: string;
|
|
7
|
+
version: string;
|
|
8
|
+
localVersion?: string;
|
|
9
|
+
isAvailable: boolean;
|
|
10
|
+
etag?: string;
|
|
11
|
+
integrity?: string;
|
|
12
|
+
signature?: string;
|
|
13
|
+
lastModified?: string;
|
|
14
|
+
}
|
|
15
|
+
declare function getUpdate(bundleName: string): Promise<BundleUpdateInfo>;
|
|
16
|
+
declare function downloadUpdate(bundleName: string, version?: string): Promise<RemoteBundleInfo>;
|
|
17
|
+
interface UpdaterApi {
|
|
18
|
+
listRemotes: typeof listRemotes;
|
|
19
|
+
getUpdate: typeof getUpdate;
|
|
20
|
+
downloadUpdate: typeof downloadUpdate;
|
|
21
|
+
}
|
|
22
|
+
declare const updater: UpdaterApi;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { BundleUpdateInfo, type ListRemoteBundleInfo, type RemoteBundleInfo, UpdaterApi, updater };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { invoke } from "@tauri-apps/api/core";
|
|
2
|
+
|
|
3
|
+
//#region api/updater.ts
|
|
4
|
+
async function listRemotes() {
|
|
5
|
+
return await invoke("plugin:wvb|updater_list_remotes");
|
|
6
|
+
}
|
|
7
|
+
async function getUpdate(bundleName) {
|
|
8
|
+
return await invoke("plugin:wvb|updater_get_update", { bundleName });
|
|
9
|
+
}
|
|
10
|
+
async function downloadUpdate(bundleName, version) {
|
|
11
|
+
return await invoke("plugin:wvb|updater_download_update", {
|
|
12
|
+
bundleName,
|
|
13
|
+
version
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
const updater = {
|
|
17
|
+
listRemotes,
|
|
18
|
+
getUpdate,
|
|
19
|
+
downloadUpdate
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
export { updater };
|
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wvb/tauri",
|
|
3
|
+
"version": "0.0.0-next.4b4aa30",
|
|
4
|
+
"description": "Webview Bundle API for Tauri",
|
|
5
|
+
"homepage": "https://github.com/webview-bundle/webview-bundle",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/webview-bundle/webview-bundle/issues"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"author": {
|
|
11
|
+
"name": "Seokju Na",
|
|
12
|
+
"email": "seokju.me@gmail.com",
|
|
13
|
+
"url": "https://github.com/seokju-na"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/webview-bundle/webview-bundle",
|
|
18
|
+
"directory": "packages/tauri"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist",
|
|
22
|
+
"README.md",
|
|
23
|
+
"CHANGELOG.md"
|
|
24
|
+
],
|
|
25
|
+
"type": "module",
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"exports": {
|
|
28
|
+
"./api": {
|
|
29
|
+
"import": "./dist/api/index.js",
|
|
30
|
+
"require": "./dist/api/index.cjs"
|
|
31
|
+
},
|
|
32
|
+
"./api/remote": {
|
|
33
|
+
"import": "./dist/api/remote/index.js",
|
|
34
|
+
"require": "./dist/api/remote/index.cjs"
|
|
35
|
+
},
|
|
36
|
+
"./api/source": {
|
|
37
|
+
"import": "./dist/api/source/index.js",
|
|
38
|
+
"require": "./dist/api/source/index.cjs"
|
|
39
|
+
},
|
|
40
|
+
"./api/updater": {
|
|
41
|
+
"import": "./dist/api/updater/index.js",
|
|
42
|
+
"require": "./dist/api/updater/index.cjs"
|
|
43
|
+
},
|
|
44
|
+
"./package.json": "./package.json"
|
|
45
|
+
},
|
|
46
|
+
"scripts": {
|
|
47
|
+
"prepack": "yarn build",
|
|
48
|
+
"build": "tsdown",
|
|
49
|
+
"typecheck": "tsc --noEmit"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@tauri-apps/api": "^2",
|
|
53
|
+
"@types/node": "22.19.3",
|
|
54
|
+
"tsdown": "0.20.1",
|
|
55
|
+
"typescript": "5.9.3",
|
|
56
|
+
"vitest": "4.1.5"
|
|
57
|
+
},
|
|
58
|
+
"peerDependencies": {
|
|
59
|
+
"@tauri-apps/api": "^2"
|
|
60
|
+
}
|
|
61
|
+
}
|