🔖 3.2.12

This commit is contained in:
Tw93
2025-08-22 15:40:13 +08:00
parent a61870895e
commit 950b1a73cb
4 changed files with 15 additions and 5 deletions

View File

@@ -7,6 +7,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
- **Incremental progress over big bangs**: Break complex tasks into manageable stages
- **Learn from existing code**: Understand patterns before implementing new features
- **Clear intent over clever code**: Prioritize readability and maintainability
- **Simple over complex**: Keep all implementations simple and straightforward - prioritize solving problems and ease of maintenance over complex solutions
## Project Overview

4
dist/cli.js vendored
View File

@@ -22,7 +22,7 @@ import sharp from 'sharp';
import * as psl from 'psl';
var name = "pake-cli";
var version = "3.2.11";
var version = "3.2.12";
var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用。";
var engines = {
node: ">=16.0.0"
@@ -56,7 +56,7 @@ var scripts = {
build: "npm run tauri build --",
"build:debug": "npm run tauri build -- --debug",
"build:mac": "npm run tauri build -- --target universal-apple-darwin",
"build:config": "chmod +x script/configure-tauri.mjs && node script/configure-tauri.mjs",
"build:config": "chmod +x scripts/configure-tauri.mjs && node scripts/configure-tauri.mjs",
analyze: "cd src-tauri && cargo bloat --release --crates",
tauri: "tauri",
cli: "cross-env NODE_ENV=development rollup -c -w",

View File

@@ -1,6 +1,6 @@
{
"name": "pake-cli",
"version": "3.2.11",
"version": "3.2.12",
"description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用。",
"engines": {
"node": ">=16.0.0"
@@ -34,7 +34,7 @@
"build": "npm run tauri build --",
"build:debug": "npm run tauri build -- --debug",
"build:mac": "npm run tauri build -- --target universal-apple-darwin",
"build:config": "chmod +x script/configure-tauri.mjs && node script/configure-tauri.mjs",
"build:config": "chmod +x scripts/configure-tauri.mjs && node scripts/configure-tauri.mjs",
"analyze": "cd src-tauri && cargo bloat --release --crates",
"tauri": "tauri",
"cli": "cross-env NODE_ENV=development rollup -c -w",

View File

@@ -12,7 +12,7 @@ npm test # 运行完整测试套件,包含真实构建测
npm test -- --no-build # 跳过构建测试仅验证核心功能30秒
```
### 🚀 完整测试套件包含
### 🚀 完整测试套件包含
-**单元测试**CLI命令、参数验证、响应时间
-**集成测试**:进程管理、文件权限、依赖解析
@@ -84,6 +84,15 @@ npm test -- --no-build # 跳过构建测试仅验证核心功能30秒
**权限错误**:确保有写入权限
## 发布构建测试
```bash
# 实际构建测试(固定测试 weread + twitter 两个应用)
node ./tests/release.js
```
真实构建2个应用包验证完整的打包流程和release.yml逻辑是否正常工作。
## 开发建议
提交代码前建议运行 `npm test` 确保所有平台构建正常。