Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

chore: bump version to V3.15.3

Tw93bf0c4332586d
diff --git a/dist/cli.js b/dist/cli.js
index cae65b6c..6eed6bea 100644
--- a/dist/cli.js
+++ b/dist/cli.js
@@ -20,7 +20,7 @@ import * as psl from 'psl';
import { InvalidArgumentError, program as program$1, Option } from 'commander';
var name = "pake-cli";
-var version = "3.15.2";
+var version = "3.15.3";
var description = "🤱🏻 Turn any webpage into a desktop app with one command. 🤱🏻 一键打包网页生成轻量桌面应用。";
var engines = {
node: ">=18.0.0"
@@ -47,7 +47,8 @@ var keywords = [
];
var files = [
"LICENSE-EXCEPTION",
- "dist",
+ "llms.txt",
+ "dist/cli.js",
"src-tauri"
];
var scripts = {
diff --git a/package.json b/package.json
index d2b8c2cf..80ad1bde 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "pake-cli",
- "version": "3.15.2",
+ "version": "3.15.3",
"description": "🤱🏻 Turn any webpage into a desktop app with one command. 🤱🏻 一键打包网页生成轻量桌面应用。",
"engines": {
"node": ">=18.0.0"
@@ -28,7 +28,7 @@
"files": [
"LICENSE-EXCEPTION",
"llms.txt",
- "dist",
+ "dist/cli.js",
"src-tauri"
],
"scripts": {
diff --git a/scripts/check-release-version.mjs b/scripts/check-release-version.mjs
index 329e9f3d..3f63e9e2 100644
--- a/scripts/check-release-version.mjs
+++ b/scripts/check-release-version.mjs
@@ -97,6 +97,18 @@ if (!packageJson.files?.includes("llms.txt")) {
);
}
+if (!packageJson.files?.includes("dist/cli.js")) {
+ errors.push(
+ "package.json files: dist/cli.js must be included in the npm package",
+ );
+}
+
+if (packageJson.files?.includes("dist")) {
+ errors.push(
+ "package.json files: include dist/cli.js instead of the entire generated dist directory",
+ );
+}
+
if (errors.length > 0) {
console.error("Release version check failed:");
for (const error of errors) {
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock
index a8e93efa..6d325662 100644
--- a/src-tauri/Cargo.lock
+++ b/src-tauri/Cargo.lock
@@ -2564,7 +2564,7 @@ dependencies = [
[[package]]
name = "pake"
-version = "3.15.2"
+version = "3.15.3"
dependencies = [
"objc2",
"objc2-app-kit",
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 56d63387..7fbe4b95 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "pake"
-version = "3.15.2"
+version = "3.15.3"
description = "🤱🏻 Turn any webpage into a desktop app with Rust."
authors = ["Tw93"]
license = "GPL-3.0-or-later"
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 0daafb43..4ade40bb 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -1,7 +1,7 @@
{
"productName": "Weekly",
"identifier": "com.pake.weekly",
- "version": "3.15.2",
+ "version": "3.15.3",
"app": {
"withGlobalTauri": true,
"trayIcon": {