Skip to content

Commit ffae8ec

Browse files
committed
fix(cli): Explicitly bundle sharp native assets
- Updated pkg configuration in packages/cli/package.json to explicitly include 'node_modules/sharp/**/*' in assets. This forces pkg to include the missing 'sharp-linux-x64.node' binary. - Bumped version to 1.0.7.
1 parent 8d7f04f commit ffae8ec

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@munlicode/munliwall-root",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "Desktop and CLI wallpaper tool",
55
"workspaces": [
66
"packages/*"

packages/cli/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
},
1010
"pkg": {
1111
"scripts": "dist/cli.js",
12-
"assets": [],
12+
"assets": [
13+
"node_modules/sharp/**/*",
14+
"../../node_modules/sharp/**/*"
15+
],
1316
"outputPath": "dist"
1417
},
1518
"scripts": {

packages/desktop-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@munlicode/munliwall-desktop",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "A simple yet powerful tool designed to transform your workspace with ease. Wallpaper lets you effortlessly manage your desktop backgrounds — download stunning wallpapers, upload your own creations, or update your setup automatically.",
55
"author": "Nurzhan Murakhan <nurzhanmuratkhan@gmail.com>",
66
"homepage": "https://github.com/munlicode/munliwall",

0 commit comments

Comments
 (0)