Skip to content

Commit 4fade56

Browse files
committed
chore: bump version to 3.10.0 and add --internal-url-regex test coverage
1 parent 3d742b7 commit 4fade56

File tree

6 files changed

+18
-8
lines changed

6 files changed

+18
-8
lines changed

dist/cli.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import * as psl from 'psl';
2222
import { InvalidArgumentError, program as program$1, Option } from 'commander';
2323

2424
var name = "pake-cli";
25-
var version = "3.8.0";
25+
var version = "3.10.0";
2626
var description = "🤱🏻 Turn any webpage into a desktop app with one command. 🤱🏻 一键打包网页生成轻量桌面应用。";
2727
var engines = {
2828
node: ">=18.0.0"
@@ -94,15 +94,15 @@ var devDependencies = {
9494
"@rollup/plugin-replace": "^6.0.3",
9595
"@rollup/plugin-terser": "^0.4.4",
9696
"@types/fs-extra": "^11.0.4",
97-
"@types/node": "^25.3.0",
97+
"@types/node": "^25.3.2",
9898
"@types/page-icon": "^0.3.6",
9999
"@types/prompts": "^2.4.9",
100100
"@types/tmp": "^0.2.6",
101101
"@types/update-notifier": "^6.0.8",
102102
"app-root-path": "^3.1.0",
103103
"cross-env": "^10.1.0",
104104
prettier: "^3.8.1",
105-
rollup: "^4.58.0",
105+
rollup: "^4.59.0",
106106
"rollup-plugin-typescript2": "^0.36.0",
107107
tslib: "^2.8.1",
108108
typescript: "^5.9.3",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pake-cli",
3-
"version": "3.8.0",
3+
"version": "3.10.0",
44
"description": "🤱🏻 Turn any webpage into a desktop app with one command. 🤱🏻 一键打包网页生成轻量桌面应用。",
55
"engines": {
66
"node": ">=18.0.0"

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pake"
3-
version = "3.8.0"
3+
version = "3.10.0"
44
description = "🤱🏻 Turn any webpage into a desktop app with Rust."
55
authors = ["Tw93"]
66
license = "MIT"

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"productName": "Weekly",
33
"identifier": "com.pake.weekly",
4-
"version": "1.0.0",
4+
"version": "3.10.0",
55
"app": {
66
"withGlobalTauri": true,
77
"trayIcon": {

tests/unit/cli-options.test.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,23 @@ import { describe, expect, it } from 'vitest';
22
import { getCliProgram } from '../../bin/helpers/cli-program.js';
33

44
describe('CLI options', () => {
5+
const program = getCliProgram();
6+
57
it('registers hidden --multi-window option', () => {
6-
const program = getCliProgram();
78
const option = program.options.find(
89
(item) => item.long === '--multi-window',
910
);
1011

1112
expect(option).toBeDefined();
1213
expect(option?.defaultValue).toBe(false);
1314
});
15+
16+
it('registers hidden --internal-url-regex option', () => {
17+
const option = program.options.find(
18+
(item) => item.long === '--internal-url-regex',
19+
);
20+
21+
expect(option).toBeDefined();
22+
expect(option?.defaultValue).toBe('');
23+
});
1424
});

0 commit comments

Comments
 (0)