ewvjs 1.0.3 → 1.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/README.md +13 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -174,14 +174,14 @@ win.on_context_menu = (params) => {
|
|
|
174
174
|
|
|
175
175
|
## CLI Reference
|
|
176
176
|
|
|
177
|
-
`ewvjs` provides a command-line interface for creating and packaging applications.
|
|
177
|
+
`ewvjs-cli` provides a command-line interface for creating and packaging applications.
|
|
178
178
|
|
|
179
179
|
### Installation
|
|
180
180
|
|
|
181
|
-
The CLI is included with the `ewvjs` package and can be run using `npx`:
|
|
181
|
+
The CLI is included with the `ewvjs-cli` package and can be run using `npx`:
|
|
182
182
|
|
|
183
183
|
```bash
|
|
184
|
-
npx ewvjs <command> [options]
|
|
184
|
+
npx ewvjs-cli <command> [options]
|
|
185
185
|
```
|
|
186
186
|
|
|
187
187
|
### Commands
|
|
@@ -192,7 +192,7 @@ Create a new ewvjs project with a sample application structure.
|
|
|
192
192
|
|
|
193
193
|
**Usage:**
|
|
194
194
|
```bash
|
|
195
|
-
npx ewvjs init [name]
|
|
195
|
+
npx ewvjs-cli init [name]
|
|
196
196
|
```
|
|
197
197
|
|
|
198
198
|
**Arguments:**
|
|
@@ -200,7 +200,7 @@ npx ewvjs init [name]
|
|
|
200
200
|
|
|
201
201
|
**Example:**
|
|
202
202
|
```bash
|
|
203
|
-
npx ewvjs init my-awesome-app
|
|
203
|
+
npx ewvjs-cli init my-awesome-app
|
|
204
204
|
cd my-awesome-app
|
|
205
205
|
npm install
|
|
206
206
|
npm start
|
|
@@ -220,7 +220,7 @@ Package your ewvjs application into a standalone executable.
|
|
|
220
220
|
|
|
221
221
|
**Usage:**
|
|
222
222
|
```bash
|
|
223
|
-
npx ewvjs package <entry> [options]
|
|
223
|
+
npx ewvjs-cli package <entry> [options]
|
|
224
224
|
```
|
|
225
225
|
|
|
226
226
|
**Arguments:**
|
|
@@ -236,19 +236,18 @@ npx ewvjs package <entry> [options]
|
|
|
236
236
|
| `--assets <dir>` | `-a` | Assets directory to include in package | `./assets` |
|
|
237
237
|
| `--target <target>` | `-t` | Target platform | `node18-win-x64` |
|
|
238
238
|
| `--modules <modules>` | `-m` | Additional node modules to bundle (comma-separated) | None |
|
|
239
|
-
| `--compress` | | Compress executable with UPX | `false` |
|
|
240
239
|
| `--no-native` | | Skip bundling native DLLs (if already included) | Includes by default |
|
|
241
240
|
|
|
242
241
|
**Examples:**
|
|
243
242
|
|
|
244
243
|
Basic packaging:
|
|
245
244
|
```bash
|
|
246
|
-
npx ewvjs package app.js
|
|
245
|
+
npx ewvjs-cli package app.js
|
|
247
246
|
```
|
|
248
247
|
|
|
249
248
|
Full customization:
|
|
250
249
|
```bash
|
|
251
|
-
npx ewvjs package app.js \
|
|
250
|
+
npx ewvjs-cli package app.js \
|
|
252
251
|
--output myapp \
|
|
253
252
|
--name "My Application" \
|
|
254
253
|
--icon icon.ico \
|
|
@@ -259,7 +258,7 @@ npx ewvjs package app.js \
|
|
|
259
258
|
|
|
260
259
|
Package with custom target:
|
|
261
260
|
```bash
|
|
262
|
-
npx ewvjs package app.js -o myapp -t node20-win-x64
|
|
261
|
+
npx ewvjs-cli package app.js -o myapp -t node20-win-x64
|
|
263
262
|
```
|
|
264
263
|
|
|
265
264
|
**Output:**
|
|
@@ -279,14 +278,14 @@ The packaged application will be created in the `dist/` directory with:
|
|
|
279
278
|
|
|
280
279
|
Display available commands and options:
|
|
281
280
|
```bash
|
|
282
|
-
npx ewvjs --help
|
|
283
|
-
npx ewvjs package --help
|
|
284
|
-
npx ewvjs init --help
|
|
281
|
+
npx ewvjs-cli --help
|
|
282
|
+
npx ewvjs-cli package --help
|
|
283
|
+
npx ewvjs-cli init --help
|
|
285
284
|
```
|
|
286
285
|
|
|
287
286
|
Display version:
|
|
288
287
|
```bash
|
|
289
|
-
npx ewvjs --version
|
|
288
|
+
npx ewvjs-cli --version
|
|
290
289
|
```
|
|
291
290
|
|
|
292
291
|
## License
|