tauri-remote-ui 1.1.1-alpha.4 → 1.1.2-alpha.10

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.
@@ -6,6 +6,12 @@
6
6
 
7
7
  [![Crates.io Version](https://img.shields.io/crates/v/tauri-remote-ui?style=flat&label=crates.io%20%3A%20tauri-remote-ui)](https://crates.io/crates/tauri-remote-ui) [![NPM Version](https://img.shields.io/npm/v/tauri-remote-ui?label=npm%20%3A%20tauri-remote-ui)](https://www.npmjs.com/package/tauri-remote-ui)
8
8
 
9
+ ```sh
10
+ npm install tauri-remote-ui
11
+ ```
12
+
13
+ The `npm:` alias keeps imports unscoped (`import { invoke } from "tauri-remote-ui/api/core"`).
14
+
9
15
  ## 📜 License
10
16
 
11
17
  This project is **dual-licensed**:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tauri-remote-ui",
3
3
  "license": "AGPL-3.0-only",
4
- "version": "1.1.1-alpha.4",
4
+ "version": "1.1.2-alpha.10",
5
5
  "author": "DraviaVemal",
6
6
  "description": "A Tauri plugin that exposes the application's UI to a web browser, allowing full interaction while the native app continues running. This enables end-to-end UI testing using existing web-based testing tools without requiring modifications to the app itself.",
7
7
  "type": "module",
@@ -12,53 +12,51 @@
12
12
  "plugin"
13
13
  ],
14
14
  "homepage": "https://docs.draviavemal.com/",
15
+ "types": "./index.d.ts",
16
+ "main": "./index.cjs",
17
+ "module": "./index.js",
15
18
  "repository": {
16
19
  "url": "https://github.com/DraviaVemal/tauri-remote-ui"
17
20
  },
18
- "types": "./dist/index.d.ts",
19
- "main": "./dist/index.cjs",
20
- "module": "./dist/index.js",
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
21
24
  "exports": {
22
25
  ".": {
23
- "types": "./dist/index.d.ts",
24
- "import": "./dist/index.js",
25
- "require": "./dist/index.cjs"
26
+ "types": "./index.d.ts",
27
+ "import": "./index.js",
28
+ "require": "./index.cjs"
26
29
  },
27
30
  "./api/app": {
28
- "types": "./dist/api/app/index.d.ts",
29
- "import": "./dist/api/app/index.js",
30
- "require": "./dist/api/app/index.cjs"
31
+ "types": "./api/app/index.d.ts",
32
+ "import": "./api/app/index.js",
33
+ "require": "./api/app/index.cjs"
31
34
  },
32
35
  "./api/core": {
33
- "types": "./dist/api/core/index.d.ts",
34
- "import": "./dist/api/core/index.js",
35
- "require": "./dist/api/core/index.cjs"
36
+ "types": "./api/core/index.d.ts",
37
+ "import": "./api/core/index.js",
38
+ "require": "./api/core/index.cjs"
36
39
  },
37
40
  "./api/event": {
38
- "types": "./dist/api/event/index.d.ts",
39
- "import": "./dist/api/event/index.js",
40
- "require": "./dist/api/event/index.cjs"
41
+ "types": "./api/event/index.d.ts",
42
+ "import": "./api/event/index.js",
43
+ "require": "./api/event/index.cjs"
41
44
  }
42
45
  },
43
- "files": [
44
- "dist"
45
- ],
46
- "scripts": {
47
- "build": "rollup --config rollup.config.ts --configPlugin typescript",
48
- "typecheck": "tsc --noEmit",
49
- "pretest": "pnpm build"
46
+ "typesVersions": {
47
+ "*": {
48
+ "api/app/*": [
49
+ "./api/app/*.d.ts"
50
+ ],
51
+ "api/core/*": [
52
+ "./api/core/*.d.ts"
53
+ ],
54
+ "api/event/*": [
55
+ "./api/event/*.d.ts"
56
+ ]
57
+ }
50
58
  },
51
59
  "peerDependencies": {
52
- "@tauri-apps/api": ">=2.0.0"
53
- },
54
- "devDependencies": {
55
- "@rollup/plugin-typescript": "^12.0.0",
56
- "@tauri-apps/api": ">=2.0.0",
57
- "@types/node": "^24.3.0",
58
- "fast-glob": "^3.3.3",
59
- "rollup": "^4.9.6",
60
- "ts-node": "^10.9.2",
61
- "tslib": "^2.6.2",
62
- "typescript": "^5.3.3"
60
+ "@tauri-apps/api": ">=2.12.3"
63
61
  }
64
- }
62
+ }
package/dist/package.json DELETED
@@ -1,53 +0,0 @@
1
- {
2
- "name": "tauri-remote-ui",
3
- "license": "AGPL-3.0-only",
4
- "version": "1.1.1-alpha.4",
5
- "author": "DraviaVemal",
6
- "description": "A Tauri plugin that exposes the application's UI to a web browser, allowing full interaction while the native app continues running. This enables end-to-end UI testing using existing web-based testing tools without requiring modifications to the app itself.",
7
- "type": "module",
8
- "types": "./dist/index.d.ts",
9
- "main": "./dist/index.cjs",
10
- "module": "./dist/index.js",
11
- "repository": {
12
- "url": "https://github.com/DraviaVemal/tauri-remote-ui"
13
- },
14
- "readme": "./README.md",
15
- "exports": {
16
- ".": {
17
- "types": "./index.d.ts",
18
- "import": "./index.js",
19
- "require": "./index.cjs"
20
- },
21
- "./api/app": {
22
- "types": "./api/app/index.d.ts",
23
- "import": "./api/app/index.js",
24
- "require": "./api/app/index.cjs"
25
- },
26
- "./api/core": {
27
- "types": "./api/core/index.d.ts",
28
- "import": "./api/core/index.js",
29
- "require": "./api/core/index.cjs"
30
- },
31
- "./api/event": {
32
- "types": "./api/event/index.d.ts",
33
- "import": "./api/event/index.js",
34
- "require": "./api/event/index.cjs"
35
- }
36
- },
37
- "typesVersions": {
38
- "*": {
39
- "api/app/*": [
40
- "./api/app/*.d.ts"
41
- ],
42
- "api/core/*": [
43
- "./api/core/*.d.ts"
44
- ],
45
- "api/event/*": [
46
- "./api/event/*.d.ts"
47
- ]
48
- }
49
- },
50
- "peerDependencies": {
51
- "@tauri-apps/api": ">=2.0.0"
52
- }
53
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes