pake-cli 3.2.16 → 3.2.18
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 +32 -21
- package/dist/cli.js +221 -182
- package/package.json +16 -13
- package/src-tauri/.cargo/config.toml +0 -11
- package/src-tauri/.pake/pake.json +6 -2
- package/src-tauri/.pake/tauri.conf.json +8 -6
- package/src-tauri/.pake/tauri.macos.conf.json +2 -3
- package/src-tauri/Cargo.lock +267 -362
- package/src-tauri/Cargo.toml +6 -6
- package/src-tauri/gen/schemas/capabilities.json +1 -1
- package/src-tauri/pake.json +3 -1
- package/src-tauri/src/app/config.rs +2 -0
- package/src-tauri/src/app/window.rs +15 -2
- package/src-tauri/src/lib.rs +11 -2
- package/src-tauri/tauri.conf.json +3 -0
- package/src-tauri/gen/schemas/windows-schema.json +0 -2326
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<h4 align="right"><strong>English</strong> | <a href="
|
|
1
|
+
<h4 align="right"><strong>English</strong> | <a href="README_CN.md">简体中文</a> | <a href="README_JP.md">日本語</a></h4>
|
|
2
2
|
<p align="center">
|
|
3
3
|
<img src=https://gw.alipayobjects.com/zos/k/fa/logo-modified.png width=138/>
|
|
4
4
|
</p>
|
|
@@ -154,7 +154,7 @@ In addition, double-click the title bar to switch to full-screen mode. For Mac u
|
|
|
154
154
|
|
|
155
155
|
## Before starting
|
|
156
156
|
|
|
157
|
-
1. **For beginners**: Play with Popular Packages to find out Pake's capabilities, or try to pack your application with [GitHub Actions](
|
|
157
|
+
1. **For beginners**: Play with Popular Packages to find out Pake's capabilities, or try to pack your application with [GitHub Actions](docs/github-actions-usage.md). Don't hesitate to reach for assistance at [Discussion](https://github.com/tw93/Pake/discussions)!
|
|
158
158
|
2. **For developers**: “Command-Line Packaging” supports macOS fully. For Windows/Linux users, it requires some tinkering. [Configure your environment](https://tauri.app/start/prerequisites/) before getting started.
|
|
159
159
|
3. **For hackers**: For people who are good at both front-end development and Rust, how about customizing your apps' function more with the following [Customized Development](#development)?
|
|
160
160
|
|
|
@@ -162,10 +162,13 @@ In addition, double-click the title bar to switch to full-screen mode. For Mac u
|
|
|
162
162
|
|
|
163
163
|

|
|
164
164
|
|
|
165
|
-
**Pake provides a command line tool, making the flow of package customization quicker and easier. See the [
|
|
165
|
+
**Pake provides a command line tool, making the flow of package customization quicker and easier. See the [CLI usage guide](docs/cli-usage.md) for more information.**
|
|
166
166
|
|
|
167
167
|
```bash
|
|
168
|
-
#
|
|
168
|
+
# Recommended (pnpm)
|
|
169
|
+
pnpm install -g pake-cli
|
|
170
|
+
|
|
171
|
+
# Alternative (npm)
|
|
169
172
|
npm install -g pake-cli
|
|
170
173
|
|
|
171
174
|
# Command usage
|
|
@@ -175,31 +178,32 @@ pake url [OPTIONS]...
|
|
|
175
178
|
pake https://weekly.tw93.fun --name Weekly --hide-title-bar
|
|
176
179
|
```
|
|
177
180
|
|
|
178
|
-
If you are new to the command line, you can compile packages online with _GitHub Actions_. See
|
|
181
|
+
If you are new to the command line, you can compile packages online with _GitHub Actions_. See our [documentation](#documentation) for detailed guides.
|
|
179
182
|
|
|
180
183
|
## Development
|
|
181
184
|
|
|
182
|
-
Prepare your environment before starting. Make sure you have Rust `>=1.89` and Node `>=
|
|
185
|
+
Prepare your environment before starting. Make sure you have Rust `>=1.89` and Node `>=18` (e.g., `22.11.0`) installed on your computer. _Note: Latest stable versions are recommended._ For installation guidance, see [Tauri documentation](https://tauri.app/start/prerequisites/).
|
|
183
186
|
|
|
184
187
|
If you are unfamiliar with these, it is better to try out the above tool to pack with one click.
|
|
185
188
|
|
|
186
189
|
```sh
|
|
187
|
-
# Install
|
|
188
|
-
|
|
190
|
+
# Install dependencies
|
|
191
|
+
pnpm i
|
|
189
192
|
|
|
190
|
-
# Local development
|
|
191
|
-
|
|
193
|
+
# Local development (right-click to open debug mode)
|
|
194
|
+
pnpm run dev
|
|
192
195
|
|
|
193
|
-
#
|
|
194
|
-
|
|
196
|
+
# Build application
|
|
197
|
+
pnpm run build
|
|
195
198
|
```
|
|
196
199
|
|
|
197
|
-
##
|
|
200
|
+
## Documentation
|
|
198
201
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
202
|
+
- **[CLI Usage](docs/cli-usage.md)** | [中文](docs/cli-usage_CN.md) - Command-line interface reference
|
|
203
|
+
- **[Advanced Usage](docs/advanced-usage.md)** | [中文](docs/advanced-usage_CN.md) - Customization and advanced features
|
|
204
|
+
- **[GitHub Actions](docs/github-actions-usage.md)** | [中文](docs/github-actions-usage_CN.md) - Build apps online
|
|
205
|
+
- **[Pake Action](docs/pake-action.md)** - Use Pake as GitHub Action in your projects
|
|
206
|
+
- **[Contributing](CONTRIBUTING.md)** - How to contribute to development
|
|
203
207
|
|
|
204
208
|
## Developers
|
|
205
209
|
|
|
@@ -441,6 +445,13 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
441
445
|
<sub><b>Jiaqi Gu</b></sub>
|
|
442
446
|
</a>
|
|
443
447
|
</td>
|
|
448
|
+
<td align="center">
|
|
449
|
+
<a href="https://github.com/Jason6987">
|
|
450
|
+
<img src="https://avatars.githubusercontent.com/u/140222795?v=4" width="90;" alt="Jason6987"/>
|
|
451
|
+
<br />
|
|
452
|
+
<sub><b>Luminall</b></sub>
|
|
453
|
+
</a>
|
|
454
|
+
</td>
|
|
444
455
|
<td align="center">
|
|
445
456
|
<a href="https://github.com/Milo123459">
|
|
446
457
|
<img src="https://avatars.githubusercontent.com/u/50248166?v=4" width="90;" alt="Milo123459"/>
|
|
@@ -455,6 +466,8 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
455
466
|
<sub><b>Po Chen</b></sub>
|
|
456
467
|
</a>
|
|
457
468
|
</td>
|
|
469
|
+
</tr>
|
|
470
|
+
<tr>
|
|
458
471
|
<td align="center">
|
|
459
472
|
<a href="https://github.com/beautifulrem">
|
|
460
473
|
<img src="https://avatars.githubusercontent.com/u/98527099?v=4" width="90;" alt="beautifulrem"/>
|
|
@@ -462,8 +475,6 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
462
475
|
<sub><b>Xie Ruiqi</b></sub>
|
|
463
476
|
</a>
|
|
464
477
|
</td>
|
|
465
|
-
</tr>
|
|
466
|
-
<tr>
|
|
467
478
|
<td align="center">
|
|
468
479
|
<a href="https://github.com/bocanhcam">
|
|
469
480
|
<img src="https://avatars.githubusercontent.com/u/35592955?v=4" width="90;" alt="bocanhcam"/>
|
|
@@ -506,6 +517,8 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
506
517
|
<sub><b>Liusishan</b></sub>
|
|
507
518
|
</a>
|
|
508
519
|
</td>
|
|
520
|
+
</tr>
|
|
521
|
+
<tr>
|
|
509
522
|
<td align="center">
|
|
510
523
|
<a href="https://github.com/piaoyidage">
|
|
511
524
|
<img src="https://avatars.githubusercontent.com/u/5135405?v=4" width="90;" alt="piaoyidage"/>
|
|
@@ -513,8 +526,6 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
513
526
|
<sub><b>Ranger</b></sub>
|
|
514
527
|
</a>
|
|
515
528
|
</td>
|
|
516
|
-
</tr>
|
|
517
|
-
<tr>
|
|
518
529
|
<td align="center">
|
|
519
530
|
<a href="https://github.com/hetz">
|
|
520
531
|
<img src="https://avatars.githubusercontent.com/u/820141?v=4" width="90;" alt="hetz"/>
|