fix: add Linux package homepage metadata
This commit is contained in:
@@ -118,6 +118,14 @@
|
|||||||
four Skills, empty product-owned OpenCode paths, the explicit upstream Pi
|
four Skills, empty product-owned OpenCode paths, the explicit upstream Pi
|
||||||
exception list, empty development-path residue, and actual `get_state`/
|
exception list, empty development-path residue, and actual `get_state`/
|
||||||
lifecycle execution.
|
lifecycle execution.
|
||||||
|
- WSL2 Ubuntu 24.04 independently cloned `0d03d00` into its Linux filesystem,
|
||||||
|
verified Node `22.22.2`, pnpm `10.33.4`, and passed frozen install with 999
|
||||||
|
packages. Pi staging passed for Linux x64 and arm64 (131 applicable packages,
|
||||||
|
six assets each), and electron-builder produced `linux-unpacked` plus the x64
|
||||||
|
AppImage. The full `package:linux` command then failed while building deb
|
||||||
|
targets because package metadata lacked `homepage`; this is a real release
|
||||||
|
packaging blocker. The verified origin URL is being added as the minimal fpm
|
||||||
|
metadata fix before rebuilding both Windows and Linux from one final commit.
|
||||||
|
|
||||||
## Follow-ups
|
## Follow-ups
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"description": "Makelore - AI creation workspace",
|
"description": "Makelore - AI creation workspace",
|
||||||
|
"homepage": "https://git.nianxx.cn/wangxuming/makelore",
|
||||||
"main": "dist-electron/main/index.js",
|
"main": "dist-electron/main/index.js",
|
||||||
"author": "Makelore Team",
|
"author": "Makelore Team",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -92,6 +92,7 @@ describe('Pi runtime production bundler', () => {
|
|||||||
|
|
||||||
it('wires every package target to its matching staged Pi runtime', async () => {
|
it('wires every package target to its matching staged Pi runtime', async () => {
|
||||||
const packageJson = JSON.parse(await readFile('package.json', 'utf8')) as {
|
const packageJson = JSON.parse(await readFile('package.json', 'utf8')) as {
|
||||||
|
homepage: string;
|
||||||
scripts: Record<string, string>;
|
scripts: Record<string, string>;
|
||||||
};
|
};
|
||||||
const builder = YAML.parse(await readFile('electron-builder.yml', 'utf8')) as Record<
|
const builder = YAML.parse(await readFile('electron-builder.yml', 'utf8')) as Record<
|
||||||
@@ -109,6 +110,7 @@ describe('Pi runtime production bundler', () => {
|
|||||||
.toBe('node scripts/smoke-pi-real.mjs');
|
.toBe('node scripts/smoke-pi-real.mjs');
|
||||||
expect(packageJson.scripts['perf:pi:release'])
|
expect(packageJson.scripts['perf:pi:release'])
|
||||||
.toBe('node scripts/run-pi-release-performance.mjs');
|
.toBe('node scripts/run-pi-release-performance.mjs');
|
||||||
|
expect(packageJson.homepage).toBe('https://git.nianxx.cn/wangxuming/makelore');
|
||||||
expect(builder.mac.extraResources).toContainEqual({
|
expect(builder.mac.extraResources).toContainEqual({
|
||||||
from: 'build/pi-runtime/darwin-${arch}',
|
from: 'build/pi-runtime/darwin-${arch}',
|
||||||
to: 'pi-runtime',
|
to: 'pi-runtime',
|
||||||
|
|||||||
Reference in New Issue
Block a user