@mindw1n/webnative 3.0.3 → 3.0.4
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/docs/devlog.md +28 -0
- package/docs/screenshot.png +0 -0
- package/package.json +2 -1
package/docs/devlog.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Project goal
|
|
2
|
+
- Any platform can build for any target with almost zero friction for developer
|
|
3
|
+
- The application itself is always web based
|
|
4
|
+
- Frontend is executed on native WebView component to minimize bundle size
|
|
5
|
+
- Any backend can be used on desktop platforms, as long as it implements the webnative IPC interface
|
|
6
|
+
- Mobile platforms can't support backend, so api abstraction layer is necessary.
|
|
7
|
+
- The cli tool also should be able to create self-contained apps, but in this case the bundle size don't matter
|
|
8
|
+
- Always try to build natively. If not possible, fall back to Docker. If Docker is not installed, xplain clearly why Docker is needed and how to install it manually.
|
|
9
|
+
|
|
10
|
+
## ⏳ means that the feature is under development
|
|
11
|
+
|
|
12
|
+
## v1 (status: partially implemented)
|
|
13
|
+
- ✅ Linux target only
|
|
14
|
+
- ✅ Self-contained AppImage build pipeline
|
|
15
|
+
- ⏳ Optional Node.js backend support
|
|
16
|
+
- ✅ Dev environment: Linux only
|
|
17
|
+
- No Windows/macOS/mobile *targets* in v1
|
|
18
|
+
|
|
19
|
+
## v2 (status: implemented)
|
|
20
|
+
- ✅ Windows and Linux self-contained targets
|
|
21
|
+
- ✅ Dev environment: Linux only
|
|
22
|
+
- No macOS/mobile *targets* in v2
|
|
23
|
+
|
|
24
|
+
## v3 (status: implemented)
|
|
25
|
+
- ✅ Windows and Linux self-contained targets
|
|
26
|
+
- ✅ Android apk target supported
|
|
27
|
+
- ✅ Dev environment: Linux only
|
|
28
|
+
- No macOS/mobile *targets* in v3
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindw1n/webnative",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.4",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "esbuild src/index.ts --bundle --platform=node --format=esm --target=es2020 --outfile=index.js --banner:js=\"#!/usr/bin/env node\" --minify"
|
|
7
7
|
},
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"LICENSE",
|
|
13
13
|
"index.js",
|
|
14
14
|
"prebuilds/dist",
|
|
15
|
+
"docs",
|
|
15
16
|
"template",
|
|
16
17
|
"readme.md"
|
|
17
18
|
],
|